-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deviations in RTS-GMLC load flow results for PowerSystems #26
Comments
Looking at the matpower results from the RTS-GMLC power flow for bus
The bus reactive load is But, on line 102-106, the sending end injects That's OK, it just makes comparisons with PowerSystems and PowerModels difficult since the shunt injections are explicitly accounted for in the Julia packages, instead of lumped in with line losses. |
By contrast, the results from PowerSystems yield: julia> Q_102_106_f = sum(get_reactive_power_flow.(br_in))
-0.04742066928911919
julia> Q_106_110_f = sum(get_reactive_power_flow.(br_out))
-1.3709462843623568
julia> Qd = sum(get_reactive_power.(load))
0.28
julia> Qshunt = get_magnitude(b)^2 * imag(get_Y(s))
-1.0658916758520902
julia> Q_102_106_f - Q_106_110_f - Qd + Qshunt
-0.022366060778852725 and the reactive power loss on line 102-106 is 0.022. |
I'm now convinced that this is mostly an issue of reading the log file vs. the numeric results from matpower. More specifically, I've learned a few things:
|
@claytonpbarrows these results should be updated using PowerFlows.jl. We made several improvements to the way that the power gets distributed across devices and found a bug in the calculation of load power NREL-Sienna/PowerFlows.jl#5 In future releases of PowerSystems the power flow solving capabilities will be moved to PowerFlows.jl |
The differences between the matpower and PowerSystems results are caused by:
Bs
in the calculation of reactive power demand in the power flow but PowerSystems does. The issue is resolved when theBs
values are set to 0.0 in the matpower case.@BenoitJeanson and @rbolgaryn : On point 2 above, pandapower and PowSybl appear to agree with MATPOWER. Is there a reason to omit the shunt susceptance from the power flow?
The text was updated successfully, but these errors were encountered: