Open pz-max opened 1 year ago
@yerbol-akhmetov
I suggest similar treatment as in PyPSA-Eur in OPSD_renewables function.
We have an importer for RE gens from ppl.csv (which includes custom ppls), set their p_nom_min and p_nom (and updates p_nom_max, if necessary, e.g. when p_nom_min > p_nom_max, then p_nom_max=p_nom_min), and IRENA_stats then only updates countries where there are no RE capacities yet.
I suggest similar treatment as in PyPSA-Eur in OPSD_renewables function.
We have an importer for RE gens from ppl.csv (which includes custom ppls), set their p_nom_min and p_nom (and updates p_nom_max, if necessary, e.g. when p_nom_min > p_nom_max, then p_nom_max=p_nom_min), and IRENA_stats then only updates countries where there are no RE capacities yet.
Sounds like the solution we should adapt :)
Describe the feature you'd like to see
Custom powerplant data is currently read in with GIS tags here: https://github.com/pypsa-meets-earth/pypsa-earth/blob/6a8871dafcc844703123377520669578999b86f1/scripts/build_powerplants.py#L237-L250
I think if the custom powerplant data includes solar and wind data, we should allow to read in the data. Two options exist:
p_nom
as with rorI think using
p_nom
from the custom_data by default makes sense. The IRENA scaling could happen afterwards if the custom_data is below the IRENA stats (IRENA scaling would need to be checked how it work if 2.) is implemented).