[PyPSA-Eur] Emission factors for wind and solar

34 views
Skip to first unread message

Timon Renzelmann

unread,
Mar 27, 2025, 11:55:39 AM3/27/25
to pypsa

Hi there,

 

I like to add CO2 emissions (from land-use) to onwind and solar and run into problems.

 

First, the wind and solar generators are added before the CO2 bus (in add_electricity; the CO2 bus in prepare_sector_network) and second, generators can't have multiple busses so I can't just add the CO2 bus there.

 

I tried to replace the generators with a setup of bus, generator and link (copying the settings from the existing generator) in prepare_sector_network but couldn't make it work. One problem is that there are capacity contraints added in "solve_network" for the solar generators and that the "solar rooftop" generators also depend on the solar generators.


I also tried to add a CO2 intensity to the costs data and use the "add_co2_emissions" function in the add_electricity script but that didn't change anything even with a high emission factor.


So, I am a bit at the end of my wisdom here...
Do you have any idea on how this could be done?

Kind regards,

Timon

Fabian Neumann

unread,
Mar 28, 2025, 3:15:11 AM3/28/25
to pypsa
I assume you want to consider specific CO2 emissions per capacity built, not tied to the dispatch. Recently, a feature request was made in PyPSA (https://github.com/PyPSA/PyPSA/issues/1077).

In any case, this requires some amount of non-standard code changes with potential follow-on effects (like adjusting the capacity constraints in "solve_network").

Perhaps this is a case for modifying the co2 atmosphere balance in an extra_functionality with terms x*I_solar.
Reply all
Reply to author
Forward
0 new messages