Skip to content

AGC up/down mixup #1593

@luke-kiernan

Description

@luke-kiernan

agc.jl is currently not included, dead code, but there's a direction mixup somewhere. Currently, we're setting R_up_emergency and R_down_emergency to the same thing (agc.jl:147):

    R_up_emergency =
        get_variable(container, AdditionalDeltaActivePowerUpVariable(), PSY.Area)
    R_dn_emergency =
        get_variable(container, AdditionalDeltaActivePowerUpVariable(), PSY.Area)

UpVariable both times. The expression R_up_emergency[area_name, t] - R_dn_emergency[area_name, t] appears later in that function: as-is, that'll be zero.

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