How the off-grid energy system simulator calculation works
Off-grid systems are sized for the worst times, not the average. This simulator steps through a typical year hour by hour: solar charges the battery, the battery covers the night, and when it falls to the start level a backup generator (if any) runs until the battery is recharged to the stop level.
Because smooth average days hide bad weather, each month includes a run of dull days at reduced output — an explicit stress test you control. Results show unmet demand, generator hours and fuel, and solar energy wasted because the battery was already full.
Formula
- SOC
- state of charge
Worked example
- Example: 6 kWh/day, 3 kWp, 15 kWh / 3 kW battery, example sun hours, three dull days at 20 % output each month.
- Without a generator, about 19 % of the year’s demand would go unmet, mostly in winter.
- With a 2 kW generator all demand is met; it runs about 273 hours and supplies 546 kWh (fuel about 393 at 0.4 L/kWh and 1.80/L), while 681 kWh of summer solar is wasted.
Assumptions and limitations
Assumptions
- Typical-year model: solar follows monthly sun hours with a smooth daily curve, consumption repeats a daily pattern, and temperatures are interpolated from monthly means. No weather is invented, so day-to-day variability is absent unless you add the stress test.
- Generator output is fully used for load and battery charging.
Limitations
- Longer real dull spells or very cold batteries need extra margin.
- Generator minimum loading and start-up limits are not modelled.
Frequently asked questions
How do I reduce generator hours?
Add panels (cheapest for winter), tilt them steeper for winter sun, or reduce winter loads; extra battery helps mainly with short dull spells.
Why is solar wasted in summer?
Off-grid systems sized for winter produce far more than needed in summer once the battery is full.
Related calculators
Off-Grid Solar System Calculator
Size panels, battery bank, charge controller and inverter for an off-grid system.
Battery Autonomy Calculator
Days a battery can supply your loads without recharging.
Generator Fuel Consumption Calculator
Generator fuel per hour, per day and per kWh.
References and data sources
- Stand-Alone Photovoltaic Systems: A Handbook of Recommended Design Practices (SAND87-7023) — Sandia National Laboratories
- NASA POWER — Prediction Of Worldwide Energy Resources — NASA Langley Research Center
- Brake-specific fuel consumption (part-load fuel use of engines) — Wikipedia
- City search: GeoNames (CC BY 4.0).
Last reviewed: · Formula version 1.0.0 · Methodology