Solar panels generated 8.3% of global electricity in 2023 — up from less than 1% a decade earlier. The technology is now one of the cheapest sources of electricity ever built by humans, and installation volumes are doubling every four to five years. Despite this, the physics behind how a solar panel actually works remains a mystery to most of the people who specify, sell, and install them. This guide fixes that. Understanding the photovoltaic effect, how cells connect into modules, and how an inverter synchronizes with the grid will make you a better designer, a more credible salesperson, and a more effective troubleshooter — whether you're using solar design software or explaining a system to a customer on a site visit.
What you'll learn in this chapter
- How silicon atoms convert sunlight into electricity — the photovoltaic effect explained from first principles
- How individual cells are assembled into panels, and what Standard Test Conditions actually mean
- Why panels produce DC and how inverters convert it to AC for the grid
- Every component in a complete grid-tied solar system — with a visual diagram
- How to calculate annual yield for any system in any location
- The real differences between grid-tied, off-grid, and hybrid systems
- How net metering works — and why self-consumption beats export in most markets
The Photovoltaic Effect: How Light Becomes Electricity
The photovoltaic effect was first observed by Edmond Becquerel in 1839 — he noticed that certain materials produced an electric current when exposed to light. The mechanism behind it wasn't fully understood until quantum mechanics developed in the 20th century. Today, silicon-based solar cells exploit the same physics at scale.
Silicon atoms and the electron structure. Silicon has 14 electrons arranged in shells around its nucleus. The outermost shell has 4 electrons, and silicon atoms form a crystal lattice by sharing these valence electrons with neighboring atoms. In a pure silicon crystal, all electrons are bound — no current flows. To make silicon useful for solar cells, it must be doped: small amounts of other elements are added to create two distinct layers.
The p-n junction. The n-type layer is doped with phosphorus, which has 5 valence electrons — one more than silicon needs for the lattice. The extra electron is weakly bound and moves freely. The p-type layer is doped with boron, which has only 3 valence electrons — creating a "hole" where an electron is missing. When these two layers are joined, electrons from the n-type diffuse across the junction and fill holes in the p-type, creating a depletion zone with a built-in electric field. This electric field points from n to p — and it's what drives current when photons arrive.
What happens when light hits. A photon from sunlight carries energy proportional to its frequency. When a photon with enough energy strikes a silicon atom in or near the depletion zone, it transfers its energy to a bound electron, knocking it free — creating an electron-hole pair. The built-in electric field in the p-n junction then sweeps the free electron toward the n-type layer and the hole toward the p-type layer. Connect the two layers with an external circuit — a wire — and electrons flow through it. That flow of electrons is direct current (DC) electricity.
Why silicon? Silicon's band gap energy is 1.1 electronvolts (eV). The band gap is the minimum energy a photon must have to knock an electron loose. Sunlight reaching Earth's surface has a spectrum peaking around 1.8–2.0 eV. A band gap of 1.1 eV is well-matched to this spectrum — low enough to absorb a large portion of the solar spectrum, yet high enough to produce useful voltage. The theoretical maximum efficiency of a single-junction silicon cell (the Shockley-Queisser limit) is about 33%. Real commercial cells achieve 20–24%, with the gap accounted for by reflection, recombination, and resistive losses.
From photon to current: the mechanism in sequence.
- Photon from sunlight strikes silicon atom in or near the p-n junction
- Photon energy excites a valence electron across the band gap into the conduction band
- The built-in electric field separates the electron-hole pair
- Electrons accumulate at the n-type contact; holes accumulate at the p-type contact
- A voltage difference (typically 0.5–0.6 V per cell) develops between the contacts
- Connecting the contacts through a load allows electrons to flow — current is produced
Key Takeaway
A solar cell is essentially a diode — a one-way valve for electrons — that also happens to be a light-powered generator. The p-n junction does two jobs simultaneously: it separates charges to create voltage, and it blocks them from recombining so the energy isn't immediately wasted as heat.
Cell vs module vs panel. These terms are often used interchangeably, but they have distinct meanings. A solar cell is a single semiconductor device — typically 156 mm × 156 mm (M6 wafer), producing about 0.5 V and 8–12 A at peak output. A solar module is an assembly of multiple cells connected together and encapsulated in glass and polymer — what most people call a "solar panel." A solar panel technically refers to the module, though in industry the two terms are used interchangeably. An array is a collection of modules mounted together and wired to form a system.
Series and parallel connections. A single cell produces only ~0.5 V — far too low for useful power. Connecting cells in series adds their voltages: 60 cells in series gives 30 V at open circuit. Connecting cells in parallel adds their currents. A standard 60-cell module produces roughly 30–37 V and 8–10 A at peak power — around 300–400 W total. Modern modules use 60, 72, or 96 cells, with half-cut cell designs splitting each cell to reduce resistive losses and improve partial-shade performance.
From Solar Cell to Solar Panel
A solar cell on its own is fragile, weather-exposed, and operating at too low a voltage for practical use. The module manufacturing process solves all of these problems while trying to introduce as few losses as possible.
Cell types in modules. Most panels sold today use monocrystalline silicon cells — made from a single continuous crystal for uniform electron behavior and high efficiency. Polycrystalline cells, made from multiple crystal grains cast together, were dominant until around 2018 but are now largely phased out due to lower efficiency with no meaningful cost advantage. The next chapter covers panel technologies in detail, including PERC, TOPCon, and HJT.
Module construction layers. From front to back, a standard module consists of:
- Tempered glass (3.2 mm): Low-iron, anti-reflective coated for maximum light transmission. Must withstand hail impact (IEC 61215 tests for 25 mm ice balls at 23 m/s).
- Front EVA (Ethylene Vinyl Acetate): Transparent encapsulant that bonds the glass to the cells and provides electrical isolation and moisture resistance.
- Solar cells: Soldered into strings and interconnected. Busbars carry current from cells to the junction box.
- Rear EVA: Second encapsulant layer bonding cells to the backsheet.
- Backsheet: White or black polymer (typically TPT — Tedlar/Polyester/Tedlar) providing electrical insulation, moisture barrier, and UV resistance. Bifacial panels use a second glass sheet instead of a backsheet to capture rear-side irradiance.
- Aluminum frame: Structural support for mounting. Anodized aluminum for corrosion resistance. Standard frames add 30–50 mm to panel perimeter.
- Junction box: IP67-rated enclosure on the rear containing bypass diodes and the DC cable terminations.
Standard Test Conditions (STC). Every panel's rated power (in Watts peak, or Wp) is measured under Standard Test Conditions: irradiance of 1,000 W/m², cell temperature of 25°C, and Air Mass 1.5 spectrum (AM1.5). STC represents a clear day with the sun at about 48° altitude — achievable, but not typical of average real-world conditions. Most of the time, panels operate at lower irradiance and higher temperature than STC. A 400 Wp panel will rarely produce exactly 400 W in the field.
Temperature coefficient. Silicon's conductivity changes with temperature. As cells heat above 25°C, their output voltage drops. The rate of this drop is the temperature coefficient of power (Pmax), expressed as %/°C. A typical monocrystalline PERC panel has a temperature coefficient of -0.35%/°C. In summer, when a panel might reach 65°C (40°C above STC), output is reduced by 40 × 0.35% = 14%. A 400 W panel in those conditions produces only 344 W. This is one reason panel performance in hot climates deserves careful attention — and why HJT panels, with coefficients of -0.24%/°C, hold a real advantage in southern Europe and the Middle East.
Pro Tip
When comparing panels, check the Nominal Operating Cell Temperature (NOCT) — the temperature the cell reaches under standard real-world conditions (800 W/m², 20°C ambient, 1 m/s wind). A lower NOCT means the panel runs cooler and therefore produces more power in hot conditions. NOCT typically runs 44–48°C for standard panels; well-ventilated mounting and light-colored backsheets help keep it lower.
DC to AC: The Inverter's Role
Solar panels produce direct current (DC) — electrons flow in one direction, at a voltage determined by the cells. The electricity grid uses alternating current (AC) — voltage oscillates at 50 Hz (in Europe) or 60 Hz (in North America). The inverter is the device that bridges this gap, and it does so with remarkable sophistication.
Why DC from panels and AC for the grid. DC is a natural outcome of the photovoltaic effect — the p-n junction creates a one-directional electron flow. AC was adopted for grid transmission because it can be efficiently stepped up and down in voltage using transformers (DC cannot be transformed with simple passive devices), enabling long-distance transmission at high voltage and low loss. The grid is built around AC, so solar output must be converted.
How a string inverter works. A string inverter takes the DC input from a series string of panels and performs several functions simultaneously:
- DC filtering: Smooths the panel output to a stable DC bus voltage.
- DC-to-AC conversion: An H-bridge circuit of transistors (MOSFETs or IGBTs) switches the DC on and off at high frequency to produce a sinusoidal AC waveform. Modern inverters use PWM (Pulse Width Modulation) to shape the output into a clean sine wave.
- Grid synchronization: The inverter constantly monitors the grid's voltage, frequency, and phase angle. It only connects and injects power when its own output is perfectly synchronized. This is a safety requirement — asynchronous injection would damage connected equipment and pose grid stability risks.
- Anti-islanding protection: If the grid fails or is disconnected, the inverter must detect this and shut down within milliseconds, preventing the solar system from energizing a "dead" grid that utility workers might be working on.
MPPT: Maximum Power Point Tracking. For any given combination of irradiance and temperature, a solar panel has a specific voltage at which it produces its maximum power output — the Maximum Power Point (MPP). This point shifts constantly as irradiance and temperature change throughout the day. The inverter's MPPT algorithm continuously adjusts the input voltage it presents to the panels to keep them operating at their MPP. A good MPPT algorithm can recover several percentage points of energy compared to a fixed-voltage system. Most modern inverters have multiple independent MPPT inputs, allowing panels on different roof orientations or shading profiles to be tracked independently.
Power factor and grid injection. The inverter must not only match the grid frequency but also inject current in phase with the grid voltage to maintain unity power factor — meaning all injected power is real (active) power, not reactive power. In some grid markets, inverters can be programmed to provide reactive power support, helping stabilize local grid voltage. This is increasingly important as high solar penetration causes voltage rise issues in residential distribution networks.
The Complete Grid-Tied System: All Components
A complete residential or commercial solar system has more components than just panels and an inverter. Each component has a specific role, and understanding the full system makes design, installation, and troubleshooting far more effective.
Solar System Flow
Modules
~400V
Wiring
combiner
(DC→AC)
conversion
Wiring
AC output
Unit
+ export
Meter
export
Grid
connection
PV modules. The panels themselves — covered in detail in sections 1 and 2. For a grid-tied residential system, a typical installation uses 10–20 panels connected in one or two strings.
Mounting system. Rails, clamps, and roof fixings that hold the panels at the correct angle and provide structural support. Roof-mount systems use rail profiles attached to the roof structure with either tile hooks or flat-roof ballasted frames. Ground-mount systems use driven posts or concrete foundations. The mounting system must handle wind loads (typically up to 100–140 km/h in European markets), snow loads (up to 1.5–2.0 kN/m² in northern climates), and the panel's own weight without deflection over a 25-year life.
DC wiring and combiner. Strings of panels are wired in series using 4 mm² or 6 mm² solar cable (TÜV-certified, UV-resistant, double-insulated). For multiple strings, a DC combiner box brings strings together before the inverter input. Each string typically includes a string fuse for overcurrent protection. MC4 connectors are the industry standard — IP67 rated, with a defined minimum extraction force to prevent accidental disconnection.
Inverter. For residential systems, a single-phase or three-phase string inverter rated at 3–15 kW. Key parameters: maximum DC input voltage (typically 600–1000V for residential), MPPT voltage range, maximum output power, and efficiency curve. Top-tier residential inverters from Fronius, SMA, SolarEdge, and Huawei achieve peak efficiencies of 97–98.5%.
AC disconnect. A lockable isolator on the AC side of the inverter, required by most grid codes and necessary for safe maintenance. Often integrated into the inverter unit itself on modern systems.
Generation meter. Measures total solar output in kWh. Required for feed-in tariff or export payment verification. Often integrated into the smart export meter provided by the utility.
Utility / export meter. A bidirectional smart meter that measures both imported grid electricity and exported solar electricity. In the UK, the Smart Export Guarantee (SEG) requires this. In Germany, the Einspeisezähler records export. The meter communicates with the utility for billing purposes.
Monitoring system. Most inverters now include built-in WiFi or LAN monitoring, streaming generation data to a cloud portal. Monitoring captures: AC output power (kW), daily and cumulative energy production (kWh), inverter status and fault codes, and in some systems, string-level performance data. Professional monitoring platforms like SolarEdge's mySolarEdge or Fronius Solar.web also provide performance ratio tracking and fault alerts — the same data that solar software platforms use to benchmark system health.
Pro Tip
Always install monitoring from day one, even on small systems. The performance data pays for itself within weeks by catching underperforming strings, failed bypass diodes, or partial shading problems that would otherwise go unnoticed. A system producing 10% below expectation costs the owner hundreds of euros per year in lost generation — which is often invisible without monitoring.
How Much Power Does a Solar Panel Produce?
This is the question every customer asks, and the answer depends on four variables: panel rated power, irradiance at the site, temperature, and system losses. Combining these variables gives you the annual yield estimate — the number that determines the financial case for solar.
Irradiance and peak sun hours. Irradiance is the power of sunlight hitting a surface, measured in W/m². At sea level under direct sun, peak irradiance is approximately 1,000 W/m² — which is the STC reference. "Peak sun hours" is a simplified way to express total daily solar energy: it's the number of hours at 1,000 W/m² that would deliver the same total energy as the actual day. A location with 4 peak sun hours per day receives 4 kWh/m² per day of solar irradiance. This is also called Global Horizontal Irradiance (GHI) in solar resource databases like PVGIS, Solargis, and NASA POWER.
Performance ratio. Not all the irradiance hitting the panels is converted to useful AC electricity. Losses come from: temperature (2–10% depending on climate), inverter efficiency losses (~2–3%), wiring losses (~1–2%), soiling and dust (~2–5%), shading (~2–10% depending on design), module mismatch (~1–2%), and degradation over time (~0.5–0.7%/year). The performance ratio (PR) is the ratio of actual system output to theoretical STC output. Well-designed residential systems achieve PR values of 75–85%. Systems in hot climates have lower PR due to temperature losses; systems in cooler climates with good maintenance can achieve PR above 85%.
Annual yield formula.
Yield Formula
Annual kWh = System kWp × Daily peak sun hours × 365 × Performance ratio
Example: 5 kWp system, Berlin (3.2 PSH/day), PR = 80%
Annual yield = 5 × 3.2 × 365 × 0.80 = 4,672 kWh/year
The table below shows estimated annual yields for a 5 kWp residential system across four European cities, with typical self-consumption rates for a household using 4,000 kWh/year:
| City | Peak Sun Hours (daily) | Annual Yield (5 kWp) | Self-Consumption |
|---|---|---|---|
| Berlin | 3.2 | 4,160 kWh | ~30% |
| Rome | 4.5 | 5,850 kWh | ~35% |
| Madrid | 4.8 | 6,240 kWh | ~38% |
| London | 2.8 | 3,640 kWh | ~28% |
Self-consumption rates are relatively low in single-occupancy households without batteries, because solar peaks at midday when occupants are often out. Adding a battery storage system or shifting loads (dishwasher, washing machine, EV charging) to solar hours can push self-consumption above 60%. Use the SurgePV generation and financial tool to model precise yields with real irradiance data from PVGIS or Solargis for any location.
Design Solar Systems With Accurate Yield Predictions
SurgePV uses real irradiance data and bankable simulation engines to predict exactly how much power a solar system will generate — by month, by hour, across the full 25-year lifespan.
Book a DemoNo commitment required · 20 minutes · Live project walkthrough
Grid-Tied vs Off-Grid vs Hybrid Systems
The system type determines the design, the cost, the reliability profile, and the economics. The three broad categories each make sense in different circumstances.
Grid-tied systems. The most common configuration globally. The solar system is connected to the utility grid. When solar production exceeds home consumption, surplus is exported to the grid. When consumption exceeds production (nights, overcast days, winter months), the home draws from the grid. No battery is required. Grid-tied systems are the simplest, cheapest, and most reliable option for properties with a reliable grid connection. The inverter must shut down if grid power is interrupted — meaning solar doesn't provide backup power during a grid outage.
Off-grid systems. No grid connection. The solar system charges a battery bank, which then powers loads. The battery must be sized to cover consumption during the worst-case period of low solar production — typically 3–5 days of low irradiance in winter. Off-grid systems require a charge controller (in addition to or integrated with the inverter), a large battery bank, and often a backup generator for the deepest winter periods. Costs are significantly higher — 2–3x the system cost of an equivalent grid-tied system for the same annual consumption. Off-grid makes sense only where grid connection is impractical or prohibitively expensive (remote agricultural buildings, mountain huts, island properties).
Hybrid systems. A grid-tied system with battery storage added. The most popular upgrade path in 2024–2026. A hybrid inverter manages both the battery and the grid connection simultaneously — charging the battery from solar during the day, powering loads from the battery in the evening, and drawing from the grid only when both solar and battery are insufficient. Hybrid systems provide partial backup capability during grid outages (depending on the inverter's backup specification) and maximize self-consumption. They're the default recommendation for new residential installations in most European markets where battery prices have fallen below €600/kWh.
| System Type | Installed Cost Index | Complexity | Grid-Out Backup | Self-Consumption |
|---|---|---|---|---|
| Grid-tied (no battery) | 1.0x (baseline) | Low | None | 25–40% |
| Off-grid | 2.5–3.5x | High | Full (self-contained) | Up to 90%+ |
| Hybrid (grid + battery) | 1.5–2.0x | Medium | Partial (battery capacity) | 60–80% |
Net Metering and Solar Export
In a grid-tied system, surplus solar electricity is exported to the grid. How that export is valued — and whether it makes financial sense — depends entirely on the regulatory framework in your market.
Net metering. In a net metering arrangement, the utility's meter runs backwards when the system is exporting. At the end of the billing period, you pay only for the "net" electricity consumed — grid import minus solar export. Net metering at retail rates (paying you the same rate for exports as you pay for imports) is the most favorable export arrangement. It's available in parts of the US, some Italian municipalities under the Scambio sul Posto scheme, and was historically available in Germany and the UK before feed-in tariff transitions. Pure net metering at retail rate is increasingly rare as utilities push back on the subsidy it implies.
Feed-in tariffs. A fixed payment per kWh exported, paid by the utility or a government-designated scheme. Germany's Einspeisevergütung has been the model for most European feed-in tariff designs — a guaranteed payment per exported kWh, locked in for 20 years. Current German rates for new residential systems are 8.11 ct/kWh (systems up to 10 kWp), significantly below the retail electricity price of ~28–32 ct/kWh. This rate differential makes self-consumption the economically rational choice: consuming solar electricity yourself saves 28–32 ct/kWh, while exporting earns only 8 ct/kWh.
Smart Export Guarantee (UK). Since 2020, UK suppliers with 150,000+ customers must offer export tariffs. Rates are market-driven and vary by supplier: typical rates in 2026 run 4–15 p/kWh, with OctopusEnergy and E.ON offering some of the better rates. Again, self-consumption at 24–30 p/kWh is far more valuable than export.
Why self-consumption beats export. The arithmetic is straightforward. In Germany: saving 30 ct/kWh vs earning 8 ct/kWh — self-consumption is 3.75x more valuable per kWh. This calculation drives the economics of battery storage: a battery that shifts 2,000 kWh of solar from export to self-consumption saves approximately €440/year in Germany (at 22 ct/kWh net benefit), which can repay a battery investment in 7–10 years. The generation and financial tool models these economics for any location and tariff combination.
How battery storage changes the equation. A home battery doesn't generate more electricity — it shifts when electricity is consumed. By storing midday solar surplus and using it in the evening, a 10 kWh battery can push self-consumption from 30% to 60–70% for a typical European household. The key metrics: battery round-trip efficiency (typically 90–95% for lithium iron phosphate), depth of discharge (usually 90–95% usable for LFP), and cycle life (3,000–6,000 cycles at spec for quality LFP cells). At 1 cycle per day, a 6,000-cycle battery has a 16-year operating life — well-matched to the solar panel's performance warranty period.
Frequently Asked Questions
How do solar panels generate electricity?
Solar panels generate electricity through the photovoltaic effect. When photons from sunlight hit silicon atoms in a solar cell, they knock electrons loose. The p-n junction in the cell creates an electric field that directs these electrons in one direction, creating a direct current (DC). An inverter then converts this DC electricity into alternating current (AC) compatible with your home and the grid.
Do solar panels work on cloudy days?
Yes, solar panels generate electricity on cloudy days — typically at 10–25% of their peak output depending on cloud density. They respond to diffuse light, not just direct sunlight. Germany, one of the cloudiest countries in Europe, has one of the world's largest solar installations precisely because panels work adequately in diffuse conditions. What matters most is annual irradiance (total solar energy over the year), not daily peak sunshine hours.
How long do solar panels last?
Most modern solar panels come with 25–30 year performance warranties, guaranteeing at least 80% of rated power output after that period. Actual panel life often extends beyond 30 years — panels installed in the 1970s and 1980s are still generating power. The typical annual degradation rate is 0.5–0.7% per year for quality monocrystalline panels.
How many solar panels does a house need?
A typical European household using 3,500–4,500 kWh per year needs approximately 8–14 panels (depending on panel wattage and location). A 6–10 kWp system covers most of a typical home's consumption. The calculation: divide annual consumption by annual yield per kWp for your location. Use the generation tool for precise calculations.
Can solar panels power a house at night?
Not directly — panels only generate when sunlight hits them. At night, a grid-tied home draws power from the grid. With a battery system, stored solar energy from the day can power the home through the evening. A typical residential battery (10–15 kWh) covers evening use but not the full night, depending on consumption.
Design Solar Systems With Accurate Yield Predictions
SurgePV's simulation engine models every variable covered in this guide — irradiance, temperature coefficients, inverter losses, shading, and degradation — to produce bankable yield forecasts for any system in any location.
Book a DemoNo commitment required · 20 minutes · Live project walkthrough
About the Contributors
CEO & Co-Founder · SurgePV
Keyur Rakholiya is CEO & Co-Founder of SurgePV and Founder of Heaven Green Energy Limited, where he has delivered over 1 GW of solar projects across commercial, utility, and rooftop sectors in India. With 10+ years in the solar industry, he has managed 800+ project deliveries, evaluated 20+ solar design platforms firsthand, and led engineering teams of 50+ people.