DynamicGenerator
PowerSystems.DynamicGenerator — Typemutable struct DynamicGenerator{
    M <: Machine,
    S <: Shaft,
    A <: AVR,
    TG <: TurbineGov,
    P <: PSS,
} <: DynamicInjection
    name::String
    ω_ref::Float64
    machine::M
    shaft::S
    avr::A
    prime_mover::TG
    pss::P
    base_power::Float64
    n_states::Int
    states::Vector{Symbol}
    ext::Dict{String, Any}
    internal::InfrastructureSystemsInternal
endA dynamic generator is composed by 5 components, namely a Machine, a Shaft, an Automatic Voltage Regulator (AVR), a Prime Mover (o Turbine Governor) and Power System Stabilizer (PSS). It requires a Static Injection device that is attached to it.
Arguments
- name::String: Name of generator.
- ω_ref::Float64: Frequency reference set-point in pu.
- machine <: Machine: Machine model for modeling the electro-magnetic phenomena.
- shaft <: Shaft: Shaft model for modeling the electro-mechanical phenomena.
- avr <: AVR: AVR model of the excitacion system.
- prime_mover <: TurbineGov: Prime Mover and Turbine Governor model for mechanical power.
- pss <: PSS: Power System Stabilizer model.
- base_power::Float64: Base power
- n_states::Int: Number of states (will depend on the components).
- states::Vector{Symbol}: Vector of states (will depend on the components).
- ext::Dict{String, Any}
- internal::InfrastructureSystemsInternal: power system internal reference, do not modify