attempt to handle heat_pump_sources dynamically
This commit is contained in:
parent
9073e49085
commit
0edf566e3f
@ -416,6 +416,12 @@ sector:
|
|||||||
heat_exchanger_pinch_point_temperature_difference: 5 #K
|
heat_exchanger_pinch_point_temperature_difference: 5 #K
|
||||||
isentropic_compressor_efficiency: 0.8
|
isentropic_compressor_efficiency: 0.8
|
||||||
heat_loss: 0.0
|
heat_loss: 0.0
|
||||||
|
heat_pump_sources:
|
||||||
|
central_heating:
|
||||||
|
- air
|
||||||
|
decentral_heating:
|
||||||
|
- air
|
||||||
|
- ground
|
||||||
cluster_heat_buses: true
|
cluster_heat_buses: true
|
||||||
heat_demand_cutout: default
|
heat_demand_cutout: default
|
||||||
bev_dsm_restriction_value: 0.75
|
bev_dsm_restriction_value: 0.75
|
||||||
|
@ -232,22 +232,26 @@ rule build_cop_profiles:
|
|||||||
heat_pump_cop_approximation_central_heating=config_provider(
|
heat_pump_cop_approximation_central_heating=config_provider(
|
||||||
"sector", "district_heating", "heat_pump_cop_approximation"
|
"sector", "district_heating", "heat_pump_cop_approximation"
|
||||||
),
|
),
|
||||||
|
heat_pump_sources=config_provider("sector", "heat_pump_sources"),
|
||||||
input:
|
input:
|
||||||
temp_soil_total=resources("temp_soil_total_elec_s{simpl}_{clusters}.nc"),
|
temp_soil_total=resources("temp_soil_total_elec_s{simpl}_{clusters}.nc"),
|
||||||
temp_air_total=resources("temp_air_total_elec_s{simpl}_{clusters}.nc"),
|
temp_air_total=resources("temp_air_total_elec_s{simpl}_{clusters}.nc"),
|
||||||
output:
|
output:
|
||||||
cop_air_decentral_heating=resources(
|
**{f"cop_{source}_{sink}": resources(
|
||||||
"cop_air_decentral_heating_elec_s{simpl}_{clusters}.nc"
|
"cop_" + source + "_" + {sink} + "_" + "elec_s{simpl}_{clusters}.nc"
|
||||||
),
|
) for sink, source in config_provider("sector", "heat_pump_sources").items()},
|
||||||
cop_soil_decentral_heating=resources(
|
# cop_air_decentral_heating=resources(
|
||||||
"cop_soil_decentral_heating_elec_s{simpl}_{clusters}.nc"
|
# "cop_air_decentral_heating_elec_s{simpl}_{clusters}.nc"
|
||||||
),
|
# ),
|
||||||
cop_air_central_heating=resources(
|
# cop_soil_decentral_heating=resources(
|
||||||
"cop_air_central_heating_elec_s{simpl}_{clusters}.nc"
|
# "cop_soil_decentral_heating_elec_s{simpl}_{clusters}.nc"
|
||||||
),
|
# ),
|
||||||
cop_soil_central_heating=resources(
|
# cop_air_central_heating=resources(
|
||||||
"cop_soil_central_heating_elec_s{simpl}_{clusters}.nc"
|
# "cop_air_central_heating_elec_s{simpl}_{clusters}.nc"
|
||||||
),
|
# ),
|
||||||
|
# cop_soil_central_heating=resources(
|
||||||
|
# "cop_soil_central_heating_elec_s{simpl}_{clusters}.nc"
|
||||||
|
# ),
|
||||||
resources:
|
resources:
|
||||||
mem_mb=20000,
|
mem_mb=20000,
|
||||||
log:
|
log:
|
||||||
|
Loading…
Reference in New Issue
Block a user