Skip to content

Commit

Permalink
Fix sphinx doc string failure
Browse files Browse the repository at this point in the history
  • Loading branch information
radhakrishnatg committed Feb 11, 2025
1 parent 7300c0d commit bd5a3fc
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions idaes/apps/grid_integration/pricetaker/price_taker_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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]
Expand All @@ -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
Expand Down

0 comments on commit bd5a3fc

Please sign in to comment.