config: rename vary in vary_space_heat_exogenously to reduce

Since the factor reduces demand with default positive sign.
This commit is contained in:
Tom Brown 2021-04-30 17:57:16 +02:00
parent 7af2941156
commit e28ddbd710
2 changed files with 7 additions and 7 deletions

View File

@ -119,11 +119,11 @@ sector:
'time_dep_hp_cop' : True #time dependent heat pump coefficient of performance
'heat_pump_sink_T' : 55. # Celsius, based on DTU / large area radiators; used in build_cop_profiles.py
# conservatively high to cover hot water and space heating in poorly-insulated buildings
'vary_space_heat_exogenously': True # reduces or increases space heat demand by a given factor (applied before losses in DH)
# this can represent e.g. increasing floor area, increased thermal comfort,
# population grow, climate change, building demolition, building renovation
'vary_space_heat_exogenously_factor':
# the factor are determined by the LTS scenario from http://tool.european-calculator.eu/app/buildings/building-types-area/?levers=1ddd4444421213bdbbbddd44444ffffff11f411111221111211l212221
'reduce_space_heat_exogenously': True # reduces space heat demand by a given factor (applied before losses in DH)
# this can represent e.g. building renovation, building demolition, or if
# the factor is negative: increasing floor area, increased thermal comfort, population growth
'reduce_space_heat_exogenously_factor': # per unit reduction in space heat demand
# the default factors are determined by the LTS scenario from http://tool.european-calculator.eu/app/buildings/building-types-area/?levers=1ddd4444421213bdbbbddd44444ffffff11f411111221111211l212221
2020: 0.10 # this results in a space heat demand reduction of 10%
2025: 0.09 # first heat demand increases compared to 2020 because of larger floor area per capita
2030: 0.09

View File

@ -1180,8 +1180,8 @@ def add_heat(network):
urban_fraction = options['central_fraction']*pop_layout["urban"]/(pop_layout[["urban","rural"]].sum(axis=1))
# exogenously reduce space heat demand
if options["vary_space_heat_exogenously"]:
dE = get_parameter(options["vary_space_heat_exogenously_factor"])
if options["reduce_space_heat_exogenously"]:
dE = get_parameter(options["reduce_space_heat_exogenously_factor"])
print("assumed space heat reduction of {} %".format(dE*100))
for sector in sectors:
heat_demand[sector + " space"] = (1-dE)*heat_demand[sector + " space"]