Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

errors when runing the driven #2

Open
Leonawyciii opened this issue Nov 30, 2023 · 0 comments
Open

errors when runing the driven #2

Leonawyciii opened this issue Nov 30, 2023 · 0 comments

Comments

@Leonawyciii
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant