minpower
minpower copied to clipboard
component already defined when lines get constraition
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.
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.