Skip to content

base power of SCs in RTS is 0.0 #174

@luke-kiernan

Description

@luke-kiernan

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions