quintel / etsource

Data source for the Energy Transition Model
https://energytransitionmodel.com/
MIT License
12 stars 8 forks source link

District heating costs per household contain mistake in heat delivery system costs #2992

Closed KoenvanB closed 4 months ago

KoenvanB commented 5 months ago

The vertical_stacked_bar_ht_district_heating_costs_per_household figure (and mt and lt versions) contain the heat delivery system costs per household. These costs are calculated by taking the ht heat delivery system capital and depreciation costs (capex) and dividing those by the number of residences in the district heating network (link):

- unit = eur
- query =
    number_of_residences_in_ht_heating_network = V(households_space_heater_district_heating_ht_steam_hot_water,number_of_units);
    ht_heat_delivery_system_total_annual_costs = 
        SUM(
            Q(households_ht_heat_delivery_system_depreciation_costs),
            Q(households_ht_heat_delivery_system_capital_costs)
        );

    DIVIDE(
        ht_heat_delivery_system_total_annual_costs,
        number_of_residences_in_ht_heating_network
    )

However, the heat delivery system capex is based on ALL residences with that system, not just the residences that have district heating. As a result, the capex is too high, and therefore the costs per household as well.

This query should recalculate the capex for district heating households only to correct for this mistake.

mabijkerk commented 5 months ago

However, the heat delivery system capex is based on ALL residences with that system, not just the residences that have district heating

I don't completely understand the difference. What do you mean with "that system".

KoenvanB commented 5 months ago

I mean that in this example capex is calculated based on all residences that have ht heat delivery systems, not just the residences that are in the district heating network.

I also realize this relates to an update to the heat delivery system costs that I have implemented on my branch only. So rather than writing an issue about it I should just go ahead and fix it on my branch first...

mabijkerk commented 5 months ago

I mean that in this example capex is calculated based on all residences that have ht heat delivery systems, not just the residences that are in the district heating network.

Clear, good point!

mabijkerk commented 4 months ago

@KoenvanB what is the status of this issue?