timmyfaraday / HarmonicPowerModels.jl

An extension package of PowerModels.jl for Harmonic (Optimal) Power Network
BSD 3-Clause "New" or "Revised" License
6 stars 1 forks source link

Failing unit tests on different platforms #24

Closed timmyfaraday closed 3 weeks ago

timmyfaraday commented 11 months ago

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.

timmyfaraday commented 11 months 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.