AGC
PowerSystems.AGC
— Typemutable struct AGC <: Service
name::String
available::Bool
bias::Float64
K_p::Float64
K_i::Float64
K_d::Float64
delta_t::Float64
area::Union{Nothing, Area}
initial_ace::Float64
ext::Dict{String, Any}
internal::InfrastructureSystemsInternal
end
Automatic generation control (AGC) for the system or a certain Area
within the system.
This model uses a proportional–integral–derivative (PID) control to simulate a "smooth" response of the AGC to the area control error (ACE). Refer to "AGC Simulation Model for Large Renewable Energy Penetration Studies."
Arguments
name::String
: Name of the component. Components of the same type (e.g.,PowerLoad
) must have unique names, but components of different types (e.g.,PowerLoad
andACBus
) can have the same nameavailable::Bool
: Indicator of whether the component is connected and online (true
) or disconnected, offline, or down (false
). Unavailable components are excluded during simulationsbias::Float64
: Area frequency bias in MW/HzK_p::Float64
: PID Proportional ConstantK_i::Float64
: PID Integral ConstantK_d::Float64
: PID Derivative Constantdelta_t::Float64
: PID Discretization period [Seconds]area::Union{Nothing, Area}
: (default:nothing
) the area controlled by the AGCinitial_ace::Float64
: (default:0.0
) Initial condition for ACEext::Dict{String, Any}
: (default:Dict{String, Any}()
) An extra dictionary for users to add metadata that are not used in simulation, such as latitude and longitude.internal::InfrastructureSystemsInternal
: (Do not modify.) PowerSystems.jl internal reference
InfrastructureSystems.get_name
— Methodget_name(value::AGC) -> String
Get AGC
name
.
PowerSystems.get_K_d
— Methodget_K_d(value::AGC) -> Float64
Get AGC
K_d
.
PowerSystems.get_K_i
— Methodget_K_i(value::AGC) -> Float64
Get AGC
K_i
.
PowerSystems.get_K_p
— Methodget_K_p(value::AGC) -> Float64
Get AGC
K_p
.
PowerSystems.get_area
— Methodget_area(value::AGC) -> Union{Nothing, Area}
Get AGC
area
.
PowerSystems.get_available
— Methodget_available(value::AGC) -> Bool
Get AGC
available
.
PowerSystems.get_bias
— Methodget_bias(value::AGC) -> Float64
Get AGC
bias
.
PowerSystems.get_delta_t
— Methodget_delta_t(value::AGC) -> Float64
Get AGC
delta_t
.
PowerSystems.get_ext
— Methodget_ext(value::AGC) -> Dict{String, Any}
Get AGC
ext
.
PowerSystems.get_initial_ace
— Methodget_initial_ace(value::AGC) -> Float64
Get AGC
initial_ace
.
PowerSystems.set_K_d!
— Methodset_K_d!(value::AGC, val) -> Any
Set AGC
K_d
.
PowerSystems.set_K_i!
— Methodset_K_i!(value::AGC, val) -> Any
Set AGC
K_i
.
PowerSystems.set_K_p!
— Methodset_K_p!(value::AGC, val) -> Any
Set AGC
K_p
.
PowerSystems.set_area!
— Methodset_area!(value::AGC, val) -> Any
Set AGC
area
.
PowerSystems.set_available!
— Methodset_available!(value::AGC, val) -> Any
Set AGC
available
.
PowerSystems.set_bias!
— Methodset_bias!(value::AGC, val) -> Any
Set AGC
bias
.
PowerSystems.set_delta_t!
— Methodset_delta_t!(value::AGC, val) -> Any
Set AGC
delta_t
.
PowerSystems.set_ext!
— Methodset_ext!(value::AGC, val) -> Any
Set AGC
ext
.
PowerSystems.set_initial_ace!
— Methodset_initial_ace!(value::AGC, val) -> Any
Set AGC
initial_ace
.