How the calculation works

The calculator simulates a full year, hour by hour. This page explains exactly how: the data and formulas we use, the assumptions behind them and where the model falls short.

Updated on

Short answer

The calculator simulates all 8,760 hours of a year: how much your solar panels produce, how much you consume and what the battery does in that hour. The difference in electricity costs with and without a battery is the saving. We add it up over the lifetime, allowing for battery ageing, and compare it with the purchase price.

Step 1: solar power per hour

For every hour we calculate the position of the sun above the centre of the Netherlands (De Bilt) and the irradiance under a clear sky. Cloud cover is a random but fixed weather year with sunny and overcast spells, tuned so that each month receives exactly the average irradiation reported by KNMI: about 1,013 kWh per m² a year in total.

We convert that irradiation to a roof with a 35-degree pitch in the chosen direction, split into direct and diffuse light. The shape of the profile is then scaled to your yearly production. The total matches your own installation, while the distribution over the day and the seasons comes from the model.

Share of the yearly production per month for a south-facing roof.
JanFebMarAprMayJunJulAugSepOctNovDec
3%5%8%12%13%13%13%12%9%6%3%2%
Yearly yield per orientation relative to south. East and west produce less, but more in the morning or evening.
SouthSouth-eastSouth-westEastWestEast and west
100%95%95%83%83%83%

Step 2: consumption per hour

Your yearly consumption is spread over the hours with a profile that differs between weekdays and weekends, summer and winter. A real household consumes erratically: little in most hours, a lot in a few hours of cooking, washing or drying. That is why we add random peaks per hour. Without them the model would let too much solar power be used directly and give the battery too little to do.

  • Being at home during the day shifts consumption towards or away from the hours between 9:00 and 17:00.
  • A heat pump uses electricity in proportion to the cold: mostly in the winter months, when there is little sun.
  • An electric car charges about four times a week, from 18:00, or in the cheap night hours on a dynamic contract.

If you enter the purchase and feed-in figures from your annual statement, the calculator finds the consumption pattern for which the simulated feed-in equals your actual feed-in. That is the most accurate way to calculate.

Step 3: the battery

On a fixed or variable contract the battery does the following every hour:

surplus   = production − consumption
charge    = smallest of: surplus, power, (capacity − charge level) ÷ η
discharge = smallest of: shortage, power, charge level × η
η         = square root of the round-trip efficiency

Standby consumption is added to your consumption. What does not fit into the battery goes to the grid; what the battery cannot deliver comes from the grid.

On a dynamic contract the calculator finds the cheapest charging schedule for the whole year, including charging from the grid in cheap hours. That optimum assumes prices, sun and consumption are known in advance. A real controller works with forecasts. We therefore count the saving of the simple strategy in full and, by default, 85% of the extra gain. When the feed-in price is negative we assume your inverter does not export, with and without a battery.

Step 4: tariffs

Fixed or variable
cost = purchase × electricity price − feed-in × (compensation − feed-in costs)

Dynamic, per hour
buy price  = market price × 1.21 + supplier fee + energy tax
sell price = market price − supplier fee

Fixed charges such as the standing charge and grid fees are the same with and without a battery and are therefore left out. The hourly prices come from a price year tuned to the Dutch day-ahead market of 2025: €87 per MWh on average, 583 hours with a negative price, low prices when the sun shines and high prices in the evening.

Average market price per part of the day in the price year used, before taxes. Solar power earns 46% of the average price.
Night (0–6h)Morning (6–10h)Midday (10–16h)Evening (16–22h)
€0.087€0.102€0.049€0.11

Step 5: from saving to payback period

capacity(year)  = (1 − capacity loss) ^ (year − 0.5)
saving(year)    = saving at that capacity × (1 + price trend) ^ (year − 1)
                  + extra income − yearly costs
payback period  = moment the cumulative saving reaches the purchase price
return          = interest rate at which all savings together are worth the purchase price

We simulate the battery twice: new and at the end of its life. The years in between follow from those two results. The verdict is probably worth it for a payback period of up to 10 years (the usual warranty), borderline if the battery only pays for itself later but within its lifetime, and not worth it if it never does.

Defaults and assumptions

Every value below can be changed in the calculator. Reference date: November 2026.

