
Optimal sizing of heat pumps and thermal storage for district heating
A cost and performance analysis using perfect forecast optimisation
Why read this
Electrification of district heating cuts emissions and operating costs, but only if heat pumps and storage are sized and operated correctly. This white paper finds the cost-optimal heat pump capacity and tank volume for one average household with an annual heat demand of 18.1 MWh, based on scaled real-world data from 2020 to 2024. Results are given for Western Denmark (DK1) and Eastern Denmark (DK2).
Introduction
In district heating, the size of the heat pump and the thermal storage tank has a major impact on capital expenditure (CAPEX), operating expenditure (OPEX) and the resulting heat price. Oversizing raises investment costs unnecessarily, while undersizing forces reliance on more expensive backup production.
We model a system where a heat pump is supported by a 6 kW electric boiler, which on its own can cover the observed peak demand of 5.32 kW. The model evaluates a grid of heat pump and tank sizes to balance upfront cost against operating efficiency.
System configuration and method
- Total annual heat demand: 18.1 MWh
- Peak observed load: 5.32 kW
- Electric boiler capacity: 6 kW (covers peak load)
- CAPEX for heat pump: 6.5 million DKK per MW
- Annual maintenance cost for heat pump: 38,000 DKK per MW
- CAPEX for tank: 2,000 DKK per m³
Operation is optimised with perfect foresight of electricity prices and heat demand: the model decides when to produce with the heat pump and/or electric boiler and when to charge or discharge the tank. We compute net present cost over a 20-year lifetime at a 4 % discount rate, and report average OPEX and average heat price accordingly.
Results
For each price area, one figure holds three subplots across the same sizing grid: CAPEX, average OPEX and average heat price. The x-axis is tank size (m³) and the y-axis is heat pump size (kW).
Western Denmark (DK1)

Eastern Denmark (DK2)

Additional insights
Scaling to district heating networks
Because the data is scaled to a representative household, results can be extrapolated linearly to a larger network when the number of households is known. With the DK1 optimum and 800 households, the aggregated sizing becomes:
Tank volume: 1.5 m³ × 800 = 1,200 m³
This gives a quick method for preliminary planning of larger systems.
Limits of the rule of thumb
These results assume every consumer on the network is an average household. In reality the optimal sizing can vary considerably with the actual mix of consumers, including the share of industrial or commercial users and seasonal variation in demand.
Potential for energy balancing
The same system could support grid balancing: running the heat pump when electricity demand is low and supply is high, storing the surplus heat, and reducing production when the grid is tight. In that strategy the optimal tank would likely be larger than found here, since more storage allows more flexibility, and the average heat price would be expected to fall further.
Conclusion
Sizing the heat pump and accumulation tank together yields substantial savings. For the average-load case analysed here, compact storage volumes paired with a modest 3.5 kW heat pump are cost-optimal in both DK1 and DK2, with slightly larger storage favoured in DK2. Under perfect foresight the system reliably exploits low-price periods while meeting peak demand through the storage tank and the 6 kW boiler.
Key findings
- **DK1:** the optimal configuration is a 3.5 kW heat pump with a 1.5 m³ tank.
- **DK2:** the optimal configuration is a 3.5 kW heat pump with a 2 m³ tank.
- Configurations close to the optimum give a similar average heat cost, so small deviations can be acceptable to meet other requirements such as security of supply.
- A storage tank increases CAPEX but can lower OPEX when it is balanced against heat pump capacity and demand.
- Production optimisation moves production into low-price, high-COP hours and lowers the average heat price.





