pypsa-meets-earth / pypsa-earth

PyPSA-Earth: A flexible Python-based open optimisation model to study energy system futures around the world.
https://pypsa-earth.readthedocs.io/en/latest/
218 stars 173 forks source link

Use powerplantmatching for wind and solar #753

Open Tomkourou opened 1 year ago

Tomkourou commented 1 year ago

Describe the feature you'd like to see

Currently the build_powerplants rule filters out wind and solar. Now that we are adding GEM data to powerplantmatching it would be worth removing that filter. This is the line responsible:

https://github.com/pypsa-meets-earth/pypsa-earth/blob/f7ddf6c4175b19c5661fe95dee2e96d884ad354b/scripts/build_powerplants.py#L304

This could be addressed in #750

I am not sure how the IRENA scaling is currently working so this might have to be changed as well? @davide-f what do you think? Maybe worth adding a config parameter so that people can choose whether they want to use IRENA scaling or ppmatching.

pz-max commented 1 year ago

@Tomkourou We recently adjusted attach_wind_and_solar() to add renewables if available. See here: https://github.com/pypsa-meets-earth/pypsa-earth/pull/744/files

This will add solar and wind power plants to the respective nodes if ppl data is available. The scaling will happen afterwards across all nodes to match the IRENA stats if activated. I think we could remove this query as suggested. But yes, some problems can arise, so I expect some debugging requirements in the worst case.

ekatef commented 10 months ago

Adding to the approaches discussed above, we may also consider to include OSM-extracted data on RES generation.