CSVGN1
PowerSystems.CSVGN1
— Typemutable struct CSVGN1 <: DynamicInjection
name::String
K::Float64
T1::Float64
T2::Float64
T3::Float64
T4::Float64
T5::Float64
Rmin::Float64
Vmax::Float64
Vmin::Float64
CBase::Float64
base_power::Float64
ext::Dict{String, Any}
R_th::Float64
X_th::Float64
states::Vector{Symbol}
n_states::Int
internal::InfrastructureSystemsInternal
end
Parameters of static shunt compensator: CSVGN1 in PSSE
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 nameK::Float64
: Gain in pu (DEVICE_BASE
), validation range:(0, nothing)
T1::Float64
: Time constant in s, validation range:(0, nothing)
T2::Float64
: Time constant in s, validation range:(0, nothing)
T3::Float64
: Time constant in s, validation range:(eps(), nothing)
T4::Float64
: Time constant in s, validation range:(0, nothing)
T5::Float64
: Time constant in s, validation range:(0, nothing)
Rmin::Float64
: Reactor minimum Mvar, validation range:(0, nothing)
Vmax::Float64
: Maximum voltage in pu, validation range:(0, nothing)
Vmin::Float64
: Minimum voltage in pu, validation range:(0, nothing)
CBase::Float64
: Capacitor (MVAR), validation range:(0, nothing)
base_power::Float64
: Base power of the unit (MVA) for per unitization, validation range:(0, nothing)
ext::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.R_th::Float64
: Source Thevenin resistanceX_th::Float64
: Source Thevenin reactancestates::Vector{Symbol}
: (Do not modify.) The states are:
thy: thyristor,
vr1: regulator output 1,
vr2: regulator output 2
n_states::Int
: (Do not modify.) CSVGN1 has 3 statesinternal::InfrastructureSystemsInternal
: (Do not modify.) PowerSystems.jl internal reference
InfrastructureSystems.get_name
— Methodget_name(value::CSVGN1) -> String
Get CSVGN1
name
.
PowerSystems.get_CBase
— Methodget_CBase(value::CSVGN1) -> Float64
Get CSVGN1
CBase
.
PowerSystems.get_K
— Methodget_K(value::CSVGN1) -> Float64
Get CSVGN1
K
.
PowerSystems.get_R_th
— Methodget_R_th(value::CSVGN1) -> Float64
Get CSVGN1
R_th
.
PowerSystems.get_Rmin
— Methodget_Rmin(value::CSVGN1) -> Float64
Get CSVGN1
Rmin
.
PowerSystems.get_T1
— Methodget_T1(value::CSVGN1) -> Float64
Get CSVGN1
T1
.
PowerSystems.get_T2
— Methodget_T2(value::CSVGN1) -> Float64
Get CSVGN1
T2
.
PowerSystems.get_T3
— Methodget_T3(value::CSVGN1) -> Float64
Get CSVGN1
T3
.
PowerSystems.get_T4
— Methodget_T4(value::CSVGN1) -> Float64
Get CSVGN1
T4
.
PowerSystems.get_T5
— Methodget_T5(value::CSVGN1) -> Float64
Get CSVGN1
T5
.
PowerSystems.get_Vmax
— Methodget_Vmax(value::CSVGN1) -> Float64
Get CSVGN1
Vmax
.
PowerSystems.get_Vmin
— Methodget_Vmin(value::CSVGN1) -> Float64
Get CSVGN1
Vmin
.
PowerSystems.get_X_th
— Methodget_X_th(value::CSVGN1) -> Float64
Get CSVGN1
X_th
.
PowerSystems.get_base_power
— Methodget_base_power(value::CSVGN1) -> Float64
Get CSVGN1
base_power
.
PowerSystems.get_ext
— Methodget_ext(value::CSVGN1) -> Dict{String, Any}
Get CSVGN1
ext
.
PowerSystems.get_n_states
— Methodget_n_states(value::CSVGN1) -> Int64
Get CSVGN1
n_states
.
PowerSystems.get_states
— Methodget_states(value::CSVGN1) -> Vector{Symbol}
Get CSVGN1
states
.
PowerSystems.set_CBase!
— Methodset_CBase!(value::CSVGN1, val) -> Any
Set CSVGN1
CBase
.
PowerSystems.set_K!
— Methodset_K!(value::CSVGN1, val) -> Any
Set CSVGN1
K
.
PowerSystems.set_R_th!
— Methodset_R_th!(value::CSVGN1, val) -> Any
Set CSVGN1
R_th
.
PowerSystems.set_Rmin!
— Methodset_Rmin!(value::CSVGN1, val) -> Any
Set CSVGN1
Rmin
.
PowerSystems.set_T1!
— Methodset_T1!(value::CSVGN1, val) -> Any
Set CSVGN1
T1
.
PowerSystems.set_T2!
— Methodset_T2!(value::CSVGN1, val) -> Any
Set CSVGN1
T2
.
PowerSystems.set_T3!
— Methodset_T3!(value::CSVGN1, val) -> Any
Set CSVGN1
T3
.
PowerSystems.set_T4!
— Methodset_T4!(value::CSVGN1, val) -> Any
Set CSVGN1
T4
.
PowerSystems.set_T5!
— Methodset_T5!(value::CSVGN1, val) -> Any
Set CSVGN1
T5
.
PowerSystems.set_Vmax!
— Methodset_Vmax!(value::CSVGN1, val) -> Any
Set CSVGN1
Vmax
.
PowerSystems.set_Vmin!
— Methodset_Vmin!(value::CSVGN1, val) -> Any
Set CSVGN1
Vmin
.
PowerSystems.set_X_th!
— Methodset_X_th!(value::CSVGN1, val) -> Any
Set CSVGN1
X_th
.
PowerSystems.set_base_power!
— Methodset_base_power!(value::CSVGN1, val) -> Any
Set CSVGN1
base_power
.
PowerSystems.set_ext!
— Methodset_ext!(value::CSVGN1, val) -> Any
Set CSVGN1
ext
.