Solar energy at home

Explain how to estimate the daily energy from a rooftop solar system. Include a formula, a comparison table, a Python example, and sample data.

Estimate daily energy

A solar array turns sunlight into electricity. A simple estimate uses rated panel capacity, equivalent full-sun hours, and an efficiency factor.

E=P×H×ηE = P \times H \times \eta

For a 4 kW system with five sun-hours and 80% efficiency, the estimated output is 16 kWh per day.

Compare three conditions

Sun hoursEfficiencyDaily energy
380%9.6 kWh
580%16.0 kWh
780%22.4 kWh

Calculate it in Python

python
def daily_energy(capacity_kw, sun_hours, efficiency=0.8):
    return capacity_kw * sun_hours * efficiency

print(daily_energy(4, 5))  # 16.0 kWh

The example image illustrates relative daily output. The attached CSV contains synthetic readings. Actual production varies with weather, orientation, and shading.

daily-output.png
daily-output.csvFILE