Skip to content

Commit d1d4606

Browse files
authored
Merge pull request #17 from cristobal-GC/nuclear_pahseout_dates
2 parents ed523bf + b500da0 commit d1d4606

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

scripts/build_powerplants.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,24 @@ def map_to_country_bus(
236236
.replace({"Solid Biomass": "Bioenergy", "Biogas": "Bioenergy"})
237237
)
238238

239+
#################### PyPSA-Spain: add nuclear phase-out calendar in Spain
240+
#
241+
#
242+
logger.warning(f"########## PyPSA-Spain [build_powerplants]: adding nuclear phase-out calendar in Spain.")
243+
244+
ppl.loc[(ppl.Country == "ES") & (ppl.Fueltype == "Nuclear") & (ppl.Name == "Almaraz 1"), "DateOut"] = 2027
245+
ppl.loc[(ppl.Country == "ES") & (ppl.Fueltype == "Nuclear") & (ppl.Name == "Almaraz 2"), "DateOut"] = 2028
246+
ppl.loc[(ppl.Country == "ES") & (ppl.Fueltype == "Nuclear") & (ppl.Name == "Cofrentes"), "DateOut"] = 2030
247+
ppl.loc[(ppl.Country == "ES") & (ppl.Fueltype == "Nuclear") & (ppl.Name == "Asco 1"), "DateOut"] = 2030
248+
ppl.loc[(ppl.Country == "ES") & (ppl.Fueltype == "Nuclear") & (ppl.Name == "Asco 2"), "DateOut"] = 2032
249+
ppl.loc[(ppl.Country == "ES") & (ppl.Fueltype == "Nuclear") & (ppl.Name == "Vandellos 2"), "DateOut"] = 2033
250+
ppl.loc[(ppl.Country == "ES") & (ppl.Fueltype == "Nuclear") & (ppl.Name == "Trillo 1"), "DateOut"] = 2035
251+
#
252+
#
253+
####################
254+
255+
256+
239257
ppl_query = snakemake.params.powerplants_filter
240258
if isinstance(ppl_query, str):
241259
ppl.query(ppl_query, inplace=True)

0 commit comments

Comments
 (0)