Why this tool works hour by hour
There is just one way a home battery earns anything: it takes solar energy from sunny hours with too much and delivers it later when there is too little. To price that, you must see surplus and the demand that follows it in each hour. Monthly averages smear this out, which is why rules of thumb and simple web calculators so often promise more savings than a battery delivers.
The engine downloads hourly NASA POWER satellite weather for a whole year at your site and steps through all 8,760 hours. It has three parts:
- Solar output. It uses the same physics as our solar panel calculator: sun position, the Hay–Davies sky model, cell temperature and inverter losses are all modelled.
- Household demand. Pick a preset routine: a working family, a home office, a retired couple, nightly EV charging or a heat pump. It is shaped for weekdays, weekends and the season, then scaled to your yearly kWh. The heat-pump pattern tracks that year’s actual hourly outdoor temperature, so a cold spell lifts demand just when sunshine is weakest.
- The battery. Solar covers the house first. Any surplus charges the battery within its power limit and usable capacity, and the remainder goes to the grid. If demand beats solar, the battery supplies power until it hits its reserve level, and only then does the home import electricity.
Ten battery sizes between 0 and 30 kWh go through the same run, and the one with the highest net present value is reported.
Equations
Self-consumption = (PV − export) ÷ PV Self-sufficiency = (load − import) ÷ load Battery savings = Δimport × import price − Δexport × export price Battery life = min(calendar life, rated cycles ÷ cycles per year)
Default case: 6 kWp and 10 kWh near Bucharest
Picture a working family that uses 4,500 kWh yearly and owns 6 kWp of panels facing south at 32°. Using 2024 weather, the array produces about 7,330 kWh (1,221 kWh/kWp). Without storage, a mere 24% of this is consumed directly, as generation peaks while the house is empty; 40% of demand is covered.
Add a 10 kWh battery with 90% usable capacity, 5 kW power and 90% round-trip efficiency. It supplies about 2,110 kWh yearly, grid imports drop from 2,714 to 688 kWh, and self-sufficiency reaches 85%. At roughly 250 full cycles a year, a 6,000-cycle LFP battery would age out through its 15-year calendar life well before cycling wears it.
The financial picture is more sobering. Every shifted kWh avoids the €0.25 import price yet gives up a €0.06 export credit, so savings come to about €363 a year. With €4,500 installed, payback is around 12 years and the NPV at a 5% discount rate is marginally negative. The sweep shows the reason: 5 kWh already earns €233 a year, 7.5 kWh earns €326, and moving from 10 to 15 kWh adds a mere €24, since winter has no surplus to fill more capacity.
Making sense of the results
- Self-sufficiency speaks to independence. Savings and payback speak to whether buying makes sense.
- Fewer than about 150 full cycles a year is a sign that the battery is bigger than your surplus or your evening use justifies.
- Best battery size: the capacity with the highest NPV in the sweep. Cost has a fixed share (hybrid inverter, installation) and a per-kWh share. If every size returns a negative NPV, view the purchase as comfort or backup rather than an investment.
- Average summer day chart. The battery should fill by late morning and carry the home through the evening and night. If it is full before noon, more capacity or more daytime consumption would be useful.
Benchmarks
| Household (Central Europe) | PV | Battery (usable) | Self-sufficiency | Cycles/yr |
|---|---|---|---|---|
| 3,000 kWh, out by day | 4 kWp | none | 25–35% | — |
| 3,000 kWh, out by day | 4 kWp | 4–5 kWh | 55–65% | 250–300 |
| 4,500 kWh family | 6 kWp | 8–10 kWh | 65–80% | 200–260 |
| 8,000 kWh with EV | 9 kWp | 10–13 kWh | 50–65% | 250–330 |
| 10,000 kWh with heat pump | 10 kWp | 10–15 kWh | 45–55% | 180–230 |
Southern Europe, the US Sun Belt and Australia land at the upper end or higher; in northern Europe results sit lower because winter yield is so small.
Getting a battery to pay off
- Match your evening, not your roof. Consumption after sunset (typically 40–60% of the day’s use) caps what a battery can offset daily.
- Move flexible loads to midday first. Appliances like the dishwasher, washer, water heater and EV charger then store energy for free, which often outperforms buying another battery module.
- Read your tariff. Time-of-use or dynamic pricing, or no payment for exports, widens the price gap and speeds payback; the time-of-use option lets you test it.
- Pick LFP. Lithium iron phosphate handles 4,000–8,000 cycles and 90–100% depth of discharge. Lead-acid loses about half its capacity to the 50% DoD limit and lasts 500–1,500 cycles (see the lead-acid preset).
- Know what you are paid today. Where classic net metering applies, a battery adds next to no savings. The net metering calculator lets you compare schemes.
Limitations
The dispatch rule is basic self-consumption. It never charges from the grid, does not follow dynamic prices and keeps no reserve for forecast bad weather. Because the model steps by the hour, self-consumption comes out a bit high: a kettle or oven can exceed the battery’s power limit for minutes inside an hour. Actual systems usually land a few percentage points lower. Load profiles are generic, not taken from your smart meter. A single day may look quite different even when the yearly totals match. Battery ageing appears as a steady annual decline in savings. Costs leave out financing and any later swap of the hybrid inverter.
Method & assumptions
A NASA weather year supplies the hours, all of them. In each hour the calculator estimates PV output (the model behind our solar panel calculator) and the home's demand. Demand begins with a typical daily pattern, then bends for weekdays, weekends and season; where heat pumps are involved it follows each hour's actual outdoor temperature (heat demand ∝ (15 °C − T) ÷ COP(T)).
The battery logic is the same every hour. The house uses solar first. Extra solar goes to the battery, within its power limit and usable capacity (capacity × DoD); if there is still more, it is exported. In a shortfall, the battery covers demand until it reaches its reserve, and the grid supplies what remains. Losses are √RTE in each direction, plus standby consumption.
Results: Self-consumption = solar used on site ÷ solar produced. Self-sufficiency = demand met without the grid ÷ demand. Battery savings = avoided import cost − lost export revenue. Payback and NPV take in your price growth and capacity fade across the battery's life = min(calendar life, rated cycles ÷ cycles per year).
Frequently asked questions
How large a battery should a solar home have?
Is a home battery a good investment?
How often does a household battery cycle in a year?
Self-consumption versus self-sufficiency?
Can a battery cut me off from the grid entirely?
Will a battery power my EV charging overnight?
Sources & references
- Weniger, J., Tjaden, T., Quaschning, V. (2014). Sizing of residential PV battery systems. Energy Procedia 46
- HTW Berlin — Independence calculator and PV storage inspection (Stromspeicher-Inspektion)
- NREL — Battery Energy Storage System cost benchmarks (ATB, residential storage)
- NASA POWER — hourly solar and meteorological data
Embed this calculator
Free for bloggers, installers, schools and NGOs. Copy the snippet below and it stays current by itself.