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 14 forks source link

Operational Reserves error for problems without extendable generators #332

Closed ktehranchi closed 1 month ago

ktehranchi commented 1 month ago

Checklist

Issue exisits on what branch

Develop

The Issue

In two places in the operational reserves formulation the model will throw a bug when there are no extendable generators enabled. Line 773 and 805 in solve_network need if statements for cases without extendable generators.

Steps To Reproduce

No response

Expected Behavior

No response

Error Message

No response

Anything else?

No response