FrequencyEstimator
KauraPLL
PowerSystems.KauraPLL
— Typemutable struct KauraPLL <: FrequencyEstimator
ω_lp::Float64
kp_pll::Float64
ki_pll::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int
end
Parameters of a Phase-Locked Loop (PLL) based on Kaura, Vikram, and Vladimir Blasko. "Operation of a phase locked loop system under distorted utility conditions." IEEE Transactions on Industry applications 33.1 (1997): 58-63.
Arguments
ω_lp::Float64
: PLL low-pass filter frequency (rad/sec), validation range:(0, nothing)
kp_pll::Float64
: PLL proportional gain, validation range:(0, nothing)
ki_pll::Float64
: PLL integral gain, validation range:(0, nothing)
ext::Dict{String, Any}
states::Vector{Symbol}
: The states of the KauraPLL model are:
vd_pll: d-axis of the measured voltage in the PLL synchronous reference frame (SRF),
vq_pll: q-axis of the measured voltage in the PLL SRF,
ε_pll: Integrator state of the PI controller,
θ_pll: Phase angle displacement in the PLL SRF
n_states::Int
: KauraPLL has 4 states
PowerSystems.get_ext
— Methodget_ext(value::KauraPLL) -> Dict{String,Any}
Get KauraPLL
ext
.
PowerSystems.get_ki_pll
— Methodget_ki_pll(value::KauraPLL) -> Float64
Get KauraPLL
ki_pll
.
PowerSystems.get_kp_pll
— Methodget_kp_pll(value::KauraPLL) -> Float64
Get KauraPLL
kp_pll
.
PowerSystems.get_n_states
— Methodget_n_states(value::KauraPLL) -> Int64
Get KauraPLL
n_states
.
PowerSystems.get_states
— Methodget_states(value::KauraPLL) -> Array{Symbol,1}
Get KauraPLL
states
.
PowerSystems.get_ω_lp
— Methodget_ω_lp(value::KauraPLL) -> Float64
Get KauraPLL
ω_lp
.
PowerSystems.set_ext!
— Methodset_ext!(value::KauraPLL, val::Any) -> Any
Set KauraPLL
ext
.
PowerSystems.set_ki_pll!
— Methodset_ki_pll!(value::KauraPLL, val::Any) -> Any
Set KauraPLL
ki_pll
.
PowerSystems.set_kp_pll!
— Methodset_kp_pll!(value::KauraPLL, val::Any) -> Any
Set KauraPLL
kp_pll
.
PowerSystems.set_ω_lp!
— Methodset_ω_lp!(value::KauraPLL, val::Any) -> Any
Set KauraPLL
ω_lp
.