Syairozi Energy
← All articles

Rooftop solar4 min read

How solar panels work: from sunlight to the socket

Solar panels have no moving parts, make no noise and burn no fuel. Here is how sunlight becomes electricity you can use at the socket.

The photovoltaic effect in plain words

At the heart of a solar panel is the solar cell, a thin wafer of semiconductor material, usually silicon. The cell is made of two layers with different electrical properties, so a kind of slope for electrons forms between them. When sunlight hits the cell, the light’s energy knocks electrons loose. That slope pushes the freed electrons in one direction, and when the two sides of the cell are joined by a wire, the electrons flow as an electric current. This is the photovoltaic effect: photo for light, volt for electrical voltage. As long as there is light the flow continues, with no parts wearing out from movement. That is why solar panels are known for lasting a long time with only light maintenance, provided they are installed and looked after properly.

From cells to modules to an array

A single cell only produces a small voltage. So dozens of cells are wired together and protected by glass, a frame and weatherproof layers to form a module, which is what most people call a solar panel. Several modules are then connected into a string, and the strings on a roof together make up the array. An array’s capacity is given in kilowatt-peak (kWp), the power it produces under standard test conditions. The kWp figure is what people use to compare system sizes, although real output in the field always depends on local conditions. A bigger system is not automatically a better one; what matters is the fit between capacity, the roof area available and the way your building uses electricity.

Direct current, alternating current and the inverter

Solar panels produce direct current (DC), which flows in one direction only. PLN’s supply and almost every appliance in your building use alternating current (AC). This is where the inverter comes in. It converts DC from the panels into AC at the same voltage and frequency as the grid, so solar power can be used alongside PLN power straight away. The inverter also keeps the panels at the operating point where they deliver the most power, monitors production, and shuts the system down automatically if the PLN grid goes down, so that people repairing the lines stay safe.

Where the power goes in a grid-tied system

  1. Sunlight hits the modules, and the modules produce DC.
  2. The inverter converts DC into AC that is in step with the grid.
  3. AC power flows into the building’s switchboard and is used first by whatever is switched on.
  4. When solar output falls short of demand, PLN automatically supplies the rest.
  5. When output exceeds demand, the surplus flows into the PLN grid.

That order matters. Under Permen ESDM No. 2 Tahun 2024, energy that flows into the grid is not counted towards your electricity bill (Pasal 13). The savings therefore come from the solar power you use yourself, and a system is best sized to match your daytime consumption. In a hybrid system, surplus daytime output can be stored in a battery first, so a larger share of it is used on site.

What affects output

  • Sun hours: how much light a site receives each day, which varies by location and season.
  • Tilt and orientation: the angle and direction of the modules decide how squarely the light strikes them.
  • Shading: a small shadow on part of a module can pull down the output of a whole string.
  • Heat: modules work slightly less efficiently when they are very hot, so airflow underneath them helps.
  • Dirt: dust, leaves and bird droppings block light, so modules need cleaning from time to time, especially in the dry season and at dusty sites.

How much power per kWp in Indonesia

According to the Global Solar Atlas, the potential output of a solar system in Indonesia ranges from about 1,100 to 1,700 kWh per kWp per year, depending on location, with most of the country between roughly 1,170 and 1,530. That is the potential at optimal tilt; real rooftop yield is usually a little lower because of shading, heat, dirt and losses in cabling and the inverter. An honest estimate therefore always accounts for the actual roof, not just the potential figure. To estimate the output and system size that suit your building, use our estimator, then read through the steps from survey to maintenance on our how-it-works page.