-
Notifications
You must be signed in to change notification settings - Fork 27
Closed
Description
Currently, the base powers of the SynchronousCondenser components in the "RTS_GMLC_DA_sys" system are 0.0. Combined with unit settings, this leads to strange arithmetic inconsistencies: I can set the reactive power to 0.0, then call get_reactive_power and get NaN.
using PowerSystems, PowerSystemCaseBuilder
const PSY = PowerSystems
sys_original = build_system(PSISystems, "RTS_GMLC_DA_sys")
with_units_base(sys_original, "SYSTEM_BASE") do
sc = PSY.get_component(PSY.SynchronousCondenser, sys_original, "314_SYNC_COND_1")
println("before setting reactive power: $(PSY.get_reactive_power(sc))")
PSY.set_reactive_power!(sc, 0.0)
println("after setting reactive power: $(PSY.get_reactive_power(sc))")
end
Metadata
Metadata
Assignees
Labels
No labels