You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
power-system-optimization-master/support.py", line 102, in compute_shutdown_costs_rule
return m.ShutdownCost[g, t] >= m.ShutdownCostCoefficient[g] * (m.K0On[g] - m.UnitOn[g, t])
File "pyomo/core/expr/numeric_expr.pyx", line 504, in pyomo.core.expr.numeric_expr.NumericValue.rsub
TypeError: unsupported operand type(s) for +: 'bool' and 'MonomialTermExpression.
do you know how to deal with is error?
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
after runing the driven.py, i got the error:
power-system-optimization-master/support.py", line 102, in compute_shutdown_costs_rule
return m.ShutdownCost[g, t] >= m.ShutdownCostCoefficient[g] * (m.K0On[g] - m.UnitOn[g, t])
File "pyomo/core/expr/numeric_expr.pyx", line 504, in pyomo.core.expr.numeric_expr.NumericValue.rsub
TypeError: unsupported operand type(s) for +: 'bool' and 'MonomialTermExpression.
do you know how to deal with is error?
Thanks
The text was updated successfully, but these errors were encountered: