You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Flagging reactive power limits fails when running solve_ac_powerflow!
check_pf_results(res) && solve_ac_powerflow!(sys, check_reactive_power_limits = false) ERROR: MethodError: no method matching nlsolve(::NLSolversBase.OnceDifferentiable{…}, ::Vector{…}; check_reactive_power_limits::Bool) This error has been manually thrown, explicitly, so the method may exist but be intentionally marked as unimplemented.
The text was updated successfully, but these errors were encountered:
The immediate issue is that we pass all kwargs to NLSolve, incorrectly including check_reactive_power_limits. There is a more subtle issue in that if we detect a reactive power limits violation and resolve it by changing the bus type from PV to PQ and re-solving, that change doesn't get written back to the System. Here, I fix both of those.
Flagging reactive power limits fails when running
solve_ac_powerflow!
check_pf_results(res) && solve_ac_powerflow!(sys, check_reactive_power_limits = false) ERROR: MethodError: no method matching nlsolve(::NLSolversBase.OnceDifferentiable{…}, ::Vector{…}; check_reactive_power_limits::Bool) This error has been manually thrown, explicitly, so the method may exist but be intentionally marked as unimplemented.
The text was updated successfully, but these errors were encountered: