Skip to content

Commit 7745b43

Browse files
radhakrishnatgMarcusHollyadam-a-aksbeattie
authored
Add Storage and Surrogate Support to the Price-taker class (#1633)
* Added a few helper methods * Added methods to plot, get cashflow values, fix vars, etc. * Added storage model and support for polynomial surrogates * Update get_valid_block_name in pricetaker * Add more pricetaker tests * Address spelling check * fix get_num_startups and get_num_shutdowns methods and associated tests * run blk * switch to hint typing compatible with python 3.9+ * Add a few more tests * Added tests for design_and_operation_models.py file * Improved test coverage for PriceTakerModel * Fixed typo in doc string * Corrected the error in the doc string * Automated the addition of capacity and ramping constraints * Added tests for automatic addition of operational constraints --------- Co-authored-by: MarcusHolly <marcus.holly@keylogic.com> Co-authored-by: Adam Atia <aatia@keylogic.com> Co-authored-by: Keith Beattie <ksbeattie@lbl.gov>
1 parent d4d10ea commit 7745b43

5 files changed

Lines changed: 1599 additions & 25 deletions

File tree

‎idaes/apps/grid_integration/__init__.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@
1919
from .pricetaker.design_and_operation_models import (
2020
DesignModel,
2121
OperationModel,
22+
StorageModel,
2223
)

0 commit comments

Comments
 (0)