Skip to content

Commit

Permalink
Merge pull request #382 from cpschau/add_biofuels
Browse files Browse the repository at this point in the history
Track biofuel demand in transport sector using BtL
  • Loading branch information
hazemakhalek authored Oct 22, 2024
2 parents fe66179 + bc6a2ca commit 480085a
Show file tree
Hide file tree
Showing 7 changed files with 233 additions and 103 deletions.
26 changes: 22 additions & 4 deletions config.bright_BI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ summary_dir: results/
costs_dir: data/ #TODO change to the equivalent of technology data

run:
name: U_BI_AdaptedScenario
name: 20241021_biofuels
name_subworkflow: "" # scenario name of the pypsa-earth subworkflow
shared_cutouts: true # set to true to share the default cutout(s) across runs
# Note: value false requires build_cutout to be enabled
Expand Down Expand Up @@ -40,7 +40,7 @@ policy_config:
allowed_excess: 1.0
is_reference: false # Whether or not this network is a reference case network, relevant only if additionality is _true_
remove_h2_load: false #Whether or not to remove the h2 load from the network, relevant only if is_reference is _true_
path_to_ref: "/nimble/home/haz43975/pypsa-earth-sec/results/U_BI_AdaptedScenario/postnetworks/elec_s_11_ec_lv1.0_Co2L_3H_2035_0.071_BI_0export.nc" # Path to the reference case network for additionality calculation, relevant only if additionality is _true_ and is_reference is _false_
path_to_ref: "/nimble/home/haz43975/pypsa-earth-sec/results/20241021_biofuels/postnetworks/elec_s_11_ec_lv1.0_Co2L_3H_2035_0.071_BI_0export.nc" # Path to the reference case network for additionality calculation, relevant only if additionality is _true_ and is_reference is _false_
re_country_load: false # Set to "True" to force the RE electricity to be equal to the electricity required for hydrogen export and the country electricity load. "False" excludes the country electricity load from the constraint.

clustering_options:
Expand Down Expand Up @@ -88,7 +88,6 @@ custom_data:
add_existing: false
custom_sectors: false
gas_network: false # If "True" then a custom .csv file must be placed in "resources/custom_data/pipelines.csv" , If "False" the user can choose btw "greenfield" or Model built-in datasets. Please refer to ["sector"] below.
biomass_to_oil_mobility: 0.56
rename_industry_carriers: {"Electricity": "electricity", "Biofuels": "solid biomass", "Heat": "low-temperature heat", "Natural Gas": "gas", "Coal": "coal", "Hydrogen": "hydrogen", "Oil": "oil"}

costs: # Costs used in PyPSA-Earth-Sec. Year depends on the wildcard planning_horizon in the scenario section
Expand Down Expand Up @@ -263,6 +262,7 @@ sector:
biomass_transport_default_cost: 0.1 #EUR/km/MWh
solid_biomass_potential: 3604 # 4805 TWh/a for all bioenergy sources according to Welfle (2017), 75% solid, 0.28% gaseous according to IEA (2021)
biogas_potential: 13.5 # TWh/a, Potential of whole modelled area
biomass_to_liquid: True

efficiency_heat_oil_to_elec: 0.9
efficiency_heat_biomass_to_elec: 0.9
Expand Down Expand Up @@ -296,6 +296,19 @@ sector:
Co2L0.20: 0.01
Co2L0.10: 0.01
Co2L0.00: 0.01
bio_transport_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
BI_2030: 0.006
Expand Down Expand Up @@ -339,6 +352,11 @@ sector:
DE_2035: 0.253


bio_transport_share: # 1 means all EVs # This leads to problems when non-zero HERE
BI_2035: 0.356
GH_2035: 0.237
DE_2035: 0.253

co2_network: true
co2_sequestration_potential: 70 #MtCO2/a sequestration potential for Europe
co2_sequestration_cost: 10 #EUR/tCO2 for sequestration of CO2
Expand Down Expand Up @@ -622,4 +640,4 @@ plotting:
high-temp electrolysis: "magenta"
oil pipeline: "grey"
agriculture biomass: "green"
land transport biomass: "green"
biomass to liquid: "green"
4 changes: 2 additions & 2 deletions config.bright_BI_ref.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ summary_dir: results/
costs_dir: data/ #TODO change to the equivalent of technology data

run:
name: U_BI_AdaptedScenario
name: 20241021_biofuels
name_subworkflow: "" # scenario name of the pypsa-earth subworkflow
shared_cutouts: true # set to true to share the default cutout(s) across runs
# Note: value false requires build_cutout to be enabled
Expand Down Expand Up @@ -88,7 +88,6 @@ custom_data:
add_existing: false
custom_sectors: false
gas_network: false # If "True" then a custom .csv file must be placed in "resources/custom_data/pipelines.csv" , If "False" the user can choose btw "greenfield" or Model built-in datasets. Please refer to ["sector"] below.
biomass_to_oil_mobility: 0.0
rename_industry_carriers: {"Electricity": "electricity", "Biofuels": "solid biomass", "Heat": "low-temperature heat", "Natural Gas": "gas", "Coal": "coal", "Hydrogen": "hydrogen", "Oil": "oil"}

costs: # Costs used in PyPSA-Earth-Sec. Year depends on the wildcard planning_horizon in the scenario section
Expand Down Expand Up @@ -263,6 +262,7 @@ sector:
biomass_transport_default_cost: 0.1 #EUR/km/MWh
solid_biomass_potential: 3604 # 4805 TWh/a for all bioenergy sources according to Welfle (2017), 75% solid, 0.28% gaseous according to IEA (2021)
biogas_potential: 13.5 # TWh/a, Potential of whole modelled area
biomass_to_liquid: True

efficiency_heat_oil_to_elec: 0.9
efficiency_heat_biomass_to_elec: 0.9
Expand Down
78 changes: 48 additions & 30 deletions config.bright_DE.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ summary_dir: results/
costs_dir: data/ #TODO change to the equivalent of technology data

run:
name: 092524_test
name: 20241021_biofuels
name_subworkflow: "" # scenario name of the pypsa-earth subworkflow
shared_cutouts: true # set to true to share the default cutout(s) across runs
# Note: value false requires build_cutout to be enabled
Expand Down Expand Up @@ -40,7 +40,8 @@ policy_config:
allowed_excess: 1.0
is_reference: false # Whether or not this network is a reference case network, relevant only if additionality is _true_
remove_h2_load: false #Whether or not to remove the h2 load from the network, relevant only if is_reference is _true_
path_to_ref: "/nimble/home/haz43975/pypsa-earth-sec/results/092524_test/postnetworks/elec_s_11_ec_lv1.0_Co2L_3H_2035_0.071_DE_0export.nc" # Path to the reference case network for additionality calculation, relevant only if additionality is _true_ and is_reference is _false_
path_to_ref: "/nimble/home/haz43975/pypsa-earth-sec/results/20241021_biofuels/postnetworks/elec_s_11_ec_lv1.0_Co2L_3H_2035_0.071_DE_0export.nc" # Path to the reference case network for additionality calculation, relevant only if additionality is _true_ and is_reference is _false_

re_country_load: false # Set to "True" to force the RE electricity to be equal to the electricity required for hydrogen export and the country electricity load. "False" excludes the country electricity load from the constraint.

clustering_options:
Expand All @@ -64,7 +65,7 @@ fossil_reserves:


export:
h2export: [0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100] # Yearly export demand in TWh
h2export: [200] #[10,20,30,40,50,60,70,80,90,100] # Yearly export demand in TWh
store: false # [True, False] # specifies wether an export store to balance demand is implemented
store_capital_costs: "no_costs" # ["standard_costs", "no_costs"] # specifies the costs of the export store. "standard_costs" takes CAPEX of "hydrogen storage tank type 1 including compressor"
export_profile: "constant" # use "ship" or "constant"
Expand All @@ -88,7 +89,6 @@ custom_data:
add_existing: false
custom_sectors: false
gas_network: false # If "True" then a custom .csv file must be placed in "resources/custom_data/pipelines.csv" , If "False" the user can choose btw "greenfield" or Model built-in datasets. Please refer to ["sector"] below.

rename_industry_carriers: {"Electricity": "electricity", "Biofuels": "solid biomass", "Heat": "low-temperature heat", "Natural Gas": "gas", "Coal": "coal", "Hydrogen": "hydrogen", "Oil": "oil"}

