tdcosim / TDcoSim

T&D co-simulation package
Other
23 stars 8 forks source link

Feature request: Fail with warning when attempting to attach distribution feeders to T buses with very low active loads #43

Open sibyjackgrove opened 2 years ago

sibyjackgrove commented 2 years ago

Is your feature request related to a problem? Please describe. Co-simulations fail when attempting to attach distribution feeders to T buses with very low or zero active loads. This is because of the mismatch in feeder load and busload. For e.g. In the 68 bus system, bus 3 has 0 MW active load, and bus 64 has a 9 MW active load. If we try to attach the 123 node feeder with about 3.2 MW gross loads, we get a failure because TDcoSim cannot find a way to balance the load for bus 64 and bus 3 with the 123 node feeder load.

Describe the solution you'd like Option 1: Since this happens only for load buses with very low active loads, it would be good to have logic to avoid attaching feeders to these nodes (similar to what you have for buses without loads) and warn the user that feeders could not be attached. Option 2: Co-simulation fails and the T buses which caused the failure are printed out. Then the user can manually include these buses in the excludenode field of the config file.