DCBus
PowerSystems.DCBus
— Typemutable struct DCBus <: Bus
number::Int
name::String
magnitude::Union{Nothing, Float64}
voltage_limits::Union{Nothing, MinMax}
base_voltage::Union{Nothing, Float64}
area::Union{Nothing, Area}
load_zone::Union{Nothing, LoadZone}
ext::Dict{String, Any}
internal::InfrastructureSystemsInternal
end
A power-system DC bus.
Arguments
number::Int
: number associated with the DC busname::String
: the name of the DC busmagnitude::Union{Nothing, Float64}
: voltage as a multiple of basevoltage, validation range:voltage_limits
, action if invalid:warn
voltage_limits::Union{Nothing, MinMax}
: limits on the voltage variation as multiples of basevoltagebase_voltage::Union{Nothing, Float64}
: the base voltage in kV, validation range:(0, nothing)
, action if invalid:error
area::Union{Nothing, Area}
: the area containing the DC busload_zone::Union{Nothing, LoadZone}
: the load zone containing the DC busext::Dict{String, Any}
internal::InfrastructureSystemsInternal
: power system internal reference, do not modify
InfrastructureSystems.get_name
— Methodget_name(value::DCBus) -> String
Get DCBus
name
.
PowerSystems.get_area
— Methodget_area(value::DCBus) -> Union{Nothing, Area}
Get DCBus
area
.
PowerSystems.get_base_voltage
— Methodget_base_voltage(value::DCBus) -> Union{Nothing, Float64}
Get DCBus
base_voltage
.
PowerSystems.get_ext
— Methodget_ext(value::DCBus) -> Dict{String, Any}
Get DCBus
ext
.
PowerSystems.get_load_zone
— Methodget_load_zone(value::DCBus) -> Union{Nothing, LoadZone}
Get DCBus
load_zone
.
PowerSystems.get_magnitude
— Methodget_magnitude(value::DCBus) -> Union{Nothing, Float64}
Get DCBus
magnitude
.
PowerSystems.get_number
— Methodget_number(value::DCBus) -> Int64
Get DCBus
number
.
PowerSystems.get_voltage_limits
— Methodget_voltage_limits(
value::DCBus
) -> Union{Nothing, @NamedTuple{min::Float64, max::Float64}}
Get DCBus
voltage_limits
.
PowerSystems.set_area!
— Methodset_area!(value::DCBus, val) -> Any
Set DCBus
area
.
PowerSystems.set_base_voltage!
— Methodset_base_voltage!(value::DCBus, val) -> Any
Set DCBus
base_voltage
.
PowerSystems.set_ext!
— Methodset_ext!(value::DCBus, val) -> Any
Set DCBus
ext
.
PowerSystems.set_load_zone!
— Methodset_load_zone!(value::DCBus, val) -> Any
Set DCBus
load_zone
.
PowerSystems.set_magnitude!
— Methodset_magnitude!(value::DCBus, val) -> Any
Set DCBus
magnitude
.
PowerSystems.set_number!
— Methodset_number!(value::DCBus, val) -> Any
Set DCBus
number
.
PowerSystems.set_voltage_limits!
— Methodset_voltage_limits!(value::DCBus, val) -> Any
Set DCBus
voltage_limits
.