From bd5a3fc53983d018adb710f41577dfccbe8ec394 Mon Sep 17 00:00:00 2001 From: radhakrishnatg Date: Tue, 11 Feb 2025 13:57:42 -0500 Subject: [PATCH] Fix sphinx doc string failure --- .../grid_integration/pricetaker/price_taker_model.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/idaes/apps/grid_integration/pricetaker/price_taker_model.py b/idaes/apps/grid_integration/pricetaker/price_taker_model.py index 70f73cf7b1..495560c50a 100644 --- a/idaes/apps/grid_integration/pricetaker/price_taker_model.py +++ b/idaes/apps/grid_integration/pricetaker/price_taker_model.py @@ -415,9 +415,8 @@ def add_capacity_limits( Adds capacity limit constraints of the form: op_range_lb * capacity * op_mode(t) <= commodity(t) <= capacity * op_mode(t) ex: 0.3 * P_max * op_mode(t) <= P(t) <= P_max * op_mode(t), - where P(t) is power at time t and op_mode(t) = 1 if the system is operating - at time t; and op_mode(t) = 0, otherwise. - + where P(t) is power at time t and op_mode(t) = 1 if the system is operating + at time t; and op_mode(t) = 0, otherwise. Args: op_block_name: str, @@ -485,8 +484,7 @@ def add_ramping_limits( """ Adds ramping constraints of the form: ramping_var[t] - ramping_var[t-1] <= - startup_rate * capacity * startup[t] + rampup_rate * capacity * op_mode[t-1] - + startup_rate * capacity * startup[t] + rampup_rate * capacity * op_mode[t-1]; ramping_var[t-1] - ramping_var[t] <= shutdown_rate * capacity * shutdown[t] + rampdown_rate * capacity * op_mode[t] @@ -500,7 +498,7 @@ def add_ramping_limits( capacity: float, or Pyomo Var, or Param, or Expression String of the name of the entity on the model the ramping constraints - will be applied to, ex: ("total_power") + will be applied to, ex: ("total_power") startup_rate: float, Fraction of the maximum capacity that variable ramping_var can