quintel / etengine

Calculation engine for the Energy Transition Model
https://energytransitionmodel.com/
MIT License
14 stars 7 forks source link

Recent fever changes are not picked up by heat_network_mt and heat_network_lt #1390

Closed mabijkerk closed 4 months ago

mabijkerk commented 5 months ago

On production, if I open a blank nl2019 scenario and set the households space heating technologies to 50% for MT heat networks, I immediately get a backup gas burner to supply the heat demand:

Screenshot 2024-01-25 at 13 45 36

However, when I do the same on master, no bakcup gas burner is used:

Screenshot 2024-01-25 at 13 45 36

This is not due to large deficits. Instead, something seems to go wrong on the backup burner node:

Screenshot 2024-01-25 at 13 45 36

More specifically, none of the dispatchable heat source on the MT heat network seem to be working. This is the same for the LT heat network. HT heat network seems to be working fine.

noracato commented 5 months ago

First breakthrough: If in the node households_final_demand_mt_steam_hot_water.final_demand you set the demand to e.g. 15.0 instead of 0.0, then all future calculations start working again. So it looks like some calculations don't happen in the future when the present is 0, I'll continue looking!

mabijkerk commented 5 months ago

Heat networks on MT and LT now are closer to what we would expect:

Screenshot 2024-01-30 at 17 03 42

The only thing that now does not seem to be working is the heat provided to account for distribution losses in the MT heat network:

Screenshot 2024-01-30 at 17 04 31

More is demanded from the backup burner in steam_hot_water than what is actually used in network_gas. The difference seems to be in the energy_heat_distribution_mt_loss.

noracato commented 5 months ago

Done

mabijkerk commented 5 months ago

LGTM!

District heating supply and demand per temperature level 2527467