minpower icon indicating copy to clipboard operation
minpower copied to clipboard

component already defined when lines get constraition

Open WhitejadeHang opened this issue 2 years ago • 1 comments

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.

WhitejadeHang avatar Oct 25 '22 08:10 WhitejadeHang

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.

adamgreenhall avatar Oct 27 '22 17:10 adamgreenhall