public function getFullPath($product_id) { $query = $this->db->query("SELECT COUNT(product_id) AS total, category_id as catid FROM " . DB_PREFIX . "product_to_category WHERE product_id = '" . (int)$product_id . "'"); if ($query->row['total'] >= 1) { $path = array(); $path[0] = $query->row['catid']; $query = $this->db->query("SELECT parent_id AS pid FROM " . DB_PREFIX . "category WHERE category_id = '" . (int)$path[0] . "'"); $parent_id = $query->row['pid']; $i = 1; while($parent_id > 0) { $path[$i] = $parent_id; $query = $this->db->query("SELECT parent_id AS pid FROM " . DB_PREFIX . "category WHERE category_id = '" . (int)$parent_id . "'"); $parent_id = $query->row['pid']; $i++; } $path = array_reverse($path); $fullpath = ''; foreach($path as $val){ $fullpath .= '_'.$val; } return ltrim($fullpath, '_'); } else { return false; } } How Do Solar Cells Work?
  • Miami:(786) 565-9359 / (786) 565-9368
  •   (786) 955-6027 / (786) 955-6147
  •   (786) 955-6198 / (305) 816-6181
  •   (305) 816-6239
  • Phoenix: (623) 849-1338
  • Address: 16725 NW 20th Ave,
    Miami Gardens, FL 33056

How Do Solar Cells Work?

Solar Cells convert sunlight (photons) into electricity (voltage). Just like computer chips solar cells have semiconducting material, when sun is absorbed by this material, the solar energy separates electrons from their atoms, which allows the electrons to flow through the material to produce electricity. This process is called photovoltaic effect. Solar cells convert energy as long as there is sunlight although they do not store energy. Energy is stored using batteries.

There is a less common way of using photovoltaics today, which is called concentrated photovoltaics (CPV), these cells are built into concentrating collectors that use a lens to focus the sunlight onto cells. CPV systems require more spending to focus on a small PV area because they would need concentrating optics, solar trackers and cooling systems. The fact that these systems cost more makes them less common today.