Skip to content

Commit c87b45a

Browse files
authored
Merge pull request #97 from PyPSA/retro-updated
Retro updated
2 parents 3e30014 + 8bfb149 commit c87b45a

File tree

11 files changed

+765
-301
lines changed

11 files changed

+765
-301
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ gurobi.log
2626
/data/switzerland*
2727
/data/.nfs*
2828
/data/Industrial_Database.csv
29+
/data/retro/tabula-calculator-calcsetbuilding.csv
2930

3031
*.org
3132

Snakefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,14 +281,15 @@ rule build_industrial_demand:
281281
rule build_retro_cost:
282282
input:
283283
building_stock="data/retro/data_building_stock.csv",
284+
data_tabula="data/retro/tabula-calculator-calcsetbuilding.csv",
285+
air_temperature = "resources/temp_air_total_{network}_s{simpl}_{clusters}.nc",
284286
u_values_PL="data/retro/u_values_poland.csv",
285287
tax_w="data/retro/electricity_taxes_eu.csv",
286288
construction_index="data/retro/comparative_level_investment.csv",
287-
average_surface="data/retro/average_surface_components.csv",
288289
floor_area_missing="data/retro/floor_area_missing.csv",
289290
clustered_pop_layout="resources/pop_layout_elec_s{simpl}_{clusters}.csv",
290291
cost_germany="data/retro/retro_cost_germany.csv",
291-
window_assumptions="data/retro/window_assumptions.csv"
292+
window_assumptions="data/retro/window_assumptions.csv",
292293
output:
293294
retro_cost="resources/retro_cost_elec_s{simpl}_{clusters}.csv",
294295
floor_area="resources/floor_area_elec_s{simpl}_{clusters}.csv"

config.default.yaml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -119,20 +119,25 @@ sector:
119119
'time_dep_hp_cop' : True #time dependent heat pump coefficient of performance
120120
'heat_pump_sink_T' : 55. # Celsius, based on DTU / large area radiators; used in build_cop_profiles.py
121121
# conservatively high to cover hot water and space heating in poorly-insulated buildings
122-
'retrofitting' :
123-
'retro_exogen': True # space heat demand savings exogenously
124-
'dE': # reduction of space heat demand (applied before losses in DH)
125-
2020 : 0.
126-
2030 : 0.15
127-
2040 : 0.3
128-
2050 : 0.4
122+
'reduce_space_heat_exogenously': True # reduces space heat demand by a given factor (applied before losses in DH)
123+
# this can represent e.g. building renovation, building demolition, or if
124+
# the factor is negative: increasing floor area, increased thermal comfort, population growth
125+
'reduce_space_heat_exogenously_factor': # per unit reduction in space heat demand
126+
# the default factors are determined by the LTS scenario from http://tool.european-calculator.eu/app/buildings/building-types-area/?levers=1ddd4444421213bdbbbddd44444ffffff11f411111221111211l212221
127+
2020: 0.10 # this results in a space heat demand reduction of 10%
128+
2025: 0.09 # first heat demand increases compared to 2020 because of larger floor area per capita
129+
2030: 0.09
130+
2035: 0.11
131+
2040: 0.16
132+
2045: 0.21
133+
2050: 0.29
134+
'retrofitting' : # co-optimises building renovation to reduce space heat demand
129135
'retro_endogen': False # co-optimise space heat savings
130-
'cost_factor' : 1.0
136+
'cost_factor' : 1.0 # weight costs for building renovation
131137
'interest_rate': 0.04 # for investment in building components
132138
'annualise_cost': True # annualise the investment costs
133139
'tax_weighting': False # weight costs depending on taxes in countries
134-
'construction_index': True # weight costs depending on labour/material costs per ct
135-
'l_strength': ["0.076", "0.197"] # additional insulation thickness[m], determines number of retro steps(=generators per bus) and maximum possible savings
140+
'construction_index': True # weight costs depending on labour/material costs per country
136141
'tes' : True
137142
'tes_tau' : 3.
138143
'boilers' : True

data/retro/average_surface_components.csv

Lines changed: 0 additions & 7 deletions
This file was deleted.

doc/data.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ U-values Poland,u_values_poland.csv,unknown,https://data.europa.eu/euodp/de/data
2222
Floor area missing in hotmaps building stock data,floor_area_missing.csv,unknown,https://data.europa.eu/euodp/de/data/dataset/building-stock-observatory
2323
Comparative level investment,comparative_level_investment.csv,Eurostat,https://ec.europa.eu/eurostat/statistics-explained/index.php?title=Comparative_price_levels_for_investment
2424
Electricity taxes,electricity_taxes_eu.csv,Eurostat,https://appsso.eurostat.ec.europa.eu/nui/show.do?dataset=nrg_pc_204&lang=en
25-
Average surface components,average_surface_components.csv,unknown,http://webtool.building-typology.eu/#bm
25+
Building topologies and corresponding standard values,tabula-calculator-calcsetbuilding.csv,unknown,https://episcope.eu/fileadmin/tabula/public/calc/tabula-calculator.xlsx
2626
Retrofitting thermal envelope costs for Germany,retro_cost_germany.csv,unkown,https://www.iwu.de/forschung/handlungslogiken/kosten-energierelevanter-bau-und-anlagenteile-bei-modernisierung/

