Energy Balance
Real production vs consumption · surplus, deficit and self-consumption
Open-Meteo· hourly irradiancepvlib· PVWatts generationLoad profiles· residential / commercial / industrial
Formulas used
Hourly production (pvlib)OFFICIAL_SOURCE · pvlib
POA = get_total_irradiance(tilt, az, zenith, az_sun, dni, ghi, dhi) t_cell = faiman(poa, temp_air, wind) DC = pvwatts_dc(poa, t_cell, pdc0, γ) AC_kw = pvwatts_inverter(DC, pdc0, η=0.96) production_kw = min(AC_kw, capacity_mw × 1000)
Hourly surplus / deficitMODEL_LEARNED
surplus_kw = max(0, production − consumption) deficit_kw = max(0, consumption − production) self_consumed_kw = min(production, consumption)
Self-consumption ratioDATASET_DERIVED
self_consumption_pct = (Σ self_consumed_kwh
/ Σ production_kwh) × 100Grid export / importMODEL_LEARNED
grid_export_kwh = Σ surplus_kw × Δt grid_import_kwh = Σ deficit_kw × Δt # Δt = 1 hour
Provenance: REAL_COORDINATE_BASED — Production derived from live Open-Meteo weather at real site coordinates. Consumption profiles are synthetic baselines scaled to plant capacity.
No balance computed
Pick a site and consumer profile to compute the energy balance