LLNL / GridDyn

GridDyn is an open-source power transmission simulation software package
Other
46 stars 23 forks source link

links/hvdc.cpp is not constructable #51

Open mcneish1 opened 5 years ago

mcneish1 commented 5 years ago

https://github.com/LLNL/GridDyn/blob/cf850abcc921f9f1bfea917ffc03a966d64c0a6a/src/griddyn/links/hvdc.cpp#L38

A dcLink can not be set to be a slack bus, so that statement throws unconditionally. This additionally leaks dcl.

This was added in 573966f8c96ac8f15bb9ffd0f82b62c6e4d830f3, so I don't know what the expected behavior is.