PowerLoad
PowerSystems.PowerLoad
— Typemutable struct PowerLoad <: StaticLoad
name::String
available::Bool
bus::Bus
model::Union{Nothing, LoadModels}
active_power::Float64
reactive_power::Float64
base_power::Float64
max_active_power::Float64
max_reactive_power::Float64
services::Vector{Service}
dynamic_injector::Union{Nothing, DynamicInjection}
ext::Dict{String, Any}
time_series_container::InfrastructureSystems.TimeSeriesContainer
internal::InfrastructureSystemsInternal
end
Data structure for a static power load.
Arguments
name::String
available::Bool
bus::Bus
model::Union{Nothing, LoadModels}
active_power::Float64
reactive_power::Float64
base_power::Float64
: Base power of the unit in MVA, validation range:(0, nothing)
, action if invalid:warn
max_active_power::Float64
max_reactive_power::Float64
services::Vector{Service}
: Services that this device contributes todynamic_injector::Union{Nothing, DynamicInjection}
: corresponding dynamic injection deviceext::Dict{String, Any}
time_series_container::InfrastructureSystems.TimeSeriesContainer
: internal time_series storageinternal::InfrastructureSystemsInternal
: power system internal reference, do not modify
InfrastructureSystems.get_name
— Methodget_name(value::PowerLoad) -> String
Get PowerLoad
name
.
InfrastructureSystems.get_time_series_container
— Methodget_time_series_container(value::PowerLoad) -> InfrastructureSystems.TimeSeriesContainer
Get PowerLoad
time_series_container
.
InfrastructureSystems.set_name!
— Methodset_name!(value::PowerLoad, val) -> Any
Set PowerLoad
name
.
PowerSystems.get_active_power
— Methodget_active_power(value::PowerLoad) -> Any
Get PowerLoad
active_power
.
PowerSystems.get_available
— Methodget_available(value::PowerLoad) -> Bool
Get PowerLoad
available
.
PowerSystems.get_base_power
— Methodget_base_power(value::PowerLoad) -> Float64
Get PowerLoad
base_power
.
PowerSystems.get_bus
— Methodget_bus(value::PowerLoad) -> Bus
Get PowerLoad
bus
.
PowerSystems.get_dynamic_injector
— Methodget_dynamic_injector(value::PowerLoad) -> Union{Nothing, DynamicInjection}
Get PowerLoad
dynamic_injector
.
PowerSystems.get_ext
— Methodget_ext(value::PowerLoad) -> Dict{String, Any}
Get PowerLoad
ext
.
PowerSystems.get_max_active_power
— Methodget_max_active_power(value::PowerLoad) -> Any
Get PowerLoad
max_active_power
.
PowerSystems.get_max_reactive_power
— Methodget_max_reactive_power(value::PowerLoad) -> Any
Get PowerLoad
max_reactive_power
.
PowerSystems.get_model
— Methodget_model(value::PowerLoad) -> Union{Nothing, LoadModels}
Get PowerLoad
model
.
PowerSystems.get_reactive_power
— Methodget_reactive_power(value::PowerLoad) -> Any
Get PowerLoad
reactive_power
.
PowerSystems.get_services
— Methodget_services(value::PowerLoad) -> Vector{Service}
Get PowerLoad
services
.
PowerSystems.set_active_power!
— Methodset_active_power!(value::PowerLoad, val) -> Any
Set PowerLoad
active_power
.
PowerSystems.set_available!
— Methodset_available!(value::PowerLoad, val) -> Any
Set PowerLoad
available
.
PowerSystems.set_base_power!
— Methodset_base_power!(value::PowerLoad, val) -> Any
Set PowerLoad
base_power
.
PowerSystems.set_bus!
— Methodset_bus!(value::PowerLoad, val) -> Any
Set PowerLoad
bus
.
PowerSystems.set_ext!
— Methodset_ext!(value::PowerLoad, val) -> Any
Set PowerLoad
ext
.
PowerSystems.set_max_active_power!
— Methodset_max_active_power!(value::PowerLoad, val) -> Any
Set PowerLoad
max_active_power
.
PowerSystems.set_max_reactive_power!
— Methodset_max_reactive_power!(value::PowerLoad, val) -> Any
Set PowerLoad
max_reactive_power
.
PowerSystems.set_model!
— Methodset_model!(value::PowerLoad, val) -> Any
Set PowerLoad
model
.
PowerSystems.set_reactive_power!
— Methodset_reactive_power!(value::PowerLoad, val) -> Any
Set PowerLoad
reactive_power
.
PowerSystems.set_services!
— Methodset_services!(value::PowerLoad, val) -> Any
Set PowerLoad
services
.
PowerSystems.set_time_series_container!
— Methodset_time_series_container!(value::PowerLoad, val) -> Any
Set PowerLoad
time_series_container
.