How the home energy digital twin simulator calculation works
Single calculators answer single questions. A home with solar, a battery, a heat pump and an EV interacts: the heat pump needs most energy in winter when solar is scarce, and EV charging time decides whether it uses solar or the grid. This simulator combines them in an 8,760-hour typical year.
Solar production follows your monthly sun hours. Heat pump demand follows hourly outdoor temperatures built from monthly means, with a COP that changes with the temperature. The EV charges a fixed amount each day from your plug-in time. The battery follows either a self-consumption or a time-of-use strategy. The climate panel can fill temperatures and sun hours for your location from NASA POWER.
Formula
- HLC
- heat loss coefficient (W/K)
Worked example
- Example: 3,500 kWh household use, a heat pump for a 180 W/K home, 12,000 km of EV driving, 5 kWp of solar and a 5 kWh battery, with example temperate-climate inputs.
- Total use is about 9,200 kWh, of which 3,540 kWh is the heat pump (modelled seasonal COP 3.46) and 2,160 kWh the EV.
- Solar produces 4,740 kWh; self-sufficiency is 36.5 %, and the annual bill at 0.30 import / 0.06 export is about 1,678.
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.
- Heat pump COP is a fixed share of the Carnot COP; EV charges at full power from the plug-in hour.
Limitations
- Defrost, cycling and backup heaters are not modelled.
- Smooth average days overstate winter solar and understate the battery’s idle days.
Frequently asked questions
How accurate is it?
It captures seasonal and daily interactions with explicit assumptions. Your own meter data and heat-loss survey make it more realistic.
Why does charging the EV at night lower self-sufficiency?
Overnight charging uses grid or battery energy; daytime charging at home can use solar directly.
Related calculators
Optimal Home Battery Size Calculator
Battery size with the best net present value from a typical-year simulation.
Heat Pump Running Cost Calculator
Annual electricity use and running cost of a heat pump vs a gas boiler.
Solar Self-Consumption Calculator
Self-consumption, self-sufficiency, grid export/import and annual bill benefit.
References and data sources
- NASA POWER — Prediction Of Worldwide Energy Resources — NASA Langley Research Center
- Coefficient of performance — Wikipedia
- Heat pump — Wikipedia
- Charging Electric Vehicles at Home — U.S. DOE Alternative Fuels Data Center
- City search: GeoNames (CC BY 4.0).
Last reviewed: · Formula version 1.0.0 · Methodology