GridDyn icon indicating copy to clipboard operation
GridDyn copied to clipboard

links/hvdc.cpp is not constructable

Open mcneish1 opened this issue 6 years ago • 0 comments

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.

mcneish1 avatar Sep 03 '19 16:09 mcneish1