Closed finozzifa closed 3 months ago
The data integration is a 2-step process as follows
Modify the custom_powerplants.csv:
Note: the data/ssp2-2.6/2030/era5_2013/NorthAmerica.csv
is most likely downloaded in rule retrieve_databundle_light
. So we should:
To modify demand_profile
data/ssp2-2.6/2030/era5_2013/NorthAmerica.csv
snakemake -call build_demand_profiles --cores all --printshellcmds --configfile config.yaml
This part happens between the rule build_powerplant
and rule add_electricity
.
snakemake -call add_electricity --cores all --printshellcmds --configfile config.yaml
Notebook to analyse the model outputs
Notebook to modify NorthAmerica.csv (updated on August 1st 2024 at 11:46 CET)
The difference between conventional (dam and ROR) and PHS in hydroelectric capacity (not present in the BEV dataset) is now envisaged in custom_powerplants.
1) Check on the powerplantmatching dataset (correspondence between ppm and BEV found for just 5 plants and several mistakes spotted - e.g. coal/gas power plants mistaken for hydro power plants) 2) Classification of hydro power plants and double check performed based on: https://clui.org/projects/offstream/pumped-storage-facilities-usa (specifically for PHS) https://en.wikipedia.org/wiki/List_of_run-of-the-river_hydroelectric_power_stations (specifically for ROR plants) https://www.certrec.com/blog/certrec-market-research/top-ten-largest-hydro-plants-in-the-united-states/ https://hydroreform.org/on-your-river/ 3) Final check on the validation of installed capacity (PyPSA-Earth VS EIA)
Progress was made in including the BEV demand profile into PyPSA-Earth. The steps were:
USATestSystem/base_grid/demand.csv
. The csv contains a time series for 2016 for a few hundred busesrule build_demand_profile
and obtained the pypsa-earth/resources/US_2021/demand_profiles.csv
pypsa-earth/resources/US_2021/demand_profiles.csv
with the data from USATestSystem/base_grid/demand.csv
(aggregated over the buses) and got a matchThis point is still in progress
Comparison of electricity generation results after the updates of costs.csv:
Corresponding to the merit order below:
Config and Snakefile changes
Config/config.usa_PE.yaml
workflow/pypsa-earth/Snakefile
workflow/pypsa-earth/data folder
Config/config.usa_PE.yaml
Config/config.usa_PE.yaml
file such thatextendable_carriers: Generator: [ ]
co2limit: 1.4728e+9
andco2base: 226.86e+6
load_shedding: false
Files plants_merged.csv custom_powerplants.csv
Model execution steps
[x] Check what cutout you are using, whether the one week cutout or the one provided at northern emisphere
[x] build the powerplant file with
snakemake -call build_powerplants --cores all --printshellcmds --configfile ../../Config/config.usa_PE.yaml
[x] run the model with
snakemake -call solve_all_networks --cores all --printshellcmds --configfile ../../Config/config.usa_PE.yaml
[x] using the notebook
modify_network.ipynb
modify the networkpypsa-earth/networks/US_2021/elec_s_10_ec_lcopt_Co2L-24H.nc
so that[x] run the model with
snakemake -call solve_all_networks --cores all --printshellcmds --configfile ../../Config/config.usa_PE.yaml
Files data_validation.zip