grid-parity-exchange / Egret

Tools for building power systems optimization problems
Other
126 stars 50 forks source link

Startup/shutdown curve #219

Closed bknueven closed 3 years ago

bknueven commented 3 years ago

Adds the capability to specify start-up and shut-down power curves for thermal generators within the unit commitment models, which specify power output just before turning on and just after turning off. This is especially important for models with short (e.g., 5-minute) time-horizons.

Curves are specified through the startup_curve and shutdown_curve attribute on a thermal generator. These represent, from highest to lowest, the power output of the generator in the time periods just before / just after starting-up or shutting-down. Also adds a future_status parameter for start-ups after the end of the time horizon. An example is provided in the test tiny_uc_11.json.

Also makes some significant changes to the scaling/unscaling functions. Resolves #221 by adding some basic tests for baseMVA scaling/unscaling.

bknueven commented 3 years ago

There's some weirdness in scaling/unscaling I'd like to resolve before this is merged