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 DC bus
Arguments
number::Int
: A unique bus identification number (positive integer)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 namemagnitude::Union{Nothing, Float64}
: voltage as a multiple ofbase_voltage
, validation range:voltage_limits
voltage_limits::Union{Nothing, MinMax}
: limits on the voltage variation as multiples ofbase_voltage
base_voltage::Union{Nothing, Float64}
: the base voltage in kV, validation range:(0, nothing)
area::Union{Nothing, Area}
: (default:nothing
) the area containing the DC busload_zone::Union{Nothing, LoadZone}
: (default:nothing
) the load zone containing the DC busext::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.internal::InfrastructureSystemsInternal
: (Do not modify.) PowerSystems.jl internal reference
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
.