Closed timmyfaraday closed 3 weeks ago
This quick fix does not seem to work, apparently, there exists many possible solutions with a minimized voltage distortion profile.
For now, I'll comment the test, but this needs to be revisited at a later point.
The current unit test:
Harmonic Optimal Power Flow - Industrial Example
fail on different platforms, highly probably due to degeneracy. This is supported by the high number of iterations needed to find a solution for the unit test: 481.A quick fix is to evaluate the unit test on the voltage magnitude, rather than the rectangular components.