switch-model / switch

A Modern Platform for Planning High-Renewable Power Systems
http://switch-model.org/
Other
129 stars 85 forks source link

Unit commitment smaller problem #128

Open josiahjohnston opened 4 years ago

josiahjohnston commented 4 years ago

A variety of optional tweaks to reduce the problem size. The default behaviors remain the same as before. In one benchmark, these tweaks reduced the number of variables & constraints by about 66% each.

bmaluenda commented 4 years ago

These look good, though I have a question: Is there any downside to defining spinning reserves as expressions? Why do it optionally and don't just make it the default behavior?

josiahjohnston commented 4 years ago

Expressions might be a better default behavior, but that is a larger discussion and depends on people's use cases. My motivations for this pull request were:

  1. Being conservative about backwards compatibility of behaviors (trying to maximize chances of consensus)
  2. Using variables enables taking on lower values to reduce project-level contigencies, especially when discrete unit commitment is enabled, and committed capacity may exceed the amount of capacity that is strictly needed.
  3. Also opens up the possibility of further customizations like adding variable costs for spinning reserve provision. (low likely-hood)
mfripp commented 4 years ago

Could we automate this?