TapTransformer

PowerSystems.TapTransformerType
mutable struct TapTransformer <: TwoWindingTransformer
    name::String
    available::Bool
    active_power_flow::Float64
    reactive_power_flow::Float64
    arc::Arc
    r::Float64
    x::Float64
    primary_shunt::Complex{Float64}
    tap::Float64
    rating::Union{Nothing, Float64}
    base_power::Float64
    base_voltage_primary::Union{Nothing, Float64}
    base_voltage_secondary::Union{Nothing, Float64}
    rating_b::Union{Nothing, Float64}
    rating_c::Union{Nothing, Float64}
    winding_group_number::WindingGroupNumber
    control_objective::TransformerControlObjective
    tap_limits::MinMax
    number_of_tap_positions::Int
    regulated_bus_number::Int
    voltage_setpoint::Float64
    services::Vector{Service}
    ext::Dict{String, Any}
    internal::InfrastructureSystemsInternal
end

A 2-winding transformer, with a tap changer for variable turns ratio.

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., PowerLoad and ACBus) can have the same name
  • available::Bool: Indicator of whether the component is connected and online (true) or disconnected, offline, or down (false). Unavailable components are excluded during simulations
  • active_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: An Arc defining this transformer from a bus to another bus
  • r::Float64: Resistance in p.u. (SYSTEM_BASE), validation range: (-2, 2)
  • x::Float64: Reactance in p.u. (SYSTEM_BASE), validation range: (-2, 4)
  • primary_shunt::Complex{Float64}: Primary shunt admittance in pu (SYSTEM_BASE)
  • tap::Float64: Normalized tap changer position for voltage control, varying between 0 and 2, with 1 centered at the nominal voltage, validation range: (0, 2)
  • rating::Union{Nothing, Float64}: Thermal rating (MVA). Flow through the transformer must be between -rating. When defining a transformer before it is attached to a System, rating must be in pu (SYSTEM_BASE) using the base power of the System it will be attached to, validation range: (0, nothing)
  • base_power::Float64: Base power (MVA) for per unitization, validation range: (0.0001, nothing)
  • base_voltage_primary::Union{Nothing, Float64}: (default: get_base_voltage(get_from(arc))) Primary base voltage in kV, validation range: (0, nothing)
  • base_voltage_secondary::Union{Nothing, Float64}: (default: get_base_voltage(get_to(arc))) Secondary base voltage in kV, validation range: (0, nothing)
  • rating_b::Union{Nothing, Float64}: (default: nothing) Second current rating; entered in MVA.
  • rating_c::Union{Nothing, Float64}: (default: nothing) Third current rating; entered in MVA.
  • winding_group_number::WindingGroupNumber: (default: WindingGroupNumber.UNDEFINED) Vector group number ('clock number') indicating fixed phase shift (radians) between the from and to buses due to the connection group configuration
  • control_objective::TransformerControlObjective: (default: TransformerControlObjective.UNDEFINED) Control objective for the tap changer for power flow calculations. See TransformerControlObjective
  • tap_limits::MinMax: (default: (min=0.9, max=1.1)) Minimum and maximum tap ratio (per-unit turns ratio) over which the tap changer may regulate
  • number_of_tap_positions::Int: (default: 33) Number of discrete tap positions spanning tap_limits (NTP in PSS/e); used to snap the tap to a realizable step
  • regulated_bus_number::Int: (default: 0) ACBus number whose voltage the tap changer regulates; 0 identifies the to bus of this transformer's arc (local control)
  • voltage_setpoint::Float64: (default: 1.0) Voltage setpoint at the regulated bus, in p.u. (SYSTEM_BASE)
  • services::Vector{Service}: (default: Device[]) Services that this device contributes to
  • ext::Dict{String, Any}: (default: Dict{String, Any}()) An extra dictionary for users to add metadata that are not used in simulation.
  • internal::InfrastructureSystemsInternal: (Do not modify.) PowerSystems.jl internal reference
source