adjust biomass capacities
This commit is contained in:
parent
e5cb2d34fb
commit
e37a3f57ab
@ -61,7 +61,7 @@ electricity:
|
||||
H2: 168
|
||||
|
||||
# use pandas query strings here, e.g. Country not in ['Germany']
|
||||
powerplants_filter: (DateOut >= 2021 or DateOut != DateOut)
|
||||
powerplants_filter: (DateOut >= 2022 or DateOut != DateOut)
|
||||
# use pandas query strings here, e.g. Country in ['Germany']
|
||||
custom_powerplants: false
|
||||
conventional_carriers: [nuclear, oil, OCGT, CCGT, coal, lignite, geothermal, biomass]
|
||||
|
@ -115,6 +115,14 @@ if __name__ == "__main__":
|
||||
.replace({'Technology': {'Steam Turbine': 'OCGT', "Combustion Engine": "OCGT"}})
|
||||
.assign(Fueltype=replace_natural_gas_by_technology))
|
||||
|
||||
# Correct bioenergy for countries where possible
|
||||
opsd = pm.data.OPSD_VRE().powerplant.convert_country_to_alpha2()
|
||||
opsd = opsd.query('Country in @countries and Fueltype == "Bioenergy"')
|
||||
opsd['Fueltype'] = 'biomass'
|
||||
available_countries = opsd.Country.unique()
|
||||
ppl = ppl.query('not (Country in @available_countries and Fueltype == "Bioenergy")')
|
||||
ppl = pd.concat([ppl, opsd])
|
||||
|
||||
ppl_query = snakemake.config['electricity']['powerplants_filter']
|
||||
if isinstance(ppl_query, str):
|
||||
ppl.query(ppl_query, inplace=True)
|
||||
|
Loading…
Reference in New Issue
Block a user