include existing conventional carriers in config file

This commit is contained in:
martavp 2020-08-12 11:24:15 +02:00
parent 18ff256811
commit 89a48bfad3
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ biomass:
existing_capacities: existing_capacities:
grouping_years: [1980, 1985, 1990, 1995, 2000, 2005, 2010, 2015, 2019] grouping_years: [1980, 1985, 1990, 1995, 2000, 2005, 2010, 2015, 2019]
threshold_capacity: 10 threshold_capacity: 10
conventional_carriers: ['lignite', 'coal', 'oil', 'uranium']
sector: sector:
'central' : True 'central' : True
'central_fraction' : 0.6 'central_fraction' : 0.6

View File

@ -1736,7 +1736,7 @@ if __name__ == "__main__":
if snakemake.config["foresight"]=='myopic': if snakemake.config["foresight"]=='myopic':
add_lifetime_wind_solar(n) add_lifetime_wind_solar(n)
update_wind_solar_costs(n, costs) update_wind_solar_costs(n, costs)
add_carrier_buses(n,['lignite', 'coal', 'oil', 'uranium']) add_carrier_buses(n,snakemake.config['existing_capacities']['conventional_carriers'])
add_co2_tracking(n) add_co2_tracking(n)