PyPSA / pypsa-eur

PyPSA-Eur: A Sector-Coupled Open Optimisation Model of the European Energy System
https://pypsa-eur.readthedocs.io/
340 stars 239 forks source link

CO2 constraints silently change the carrier of stores #1261

Closed lindnemi closed 2 months ago

lindnemi commented 2 months ago

In https://github.com/PyPSA/pypsa-eur/blob/b32816973fddf9cfaccd3a561e884fee96be0c71/scripts/solve_network.py#L333-L334, https://github.com/PyPSA/pypsa-eur/blob/b32816973fddf9cfaccd3a561e884fee96be0c71/scripts/solve_network.py#L359-L360 and https://github.com/PyPSA/pypsa-eur/blob/b32816973fddf9cfaccd3a561e884fee96be0c71/scripts/solve_network.py#L1003-L1004.

The carrier of stores is changed to be equal to the bus_carrier. This should not happen and may cause confusion afterwards. In my case, the carrier was changed from unsustainable solid biomass to solid biomass.

fneum commented 2 months ago

closed via #1262