modelTransformerFixedRatioWithBreaker

Extends from BaseClasses.PiNetwork (Generic Pi-Network base model), Icons.Transformer.

Information

Transformer with fixed voltage ratio k = rFixed*exp(j*thetaFixed). The series impedance R+jX and shunt admittance G+jB are referred to the high-voltage side B.

Step-up transformers with fixed voltage ratio can be implemented by only setting rFixed and leaving thetaFixed to zero default value. Phase shifters can be implemented by only setting thetaFixed and leaving rFixed to the default of 1.

Implemented as a child class of PiNetwork, where Ya=0 Yb=G+jB and k = rFixed*exp(j*thetaFixed), see the corresponding documentation.

One breaker is provided at port b side. The breaker has a conditional boolean input to set the logical status:

  • true  = breaker closed
  • false = breaker open 
When the breaker is open the current entering from the port b is forced to 0 (by setting to 0 both the actual values of the series impedance and of the shunt impedance of port b), and the total impedance seen to the side a (high-level voltage side) becomes equal to the line impedance + the shunt impedance.

The actual values of the series impedance and of both the shunt impedances are managed by a state-machine, which monitors the state of the breaker.

Parameters

TypeNameDefaultDescription
Types.VoltageUNomA (from TwoPortAC)Nominal/rated voltage, port A
Types.VoltageUNomB (from TwoPortAC)UNomANominal/rated voltage, port B
Types.PowerSNom (from TwoPortAC)Nominal/rated power
BooleanportVariablesPhases (from TwoPortAC)falseCompute voltage and current phases for monitoring purposes only
BooleanportVariablesPu (from TwoPortAC)trueAdd per-unit variables to model
BooleancomputePowerBalance (from TwoPortAC)trueCompute net balance of complex power entering the component
SI.PerUnitrFixed1Fixed transformer ratio VB/VA
SI.AnglethetaFixed0Fixed phase lead of VB w.r.t. VA
Types.ResistanceRSeries resistance on B side
Types.ReactanceXSeries reactance on B side
Types.ConductanceG0Shunt conductance on B side
Types.SusceptanceB0Shunt susceptance on B side
Types.ComplexAdmittanceYseriesComplex(1)/Complex(R, X)Series admittance
Types.ComplexAdmittanceYshuntComplex(G, B)Shunt admittance at port B
Types.ComplexAdmittanceYbreakerOpenYseries*Yshunt/(Yseries + Yshunt)Total admittance when breaker is open (port B)
Initialization
Types.VoltageUStartA (from TwoPortAC)UNomAStart value of phase-to-phase voltage phasor at port A, absolute value
Types.AngleUPhaseStartA (from TwoPortAC)0Start value of phase-to-phase voltage phasor at port A, phase angle
Types.ActivePowerPStartA (from TwoPortAC)SNomStart value of active power flowing into port A
Types.ReactivePowerQStartA (from TwoPortAC)0Start value of reactive power flowing into port A
Types.VoltageUStartB (from TwoPortAC)UNomBStart value of phase-to-phase voltage phasor at port B, absolute value
Types.AngleUPhaseStartB (from TwoPortAC)0Start value of phase-to-phase voltage phasor at port B, phase angle
Types.ActivePowerPStartB (from TwoPortAC)-SNomStart value of active power flowing into port B
Types.ReactivePowerQStartB (from TwoPortAC)0Start value of reactive power flowing into port B
BooleanbreakerStatusStarttrueBreaker start status - true means breaker closed
External Inputs
BooleanuseBreakerfalseUse breaker (port b)

Connectors

TypeNameDefaultDescription
PowerGrids.Interfaces.TerminalACterminalA (from TwoPortAC)
PowerGrids.Interfaces.TerminalACterminalB (from TwoPortAC)
Modelica.Blocks.Interfaces.BooleanInputbreakerStatusInBreaker Status (port B) - true means breaker closed

Components

TypeNameDefaultDescription
PortACportA (from TwoPortAC)AC port - terminalA
PortACportB (from TwoPortAC)AC port - terminalB
Types.ComplexPowerSbal (from TwoPortAC)portA.S + portB.SComplex power balance
Electrical.SystemsystemPowerGrids (from TwoPortAC)Reference to system object
Types.ComplexAdmittanceY (from PiNetwork)Series admittance
Types.ComplexAdmittanceYA (from PiNetwork)Shunt admittance at port a
Types.ComplexAdmittanceYB (from PiNetwork)Shunt admittance at port b
Types.ComplexPerUnitk (from PiNetwork)Complex ratio of ideal transformer at port A (vB/vA)
Types.ComplexVoltagevA (from PiNetwork)portA.v
Types.ComplexVoltagevB (from PiNetwork)portB.v
Types.ComplexCurrentiA (from PiNetwork)portA.i
Types.ComplexCurrentiB (from PiNetwork)portB.i
Types.ComplexVoltagevAt (from PiNetwork)
Types.ComplexVoltagevz (from PiNetwork)
Types.ComplexCurrentiAt (from PiNetwork)
Types.ComplexCurrentiAs (from PiNetwork)
Types.ComplexCurrentiBs (from PiNetwork)
Types.ComplexCurrentiz (from PiNetwork)
Types.ComplexAdmittanceY_actualActual series admittance
Types.ComplexAdmittanceYA_actualActual shunt admittance at port A
Types.ComplexAdmittanceYB_actualActual shunt admittance at port B
BreakersStatebreakerStatusbreacker current status

Contents

NameDescription
BreakersState