PyPSA / pypsa-usa

PyPSA-USA: An Open-Source Energy System Optimization Model for the United States
https://pypsa-usa.readthedocs.io
MIT License
35 stars 15 forks source link

CO2L Constraint Bug #178

Closed ktehranchi closed 4 months ago

ktehranchi commented 4 months ago

Checklist

The Issue

I noticed the plots for the global accumulated emissions show that the accumulated CO2 is way above what the constrained CO2L is... In plots below co2base: 225.0e+6 meaning we should have 0.5 and 0.1 * CO2Base

Screenshot 2024-02-20 at 11 28 47 PM

Steps To Reproduce

No response

Expected Behavior

No response

Error Message

No response

Anything else?

No response

ktehranchi commented 4 months ago

Lol- Note if you specify an uppercase CO2 versus Co2- no error is thrown and no constraint is added. It could be good to add a warning/error if someone makes this mistake