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

component already defined when lines get constraition #26

Open
WhitejadeHang opened this issue Oct 25, 2022 · 1 comment
Open

component already defined when lines get constraition #26

WhitejadeHang opened this issue Oct 25, 2022 · 1 comment

Comments

@WhitejadeHang
Copy link

RuntimeError: Cannot add component 'swing_bus_i0_t00' (type <class 'pyomo.core.base.constraint.AbstractScalarConstraint'>) to block 'power system problem': a component by that name (type <class 'pyomo.core.base.constraint.ScalarConstraint'>) is already defined.

@adamgreenhall
Copy link
Owner

Hi there - I'm not actively working on this project anymore and don't have the bandwidth to debug this issue. I'm happy to review PRs though, if are using it and have a fix.

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

2 participants