costs: # Costs used in PyPSA-Earth-Sec. Year depends on the wildcard planning_horizon in the scenario section
Expand Down Expand Up @@ -190,8 +190,8 @@ sector:
network_data_GGIT_status: ['Construction', 'Operating', 'Idle', 'Shelved', 'Mothballed', 'Proposed']
hydrogen:
network: true
network_limit: 10000 #GWkm
network_routes: gas # "gas or "greenfield". If "gas" -> the network data are fetched from ["sector"]["gas"]["network_data"]. If "greenfield" -> the network follows the topology of electrical transmission lines
network_limit: 25000 #GWkm
network_routes: greenfield # "gas or "greenfield". If "gas" -> the network data are fetched from ["sector"]["gas"]["network_data"]. If "greenfield" -> the network follows the topology of electrical transmission lines
gas_network_repurposing: true # If true -> ["sector"]["gas"]["network"] is automatically false
underground_storage: false
hydrogen_colors: false
Expand Down Expand Up @@ -263,6 +263,7 @@ sector:
biomass_transport_default_cost: 0.1 #EUR/km/MWh
solid_biomass_potential: 3604 # 4805 TWh/a for all bioenergy sources according to Welfle (2017), 75% solid, 0.28% gaseous according to IEA (2021)
biogas_potential: 13.5 # TWh/a, Potential of whole modelled area
biomass_to_liquid: True

efficiency_heat_oil_to_elec: 0.9
efficiency_heat_biomass_to_elec: 0.9
Expand Down Expand Up @@ -296,6 +297,19 @@ sector:
Co2L0.20: 0.01
Co2L0.10: 0.01
Co2L0.00: 0.01
bio_transport_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
BI_2030: 0.006
Expand All @@ -320,18 +334,22 @@ sector:
GH_2030: 0.018
DE_2030: 0.038
AB_2030: 0.01
BI_2035: 0.065
GH_2035: 0.054
DE_2035: 0.133
BI_2040: 0.112
GH_2040: 0.090
DE_2040: 0.264
BI_2045: 0.183
GH_2045: 0.164
DE_2045: 0.457
BI_2050: 0.287
GH_2050: 0.263
DE_2050: 0.742
BU_2050: 0.00
AP_2050: 0.42
NZ_2050: 0.68
DF_2050: 0.011
BI_2035: 0.014
GH_2035: 0.031
DE_2035: 0.053
BI_2040: 0.044
GH_2040: 0.092
DE_2040: 0.152
BI_2045: 0.066
GH_2045: 0.197
DE_2045: 0.332
BI_2050: 0.090
GH_2050: 0.320
DE_2050: 0.593

bio_transport_share: # 1 means all EVs # This leads to problems when non-zero HERE
BI_2035: 0.356
Expand All @@ -346,27 +364,27 @@ sector:
shipping_average_efficiency: 0.575 #For conversion of fuel oil to propulsion in 2011

shipping_hydrogen_share: #1.0
BI_2030: 0.0
GH_2030: 0.0
DE_2030: 0.0
BU_2030: 0.00
BI_2030: 0.00
BI_2035: 0.014
GH_2030: 0.00
GH_2035: 0.014
DE_2030: 0.00
DE_2035: 0.014
BI_2040: 0.064
GH_2040: 0.064
DE_2040: 0.065
BI_2045: 0.128
GH_2045: 0.130
DE_2045: 0.131
BI_2050: 0.240
AP_2030: 0.00
NZ_2030: 0.10
DF_2030: 0.05
AB_2030: 0.05
BU_2050: 0.00
BI_2050: 0.24
GH_2050: 0.248
DE_2050: 0.254

gadm_level: 1
marginal_cost_storage: 0
methanation: true
helmeth: true
dac: false
dac: true
SMR: true
SMR CC: true
cc_fraction: 0.9
Expand Down Expand Up @@ -621,4 +639,4 @@ plotting:
high-temp electrolysis: "magenta"
oil pipeline: "grey"
agriculture biomass: "green"
land transport biomass: "green"
biomass to liquid: "green"
Loading

0 comments on commit 480085a

Please sign in to comment.