The transition to renewable energy is no longer just an environmental initiative; it is an economic inevitability. However, the engineering reality of solar power is often misunderstood. A photovoltaic (PV) system is not simply a matter of slapping glass panels on a roof and connecting a battery. It is a complex interplay of astronomical geometry, solid-state physics, and precise electrical load matching.
Whether you are designing a 5 kW residential hybrid system or a multi-megawatt industrial microgrid, the fundamental physics remain identical. Over-sizing wastes capital expenditure (CAPEX), while under-sizing guarantees energy deficits and drastically reduces battery lifespans.
This comprehensive guide serves as the foundational roadmap for solar PV engineering. We will break down the geometry of the sun, the mechanics of photovoltaics, the architecture of modern solar systems, and the mathematical framework required to size them perfectly.
Part 1: The Solar Resource and Sun Geometry
Before we can size an electrical system, we must understand the fuel source. The sun does not deliver energy uniformly; its intensity is dictated by atmospheric scattering, geographic latitude, and the time of year. To capture maximum irradiance, engineers must calculate the exact geometry of the sun relative to the solar panel.
1. Solar Irradiance and Peak Sun Hours (PSH)
Solar Irradiance (G) is the instantaneous power of solar radiation per unit area, typically measured in W/m2. At the edge of the Earth’s atmosphere, this is known as the Solar Constant (≈ 1361 W/m2). At sea level, on a clear day, it peaks at roughly 1000 W/m2.
However, for sizing, we rely on Peak Sun Hours (PSH). PSH is not the number of daylight hours; it is the equivalent number of hours per day when solar irradiance averages exactly 1000 W/m2. For example, 6 hours of morning and afternoon sunlight might only equate to 3.5 PSH.
2. The Core Solar Angles
To align a PV array for maximum yield, four primary angles dictate the sun’s position in the sky:
- Solar Declination (δ): The angle between the equator and a line drawn from the center of the Earth to the center of the sun. Due to the Earth’s tilt, this varies from +23.45° at the summer solstice to -23.45° at the winter solstice.
δ = 23.45° × sin [ (360 / 365) × (n – 81) ]
Where n is the day of the year (1 to 365)
- Solar Elevation / Altitude Angle (α): The angular height of the sun in the sky measured from the horizontal plane. At sunrise, α = 0°.
- Zenith Angle (θz): The angle between the sun and the vertical directly overhead (the zenith). It is the exact complement to the elevation angle (θz = 90° – α).
- Solar Azimuth (γs): The compass direction from which the sunlight is coming. In the Northern Hemisphere, panels face South (Azimuth 180°); in the Southern Hemisphere, they face North (Azimuth 0°).
💡 Engineering Pro-Tip: Albedo and Tilt
The mechanical tilt angle (β) of the panels should generally equal the geographic latitude. However, engineers must also consider Albedo—the reflectivity of the ground surface. If installing bi-facial panels over white concrete or snow (high albedo), a steeper tilt may actually yield more total energy by capturing rear-side reflection.
Part 2: The Physics of Photovoltaics
Once the sunlight hits the module, astronomical geometry hands the baton to quantum mechanics.
1. The P-N Junction
Solar panels generate DC electricity through the photovoltaic effect. A standard crystalline silicon solar cell consists of two layers of doped silicon:
- N-type layer: Doped with phosphorus to have an excess of free electrons.
- P-type layer: Doped with boron to have an absence of electrons (creating “holes”).
Where these layers meet, an electric field is formed. When photons from the sun strike the cell with enough energy (exceeding silicon’s bandgap of ≈ 1.1 eV), they knock electrons loose. The electric field pushes these free electrons toward the conductive plates, creating direct current (DC).
2. STC vs. NOCT (The Temperature Reality)
Datasheets boast ratings under STC (Standard Test Conditions): 1000 W/m2 irradiance and 25°C cell temperature. However, STC is a laboratory myth.
In the real world, panels operate under NOCT (Nominal Operating Cell Temperature). When a black solar panel sits in the tropical sun, its internal cell temperature can easily exceed 45°C to 65°C. Solar panels lose voltage (and therefore power) as they heat up.
The Temperature Coefficient of Pmax dictates this loss. If a 500W panel has a coefficient of -0.35%/°C, and the cell hits 55°C (a 30°C increase above STC), the panel will lose over 10% of its rated capacity instantly. Engineers must factor this thermal derating into their models.
Part 3: Architectures of Solar Systems
Before sizing components, you must determine the system’s operational architecture.
1. On-Grid (Grid-Tied) Systems
Directly synchronized with the local utility grid with no battery storage. DC power is inverted to AC; the building consumes what it needs, and excess is exported. Crucial limitation: Due to Anti-Islanding Protection, the inverter shuts down during a grid blackout to protect line workers.
2. Off-Grid (Stand-Alone) Systems
Zero connection to the utility grid. Panels charge a massive battery bank via a Charge Controller, and the inverter pulls DC from the batteries. Requires heavy PV over-sizing to ensure autonomy during prolonged cloudy periods.
3. Hybrid Systems
The modern standard. Connected to the grid but featuring a battery bank. They export excess power during normal operation but automatically isolate the home during a blackout, running seamlessly off stored energy.
Part 4: Component Sizing Fundamentals
This requires strict mathematical load profiling. You cannot size a system based on square footage; you must size it based on thermodynamics and electrical demand.
1. Sizing the PV Array
To determine the required solar panels, we account for total system losses (dust, voltage drop, inverter inefficiency, thermal degradation). A system usually operates at an overall efficiency (ηsys) of around 75% to 80%.
PPV = Ed / ( PSH × ηsys )
PPV = Array Capacity (kW) | Ed = Daily Energy Demand (kWh) | PSH = Peak Sun Hours
2. Sizing the Inverter (The DC-to-AC Ratio)
The inverter must handle the Peak Power Demand (Pmax) of all simultaneous loads, including the instantaneous surge current of motors. Engineers typically use a DC-to-AC Ratio of 1.1 to 1.3. By intentionally oversizing the DC solar array by 20% compared to the inverter’s AC rating, the inverter operates closer to peak efficiency during cloudy days, even if it “clips” minor amounts of power at noon.
3. Sizing the Battery Bank
The required battery capacity (Cbat) is dictated by the energy demand, days of autonomy (DA), system voltage (Vsys), and the maximum allowable Depth of Discharge (DoD).
Cbat = ( Ed × DA ) / ( Vsys × DoD × ηinv )
Cbat = Battery Capacity (Ah) | DA = Days of Autonomy | Vsys = System Voltage
- Lead-Acid/Gel: Should never be discharged below 50% DoD to maintain cycle life. Low C-Rating (cannot be discharged rapidly).
- Lithium-Iron Phosphate (LiFePO4): Can safely be discharged to 80-90% DoD and handle rapid power draws (High C-Rating), drastically reducing the physical footprint of the bank.
Conclusion: The Engineering Balance
Solar sizing is an exercise in balancing thermodynamics, electrical limits, and economics. An engineer must look beyond laboratory STC ratings and account for high NOCT temperatures, local PSH variations, and specific load surge profiles.
By mastering the geometry of the sun, the solid-state physics of the modules, and the rigorous math of load sizing, we can design thermal and electrical systems that provide decades of robust, autonomous power.

Sasindu J. Mallawa Arachchi Mechanical Engineer (B.Sc. Hons, University of Moratuwa) | R&D Engineer
Sasindu is a Mechanical Engineer specializing in Energy Conservation and Thermal Systems. Currently working in R&D at Alta Vision Pvt Ltd, he writes about the gap between engineering theory and real-world application. In his free time, he writes fiction and shares his personal experiences to help others navigating similar paths.


