Bus
PowerSystems.Bus
— Typemutable struct Bus <: Topology
number::Int
name::String
bustype::Union{Nothing, BusTypes}
angle::Union{Nothing, Float64}
magnitude::Union{Nothing, Float64}
voltage_limits::Union{Nothing, Min_Max}
base_voltage::Union{Nothing, Float64}
area::Union{Nothing, Area}
load_zone::Union{Nothing, LoadZone}
ext::Dict{String, Any}
internal::InfrastructureSystemsInternal
end
A power-system bus.
Arguments
number::Int
: number associated with the busname::String
: the name of the busbustype::Union{Nothing, BusTypes}
: bus typeangle::Union{Nothing, Float64}
: angle of the bus in radians, validation range:(-1.571, 1.571)
, action if invalid:error
magnitude::Union{Nothing, Float64}
: voltage as a multiple of basevoltage, validation range:voltage_limits
, action if invalid:warn
voltage_limits::Union{Nothing, Min_Max}
: 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 busload_zone::Union{Nothing, LoadZone}
: the load zone containing the busext::Dict{String, Any}
internal::InfrastructureSystemsInternal
: power system internal reference, do not modify
InfrastructureSystems.get_name
— Methodget_name(value::Bus) -> String
Get Bus
name
.
InfrastructureSystems.set_name!
— Methodset_name!(value::Bus, val) -> Any
Set Bus
name
.
PowerSystems.get_angle
— Methodget_angle(value::Bus) -> Union{Nothing, Float64}
Get Bus
angle
.
PowerSystems.get_area
— Methodget_area(value::Bus) -> Union{Nothing, Area}
Get Bus
area
.
PowerSystems.get_base_voltage
— Methodget_base_voltage(value::Bus) -> Union{Nothing, Float64}
Get Bus
base_voltage
.
PowerSystems.get_bustype
— Methodget_bustype(value::Bus) -> Union{Nothing, BusTypes}
Get Bus
bustype
.
PowerSystems.get_ext
— Methodget_ext(value::Bus) -> Dict{String, Any}
Get Bus
ext
.
PowerSystems.get_load_zone
— Methodget_load_zone(value::Bus) -> Union{Nothing, LoadZone}
Get Bus
load_zone
.
PowerSystems.get_magnitude
— Methodget_magnitude(value::Bus) -> Union{Nothing, Float64}
Get Bus
magnitude
.
PowerSystems.get_number
— Methodget_number(value::Bus) -> Int64
Get Bus
number
.
PowerSystems.get_voltage_limits
— Methodget_voltage_limits(value::Bus) -> Union{Nothing, NamedTuple{(:min, :max), Tuple{Float64, Float64}}}
Get Bus
voltage_limits
.
PowerSystems.set_angle!
— Methodset_angle!(value::Bus, val) -> Any
Set Bus
angle
.
PowerSystems.set_area!
— Methodset_area!(value::Bus, val) -> Area
Set Bus
area
.
PowerSystems.set_base_voltage!
— Methodset_base_voltage!(value::Bus, val) -> Any
Set Bus
base_voltage
.
PowerSystems.set_bustype!
— Methodset_bustype!(value::Bus, val) -> Any
Set Bus
bustype
.
PowerSystems.set_ext!
— Methodset_ext!(value::Bus, val) -> Any
Set Bus
ext
.
PowerSystems.set_load_zone!
— Methodset_load_zone!(value::Bus, val) -> LoadZone
Set Bus
load_zone
.
PowerSystems.set_magnitude!
— Methodset_magnitude!(value::Bus, val) -> Any
Set Bus
magnitude
.
PowerSystems.set_number!
— Methodset_number!(value::Bus, val) -> Any
Set Bus
number
.
PowerSystems.set_voltage_limits!
— Methodset_voltage_limits!(value::Bus, val) -> Any
Set Bus
voltage_limits
.