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

Global Opts currently require the _enable field to be set to true #287

Closed ktehranchi closed 2 months ago

ktehranchi commented 2 months ago

Checklist

The Issue

The global opts like Co2L currently are missing the logic to update the config based on the settings in the scenario configuration. This is due to the update of pypsa-eur's prepare_network rule which looks for those enable field when setting CO2 limits.

We should update the configuration files based on the scenario Opts.

Steps To Reproduce

No response

Expected Behavior

No response

Error Message

No response

Anything else?

No response

ktehranchi commented 2 months ago

Fixed in 0d9c11d5b859d1749010f6cd06c1963be71d2051