Heating¶
The rules on this page prepare the heat demand of buildings, the district heating shares and areas, the temperature-dependent performance of heat pumps and heat sources, thermal storage and the cost of building renovation. What is modelled is described under Heating in the design section.
Demand and district heating¶
build_temperature_profiles¶
Builds population-weighted air and soil temperature time series per clustered region.
Script, inputs, outputs and settings
- Script:
scripts/build_temperature_profiles.py - Inputs:
resources/pop_layout_total.nc,resources/onshore_regions.geojson, depends on configuration - Outputs:
resources/temp_soil_total.nc,resources/temp_air_total.nc - Settings:
snapshots,enable.drop_leap_day
Build air and soil temperature time series per clustered region.
atlite.Cutout.temperature
and atlite.Cutout.soil_temperature read ambient air and soil temperature
from the weather cutout. Grid cells are aggregated to clustered onshore
regions weighted by population, giving the temperature experienced by the
average inhabitant. The profiles serve, among others, as heat source
temperatures in build_cop_profiles and as ambient temperatures in
build_central_heating_temperature_profiles.
build_daily_heat_demand¶
Builds daily heat demand time series per region from cutout temperatures and population.
Script, inputs, outputs and settings
- Script:
scripts/build_daily_heat_demand.py - Inputs:
resources/pop_layout_total.nc,resources/onshore_regions.geojson, depends on configuration - Outputs:
resources/daily_heat_demand_total.nc - Settings:
snapshots,enable.drop_leap_day
Build daily heat demand time series per clustered region from heating degree days.
Ambient temperature from the weather cutout is converted to heat demand with atlite.Cutout.heat_demand, which counts the degrees by which the daily mean temperature falls below a threshold. Grid cells are aggregated to clustered onshore regions weighted by population and the result is kept at daily resolution. The daily profile is disaggregated to hours in build_hourly_heat_demand.
build_hourly_heat_demand¶
Disaggregates daily heat demand into hourly profiles with standard load curves.
Script, inputs, outputs and settings
- Script:
scripts/build_hourly_heat_demand.py - Inputs:
data/heat_load_profile_BDEW.csv,resources/daily_heat_demand_total.nc - Outputs:
resources/hourly_heat_demand_total.nc,resources/residential_heat_dsm_profile.csv - Settings:
snapshots,enable.drop_leap_day,sector
Build hourly space and water heating demand profiles from daily heat demand.
The daily heat demand from build_daily_heat_demand is multiplied by
intraday profiles from BDEW, which differ between residential and services
and between weekdays and weekends, to obtain hourly space heating demand per
node. Water heating uses the intraday profile alone since it does not depend
on temperature. A weekly availability profile for residential heat
demand-side management is also written; it is zero at the configured
restriction_time hours so that shifted heat demand must be served within
each period.
build_district_heat_share¶
Builds district heating shares per region and investment year from urban population.
Script, inputs, outputs and settings
- Script:
scripts/build_district_heat_share.py - Inputs:
resources/district_heat_share.csv,resources/pop_layout.csv - Outputs:
resources/district_heat_share_{horizon}.csv - Settings:
sector,energy.energy_totals_year - Wildcards:
{horizon}
Build the district heating share of heat demand at each node for a planning horizon.
Today's country-level district heat share from build_energy_totals is
scaled to each node by the ratio of its share of the country's urban
population to its share of the total population. The maximum share is the
node's urban fraction times the potential set in
sector.district_heating.potential, either a single value or one per
country. The gap between today's share and this maximum is closed by the
progress factor of the planning horizon from
sector.district_heating.progress. Where today's share exceeds the urban
fraction, the urban fraction is raised to match.
| Column | Description |
|---|---|
original district heat share |
Today's share of the country |
district fraction of node |
Share of the node's heat demand served by district heating |
urban fraction |
Share of the node's population living in urban areas |
build_dh_areas¶
Builds district heating area shapes and fills in countries missing from the source data.
Script, inputs, outputs and settings
- Script:
scripts/build_dh_areas.py - Inputs: output of
retrieve_dh_areas,resources/onshore_regions.geojson - Outputs:
resources/dh_areas.geojson
Build district heating areas covering all modelled countries.
District heating area shapes from Fraunhofer ISI are checked against the countries of the onshore regions. Countries without data are handled by the configured strategy: ignored (assumed to have no district heating), filled with the country's full onshore area as potential district heating area, or reported as an error. The areas restrict where heat source and thermal storage potentials are computed; they do not affect heat demand.
build_retro_cost¶
Computes building retrofit costs and space heating savings per region and building type.
Script, inputs, outputs and settings
- Script:
scripts/build_retro_cost.py - Inputs:
data/retro/data_building_stock.csv, output ofretrieve_tabula_calculator,resources/temp_air_total.nc,data/retro/u_values_poland.csv,data/retro/electricity_taxes_eu.csv,data/retro/comparative_level_investment.csv,data/retro/floor_area_missing.csv,resources/pop_layout.csv,data/retro/retro_cost_germany.csv,data/retro/window_assumptions.csv - Outputs:
resources/retro_cost.csv,resources/floor_area.csv - Settings:
sector.retrofitting,countries
Build space heating savings and costs of retrofitting the thermal envelope of buildings per country, sector and retrofitting strength.
Energy savings follow the seasonal method of EN ISO 13790 as implemented in the TABULA calculation method. The building stock with its U-values and heated floor areas comes from the Hotmaps project; typical envelope surfaces, thermal bridges and ventilation losses per building type come from TABULA. Space heat demand is the transmission and ventilation heat loss over the heating season minus the utilised solar and internal gains:
with the heating season of \(d_{heat}\) days below the threshold \(T_{th}\) of 15 C, their mean temperature \(T_{heat}\), a reduction factor \(F_{red}\) for non-uniform heating and a gain utilisation factor \(f_{gain}\). Savings are computed for several insulation thicknesses. Costs per thickness are taken from German data and weighted by country-specific construction and tax indices. Savings and costs per sector are area-weighted over building types and construction periods, and countries without building data take the values of neighbouring countries.
References
- Loga et al. (2013), TABULA Calculation Method - Energy Use for Heating and Domestic Hot Water
- Hotmaps project, Building stock data
- TABULA, Building typology calculator
build_existing_heating_distribution¶
Distributes existing heating capacities to regions and sectors by population.
Script, inputs, outputs and settings
- Script:
scripts/build_existing_heating_distribution.py - Inputs:
data/existing_infrastructure/existing_heating_raw.csv,resources/pop_layout.csv,resources/pop_weighted_energy_totals.csv,resources/district_heat_share_{horizon}.csv - Outputs:
resources/existing_heating_distribution_{horizon}.csv - Settings:
planning_horizons,sector,existing_capacities - Wildcards:
{horizon}
Build existing heat generation capacities per node, sector and technology for the first planning horizon.
Country-level capacities of gas, oil, coal and biomass boilers, resistive heaters and air- and ground-source heat pumps in buildings in 2012, taken from a study for the European Commission, are distributed to nodes by population. Within a node, capacities are split between residential and services by their heat consumption and between urban and rural areas by the urban fraction from build_district_heat_share. Coal boilers are merged into oil boilers; all ground-source heat pumps are assigned to rural areas and all air-source heat pumps to urban areas. Albania, Montenegro, North Macedonia, Cyprus and Malta are missing from the dataset and get zero capacity.
References
- European Commission (2016), Mapping and analyses of the current and future (2020 - 2030) heating/cooling fuel deployment (fossil/renewables)
Heat pumps and heat sources¶
build_central_heating_temperature_profiles¶
Approximates district heating forward and return temperature profiles from air temperature.
Script, inputs, outputs and settings
- Script:
scripts/build_central_heating_temperature_profiles/run.py - Inputs:
resources/temp_air_total.nc,resources/onshore_regions.geojson - Outputs:
resources/central_heating_forward_temperature_profiles_{horizon}.nc,resources/central_heating_return_temperature_profiles_{horizon}.nc - Settings:
sector.district_heating.supply_temperature_approximation.max_forward_temperature_baseyear,sector.district_heating.supply_temperature_approximation.min_forward_temperature_baseyear,sector.district_heating.supply_temperature_approximation.return_temperature_baseyear,snapshots,enable.drop_leap_day,sector.district_heating.supply_temperature_approximation.lower_threshold_ambient_temperature,sector.district_heating.supply_temperature_approximation.upper_threshold_ambient_temperature,sector.district_heating.supply_temperature_approximation.rolling_window_ambient_temperature,sector.district_heating.supply_temperature_approximation.relative_annual_temperature_reduction,energy.energy_totals_year - Wildcards:
{horizon}
Approximate district heating forward and return temperature profiles based on ambient temperature. The method is based on a reference curve from Pieper et al. 2019, where for ambient temperatures below 0C, the highest possible forward temperature is assumed and vice versa for temperatures above 10C. Between these threshold levels, forward temperatures are linearly interpolated.
By default, max_forward_temperature from Euroheat DHC Market Outlook 2024 is used; min_forward_temperature and return_temperature for Germany is used from AGFW-Hauptbericht 2022.
min_forward_temperature and return_temperature for other countries are extrapolated based on the ratio between max_forward_temperature and min_forward_temperature and return_temperature for those countries not missing (by default only Germany).
References
- Pieper, et al. (2019): "Assessment of a combination of three heat sources for heat pumps to supply district heating" (https://doi.org/10.1016/j.energy.2019.03.165).
- AGFW (2022): "Hauptbericht 2022" (https://www.agfw.de/zahlen-und-statistiken/agfw-hauptbericht)
build_cop_profiles¶
Approximates heat pump coefficient-of-performance profiles for all heat sources and systems.
Script, inputs, outputs and settings
- Script:
scripts/build_cop_profiles/run.py - Inputs: depends on configuration,
resources/central_heating_forward_temperature_profiles_{horizon}.nc,resources/central_heating_return_temperature_profiles_{horizon}.nc,resources/temp_soil_total.nc,resources/temp_air_total.nc,resources/ptes_top_temperature_profiles_{horizon}.nc,resources/onshore_regions.geojson - Outputs:
resources/cop_profiles_{horizon}.nc - Settings:
sector.heat_pump_sink_T_individual_heating,sector.district_heating.heat_source_cooling,sector.district_heating.heat_pump_cop_approximation,sector.heat_pump_sources,sector.district_heating.limited_heat_sources,snapshots - Wildcards:
{horizon}
Build heat pump coefficient-of-performance (COP) time series per clustered region, heat source and heat system.
For central heating, the COP follows the approximation of Jensen et al. (2018) with the district heating forward and return temperatures from build_central_heating_temperature_profiles as sink temperatures. For decentral heating, a quadratic regression on the temperature difference between source and sink from Staffell et al. (2012) is used. Source temperatures come from the temperature profiles of the respective heat source or, where configured, from a constant source temperature. The COP is set to zero where the temperature lift is infeasible or the approximation falls below one.
References
- Jensen et al. (2018), Heat pump COP, part 2: Generalized COP estimation of heat pump processes, 13th IIR Gustav Lorentzen Conference on Natural Refrigerants
- Staffell et al. (2012), A review of domestic heat pumps
build_direct_heat_source_utilisation_profiles¶
Builds availability profiles for direct heat source use from forward temperature profiles.
Script, inputs, outputs and settings
- Script:
scripts/build_direct_heat_source_utilisation_profiles.py - Inputs:
resources/central_heating_forward_temperature_profiles_{horizon}.nc - Outputs:
resources/direct_heat_source_utilisation_profiles_{horizon}.nc - Settings:
sector.district_heating.direct_utilisation_heat_sources,sector.district_heating.limited_heat_sources,snapshots - Wildcards:
{horizon}
Build availability profiles for direct heat source utilisation (1 in regions and time steps where heat source can be utilised, 0 otherwise).
When direct utilisation is possible, heat pump COPs are set to zero (c.f. build_cop_profiles).
build_geothermal_heat_potential¶
Aggregates LAU-level geothermal heat potentials to technical potentials per model region.
Script, inputs, outputs and settings
- Script:
scripts/build_geothermal_heat_potential.py - Inputs: output of
retrieve_geothermal_heat_utilisation_potentials,resources/onshore_regions.geojson, output ofretrieve_lau_regions - Outputs:
resources/heat_source_power_geothermal.csv - Settings:
enable.drop_leap_day,countries,sector.district_heating.limited_heat_sources.geothermal.constant_temperature_celsius,sector.district_heating.limited_heat_sources.geothermal.ignore_missing_regions
Build geothermal heat source power potentials per onshore region.
Hydrothermal utilisation potentials from Manz et al. (2024) are given per local administrative unit (LAU) for a 65C or 85C supply temperature scenario. They are matched to onshore regions by spatial join and summed. Dividing the annual utilisation potential by assumed full load hours (4000 h) yields a constant available heat source power in MW. Regions outside the EU-27 without data can be filled with zeros if configured; otherwise an error is raised.
References
build_river_heat_potential¶
Computes river water heat potential and temperature profiles for district heating regions.
Script, inputs, outputs and settings
- Script:
scripts/build_surface_water_heat_potentials/build_river_water_heat_potential.py - Inputs: depends on configuration,
resources/onshore_regions.geojson,resources/dh_areas.geojson - Outputs:
resources/heat_source_power_river_water.csv,resources/temp_river_water.nc,resources/temp_river_water_temporal_aggregate.nc,resources/heat_source_energy_river_water_temporal_aggregate.nc - Settings:
enable.drop_leap_day,snapshots,sector.district_heating.dh_areas.buffer,plotting.enable_heat_source_maps
Calculate river water heat potential for district heating systems.
This script computes the thermal potential of rivers as a heat source for district
heating applications. It uses HERA river discharge and ambient temperature data to
estimate available heating power and average water temperatures across regions
intersected with district heating areas. The district heating areas are buffered by
dh_area_buffer (in meters) to include nearby rivers.
The approximation accounts for temporal and spatial variations in river flow and temperature, providing both spatial and temporal aggregates. Temporal aggregates are only used for plotting.
build_sea_heat_potential¶
Computes sea water temperature profiles as a district heating heat source per region.
Script, inputs, outputs and settings
- Script:
scripts/build_surface_water_heat_potentials/build_sea_water_heat_potential.py - Inputs: depends on configuration,
resources/onshore_regions.geojson,resources/dh_areas.geojson - Outputs:
resources/temp_sea_water.nc,resources/temp_sea_water_temporal_aggregate.nc - Settings:
enable.drop_leap_day,snapshots,sector.district_heating.dh_areas.buffer
Calculate sea water heat potential for district heating systems.
This script computes the thermal potential of sea water as a heat source for district
heating applications. It uses sea water temperature data to estimate average water
temperatures across regions intersected with district heating areas. The district
heating areas are buffered by dh_area_buffer (in meters) to include nearby coastal areas.
The approximation accounts for spatial variations in sea water temperature, providing both spatial and temporal aggregates. Temporal aggregates are only used for plotting.
build_egs_potentials¶
Builds enhanced geothermal capacity potentials and costs per region from gridded data.
Script, inputs, outputs and settings
- Script:
scripts/build_egs_potentials.py - Inputs:
data/egs_costs.json,resources/onshore_regions.geojson,resources/temp_air_total.nc - Outputs:
resources/egs_potentials.csv,resources/egs_overlap.csv,resources/egs_capacity_factors.csv - Settings:
snapshots,enable.drop_leap_day,sector,costs
Build potentials, costs and capacity factors of enhanced geothermal systems (EGS) per clustered region.
Gridded data (1 degree by 1 degree) from Aghahosseini and Breyer (2020) gives
the sustainable power potential and CAPEX per cell for several years; the
data was passed on by the authors and differs from the published values.
Costs are taken for 2020, and cells with cost data only for later years get
their 2020 cost back-calculated with the mean cost reduction of the other
cells. The sustainable potential is divided by the configured
sustainability_factor to obtain p_nom_max. The area overlap of each grid
cell with each clustered region is saved to allocate the cells to regions
later. Capacity factors vary with the deviation of the air temperature from
its annual mean, since air cooling is more efficient at low temperatures,
following Ricks et al. (2022).
References
- Aghahosseini and Breyer (2020), From hot rock to useful energy: A global estimate of enhanced geothermal systems potential
- Ricks et al. (2022), The Role of Flexible Geothermal Power in Decarbonized Electricity Systems
build_solar_thermal_profiles¶
Builds solar thermal collector heat generation time series per clustered model region.
Script, inputs, outputs and settings
- Script:
scripts/build_solar_thermal_profiles.py - Inputs:
resources/pop_layout_total.nc,resources/onshore_regions.geojson, depends on configuration - Outputs:
resources/solar_thermal_total.nc - Settings:
snapshots,enable.drop_leap_day,solar_thermal
Build solar thermal collector heat generation time series per clustered region.
atlite.Cutout.solar_thermal
converts irradiation and ambient temperature from the weather cutout into
heat output per unit collector area with the collector parameters of the
solar_thermal configuration. Grid cells are aggregated to clustered onshore
regions weighted by population, so the profile represents collectors located
where people live.
Thermal storage¶
build_ptes_operations¶
Builds pit thermal storage top temperature, direct-use and capacity profiles per region.
Script, inputs, outputs and settings
- Script:
scripts/build_ptes_operations/run.py - Inputs:
resources/central_heating_forward_temperature_profiles_{horizon}.nc,resources/central_heating_return_temperature_profiles_{horizon}.nc,resources/onshore_regions.geojson - Outputs:
resources/ptes_direct_utilisation_profiles_{horizon}.nc,resources/ptes_top_temperature_profiles_{horizon}.nc,resources/ptes_e_max_pu_profiles_{horizon}.nc - Settings:
sector.district_heating.ptes.max_top_temperature,sector.district_heating.ptes.min_bottom_temperature,snapshots - Wildcards:
{horizon}
Build operational profiles of pit thermal energy storage (PTES) in district heating networks.
The district heating forward temperature is taken as the PTES top temperature
and clipped at the configured maximum. A binary direct-utilisation profile is
1 where the forward temperature does not exceed this maximum, so the storage
can serve the network directly, and 0 where supplemental heating, for example
by a heat pump, is required. The usable capacity e_max_pu scales linearly
with the difference between top and return temperature, following Sorknaes
(2018), normalised by the difference between the configured maximum top and
minimum bottom temperatures.
References
build_ates_potentials¶
Computes aquifer thermal energy storage potentials per region from aquifers and heating areas.
Script, inputs, outputs and settings
- Script:
scripts/build_ates_potentials.py - Inputs: output of
retrieve_aquifer_data_bgr,resources/dh_areas.geojson,resources/onshore_regions.geojson,resources/central_heating_forward_temperature_profiles_{horizon}.nc,resources/central_heating_return_temperature_profiles_{horizon}.nc - Outputs:
resources/ates_potentials_{horizon}.csv - Settings:
sector.district_heating.ates.max_top_temperature,sector.district_heating.ates.min_bottom_temperature,sector.district_heating.ates.suitable_aquifer_types,sector.district_heating.ates.aquifer_volumetric_heat_capacity,sector.district_heating.ates.fraction_of_aquifer_area_available,sector.district_heating.ates.effective_screen_length,sector.district_heating.dh_areas.buffer,sector.district_heating.ates.ignore_missing_regions,countries - Wildcards:
{horizon}
Build aquifer thermal energy storage (ATES) potentials per onshore region.
Aquifer shapes from the BGR hydrogeological map of Europe are filtered to the configured suitable types, then intersected with onshore regions and with buffered district heating areas, since ATES only serves heat networks nearby. The usable area is converted to a storage potential in MWh from the aquifer's volumetric heat capacity, the effective screen length, the fraction of area available and the difference between the annual mean forward temperature and the return temperature of district heating, loosely following Jackson et al. (2024). Future district heating areas come from Manz et al. (2024).
References
- Jackson, Regnier and Staffell (2024), Aquifer Thermal Energy Storage for low carbon heating and cooling in the United Kingdom: Current status and future prospects
- Manz et al. (2024), Spatial analysis of renewable and excess heat potentials for climate-neutral district heating in Europe
- Fallahnejad et al. (2024), District heating potential in the EU-27: Evaluating the impacts of heat demand reduction and market share growth
- BGR, IHME1500 - International Hydrogeological Map of Europe 1:1,500,000