Transformer2W
PowerSystems.Transformer2W — Typemutable struct Transformer2W <: ACBranch
name::String
available::Bool
active_power_flow::Float64
reactive_power_flow::Float64
arc::Arc
r::Float64
x::Float64
primary_shunt::Float64
rating::Union{Nothing, Float64}
services::Vector{Service}
ext::Dict{String, Any}
internal::InfrastructureSystemsInternal
endA basic 2-winding transformer.
The model uses an equivalent circuit assuming the impedance is on the High Voltage Side of the transformer. The model allocates the iron losses and magnetizing susceptance to the primary side
Arguments
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.,PowerLoadandACBus) can have the same nameavailable::Bool: Indicator of whether the component is connected and online (true) or disconnected, offline, or down (false). Unavailable components are excluded during simulationsactive_power_flow::Float64: Initial condition of active power flow through the transformer (MW)reactive_power_flow::Float64: Initial condition of reactive power flow through the transformer (MVAR)arc::Arc: AnArcdefining this transformerfroma bustoanother busr::Float64: Resistance in pu (SYSTEM_BASE), validation range:(-2, 4)x::Float64: Reactance in pu (SYSTEM_BASE), validation range:(-2, 4)primary_shunt::Float64: Shunt reactance in pu (SYSTEM_BASE), validation range:(0, 2)rating::Union{Nothing, Float64}: Thermal rating (MVA). Flow through the transformer must be between -ratingandrating. When defining a transformer before it is attached to aSystem,ratingmust be in pu (SYSTEM_BASE) using the base power of theSystemit will be attached to, validation range:(0, nothing)services::Vector{Service}: (default:Device[]) Services that this device contributes toext::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::Transformer2W) -> String
Get Transformer2W name.
PowerSystems.get_active_power_flow — Methodget_active_power_flow(value::Transformer2W) -> Any
Get Transformer2W active_power_flow.
PowerSystems.get_arc — Methodget_arc(value::Transformer2W) -> Arc
Get Transformer2W arc.
PowerSystems.get_available — Methodget_available(value::Transformer2W) -> Bool
Get Transformer2W available.
PowerSystems.get_ext — Methodget_ext(value::Transformer2W) -> Dict{String, Any}
Get Transformer2W ext.
PowerSystems.get_primary_shunt — Methodget_primary_shunt(value::Transformer2W) -> Float64
Get Transformer2W primary_shunt.
PowerSystems.get_r — Methodget_r(value::Transformer2W) -> Float64
Get Transformer2W r.
PowerSystems.get_rating — Methodget_rating(value::Transformer2W) -> Any
Get Transformer2W rating.
PowerSystems.get_reactive_power_flow — Methodget_reactive_power_flow(value::Transformer2W) -> Any
Get Transformer2W reactive_power_flow.
PowerSystems.get_services — Methodget_services(value::Transformer2W) -> Vector{Service}
Get Transformer2W services.
PowerSystems.get_x — Methodget_x(value::Transformer2W) -> Float64
Get Transformer2W x.
PowerSystems.set_active_power_flow! — Methodset_active_power_flow!(value::Transformer2W, val) -> Any
Set Transformer2W active_power_flow.
PowerSystems.set_arc! — Methodset_arc!(value::Transformer2W, val) -> Any
Set Transformer2W arc.
PowerSystems.set_available! — Methodset_available!(value::Transformer2W, val) -> Any
Set Transformer2W available.
PowerSystems.set_ext! — Methodset_ext!(value::Transformer2W, val) -> Any
Set Transformer2W ext.
PowerSystems.set_primary_shunt! — Methodset_primary_shunt!(value::Transformer2W, val) -> Any
Set Transformer2W primary_shunt.
PowerSystems.set_r! — Methodset_r!(value::Transformer2W, val) -> Any
Set Transformer2W r.
PowerSystems.set_rating! — Methodset_rating!(value::Transformer2W, val) -> Any
Set Transformer2W rating.
PowerSystems.set_reactive_power_flow! — Methodset_reactive_power_flow!(value::Transformer2W, val) -> Any
Set Transformer2W reactive_power_flow.
PowerSystems.set_services! — Methodset_services!(value::Transformer2W, val) -> Any
Set Transformer2W services.
PowerSystems.set_x! — Methodset_x!(value::Transformer2W, val) -> Any
Set Transformer2W x.