Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Land transport shares depending on Co2L #242

Merged
merged 5 commits into from
Nov 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions config.default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,35 @@ sector:
efficiency_heat_biomass_to_elec: 0.9
efficiency_heat_gas_to_elec: 0.9

dynamic_transport:
enable: true # If "True", then the BEV and FCEV shares are obtained depening on the "Co2L"-wildcard (e.g. "Co2L0.70: 0.10"). If "False", then the shares are obtained depending on the "demand" wildcard and "planning_horizons" wildcard as listed below (e.g. "DF_2050: 0.08")
land_transport_electric_share:
Co2L2.0: 0.00
Co2L1.0: 0.01
Co2L0.90: 0.03
Co2L0.80: 0.06
Co2L0.70: 0.10
Co2L0.60: 0.17
Co2L0.50: 0.27
Co2L0.40: 0.40
Co2L0.30: 0.55
Co2L0.20: 0.69
Co2L0.10: 0.80
Co2L0.00: 0.88
land_transport_fuel_cell_share:
Co2L2.0: 0.01
Co2L1.0: 0.01
Co2L0.90: 0.01
Co2L0.80: 0.01
Co2L0.70: 0.01
Co2L0.60: 0.01
Co2L0.50: 0.01
Co2L0.40: 0.01
Co2L0.30: 0.01
Co2L0.20: 0.01
Co2L0.10: 0.01
Co2L0.00: 0.01

land_transport_fuel_cell_share: # 1 means all FCEVs HERE
BU_2030: 0.00
AP_2030: 0.004
Expand Down
25 changes: 18 additions & 7 deletions scripts/prepare_sector_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -1394,13 +1394,24 @@ def add_land_transport(n, costs):

print("adding land transport")

fuel_cell_share = get(
options["land_transport_fuel_cell_share"],
demand_sc + "_" + str(investment_year),
)
electric_share = get(
options["land_transport_electric_share"], demand_sc + "_" + str(investment_year)
)
if options["dynamic_transport"]["enable"] == False:
fuel_cell_share = get(
options["land_transport_fuel_cell_share"],
demand_sc + "_" + str(investment_year),
)
electric_share = get(
options["land_transport_electric_share"],
demand_sc + "_" + str(investment_year),
)

elif options["dynamic_transport"]["enable"] == True:
fuel_cell_share = options["dynamic_transport"][
"land_transport_fuel_cell_share"
][snakemake.wildcards.opts]
electric_share = options["dynamic_transport"]["land_transport_electric_share"][
snakemake.wildcards.opts
]

ice_share = 1 - fuel_cell_share - electric_share

print("FCEV share", fuel_cell_share)
Expand Down
29 changes: 29 additions & 0 deletions test/config.test1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,35 @@ sector:
efficiency_heat_biomass_to_elec: 0.9
efficiency_heat_gas_to_elec: 0.9

dynamic_transport:
enable: false # If "True", then the BEV and FCEV shares are obtained depening on the "Co2L"-wildcard (e.g. "Co2L0.70: 0.10"). If "False", then the shares are obtained depending on the "demand" wildcard and "planning_horizons" wildcard as listed below (e.g. "DF_2050: 0.08")
land_transport_electric_share:
Co2L2.0: 0.00
Co2L1.0: 0.01
Co2L0.90: 0.03
Co2L0.80: 0.06
Co2L0.70: 0.10
Co2L0.60: 0.17
Co2L0.50: 0.27
Co2L0.40: 0.40
Co2L0.30: 0.55
Co2L0.20: 0.69
Co2L0.10: 0.80
Co2L0.00: 0.88
land_transport_fuel_cell_share:
Co2L2.0: 0.01
Co2L1.0: 0.01
Co2L0.90: 0.01
Co2L0.80: 0.01
Co2L0.70: 0.01
Co2L0.60: 0.01
Co2L0.50: 0.01
Co2L0.40: 0.01
Co2L0.30: 0.01
Co2L0.20: 0.01
Co2L0.10: 0.01
Co2L0.00: 0.01

land_transport_fuel_cell_share: # 1 means all FCEVs HERE
BU_2030: 0.00
AP_2030: 0.004
Expand Down
Loading