AssumptionValueExplanation
Electricity price (fixed or variable)€0.30 per kWhIncluding energy tax and VAT. Enter your own tariff.
Feed-in compensation€0.09 per kWhWhat your supplier pays per kWh fed into the grid.
Feed-in costs€0.055 per kWhYou keep €0.035 per kWh net, in line with large suppliers in 2027.
Energy tax 2027€0.107 per kWh€0.088 excluding VAT according to the Tax Plan 2027 (not yet final).
Average market price (dynamic)€0.087 per kWhAverage Dutch day-ahead price in 2025, before taxes.
Supplier fees (dynamic)€0.025 and €0.01 per kWhFee on purchases and deduction on feed-in.
Battery price€1,500 + €400 per kWhGuide price for a fixed system including installation and VAT: €3,500 for 5 kWh, €5,500 for 10 kWh.
Charge and discharge power0.5 kW per kWhAt least 1 kW and at most 5 kW.
Round-trip efficiency88%From alternating current into the battery and back, including the inverter.
Standby consumption8 WContinuous, so about 70 kWh a year.
Lifetime15 yearsUsual warranty: 10 years or about 6,000 cycles.
Capacity loss2% per yearAfter 15 years 74% of the capacity remains.
Electricity price trend0% per yearWith a scenario 2.5 percentage points higher and lower.
Solar panel yield381 kWh per yearA 435 Wp panel facing south, 0.875 kWh per Wp.
Heat pump and electric car2,500 kWh per year eachDefaults; adjust them to your own consumption.

Validation: is the model right?

We test the model against figures from measurements and public statistics. Automated tests also check that the energy balance closes in every hour and that the results stay within these ranges.

PropertyReferenceModel
Solar irradiation per year (De Bilt)1,013 kWh/m²1,013 kWh/m²
Direct self-consumption without battery, production equal to consumptionabout 30%31%
Self-consumption with 1 kWh of storage per 1,000 kWh of consumption55–60%57%
Self-sufficiency with that same batteryabout 55%56%
Average day-ahead price (2025)€87 per MWh€87 per MWh
Hours with a negative price (2025)584583

What the model cannot do

  • Your household is not average. The hourly consumption is an estimate. Your meter readings improve the result, but it is still not exact.
  • One weather year. A sunny or gloomy year gives a few per cent more or less saving.
  • Hourly resolution. Peaks of a few minutes, such as a kettle, are averaged out. The random peaks largely compensate for that.
  • Future tariffs are unknown. Electricity price, energy tax and feed-in compensation will change. That is why we show a scenario with higher and lower prices.
  • Trading on the imbalance market is not included. That income is uncertain and depends on your provider; you can enter it as extra income.
  • Failure and replacement of the battery or inverter outside the warranty are not included.
  • Grid tariffs that depend on the time of day or your peak power do not yet exist for Dutch households and are not included.

In doubt about a result? Try a different electricity price, purchase price or lifetime in the calculator. That shows how sensitive your situation is.

Sources

  1. KNMI, Climate normals for De Bilt 1991–2020. Average global radiation per month (364.8 kJ/cm² a year, converted 1,013 kWh/m²) and average temperature per month.
  2. HTW Berlin (Weniger, Tjaden, Quaschning), Sizing of Residential PV Battery Systems, Energy Procedia 46 (2014). Reference for self-consumption and self-sufficiency: about 30% without a battery and 55–60% with 1 kWh of storage per 1,000 kWh of consumption.
  3. Milieu Centraal, Home battery for solar power (in Dutch). Independent assessment of home batteries and the rule of thumb that households use about 30% of their solar power directly.
  4. CE Delft, voor Vereniging Eigen Huis, Study of home battery payback times (in Dutch). Self-consumption rises to 60–70% with a battery; payback times range from just over 6 to 22 years.
  5. TenneT, Annual Market Update 2025. Average Dutch day-ahead price of €87 per MWh in 2025 and 584 hours with a negative price.
  6. Ministerie van Financiën, Tax Plan 2027 (in Dutch). Proposed energy tax on electricity in 2027: 8.80 cents per kWh excluding VAT in the first two brackets up to 10,000 kWh (2026: €0.09161). Bill from September 2026, not yet passed by parliament.
  7. Rijksoverheid, Net metering ends in 2027 (in Dutch). End of net metering on 1 January 2027 and the minimum feed-in compensation of 50% of the bare supply rate until 2030.
  8. Energievergelijk.nl, Net feed-in compensation per supplier from 1 January 2027 (in Dutch). Net compensation (compensation minus feed-in costs) at large suppliers: roughly 3 to 4 cents per kWh, autumn 2026.