doc/installation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ To download and extract the data bundle on the command line:
7373

7474
.. code:: bash
7575
76-
projects/pypsa-eur-sec/data % wget "https://nworbmot.org/pypsa-eur-sec-data-bundle-210125.tar.gz"
77-
projects/pypsa-eur-sec/data % tar xvzf pypsa-eur-sec-data-bundle-210125.tar.gz
76+
projects/pypsa-eur-sec/data % wget "https://nworbmot.org/pypsa-eur-sec-data-bundle-210418.tar.gz"
77+
projects/pypsa-eur-sec/data % tar xvzf pypsa-eur-sec-data-bundle-210418.tar.gz
7878
7979
8080
The data licences and sources are given in the following table.

doc/release_notes.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Future release
66
===================
77

88
* For the myopic investment option, a carbon budget and a type of decay (exponential or beta) can be selected in the ``config.yaml`` file to distribute the budget across the ``planning_horizons``. For example, ``cb40ex0`` in the ``{sector_opts}`` wildcard will distribute a carbon budget of 40 GtCO2 following an exponential decay with initial growth rate 0.
9+
* The cost database for retrofitting of the thermal envelope of buildings has been updated. Now, for calculating the space heat savings of a building, losses by thermal bridges and ventilation are included as well as heat gains (internal and by solar radiation). See the section :ref:`retro` for more details on the retrofitting module.
910
* Added an option to alter the capital cost or maximum capacity of carriers by a factor via ``carrier+factor`` in the ``{sector_opts}`` wildcard. This can be useful for exploring uncertain cost parameters. Example: ``solar+c0.5`` reduces the ``capital_cost`` of solar to 50\% of original values. Similarly ``solar+p3`` multiplies the ``p_nom_max`` by 3.
1011
* Rename the bus for European liquid hydrocarbons from ``Fischer-Tropsch`` to ``EU oil``, since it can be supplied not just with the Fischer-Tropsch process, but also with fossil oil.
1112
* Bugfix: The new separation of land transport by carrier in Version 0.4.0 failed to account for the carbon dioxide emissions from internal combustion engines. This is now treated as a negative load on the atmospheric carbon dioxide bus, just like aviation emissions.
@@ -137,4 +138,4 @@ To make a new release of the data bundle, make an archive of the files in ``data
137138

138139
.. code:: bash
139140
140-
data % tar pczf pypsa-eur-sec-data-bundle-YYMMDD.tar.gz eea/UNFCCC_v23.csv switzerland-sfoe biomass eurostat-energy_balances-* jrc-idees-2015 emobility urban_percent.csv timezone_mappings.csv heat_load_profile_DK_AdamJensen.csv WindWaveWEC_GLTB.xlsx myb1-2017-nitro.xls Industrial_Database.csv
141+
data % tar pczf pypsa-eur-sec-data-bundle-YYMMDD.tar.gz eea/UNFCCC_v23.csv switzerland-sfoe biomass eurostat-energy_balances-* jrc-idees-2015 emobility urban_percent.csv timezone_mappings.csv heat_load_profile_DK_AdamJensen.csv WindWaveWEC_GLTB.xlsx myb1-2017-nitro.xls Industrial_Database.csv retro/tabula-calculator-calcsetbuilding.csv

doc/supply_demand.rst

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,43 @@ Small for decentral applications.
108108

109109
Big water pit storage for district heating.
110110

111+
.. _retro:
112+
113+
Retrofitting of the thermal envelope of buildings
114+
===================================================
115+
Co-optimising building renovation is only enabled if in the ``config.yaml`` the
116+
option :mod:`retro_endogen: True`. To reduce the computational burden
117+
default setting is
118+
119+
.. literalinclude:: ../config.default.yaml
120+
:language: yaml
121+
:lines: 134-135
122+
123+
Renovation of the thermal envelope reduces the space heating demand and is
124+
optimised at each node for every heat bus. Renovation measures through additional
125+
insulation material and replacement of energy inefficient windows are considered.
126+
127+
In a first step, costs per energy savings are estimated in :mod:`build_retro_cost.py`.
128+
They depend on the insulation condition of the building stock and costs for
129+
renovation of the building elements.
130+
In a second step, for those cost per energy savings two possible renovation
131+
strengths are determined: a moderate renovation with lower costs and lower
132+
maximum possible space heat savings, and an ambitious renovation with associated
133+
higher costs and higher efficiency gains. They are added by step-wise
134+
linearisation in form of two additional generations in
135+
:mod:`prepare_sector_network.py`.
136+
137+
Settings in the config.yaml concerning the endogenously optimisation of building
138+
renovation
139+
140+
.. literalinclude:: ../config.default.yaml
141+
:language: yaml
142+
:lines: 136-140
143+
144+
Further information are given in the publication
145+
146+
`Mitigating heat demand peaks in buildings in a highly renewable European energy system, (2021) <https://arxiv.org/abs/2012.01831>`_.
147+
111148

112149
Hydrogen demand
113150
==================

0 commit comments

Comments
 (0)