TurbineGov
DEGOV
PowerSystems.DEGOV
— Typemutable struct DEGOV <: TurbineGov
T1::Float64
T2::Float64
T3::Float64
K::Float64
T4::Float64
T5::Float64
T6::Float64
Td::Float64
P_ref::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int
states_types::Vector{StateTypes}
internal::InfrastructureSystemsInternal
end
Parameters Woodward Diesel Governor Model. DEGOV in PowerWorld
Arguments
T1::Float64
: Governor mechanism time constant, validation range:(eps(), 100)
T2::Float64
: Turbine power time constant, validation range:(eps(), 100)
T3::Float64
: Turbine exhaust temperature time constant, validation range:(eps(), 100)
K::Float64
: Governor gain (reciprocal of droop), validation range:(eps(), 100)
T4::Float64
: Governor lead time constant, validation range:(eps(), 100)
T5::Float64
: Governor lag time constant, validation range:(eps(), 100)
T6::Float64
: Actuator time constant, validation range:(eps(), 100)
Td::Float64
: Engine time delay, validation range:(eps(), 100)
P_ref::Float64
: (default:1.0
) Reference Load Set-point (pu), 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.states::Vector{Symbol}
: (Do not modify.) The states of the DEGOV model are:
x_ecb1: Electric control box 1,
x_ecb2: Electric control box 2,
x_a1: Actuator 1,
x_a2: Actuator 2,
x_a3: Actuator 3,
n_states::Int
: (Do not modify.) DEGOV has 5 statesstates_types::Vector{StateTypes}
: (Do not modify.) DEGOV has 5 differential statesinternal::InfrastructureSystemsInternal
: (Do not modify.) PowerSystems.jl internal reference
PowerSystems.get_K
— Methodget_K(value::DEGOV) -> Float64
Get DEGOV
K
.
PowerSystems.get_P_ref
— Methodget_P_ref(value::DEGOV) -> Float64
Get DEGOV
P_ref
.
PowerSystems.get_T1
— Methodget_T1(value::DEGOV) -> Float64
Get DEGOV
T1
.
PowerSystems.get_T2
— Methodget_T2(value::DEGOV) -> Float64
Get DEGOV
T2
.
PowerSystems.get_T3
— Methodget_T3(value::DEGOV) -> Float64
Get DEGOV
T3
.
PowerSystems.get_T4
— Methodget_T4(value::DEGOV) -> Float64
Get DEGOV
T4
.
PowerSystems.get_T5
— Methodget_T5(value::DEGOV) -> Float64
Get DEGOV
T5
.
PowerSystems.get_T6
— Methodget_T6(value::DEGOV) -> Float64
Get DEGOV
T6
.
PowerSystems.get_Td
— Methodget_Td(value::DEGOV) -> Float64
Get DEGOV
Td
.
PowerSystems.get_ext
— Methodget_ext(value::DEGOV) -> Dict{String, Any}
Get DEGOV
ext
.
PowerSystems.get_n_states
— Methodget_n_states(value::DEGOV) -> Int64
Get DEGOV
n_states
.
PowerSystems.get_states
— Methodget_states(value::DEGOV) -> Vector{Symbol}
Get DEGOV
states
.
PowerSystems.get_states_types
— Methodget_states_types(value::DEGOV) -> Vector{StateTypes}
Get DEGOV
states_types
.
PowerSystems.set_K!
— Methodset_K!(value::DEGOV, val) -> Any
Set DEGOV
K
.
PowerSystems.set_P_ref!
— Methodset_P_ref!(value::DEGOV, val) -> Any
Set DEGOV
P_ref
.
PowerSystems.set_T1!
— Methodset_T1!(value::DEGOV, val) -> Any
Set DEGOV
T1
.
PowerSystems.set_T2!
— Methodset_T2!(value::DEGOV, val) -> Any
Set DEGOV
T2
.
PowerSystems.set_T3!
— Methodset_T3!(value::DEGOV, val) -> Any
Set DEGOV
T3
.
PowerSystems.set_T4!
— Methodset_T4!(value::DEGOV, val) -> Any
Set DEGOV
T4
.
PowerSystems.set_T5!
— Methodset_T5!(value::DEGOV, val) -> Any
Set DEGOV
T5
.
PowerSystems.set_T6!
— Methodset_T6!(value::DEGOV, val) -> Any
Set DEGOV
T6
.
PowerSystems.set_Td!
— Methodset_Td!(value::DEGOV, val) -> Any
Set DEGOV
Td
.
PowerSystems.set_ext!
— Methodset_ext!(value::DEGOV, val) -> Any
Set DEGOV
ext
.
PowerSystems.set_states_types!
— Methodset_states_types!(value::DEGOV, val) -> Any
Set DEGOV
states_types
.
DEGOV1
PowerSystems.DEGOV1
— Typemutable struct DEGOV1 <: TurbineGov
droop_flag::Int
T1::Float64
T2::Float64
T3::Float64
K::Float64
T4::Float64
T5::Float64
T6::Float64
Td::Float64
T_lim::Tuple{Float64, Float64}
R::Float64
Te::Float64
P_ref::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int
internal::InfrastructureSystemsInternal
end
Parameters Woodward Diesel Governor Model. DEGOV1 in PSSE
Arguments
droop_flag::Int
: Droop control Flag. 0 for throttle feedback and 1 for electric power feedback, validation range:(0, 1)
T1::Float64
: Governor mechanism time constant in s, validation range:(0, 100)
T2::Float64
: Turbine power time constant in s, validation range:(0, 100)
T3::Float64
: Turbine exhaust temperature time constant in s, validation range:(0, 100)
K::Float64
: Governor gain for actuator, validation range:(0, 100)
T4::Float64
: Governor lead time constant in s, validation range:(0, 100)
T5::Float64
: Governor lag time constant in s, validation range:(0, 100)
T6::Float64
: Actuator time constant in s, validation range:(0, 100)
Td::Float64
: Engine time delay in s, validation range:(0, 100)
T_lim::Tuple{Float64, Float64}
: Operational control limits on actuator (Tmin, Tmax)R::Float64
: Steady state droop parameter, validation range:(0, 100)
Te::Float64
: Power transducer time constant in s, validation range:(0, 100)
P_ref::Float64
: (default:1.0
) Reference Load Set-point (pu), 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.states::Vector{Symbol}
: (Do not modify.) The states of the DEGOV1 model depends on the droop flagn_states::Int
: (Do not modify.) The number of states of the DEGOV1 model depends on the droop flaginternal::InfrastructureSystemsInternal
: (Do not modify.) PowerSystems.jl internal reference
PowerSystems.get_K
— Methodget_K(value::DEGOV1) -> Float64
Get DEGOV1
K
.
PowerSystems.get_P_ref
— Methodget_P_ref(value::DEGOV1) -> Float64
Get DEGOV1
P_ref
.
PowerSystems.get_R
— Methodget_R(value::DEGOV1) -> Float64
Get DEGOV1
R
.
PowerSystems.get_T1
— Methodget_T1(value::DEGOV1) -> Float64
Get DEGOV1
T1
.
PowerSystems.get_T2
— Methodget_T2(value::DEGOV1) -> Float64
Get DEGOV1
T2
.
PowerSystems.get_T3
— Methodget_T3(value::DEGOV1) -> Float64
Get DEGOV1
T3
.
PowerSystems.get_T4
— Methodget_T4(value::DEGOV1) -> Float64
Get DEGOV1
T4
.
PowerSystems.get_T5
— Methodget_T5(value::DEGOV1) -> Float64
Get DEGOV1
T5
.
PowerSystems.get_T6
— Methodget_T6(value::DEGOV1) -> Float64
Get DEGOV1
T6
.
PowerSystems.get_T_lim
— Methodget_T_lim(value::DEGOV1) -> Tuple{Float64, Float64}
Get DEGOV1
T_lim
.
PowerSystems.get_Td
— Methodget_Td(value::DEGOV1) -> Float64
Get DEGOV1
Td
.
PowerSystems.get_Te
— Methodget_Te(value::DEGOV1) -> Float64
Get DEGOV1
Te
.
PowerSystems.get_droop_flag
— Methodget_droop_flag(value::DEGOV1) -> Int64
Get DEGOV1
droop_flag
.
PowerSystems.get_ext
— Methodget_ext(value::DEGOV1) -> Dict{String, Any}
Get DEGOV1
ext
.
PowerSystems.get_n_states
— Methodget_n_states(value::DEGOV1) -> Int64
Get DEGOV1
n_states
.
PowerSystems.get_states
— Methodget_states(value::DEGOV1) -> Vector{Symbol}
Get DEGOV1
states
.
PowerSystems.set_K!
— Methodset_K!(value::DEGOV1, val) -> Any
Set DEGOV1
K
.
PowerSystems.set_P_ref!
— Methodset_P_ref!(value::DEGOV1, val) -> Any
Set DEGOV1
P_ref
.
PowerSystems.set_R!
— Methodset_R!(value::DEGOV1, val) -> Any
Set DEGOV1
R
.
PowerSystems.set_T1!
— Methodset_T1!(value::DEGOV1, val) -> Any
Set DEGOV1
T1
.
PowerSystems.set_T2!
— Methodset_T2!(value::DEGOV1, val) -> Any
Set DEGOV1
T2
.
PowerSystems.set_T3!
— Methodset_T3!(value::DEGOV1, val) -> Any
Set DEGOV1
T3
.
PowerSystems.set_T4!
— Methodset_T4!(value::DEGOV1, val) -> Any
Set DEGOV1
T4
.
PowerSystems.set_T5!
— Methodset_T5!(value::DEGOV1, val) -> Any
Set DEGOV1
T5
.
PowerSystems.set_T6!
— Methodset_T6!(value::DEGOV1, val) -> Any
Set DEGOV1
T6
.
PowerSystems.set_T_lim!
— Methodset_T_lim!(value::DEGOV1, val) -> Any
Set DEGOV1
T_lim
.
PowerSystems.set_Td!
— Methodset_Td!(value::DEGOV1, val) -> Any
Set DEGOV1
Td
.
PowerSystems.set_Te!
— Methodset_Te!(value::DEGOV1, val) -> Any
Set DEGOV1
Te
.
PowerSystems.set_droop_flag!
— Methodset_droop_flag!(value::DEGOV1, val) -> Any
Set DEGOV1
droop_flag
.
PowerSystems.set_ext!
— Methodset_ext!(value::DEGOV1, val) -> Any
Set DEGOV1
ext
.
GasTG
PowerSystems.GasTG
— Typemutable struct GasTG <: TurbineGov
R::Float64
T1::Float64
T2::Float64
T3::Float64
AT::Float64
Kt::Float64
V_lim::Tuple{Float64, Float64}
D_turb::Float64
P_ref::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int
states_types::Vector{StateTypes}
internal::InfrastructureSystemsInternal
end
Parameters of Gas Turbine-Governor. GAST in PSSE and GAST_PTI in PowerWorld
Arguments
R::Float64
: Speed droop parameter, validation range:(eps(), 0.1)
T1::Float64
: Governor time constant in s, validation range:(eps(), 0.5)
T2::Float64
: Combustion chamber time constant, validation range:(eps(), 0.5)
T3::Float64
: Load limit time constant (exhaust gas measurement time), validation range:(eps(), 5)
AT::Float64
: Ambient temperature load limit, validation range:(0, 1)
Kt::Float64
: Load limit feedback gain, validation range:(0, 5)
V_lim::Tuple{Float64, Float64}
: Operational control limits on fuel valve opening (Vmin, Vmax)D_turb::Float64
: Speed damping coefficient of gas turbine rotor, validation range:(0, 0.5)
P_ref::Float64
: (default:1.0
) Reference Load Set-point (pu), 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.states::Vector{Symbol}
: (Do not modify.) The states of the GAST model are:
x_g1: Fuel valve opening,
x_g2: Fuel flow,
x_g3: Exhaust temperature load
n_states::Int
: (Do not modify.) GasTG has 3 statesstates_types::Vector{StateTypes}
: (Do not modify.) GAST has 3 differential statesinternal::InfrastructureSystemsInternal
: (Do not modify.) PowerSystems.jl internal reference
PowerSystems.get_AT
— Methodget_AT(value::GasTG) -> Float64
Get GasTG
AT
.
PowerSystems.get_D_turb
— Methodget_D_turb(value::GasTG) -> Float64
Get GasTG
D_turb
.
PowerSystems.get_Kt
— Methodget_Kt(value::GasTG) -> Float64
Get GasTG
Kt
.
PowerSystems.get_P_ref
— Methodget_P_ref(value::GasTG) -> Float64
Get GasTG
P_ref
.
PowerSystems.get_R
— Methodget_R(value::GasTG) -> Float64
Get GasTG
R
.
PowerSystems.get_T1
— Methodget_T1(value::GasTG) -> Float64
Get GasTG
T1
.
PowerSystems.get_T2
— Methodget_T2(value::GasTG) -> Float64
Get GasTG
T2
.
PowerSystems.get_T3
— Methodget_T3(value::GasTG) -> Float64
Get GasTG
T3
.
PowerSystems.get_V_lim
— Methodget_V_lim(value::GasTG) -> Tuple{Float64, Float64}
Get GasTG
V_lim
.
PowerSystems.get_ext
— Methodget_ext(value::GasTG) -> Dict{String, Any}
Get GasTG
ext
.
PowerSystems.get_n_states
— Methodget_n_states(value::GasTG) -> Int64
Get GasTG
n_states
.
PowerSystems.get_states
— Methodget_states(value::GasTG) -> Vector{Symbol}
Get GasTG
states
.
PowerSystems.get_states_types
— Methodget_states_types(value::GasTG) -> Vector{StateTypes}
Get GasTG
states_types
.
PowerSystems.set_AT!
— Methodset_AT!(value::GasTG, val) -> Any
Set GasTG
AT
.
PowerSystems.set_D_turb!
— Methodset_D_turb!(value::GasTG, val) -> Any
Set GasTG
D_turb
.
PowerSystems.set_Kt!
— Methodset_Kt!(value::GasTG, val) -> Any
Set GasTG
Kt
.
PowerSystems.set_P_ref!
— Methodset_P_ref!(value::GasTG, val) -> Any
Set GasTG
P_ref
.
PowerSystems.set_R!
— Methodset_R!(value::GasTG, val) -> Any
Set GasTG
R
.
PowerSystems.set_T1!
— Methodset_T1!(value::GasTG, val) -> Any
Set GasTG
T1
.
PowerSystems.set_T2!
— Methodset_T2!(value::GasTG, val) -> Any
Set GasTG
T2
.
PowerSystems.set_T3!
— Methodset_T3!(value::GasTG, val) -> Any
Set GasTG
T3
.
PowerSystems.set_V_lim!
— Methodset_V_lim!(value::GasTG, val) -> Any
Set GasTG
V_lim
.
PowerSystems.set_ext!
— Methodset_ext!(value::GasTG, val) -> Any
Set GasTG
ext
.
PowerSystems.set_states_types!
— Methodset_states_types!(value::GasTG, val) -> Any
Set GasTG
states_types
.
GeneralGovModel
PowerSystems.GeneralGovModel
— Typemutable struct GeneralGovModel <: TurbineGov
Rselect::Int
fuel_flag::Int
R::Float64
Tpelec::Float64
speed_error_signal::MinMax
Kp_gov::Float64
Ki_gov::Float64
Kd_gov::Float64
Td_gov::Float64
valve_position_limits::MinMax
T_act::Float64
K_turb::Float64
Wf_nl::Float64
Tb::Float64
Tc::Float64
T_eng::Float64
Tf_load::Float64
Kp_load::Float64
Ki_load::Float64
Ld_ref::Float64
Dm::Float64
R_open::Float64
R_close::Float64
Ki_mw::Float64
A_set::Float64
Ka::Float64
Ta::Float64
T_rate::Float64
db::Float64
Tsa::Float64
Tsb::Float64
R_lim::UpDown
P_ref::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int
states_types::Vector{StateTypes}
internal::InfrastructureSystemsInternal
end
GE General Governor/Turbine Model. The GeneralGovModel (GGOV1) model is a general purpose governor model used for a variety of prime movers controlled by proportional-integral-derivative (PID) governors including gas turbines
Arguments
Rselect::Int
: Feedback signal for governor droop, validation range:(-2, 1)
fuel_flag::Int
: Flag Switch for fuel source characteristic, validation range:(0, 1)
R::Float64
: Speed droop parameter, validation range:(eps(), nothing)
Tpelec::Float64
: Electrical power transducer time constant, seconds, validation range:(eps(), nothing)
speed_error_signal::MinMax
: Speed error signal limitsKp_gov::Float64
: Governor proportional gain, validation range:(0, nothing)
Ki_gov::Float64
: Governor integral gain, validation range:(0, nothing)
Kd_gov::Float64
: Governor derivative gain, validation range:(0, nothing)
Td_gov::Float64
: Governor derivative time constant, validation range:(0, nothing)
valve_position_limits::MinMax
: Valve position limitsT_act::Float64
: Actuator time constant, validation range:(0, nothing)
K_turb::Float64
: Turbine gain, validation range:(0, nothing)
Wf_nl::Float64
: No load fuel flow, pu, validation range:(0, nothing)
Tb::Float64
: Turbine lag time constant, sec, validation range:(0, nothing)
Tc::Float64
: Turbine lead time constant, sec, validation range:(0, nothing)
T_eng::Float64
: Transport lag time constant for diesel engine, sec, validation range:(0, nothing)
Tf_load::Float64
: Load limiter time constant, validation range:(0, nothing)
Kp_load::Float64
: Load limiter proportional gain for PI controller, validation range:(0, nothing)
Ki_load::Float64
: Load integral gain for PI controller, validation range:(0, nothing)
Ld_ref::Float64
: Load limiter integral gain for PI controller, validation range:(0, nothing)
Dm::Float64
: Mechanical damping coefficient, pu, validation range:(0, nothing)
R_open::Float64
: Maximum valve opening rate, pu/sec, validation range:(0, nothing)
R_close::Float64
: Maximum valve closing rate, pu/sec, validation range:(0, nothing)
Ki_mw::Float64
: Power controller (reset) gain, validation range:(0, nothing)
A_set::Float64
: Acceleration limiter setpoint, pu/sec, validation range:(0, nothing)
Ka::Float64
: Acceleration limiter gain, validation range:(0, nothing)
Ta::Float64
: Acceleration limiter time constant , validation range:(eps(), nothing)
T_rate::Float64
: Turbine rating, validation range:(0, nothing)
db::Float64
: Speed governor deadband, validation range:(0, nothing)
Tsa::Float64
: Temperature detection lead time constant, validation range:(0, nothing)
Tsb::Float64
: Temperature detection lag time constant, validation range:(0, nothing)
R_lim::UpDown
: Maximum rate of load increaseP_ref::Float64
: (default:1.0
) Reference Power Set-point (pu), 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.states::Vector{Symbol}
: (Do not modify.) The states of the GGOV1 model are:
Pe: Machine Electrical Power Measurement,
x_g1: Governor differential control,
x_g2: Governor integral control,
x_g3: Turbine actuator,
x_g4: Turbine Lead-Lag,
x_g5: Turbine load limiter measurement,
x_g6: Turbine Load Limiter Integral Control,
x_g7: Supervisory Load Control,
x_g8: Acceleration Control,
x_g9 Temperature Detection Lead - Lag:
n_states::Int
: (Do not modify.) GeneralGovModel has 10 statesstates_types::Vector{StateTypes}
: (Do not modify.) GGOV1 has 10 differential statesinternal::InfrastructureSystemsInternal
: (Do not modify.) PowerSystems.jl internal reference
PowerSystems.get_A_set
— Methodget_A_set(value::GeneralGovModel) -> Float64
Get GeneralGovModel
A_set
.
PowerSystems.get_Dm
— Methodget_Dm(value::GeneralGovModel) -> Float64
Get GeneralGovModel
Dm
.
PowerSystems.get_K_turb
— Methodget_K_turb(value::GeneralGovModel) -> Float64
Get GeneralGovModel
K_turb
.
PowerSystems.get_Ka
— Methodget_Ka(value::GeneralGovModel) -> Float64
Get GeneralGovModel
Ka
.
PowerSystems.get_Kd_gov
— Methodget_Kd_gov(value::GeneralGovModel) -> Float64
Get GeneralGovModel
Kd_gov
.
PowerSystems.get_Ki_gov
— Methodget_Ki_gov(value::GeneralGovModel) -> Float64
Get GeneralGovModel
Ki_gov
.
PowerSystems.get_Ki_load
— Methodget_Ki_load(value::GeneralGovModel) -> Float64
Get GeneralGovModel
Ki_load
.
PowerSystems.get_Ki_mw
— Methodget_Ki_mw(value::GeneralGovModel) -> Float64
Get GeneralGovModel
Ki_mw
.
PowerSystems.get_Kp_gov
— Methodget_Kp_gov(value::GeneralGovModel) -> Float64
Get GeneralGovModel
Kp_gov
.
PowerSystems.get_Kp_load
— Methodget_Kp_load(value::GeneralGovModel) -> Float64
Get GeneralGovModel
Kp_load
.
PowerSystems.get_Ld_ref
— Methodget_Ld_ref(value::GeneralGovModel) -> Float64
Get GeneralGovModel
Ld_ref
.
PowerSystems.get_P_ref
— Methodget_P_ref(value::GeneralGovModel) -> Float64
Get GeneralGovModel
P_ref
.
PowerSystems.get_R
— Methodget_R(value::GeneralGovModel) -> Float64
Get GeneralGovModel
R
.
PowerSystems.get_R_close
— Methodget_R_close(value::GeneralGovModel) -> Float64
Get GeneralGovModel
R_close
.
PowerSystems.get_R_lim
— Methodget_R_lim(
value::GeneralGovModel
) -> @NamedTuple{up::Float64, down::Float64}
Get GeneralGovModel
R_lim
.
PowerSystems.get_R_open
— Methodget_R_open(value::GeneralGovModel) -> Float64
Get GeneralGovModel
R_open
.
PowerSystems.get_Rselect
— Methodget_Rselect(value::GeneralGovModel) -> Int64
Get GeneralGovModel
Rselect
.
PowerSystems.get_T_act
— Methodget_T_act(value::GeneralGovModel) -> Float64
Get GeneralGovModel
T_act
.
PowerSystems.get_T_eng
— Methodget_T_eng(value::GeneralGovModel) -> Float64
Get GeneralGovModel
T_eng
.
PowerSystems.get_T_rate
— Methodget_T_rate(value::GeneralGovModel) -> Float64
Get GeneralGovModel
T_rate
.
PowerSystems.get_Ta
— Methodget_Ta(value::GeneralGovModel) -> Float64
Get GeneralGovModel
Ta
.
PowerSystems.get_Tb
— Methodget_Tb(value::GeneralGovModel) -> Float64
Get GeneralGovModel
Tb
.
PowerSystems.get_Tc
— Methodget_Tc(value::GeneralGovModel) -> Float64
Get GeneralGovModel
Tc
.
PowerSystems.get_Td_gov
— Methodget_Td_gov(value::GeneralGovModel) -> Float64
Get GeneralGovModel
Td_gov
.
PowerSystems.get_Tf_load
— Methodget_Tf_load(value::GeneralGovModel) -> Float64
Get GeneralGovModel
Tf_load
.
PowerSystems.get_Tpelec
— Methodget_Tpelec(value::GeneralGovModel) -> Float64
Get GeneralGovModel
Tpelec
.
PowerSystems.get_Tsa
— Methodget_Tsa(value::GeneralGovModel) -> Float64
Get GeneralGovModel
Tsa
.
PowerSystems.get_Tsb
— Methodget_Tsb(value::GeneralGovModel) -> Float64
Get GeneralGovModel
Tsb
.
PowerSystems.get_Wf_nl
— Methodget_Wf_nl(value::GeneralGovModel) -> Float64
Get GeneralGovModel
Wf_nl
.
PowerSystems.get_db
— Methodget_db(value::GeneralGovModel) -> Float64
Get GeneralGovModel
db
.
PowerSystems.get_ext
— Methodget_ext(value::GeneralGovModel) -> Dict{String, Any}
Get GeneralGovModel
ext
.
PowerSystems.get_fuel_flag
— Methodget_fuel_flag(value::GeneralGovModel) -> Int64
Get GeneralGovModel
fuel_flag
.
PowerSystems.get_n_states
— Methodget_n_states(value::GeneralGovModel) -> Int64
Get GeneralGovModel
n_states
.
PowerSystems.get_speed_error_signal
— Methodget_speed_error_signal(
value::GeneralGovModel
) -> @NamedTuple{min::Float64, max::Float64}
Get GeneralGovModel
speed_error_signal
.
PowerSystems.get_states
— Methodget_states(value::GeneralGovModel) -> Vector{Symbol}
Get GeneralGovModel
states
.
PowerSystems.get_states_types
— Methodget_states_types(
value::GeneralGovModel
) -> Vector{StateTypes}
Get GeneralGovModel
states_types
.
PowerSystems.get_valve_position_limits
— Methodget_valve_position_limits(
value::GeneralGovModel
) -> @NamedTuple{min::Float64, max::Float64}
Get GeneralGovModel
valve_position_limits
.
PowerSystems.set_A_set!
— Methodset_A_set!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
A_set
.
PowerSystems.set_Dm!
— Methodset_Dm!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
Dm
.
PowerSystems.set_K_turb!
— Methodset_K_turb!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
K_turb
.
PowerSystems.set_Ka!
— Methodset_Ka!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
Ka
.
PowerSystems.set_Kd_gov!
— Methodset_Kd_gov!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
Kd_gov
.
PowerSystems.set_Ki_gov!
— Methodset_Ki_gov!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
Ki_gov
.
PowerSystems.set_Ki_load!
— Methodset_Ki_load!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
Ki_load
.
PowerSystems.set_Ki_mw!
— Methodset_Ki_mw!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
Ki_mw
.
PowerSystems.set_Kp_gov!
— Methodset_Kp_gov!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
Kp_gov
.
PowerSystems.set_Kp_load!
— Methodset_Kp_load!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
Kp_load
.
PowerSystems.set_Ld_ref!
— Methodset_Ld_ref!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
Ld_ref
.
PowerSystems.set_P_ref!
— Methodset_P_ref!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
P_ref
.
PowerSystems.set_R!
— Methodset_R!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
R
.
PowerSystems.set_R_close!
— Methodset_R_close!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
R_close
.
PowerSystems.set_R_lim!
— Methodset_R_lim!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
R_lim
.
PowerSystems.set_R_open!
— Methodset_R_open!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
R_open
.
PowerSystems.set_Rselect!
— Methodset_Rselect!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
Rselect
.
PowerSystems.set_T_act!
— Methodset_T_act!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
T_act
.
PowerSystems.set_T_eng!
— Methodset_T_eng!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
T_eng
.
PowerSystems.set_T_rate!
— Methodset_T_rate!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
T_rate
.
PowerSystems.set_Ta!
— Methodset_Ta!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
Ta
.
PowerSystems.set_Tb!
— Methodset_Tb!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
Tb
.
PowerSystems.set_Tc!
— Methodset_Tc!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
Tc
.
PowerSystems.set_Td_gov!
— Methodset_Td_gov!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
Td_gov
.
PowerSystems.set_Tf_load!
— Methodset_Tf_load!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
Tf_load
.
PowerSystems.set_Tpelec!
— Methodset_Tpelec!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
Tpelec
.
PowerSystems.set_Tsa!
— Methodset_Tsa!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
Tsa
.
PowerSystems.set_Tsb!
— Methodset_Tsb!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
Tsb
.
PowerSystems.set_Wf_nl!
— Methodset_Wf_nl!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
Wf_nl
.
PowerSystems.set_db!
— Methodset_db!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
db
.
PowerSystems.set_ext!
— Methodset_ext!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
ext
.
PowerSystems.set_fuel_flag!
— Methodset_fuel_flag!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
fuel_flag
.
PowerSystems.set_speed_error_signal!
— Methodset_speed_error_signal!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
speed_error_signal
.
PowerSystems.set_states_types!
— Methodset_states_types!(value::GeneralGovModel, val) -> Any
Set GeneralGovModel
states_types
.
PowerSystems.set_valve_position_limits!
— Methodset_valve_position_limits!(
value::GeneralGovModel,
val
) -> Any
Set GeneralGovModel
valve_position_limits
.
HydroTurbineGov
PowerSystems.HydroTurbineGov
— Typemutable struct HydroTurbineGov <: TurbineGov
R::Float64
r::Float64
Tr::Float64
Tf::Float64
Tg::Float64
VELM::Float64
gate_position_limits::MinMax
Tw::Float64
At::Float64
D_T::Float64
q_nl::Float64
P_ref::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int
states_types::Vector{StateTypes}
internal::InfrastructureSystemsInternal
end
Hydro Turbine-Governor
Arguments
R::Float64
: Permanent droop parameter, validation range:(0, 0.1)
r::Float64
: Temporary Droop, validation range:(0, 2)
Tr::Float64
: Governor time constant, validation range:(eps(), 30)
Tf::Float64
: Filter Time constant, validation range:(eps(), 0.1)
Tg::Float64
: Servo time constant, validation range:(eps(), 1)
VELM::Float64
: gate velocity limit, validation range:(eps(), 0.3)
gate_position_limits::MinMax
: Gate position limitsTw::Float64
: water time constant, validation range:(eps(), 3)
At::Float64
: Turbine gain, validation range:(0.8, 1.5)
D_T::Float64
: Turbine Damping, validation range:(0, 0.5)
q_nl::Float64
: No-power flow, validation range:(0, nothing)
P_ref::Float64
: (default:1.0
) Reference Power Set-point (pu), 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.states::Vector{Symbol}
: (Do not modify.) The states of the HydroTurbineGov model are:
x_g1: filter_output,
x_g2: desired gate,
x_g3: gate opening,
x_g4: turbine flow
n_states::Int
: (Do not modify.) HYGOV has 4 statesstates_types::Vector{StateTypes}
: (Do not modify.) HYGOV has 4 differential statesinternal::InfrastructureSystemsInternal
: (Do not modify.) PowerSystems.jl internal reference
PowerSystems.get_At
— Methodget_At(value::HydroTurbineGov) -> Float64
Get HydroTurbineGov
At
.
PowerSystems.get_D_T
— Methodget_D_T(value::HydroTurbineGov) -> Float64
Get HydroTurbineGov
D_T
.
PowerSystems.get_P_ref
— Methodget_P_ref(value::HydroTurbineGov) -> Float64
Get HydroTurbineGov
P_ref
.
PowerSystems.get_R
— Methodget_R(value::HydroTurbineGov) -> Float64
Get HydroTurbineGov
R
.
PowerSystems.get_Tf
— Methodget_Tf(value::HydroTurbineGov) -> Float64
Get HydroTurbineGov
Tf
.
PowerSystems.get_Tg
— Methodget_Tg(value::HydroTurbineGov) -> Float64
Get HydroTurbineGov
Tg
.
PowerSystems.get_Tr
— Methodget_Tr(value::HydroTurbineGov) -> Float64
Get HydroTurbineGov
Tr
.
PowerSystems.get_Tw
— Methodget_Tw(value::HydroTurbineGov) -> Float64
Get HydroTurbineGov
Tw
.
PowerSystems.get_VELM
— Methodget_VELM(value::HydroTurbineGov) -> Float64
Get HydroTurbineGov
VELM
.
PowerSystems.get_ext
— Methodget_ext(value::HydroTurbineGov) -> Dict{String, Any}
Get HydroTurbineGov
ext
.
PowerSystems.get_gate_position_limits
— Methodget_gate_position_limits(
value::HydroTurbineGov
) -> @NamedTuple{min::Float64, max::Float64}
Get HydroTurbineGov
gate_position_limits
.
PowerSystems.get_n_states
— Methodget_n_states(value::HydroTurbineGov) -> Int64
Get HydroTurbineGov
n_states
.
PowerSystems.get_q_nl
— Methodget_q_nl(value::HydroTurbineGov) -> Float64
Get HydroTurbineGov
q_nl
.
PowerSystems.get_r
— Methodget_r(value::HydroTurbineGov) -> Float64
Get HydroTurbineGov
r
.
PowerSystems.get_states
— Methodget_states(value::HydroTurbineGov) -> Vector{Symbol}
Get HydroTurbineGov
states
.
PowerSystems.get_states_types
— Methodget_states_types(
value::HydroTurbineGov
) -> Vector{StateTypes}
Get HydroTurbineGov
states_types
.
PowerSystems.set_At!
— Methodset_At!(value::HydroTurbineGov, val) -> Any
Set HydroTurbineGov
At
.
PowerSystems.set_D_T!
— Methodset_D_T!(value::HydroTurbineGov, val) -> Any
Set HydroTurbineGov
D_T
.
PowerSystems.set_P_ref!
— Methodset_P_ref!(value::HydroTurbineGov, val) -> Any
Set HydroTurbineGov
P_ref
.
PowerSystems.set_R!
— Methodset_R!(value::HydroTurbineGov, val) -> Any
Set HydroTurbineGov
R
.
PowerSystems.set_Tf!
— Methodset_Tf!(value::HydroTurbineGov, val) -> Any
Set HydroTurbineGov
Tf
.
PowerSystems.set_Tg!
— Methodset_Tg!(value::HydroTurbineGov, val) -> Any
Set HydroTurbineGov
Tg
.
PowerSystems.set_Tr!
— Methodset_Tr!(value::HydroTurbineGov, val) -> Any
Set HydroTurbineGov
Tr
.
PowerSystems.set_Tw!
— Methodset_Tw!(value::HydroTurbineGov, val) -> Any
Set HydroTurbineGov
Tw
.
PowerSystems.set_VELM!
— Methodset_VELM!(value::HydroTurbineGov, val) -> Any
Set HydroTurbineGov
VELM
.
PowerSystems.set_ext!
— Methodset_ext!(value::HydroTurbineGov, val) -> Any
Set HydroTurbineGov
ext
.
PowerSystems.set_gate_position_limits!
— Methodset_gate_position_limits!(
value::HydroTurbineGov,
val
) -> Any
Set HydroTurbineGov
gate_position_limits
.
PowerSystems.set_q_nl!
— Methodset_q_nl!(value::HydroTurbineGov, val) -> Any
Set HydroTurbineGov
q_nl
.
PowerSystems.set_r!
— Methodset_r!(value::HydroTurbineGov, val) -> Any
Set HydroTurbineGov
r
.
PowerSystems.set_states_types!
— Methodset_states_types!(value::HydroTurbineGov, val) -> Any
Set HydroTurbineGov
states_types
.
IEEETurbineGov1
PowerSystems.IEEETurbineGov1
— Typemutable struct IEEETurbineGov1 <: TurbineGov
K::Float64
T1::Float64
T2::Float64
T3::Float64
U0::Float64
U_c::Float64
valve_position_limits::MinMax
T4::Float64
K1::Float64
K2::Float64
T5::Float64
K3::Float64
K4::Float64
T6::Float64
K5::Float64
K6::Float64
T7::Float64
K7::Float64
K8::Float64
P_ref::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int
states_types::Vector{StateTypes}
internal::InfrastructureSystemsInternal
end
IEEE Type 1 Speed-Governing Model
Arguments
K::Float64
: Governor Gain, validation range:(5, 30)
T1::Float64
: Input Filter Lag, validation range:(0, 5)
T2::Float64
: Input Filter Lead, validation range:(0, 10)
T3::Float64
: Valve position Time Constant, validation range:(eps(), 1)
U0::Float64
: Maximum Valve Opening Rate, validation range:(0.01, 0.03)
U_c::Float64
: Maximum Valve closing rate, validation range:(-0.3, 0)
valve_position_limits::MinMax
: Valve position limits in MWT4::Float64
: Time Constant inlet steam, validation range:(0, 1)
K1::Float64
: Fraction of high presure shaft power, validation range:(-2, 1)
K2::Float64
: Fraction of low presure shaft power, validation range:(0, nothing)
T5::Float64
: Time constant for second boiler pass, validation range:(0, 10)
K3::Float64
: Fraction of high presure shaft power second boiler pass, validation range:(0, 0.5)
K4::Float64
: Fraction of low presure shaft power second boiler pass, validation range:(0, 0.5)
T6::Float64
: Time constant for third boiler pass, validation range:(0, 10)
K5::Float64
: Fraction of high presure shaft power third boiler pass, validation range:(0, 0.35)
K6::Float64
: Fraction of low presure shaft power third boiler pass, validation range:(0, 0.55)
T7::Float64
: Time constant for fourth boiler pass, validation range:(0, 10)
K7::Float64
: Fraction of high presure shaft power fourth boiler pass, validation range:(0, 0.3)
K8::Float64
: Fraction of low presure shaft power fourth boiler pass, validation range:(0, 0.3)
P_ref::Float64
: (default:1.0
) Reference Power Set-point (pu), 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.states::Vector{Symbol}
: (Do not modify.) The states of the IEEETurbineGov model are:
x_g1: First Governor integrator,
x_g2: Governor output,
x_g3: First Turbine integrator,
x_g4: Second Turbine Integrator,
x_g5: Third Turbine Integrator,
x_g6: Fourth Turbine Integrator,
n_states::Int
: (Do not modify.) IEEEG1 has 6 statesstates_types::Vector{StateTypes}
: (Do not modify.) IEEEG1 has 6 differential statesinternal::InfrastructureSystemsInternal
: (Do not modify.) PowerSystems.jl internal reference
PowerSystems.get_K
— Methodget_K(value::IEEETurbineGov1) -> Float64
Get IEEETurbineGov1
K
.
PowerSystems.get_K1
— Methodget_K1(value::IEEETurbineGov1) -> Float64
Get IEEETurbineGov1
K1
.
PowerSystems.get_K2
— Methodget_K2(value::IEEETurbineGov1) -> Float64
Get IEEETurbineGov1
K2
.
PowerSystems.get_K3
— Methodget_K3(value::IEEETurbineGov1) -> Float64
Get IEEETurbineGov1
K3
.
PowerSystems.get_K4
— Methodget_K4(value::IEEETurbineGov1) -> Float64
Get IEEETurbineGov1
K4
.
PowerSystems.get_K5
— Methodget_K5(value::IEEETurbineGov1) -> Float64
Get IEEETurbineGov1
K5
.
PowerSystems.get_K6
— Methodget_K6(value::IEEETurbineGov1) -> Float64
Get IEEETurbineGov1
K6
.
PowerSystems.get_K7
— Methodget_K7(value::IEEETurbineGov1) -> Float64
Get IEEETurbineGov1
K7
.
PowerSystems.get_K8
— Methodget_K8(value::IEEETurbineGov1) -> Float64
Get IEEETurbineGov1
K8
.
PowerSystems.get_P_ref
— Methodget_P_ref(value::IEEETurbineGov1) -> Float64
Get IEEETurbineGov1
P_ref
.
PowerSystems.get_T1
— Methodget_T1(value::IEEETurbineGov1) -> Float64
Get IEEETurbineGov1
T1
.
PowerSystems.get_T2
— Methodget_T2(value::IEEETurbineGov1) -> Float64
Get IEEETurbineGov1
T2
.
PowerSystems.get_T3
— Methodget_T3(value::IEEETurbineGov1) -> Float64
Get IEEETurbineGov1
T3
.
PowerSystems.get_T4
— Methodget_T4(value::IEEETurbineGov1) -> Float64
Get IEEETurbineGov1
T4
.
PowerSystems.get_T5
— Methodget_T5(value::IEEETurbineGov1) -> Float64
Get IEEETurbineGov1
T5
.
PowerSystems.get_T6
— Methodget_T6(value::IEEETurbineGov1) -> Float64
Get IEEETurbineGov1
T6
.
PowerSystems.get_T7
— Methodget_T7(value::IEEETurbineGov1) -> Float64
Get IEEETurbineGov1
T7
.
PowerSystems.get_U0
— Methodget_U0(value::IEEETurbineGov1) -> Float64
Get IEEETurbineGov1
U0
.
PowerSystems.get_U_c
— Methodget_U_c(value::IEEETurbineGov1) -> Float64
Get IEEETurbineGov1
U_c
.
PowerSystems.get_ext
— Methodget_ext(value::IEEETurbineGov1) -> Dict{String, Any}
Get IEEETurbineGov1
ext
.
PowerSystems.get_n_states
— Methodget_n_states(value::IEEETurbineGov1) -> Int64
Get IEEETurbineGov1
n_states
.
PowerSystems.get_states
— Methodget_states(value::IEEETurbineGov1) -> Vector{Symbol}
Get IEEETurbineGov1
states
.
PowerSystems.get_states_types
— Methodget_states_types(
value::IEEETurbineGov1
) -> Vector{StateTypes}
Get IEEETurbineGov1
states_types
.
PowerSystems.get_valve_position_limits
— Methodget_valve_position_limits(
value::IEEETurbineGov1
) -> @NamedTuple{min::Float64, max::Float64}
Get IEEETurbineGov1
valve_position_limits
.
PowerSystems.set_K!
— Methodset_K!(value::IEEETurbineGov1, val) -> Any
Set IEEETurbineGov1
K
.
PowerSystems.set_K1!
— Methodset_K1!(value::IEEETurbineGov1, val) -> Any
Set IEEETurbineGov1
K1
.
PowerSystems.set_K2!
— Methodset_K2!(value::IEEETurbineGov1, val) -> Any
Set IEEETurbineGov1
K2
.
PowerSystems.set_K3!
— Methodset_K3!(value::IEEETurbineGov1, val) -> Any
Set IEEETurbineGov1
K3
.
PowerSystems.set_K4!
— Methodset_K4!(value::IEEETurbineGov1, val) -> Any
Set IEEETurbineGov1
K4
.
PowerSystems.set_K5!
— Methodset_K5!(value::IEEETurbineGov1, val) -> Any
Set IEEETurbineGov1
K5
.
PowerSystems.set_K6!
— Methodset_K6!(value::IEEETurbineGov1, val) -> Any
Set IEEETurbineGov1
K6
.
PowerSystems.set_K7!
— Methodset_K7!(value::IEEETurbineGov1, val) -> Any
Set IEEETurbineGov1
K7
.
PowerSystems.set_K8!
— Methodset_K8!(value::IEEETurbineGov1, val) -> Any
Set IEEETurbineGov1
K8
.
PowerSystems.set_P_ref!
— Methodset_P_ref!(value::IEEETurbineGov1, val) -> Any
Set IEEETurbineGov1
P_ref
.
PowerSystems.set_T1!
— Methodset_T1!(value::IEEETurbineGov1, val) -> Any
Set IEEETurbineGov1
T1
.
PowerSystems.set_T2!
— Methodset_T2!(value::IEEETurbineGov1, val) -> Any
Set IEEETurbineGov1
T2
.
PowerSystems.set_T3!
— Methodset_T3!(value::IEEETurbineGov1, val) -> Any
Set IEEETurbineGov1
T3
.
PowerSystems.set_T4!
— Methodset_T4!(value::IEEETurbineGov1, val) -> Any
Set IEEETurbineGov1
T4
.
PowerSystems.set_T5!
— Methodset_T5!(value::IEEETurbineGov1, val) -> Any
Set IEEETurbineGov1
T5
.
PowerSystems.set_T6!
— Methodset_T6!(value::IEEETurbineGov1, val) -> Any
Set IEEETurbineGov1
T6
.
PowerSystems.set_T7!
— Methodset_T7!(value::IEEETurbineGov1, val) -> Any
Set IEEETurbineGov1
T7
.
PowerSystems.set_U0!
— Methodset_U0!(value::IEEETurbineGov1, val) -> Any
Set IEEETurbineGov1
U0
.
PowerSystems.set_U_c!
— Methodset_U_c!(value::IEEETurbineGov1, val) -> Any
Set IEEETurbineGov1
U_c
.
PowerSystems.set_ext!
— Methodset_ext!(value::IEEETurbineGov1, val) -> Any
Set IEEETurbineGov1
ext
.
PowerSystems.set_states_types!
— Methodset_states_types!(value::IEEETurbineGov1, val) -> Any
Set IEEETurbineGov1
states_types
.
PowerSystems.set_valve_position_limits!
— Methodset_valve_position_limits!(
value::IEEETurbineGov1,
val
) -> Any
Set IEEETurbineGov1
valve_position_limits
.
PIDGOV
PowerSystems.PIDGOV
— Typemutable struct PIDGOV <: TurbineGov
feedback_flag::Int
Rperm::Float64
T_reg::Float64
Kp::Float64
Ki::Float64
Kd::Float64
Ta::Float64
Tb::Float64
D_turb::Float64
gate_openings::Tuple{Float64, Float64, Float64}
power_gate_openings::Tuple{Float64, Float64, Float64}
G_lim::MinMax
A_tw::Float64
Tw::Float64
V_lim::MinMax
P_ref::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int
states_types::Vector{StateTypes}
internal::InfrastructureSystemsInternal
end
Hydro Turbine-Governor with PID controller.
Arguments
feedback_flag::Int
: Feedback signal for governor droop: 0 for electrical power, and 1 for gate position., validation range:(0, 1)
Rperm::Float64
: Speed permanent droop parameter, validation range:(0, nothing)
T_reg::Float64
: Speed detector time constant, validation range:(0, nothing)
Kp::Float64
: Governor proportional gain, validation range:(0, nothing)
Ki::Float64
: Governor integral gain, validation range:(0, nothing)
Kd::Float64
: Governor derivative gain, validation range:(0, nothing)
Ta::Float64
: Governor derivative time constant, validation range:(0, nothing)
Tb::Float64
: Gate-servo time constant, validation range:(0, nothing)
D_turb::Float64
: Turbine damping factor, validation range:(0, nothing)
gate_openings::Tuple{Float64, Float64, Float64}
: Gate-opening speed at different loadspower_gate_openings::Tuple{Float64, Float64, Float64}
: Power at gate_openingsG_lim::MinMax
: Minimum/Maximum Gate openings(G_min, G_max)
.A_tw::Float64
: Factor multiplying Tw, validation range:(eps(), nothing)
Tw::Float64
: Water inertia time constant, sec, validation range:(eps(), nothing)
V_lim::MinMax
: Gate opening velocity limits(G_min, G_max)
.P_ref::Float64
: (default:1.0
) Reference Power Set-point (pu), 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.states::Vector{Symbol}
: (Do not modify.) The states of the PIDGOV model are:
x_g1: Filtered input measurement,
x_g2: PI block internal state,
x_g3: First regulator state,
x_g4: Derivative block internal state,
x_g5: Second regulator state,
x_g6: Gate position state,
x_g7: Water inertia state
n_states::Int
: (Do not modify.) PIDGOV has 7 statesstates_types::Vector{StateTypes}
: (Do not modify.) PIDGOV has 7 differential statesinternal::InfrastructureSystemsInternal
: (Do not modify.) PowerSystems.jl internal reference
PowerSystems.get_A_tw
— Methodget_A_tw(value::PIDGOV) -> Float64
Get PIDGOV
A_tw
.
PowerSystems.get_D_turb
— Methodget_D_turb(value::PIDGOV) -> Float64
Get PIDGOV
D_turb
.
PowerSystems.get_G_lim
— Methodget_G_lim(
value::PIDGOV
) -> @NamedTuple{min::Float64, max::Float64}
Get PIDGOV
G_lim
.
PowerSystems.get_Kd
— Methodget_Kd(value::PIDGOV) -> Float64
Get PIDGOV
Kd
.
PowerSystems.get_Ki
— Methodget_Ki(value::PIDGOV) -> Float64
Get PIDGOV
Ki
.
PowerSystems.get_Kp
— Methodget_Kp(value::PIDGOV) -> Float64
Get PIDGOV
Kp
.
PowerSystems.get_P_ref
— Methodget_P_ref(value::PIDGOV) -> Float64
Get PIDGOV
P_ref
.
PowerSystems.get_Rperm
— Methodget_Rperm(value::PIDGOV) -> Float64
Get PIDGOV
Rperm
.
PowerSystems.get_T_reg
— Methodget_T_reg(value::PIDGOV) -> Float64
Get PIDGOV
T_reg
.
PowerSystems.get_Ta
— Methodget_Ta(value::PIDGOV) -> Float64
Get PIDGOV
Ta
.
PowerSystems.get_Tb
— Methodget_Tb(value::PIDGOV) -> Float64
Get PIDGOV
Tb
.
PowerSystems.get_Tw
— Methodget_Tw(value::PIDGOV) -> Float64
Get PIDGOV
Tw
.
PowerSystems.get_V_lim
— Methodget_V_lim(
value::PIDGOV
) -> @NamedTuple{min::Float64, max::Float64}
Get PIDGOV
V_lim
.
PowerSystems.get_ext
— Methodget_ext(value::PIDGOV) -> Dict{String, Any}
Get PIDGOV
ext
.
PowerSystems.get_feedback_flag
— Methodget_feedback_flag(value::PIDGOV) -> Int64
Get PIDGOV
feedback_flag
.
PowerSystems.get_gate_openings
— Methodget_gate_openings(
value::PIDGOV
) -> Tuple{Float64, Float64, Float64}
Get PIDGOV
gate_openings
.
PowerSystems.get_n_states
— Methodget_n_states(value::PIDGOV) -> Int64
Get PIDGOV
n_states
.
PowerSystems.get_power_gate_openings
— Methodget_power_gate_openings(
value::PIDGOV
) -> Tuple{Float64, Float64, Float64}
Get PIDGOV
power_gate_openings
.
PowerSystems.get_states
— Methodget_states(value::PIDGOV) -> Vector{Symbol}
Get PIDGOV
states
.
PowerSystems.get_states_types
— Methodget_states_types(value::PIDGOV) -> Vector{StateTypes}
Get PIDGOV
states_types
.
PowerSystems.set_A_tw!
— Methodset_A_tw!(value::PIDGOV, val) -> Any
Set PIDGOV
A_tw
.
PowerSystems.set_D_turb!
— Methodset_D_turb!(value::PIDGOV, val) -> Any
Set PIDGOV
D_turb
.
PowerSystems.set_G_lim!
— Methodset_G_lim!(value::PIDGOV, val) -> Any
Set PIDGOV
G_lim
.
PowerSystems.set_Kd!
— Methodset_Kd!(value::PIDGOV, val) -> Any
Set PIDGOV
Kd
.
PowerSystems.set_Ki!
— Methodset_Ki!(value::PIDGOV, val) -> Any
Set PIDGOV
Ki
.
PowerSystems.set_Kp!
— Methodset_Kp!(value::PIDGOV, val) -> Any
Set PIDGOV
Kp
.
PowerSystems.set_P_ref!
— Methodset_P_ref!(value::PIDGOV, val) -> Any
Set PIDGOV
P_ref
.
PowerSystems.set_Rperm!
— Methodset_Rperm!(value::PIDGOV, val) -> Any
Set PIDGOV
Rperm
.
PowerSystems.set_T_reg!
— Methodset_T_reg!(value::PIDGOV, val) -> Any
Set PIDGOV
T_reg
.
PowerSystems.set_Ta!
— Methodset_Ta!(value::PIDGOV, val) -> Any
Set PIDGOV
Ta
.
PowerSystems.set_Tb!
— Methodset_Tb!(value::PIDGOV, val) -> Any
Set PIDGOV
Tb
.
PowerSystems.set_Tw!
— Methodset_Tw!(value::PIDGOV, val) -> Any
Set PIDGOV
Tw
.
PowerSystems.set_V_lim!
— Methodset_V_lim!(value::PIDGOV, val) -> Any
Set PIDGOV
V_lim
.
PowerSystems.set_ext!
— Methodset_ext!(value::PIDGOV, val) -> Any
Set PIDGOV
ext
.
PowerSystems.set_feedback_flag!
— Methodset_feedback_flag!(value::PIDGOV, val) -> Any
Set PIDGOV
feedback_flag
.
PowerSystems.set_gate_openings!
— Methodset_gate_openings!(value::PIDGOV, val) -> Any
Set PIDGOV
gate_openings
.
PowerSystems.set_power_gate_openings!
— Methodset_power_gate_openings!(value::PIDGOV, val) -> Any
Set PIDGOV
power_gate_openings
.
PowerSystems.set_states_types!
— Methodset_states_types!(value::PIDGOV, val) -> Any
Set PIDGOV
states_types
.
SteamTurbineGov1
PowerSystems.SteamTurbineGov1
— Typemutable struct SteamTurbineGov1 <: TurbineGov
R::Float64
T1::Float64
valve_position_limits::MinMax
T2::Float64
T3::Float64
D_T::Float64
DB_h::Float64
DB_l::Float64
T_rate::Float64
P_ref::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int
states_types::Vector{StateTypes}
internal::InfrastructureSystemsInternal
end
Steam Turbine-Governor. This model considers both TGOV1 or TGOV1DU in PSS/E
Arguments
R::Float64
: Droop parameter, validation range:(0, 0.1)
T1::Float64
: Governor time constant, validation range:(eps(), 0.5)
valve_position_limits::MinMax
: Valve position limitsT2::Float64
: Lead Lag Lead Time constant , validation range:(0, nothing)
T3::Float64
: Lead Lag Lag Time constant , validation range:(eps(), 10)
D_T::Float64
: Turbine Damping, validation range:(0, 0.5)
DB_h::Float64
: Deadband for overspeed, validation range:(0, nothing)
DB_l::Float64
: Deadband for underspeed, validation range:(nothing, 0)
T_rate::Float64
: Turbine Rate (MW). If zero, generator base is used, validation range:(0, nothing)
P_ref::Float64
: (default:1.0
) Reference Power Set-point (pu), 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.states::Vector{Symbol}
: (Do not modify.) The states of the SteamTurbineGov1 model are:
x_g1: Valve Opening,
x_g2: Lead-lag state
n_states::Int
: (Do not modify.) TGOV1 has 2 statesstates_types::Vector{StateTypes}
: (Do not modify.) TGOV1 has 2 differential statesinternal::InfrastructureSystemsInternal
: (Do not modify.) PowerSystems.jl internal reference
PowerSystems.get_DB_h
— Methodget_DB_h(value::SteamTurbineGov1) -> Float64
Get SteamTurbineGov1
DB_h
.
PowerSystems.get_DB_l
— Methodget_DB_l(value::SteamTurbineGov1) -> Float64
Get SteamTurbineGov1
DB_l
.
PowerSystems.get_D_T
— Methodget_D_T(value::SteamTurbineGov1) -> Float64
Get SteamTurbineGov1
D_T
.
PowerSystems.get_P_ref
— Methodget_P_ref(value::SteamTurbineGov1) -> Float64
Get SteamTurbineGov1
P_ref
.
PowerSystems.get_R
— Methodget_R(value::SteamTurbineGov1) -> Float64
Get SteamTurbineGov1
R
.
PowerSystems.get_T1
— Methodget_T1(value::SteamTurbineGov1) -> Float64
Get SteamTurbineGov1
T1
.
PowerSystems.get_T2
— Methodget_T2(value::SteamTurbineGov1) -> Float64
Get SteamTurbineGov1
T2
.
PowerSystems.get_T3
— Methodget_T3(value::SteamTurbineGov1) -> Float64
Get SteamTurbineGov1
T3
.
PowerSystems.get_T_rate
— Methodget_T_rate(value::SteamTurbineGov1) -> Float64
Get SteamTurbineGov1
T_rate
.
PowerSystems.get_ext
— Methodget_ext(value::SteamTurbineGov1) -> Dict{String, Any}
Get SteamTurbineGov1
ext
.
PowerSystems.get_n_states
— Methodget_n_states(value::SteamTurbineGov1) -> Int64
Get SteamTurbineGov1
n_states
.
PowerSystems.get_states
— Methodget_states(value::SteamTurbineGov1) -> Vector{Symbol}
Get SteamTurbineGov1
states
.
PowerSystems.get_states_types
— Methodget_states_types(
value::SteamTurbineGov1
) -> Vector{StateTypes}
Get SteamTurbineGov1
states_types
.
PowerSystems.get_valve_position_limits
— Methodget_valve_position_limits(
value::SteamTurbineGov1
) -> @NamedTuple{min::Float64, max::Float64}
Get SteamTurbineGov1
valve_position_limits
.
PowerSystems.set_DB_h!
— Methodset_DB_h!(value::SteamTurbineGov1, val) -> Any
Set SteamTurbineGov1
DB_h
.
PowerSystems.set_DB_l!
— Methodset_DB_l!(value::SteamTurbineGov1, val) -> Any
Set SteamTurbineGov1
DB_l
.
PowerSystems.set_D_T!
— Methodset_D_T!(value::SteamTurbineGov1, val) -> Any
Set SteamTurbineGov1
D_T
.
PowerSystems.set_P_ref!
— Methodset_P_ref!(value::SteamTurbineGov1, val) -> Any
Set SteamTurbineGov1
P_ref
.
PowerSystems.set_R!
— Methodset_R!(value::SteamTurbineGov1, val) -> Any
Set SteamTurbineGov1
R
.
PowerSystems.set_T1!
— Methodset_T1!(value::SteamTurbineGov1, val) -> Any
Set SteamTurbineGov1
T1
.
PowerSystems.set_T2!
— Methodset_T2!(value::SteamTurbineGov1, val) -> Any
Set SteamTurbineGov1
T2
.
PowerSystems.set_T3!
— Methodset_T3!(value::SteamTurbineGov1, val) -> Any
Set SteamTurbineGov1
T3
.
PowerSystems.set_T_rate!
— Methodset_T_rate!(value::SteamTurbineGov1, val) -> Any
Set SteamTurbineGov1
T_rate
.
PowerSystems.set_ext!
— Methodset_ext!(value::SteamTurbineGov1, val) -> Any
Set SteamTurbineGov1
ext
.
PowerSystems.set_states_types!
— Methodset_states_types!(value::SteamTurbineGov1, val) -> Any
Set SteamTurbineGov1
states_types
.
PowerSystems.set_valve_position_limits!
— Methodset_valve_position_limits!(
value::SteamTurbineGov1,
val
) -> Any
Set SteamTurbineGov1
valve_position_limits
.
TGFixed
PowerSystems.TGFixed
— Typemutable struct TGFixed <: TurbineGov
efficiency::Float64
P_ref::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int
internal::InfrastructureSystemsInternal
end
Parameters of a fixed Turbine Governor that returns a fixed mechanical torque given by the product of P_ref*efficiency
Arguments
efficiency::Float64
: Efficiency factor that multipliesP_ref
, validation range:(0, nothing)
P_ref::Float64
: (default:1.0
) Reference Power Set-point (pu), 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.states::Vector{Symbol}
: (Do not modify.) TGFixed has no statesn_states::Int
: (Do not modify.) TGFixed has no statesinternal::InfrastructureSystemsInternal
: (Do not modify.) PowerSystems.jl internal reference
PowerSystems.get_P_ref
— Methodget_P_ref(value::TGFixed) -> Float64
Get TGFixed
P_ref
.
PowerSystems.get_efficiency
— Methodget_efficiency(value::TGFixed) -> Float64
Get TGFixed
efficiency
.
PowerSystems.get_ext
— Methodget_ext(value::TGFixed) -> Dict{String, Any}
Get TGFixed
ext
.
PowerSystems.get_n_states
— Methodget_n_states(value::TGFixed) -> Int64
Get TGFixed
n_states
.
PowerSystems.get_states
— Methodget_states(value::TGFixed) -> Vector{Symbol}
Get TGFixed
states
.
PowerSystems.set_P_ref!
— Methodset_P_ref!(value::TGFixed, val) -> Any
Set TGFixed
P_ref
.
PowerSystems.set_efficiency!
— Methodset_efficiency!(value::TGFixed, val) -> Any
Set TGFixed
efficiency
.
PowerSystems.set_ext!
— Methodset_ext!(value::TGFixed, val) -> Any
Set TGFixed
ext
.
TGSimple
PowerSystems.TGSimple
— Typemutable struct TGSimple <: TurbineGov
d_t::Float64
Tm::Float64
P_ref::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int
internal::InfrastructureSystemsInternal
end
Parameters of a Simple one-state Turbine Governor
Arguments
d_t::Float64
: Inverse Droop parameter, validation range:(0, nothing)
Tm::Float64
: Turbine Governor Low-Pass Time Constant [s], validation range:(0, nothing)
P_ref::Float64
: (default:1.0
) Reference Power Set-point (pu), 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.states::Vector{Symbol}
: (Do not modify.) The states of the TGSimple model are:
τm: mechanical torque
n_states::Int
: (Do not modify.) TGSimple has 1 stateinternal::InfrastructureSystemsInternal
: (Do not modify.) PowerSystems.jl internal reference
PowerSystems.get_P_ref
— Methodget_P_ref(value::TGSimple) -> Float64
Get TGSimple
P_ref
.
PowerSystems.get_Tm
— Methodget_Tm(value::TGSimple) -> Float64
Get TGSimple
Tm
.
PowerSystems.get_d_t
— Methodget_d_t(value::TGSimple) -> Float64
Get TGSimple
d_t
.
PowerSystems.get_ext
— Methodget_ext(value::TGSimple) -> Dict{String, Any}
Get TGSimple
ext
.
PowerSystems.get_n_states
— Methodget_n_states(value::TGSimple) -> Int64
Get TGSimple
n_states
.
PowerSystems.get_states
— Methodget_states(value::TGSimple) -> Vector{Symbol}
Get TGSimple
states
.
PowerSystems.set_P_ref!
— Methodset_P_ref!(value::TGSimple, val) -> Any
Set TGSimple
P_ref
.
PowerSystems.set_Tm!
— Methodset_Tm!(value::TGSimple, val) -> Any
Set TGSimple
Tm
.
PowerSystems.set_d_t!
— Methodset_d_t!(value::TGSimple, val) -> Any
Set TGSimple
d_t
.
PowerSystems.set_ext!
— Methodset_ext!(value::TGSimple, val) -> Any
Set TGSimple
ext
.
TGTypeI
PowerSystems.TGTypeI
— Typemutable struct TGTypeI <: TurbineGov
R::Float64
Ts::Float64
Tc::Float64
T3::Float64
T4::Float64
T5::Float64
valve_position_limits::MinMax
P_ref::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int
internal::InfrastructureSystemsInternal
end
Parameters of a Turbine Governor Type I
Arguments
R::Float64
: Droop parameter, validation range:(0, nothing)
Ts::Float64
: Governor time constant, validation range:(0, nothing)
Tc::Float64
: Servo time constant, validation range:(0, nothing)
T3::Float64
: Transient gain time constant, validation range:(0, nothing)
T4::Float64
: Power fraction time constant, validation range:(0, nothing)
T5::Float64
: Reheat time constant, validation range:(0, nothing)
valve_position_limits::MinMax
: Valve position limits in MWP_ref::Float64
: (default:1.0
) Reference Power Set-point (pu), 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.states::Vector{Symbol}
: (Do not modify.) The states of the TGTypeI model are:
x_g1: Governor state,
x_g2: Servo state,
x_g3: Reheat state
n_states::Int
: (Do not modify.) TGTypeI has 3 statesinternal::InfrastructureSystemsInternal
: (Do not modify.) PowerSystems.jl internal reference
PowerSystems.get_P_ref
— Methodget_P_ref(value::TGTypeI) -> Float64
Get TGTypeI
P_ref
.
PowerSystems.get_R
— Methodget_R(value::TGTypeI) -> Float64
Get TGTypeI
R
.
PowerSystems.get_T3
— Methodget_T3(value::TGTypeI) -> Float64
Get TGTypeI
T3
.
PowerSystems.get_T4
— Methodget_T4(value::TGTypeI) -> Float64
Get TGTypeI
T4
.
PowerSystems.get_T5
— Methodget_T5(value::TGTypeI) -> Float64
Get TGTypeI
T5
.
PowerSystems.get_Tc
— Methodget_Tc(value::TGTypeI) -> Float64
Get TGTypeI
Tc
.
PowerSystems.get_Ts
— Methodget_Ts(value::TGTypeI) -> Float64
Get TGTypeI
Ts
.
PowerSystems.get_ext
— Methodget_ext(value::TGTypeI) -> Dict{String, Any}
Get TGTypeI
ext
.
PowerSystems.get_n_states
— Methodget_n_states(value::TGTypeI) -> Int64
Get TGTypeI
n_states
.
PowerSystems.get_states
— Methodget_states(value::TGTypeI) -> Vector{Symbol}
Get TGTypeI
states
.
PowerSystems.get_valve_position_limits
— Methodget_valve_position_limits(
value::TGTypeI
) -> @NamedTuple{min::Float64, max::Float64}
Get TGTypeI
valve_position_limits
.
PowerSystems.set_P_ref!
— Methodset_P_ref!(value::TGTypeI, val) -> Any
Set TGTypeI
P_ref
.
PowerSystems.set_R!
— Methodset_R!(value::TGTypeI, val) -> Any
Set TGTypeI
R
.
PowerSystems.set_T3!
— Methodset_T3!(value::TGTypeI, val) -> Any
Set TGTypeI
T3
.
PowerSystems.set_T4!
— Methodset_T4!(value::TGTypeI, val) -> Any
Set TGTypeI
T4
.
PowerSystems.set_T5!
— Methodset_T5!(value::TGTypeI, val) -> Any
Set TGTypeI
T5
.
PowerSystems.set_Tc!
— Methodset_Tc!(value::TGTypeI, val) -> Any
Set TGTypeI
Tc
.
PowerSystems.set_Ts!
— Methodset_Ts!(value::TGTypeI, val) -> Any
Set TGTypeI
Ts
.
PowerSystems.set_ext!
— Methodset_ext!(value::TGTypeI, val) -> Any
Set TGTypeI
ext
.
PowerSystems.set_valve_position_limits!
— Methodset_valve_position_limits!(value::TGTypeI, val) -> Any
Set TGTypeI
valve_position_limits
.
TGTypeII
PowerSystems.TGTypeII
— Typemutable struct TGTypeII <: TurbineGov
R::Float64
T1::Float64
T2::Float64
τ_limits::MinMax
P_ref::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int
internal::InfrastructureSystemsInternal
end
Parameters of a Turbine Governor Type II
Arguments
R::Float64
: Droop parameter, validation range:(0, nothing)
T1::Float64
: Transient gain time constant, validation range:(0, nothing)
T2::Float64
: Power fraction time constant, validation range:(0, nothing)
τ_limits::MinMax
: Power into the governor limitsP_ref::Float64
: (default:1.0
) Reference Power Set-point (pu), 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.states::Vector{Symbol}
: (Do not modify.) The states of the TGTypeI model are:
x_g1: lead-lag state
n_states::Int
: (Do not modify.) TGTypeII has 1 stateinternal::InfrastructureSystemsInternal
: (Do not modify.) PowerSystems.jl internal reference
PowerSystems.get_P_ref
— Methodget_P_ref(value::TGTypeII) -> Float64
Get TGTypeII
P_ref
.
PowerSystems.get_R
— Methodget_R(value::TGTypeII) -> Float64
Get TGTypeII
R
.
PowerSystems.get_T1
— Methodget_T1(value::TGTypeII) -> Float64
Get TGTypeII
T1
.
PowerSystems.get_T2
— Methodget_T2(value::TGTypeII) -> Float64
Get TGTypeII
T2
.
PowerSystems.get_ext
— Methodget_ext(value::TGTypeII) -> Dict{String, Any}
Get TGTypeII
ext
.
PowerSystems.get_n_states
— Methodget_n_states(value::TGTypeII) -> Int64
Get TGTypeII
n_states
.
PowerSystems.get_states
— Methodget_states(value::TGTypeII) -> Vector{Symbol}
Get TGTypeII
states
.
PowerSystems.get_τ_limits
— Methodget_τ_limits(
value::TGTypeII
) -> @NamedTuple{min::Float64, max::Float64}
Get TGTypeII
τ_limits
.
PowerSystems.set_P_ref!
— Methodset_P_ref!(value::TGTypeII, val) -> Any
Set TGTypeII
P_ref
.
PowerSystems.set_R!
— Methodset_R!(value::TGTypeII, val) -> Any
Set TGTypeII
R
.
PowerSystems.set_T1!
— Methodset_T1!(value::TGTypeII, val) -> Any
Set TGTypeII
T1
.
PowerSystems.set_T2!
— Methodset_T2!(value::TGTypeII, val) -> Any
Set TGTypeII
T2
.
PowerSystems.set_ext!
— Methodset_ext!(value::TGTypeII, val) -> Any
Set TGTypeII
ext
.
PowerSystems.set_τ_limits!
— Methodset_τ_limits!(value::TGTypeII, val) -> Any
Set TGTypeII
τ_limits
.
WPIDHY
PowerSystems.WPIDHY
— Typemutable struct WPIDHY <: TurbineGov
T_reg::Float64
reg::Float64
Kp::Float64
Ki::Float64
Kd::Float64
Ta::Float64
Tb::Float64
V_lim::MinMax
G_lim::MinMax
Tw::Float64
P_lim::MinMax
D::Float64
gate_openings::Tuple{Float64, Float64, Float64}
power_gate_openings::Tuple{Float64, Float64, Float64}
P_ref::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int
states_types::Vector{StateTypes}
internal::InfrastructureSystemsInternal
end
Woodward PID Hydro Governor
Arguments
T_reg::Float64
: Input time constant of the governor in s, validation range:(0, nothing)
reg::Float64
: Input governor gain, validation range:(0, nothing)
Kp::Float64
: Governor proportional gain, validation range:(0, nothing)
Ki::Float64
: Governor integral gain, validation range:(0, nothing)
Kd::Float64
: Governor derivative gain, validation range:(0, nothing)
Ta::Float64
: Governor derivative/high-frequency time constant, validation range:(0, nothing)
Tb::Float64
: Gate-servo time constant, validation range:(0, nothing)
V_lim::MinMax
: Gate opening velocity limits(G_min, G_max)
.G_lim::MinMax
: Minimum/Maximum Gate velocity(G_min, G_max)
.Tw::Float64
: Water inertia time constant, sec, validation range:(eps(), nothing)
P_lim::MinMax
: Minimum/Maximum Gate openings(P_min, P_max)
.D::Float64
: Turbine damping coefficient, validation range:(0, nothing)
gate_openings::Tuple{Float64, Float64, Float64}
: Gate-opening speed at different loadspower_gate_openings::Tuple{Float64, Float64, Float64}
: Power at gate_openingsP_ref::Float64
: (default:1.0
) Reference Power Set-point (pu), 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.states::Vector{Symbol}
: (Do not modify.) The states of the PIDGOV model are:
x_g1: Filtered input measurement,
x_g2: PI block internal state,
x_g3: First regulator state,
x_g4: Derivative block internal state,
x_g5: Second regulator state,
x_g6: Gate position state,
x_g7: Water inertia state
n_states::Int
: (Do not modify.) PIDGOV has 7 statesstates_types::Vector{StateTypes}
: (Do not modify.) PIDGOV has 7 differential statesinternal::InfrastructureSystemsInternal
: (Do not modify.) PowerSystems.jl internal reference
PowerSystems.get_D
— Methodget_D(value::WPIDHY) -> Float64
Get WPIDHY
D
.
PowerSystems.get_G_lim
— Methodget_G_lim(
value::WPIDHY
) -> @NamedTuple{min::Float64, max::Float64}
Get WPIDHY
G_lim
.
PowerSystems.get_Kd
— Methodget_Kd(value::WPIDHY) -> Float64
Get WPIDHY
Kd
.
PowerSystems.get_Ki
— Methodget_Ki(value::WPIDHY) -> Float64
Get WPIDHY
Ki
.
PowerSystems.get_Kp
— Methodget_Kp(value::WPIDHY) -> Float64
Get WPIDHY
Kp
.
PowerSystems.get_P_lim
— Methodget_P_lim(
value::WPIDHY
) -> @NamedTuple{min::Float64, max::Float64}
Get WPIDHY
P_lim
.
PowerSystems.get_P_ref
— Methodget_P_ref(value::WPIDHY) -> Float64
Get WPIDHY
P_ref
.
PowerSystems.get_T_reg
— Methodget_T_reg(value::WPIDHY) -> Float64
Get WPIDHY
T_reg
.
PowerSystems.get_Ta
— Methodget_Ta(value::WPIDHY) -> Float64
Get WPIDHY
Ta
.
PowerSystems.get_Tb
— Methodget_Tb(value::WPIDHY) -> Float64
Get WPIDHY
Tb
.
PowerSystems.get_Tw
— Methodget_Tw(value::WPIDHY) -> Float64
Get WPIDHY
Tw
.
PowerSystems.get_V_lim
— Methodget_V_lim(
value::WPIDHY
) -> @NamedTuple{min::Float64, max::Float64}
Get WPIDHY
V_lim
.
PowerSystems.get_ext
— Methodget_ext(value::WPIDHY) -> Dict{String, Any}
Get WPIDHY
ext
.
PowerSystems.get_gate_openings
— Methodget_gate_openings(
value::WPIDHY
) -> Tuple{Float64, Float64, Float64}
Get WPIDHY
gate_openings
.
PowerSystems.get_n_states
— Methodget_n_states(value::WPIDHY) -> Int64
Get WPIDHY
n_states
.
PowerSystems.get_power_gate_openings
— Methodget_power_gate_openings(
value::WPIDHY
) -> Tuple{Float64, Float64, Float64}
Get WPIDHY
power_gate_openings
.
PowerSystems.get_reg
— Methodget_reg(value::WPIDHY) -> Float64
Get WPIDHY
reg
.
PowerSystems.get_states
— Methodget_states(value::WPIDHY) -> Vector{Symbol}
Get WPIDHY
states
.
PowerSystems.get_states_types
— Methodget_states_types(value::WPIDHY) -> Vector{StateTypes}
Get WPIDHY
states_types
.
PowerSystems.set_D!
— Methodset_D!(value::WPIDHY, val) -> Any
Set WPIDHY
D
.
PowerSystems.set_G_lim!
— Methodset_G_lim!(value::WPIDHY, val) -> Any
Set WPIDHY
G_lim
.
PowerSystems.set_Kd!
— Methodset_Kd!(value::WPIDHY, val) -> Any
Set WPIDHY
Kd
.
PowerSystems.set_Ki!
— Methodset_Ki!(value::WPIDHY, val) -> Any
Set WPIDHY
Ki
.
PowerSystems.set_Kp!
— Methodset_Kp!(value::WPIDHY, val) -> Any
Set WPIDHY
Kp
.
PowerSystems.set_P_lim!
— Methodset_P_lim!(value::WPIDHY, val) -> Any
Set WPIDHY
P_lim
.
PowerSystems.set_P_ref!
— Methodset_P_ref!(value::WPIDHY, val) -> Any
Set WPIDHY
P_ref
.
PowerSystems.set_T_reg!
— Methodset_T_reg!(value::WPIDHY, val) -> Any
Set WPIDHY
T_reg
.
PowerSystems.set_Ta!
— Methodset_Ta!(value::WPIDHY, val) -> Any
Set WPIDHY
Ta
.
PowerSystems.set_Tb!
— Methodset_Tb!(value::WPIDHY, val) -> Any
Set WPIDHY
Tb
.
PowerSystems.set_Tw!
— Methodset_Tw!(value::WPIDHY, val) -> Any
Set WPIDHY
Tw
.
PowerSystems.set_V_lim!
— Methodset_V_lim!(value::WPIDHY, val) -> Any
Set WPIDHY
V_lim
.
PowerSystems.set_ext!
— Methodset_ext!(value::WPIDHY, val) -> Any
Set WPIDHY
ext
.
PowerSystems.set_gate_openings!
— Methodset_gate_openings!(value::WPIDHY, val) -> Any
Set WPIDHY
gate_openings
.
PowerSystems.set_power_gate_openings!
— Methodset_power_gate_openings!(value::WPIDHY, val) -> Any
Set WPIDHY
power_gate_openings
.
PowerSystems.set_reg!
— Methodset_reg!(value::WPIDHY, val) -> Any
Set WPIDHY
reg
.
PowerSystems.set_states_types!
— Methodset_states_types!(value::WPIDHY, val) -> Any
Set WPIDHY
states_types
.