modelLineConstantImpedanceWithBreakers

Transmission line with constant impedance and breakers
Diagram of LineConstantImpedanceWithBreakers

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

Information

Transmission line with constant series impedance R+jX and constant shunt admittance G+jB.

Implemented as a child class of PiNetwork, where Ya=Yb=(G+jB)/2 and k = 1, see the corresponding documentation.

Two breakers are provided, one for each port of the line. Each breaker has a conditional boolean input to set the logical status:

  • true  = breaker closed
  • false = breaker open 
When a breaker is open the current entering from the corresponding port is forced to 0 (by setting to 0 both the actual values of the line impedance and of the shunt impedance of said port), and the total impedance seen to the other port 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 breakers.

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
Types.VoltageUNomNominal/rated voltage
Types.ResistanceRSeries resistance
Types.ResistanceXSeries reactance
Types.ConductanceG0Shunt conductance
Types.ConductanceB0Shunt susceptance
Types.ComplexAdmittanceYseries1/Complex(R, X)Series admittance
Types.ComplexAdmittanceYshuntComplex(G/2, B/2)Shunt admittance at port A/B
Types.ComplexAdmittanceYbreakerOpenYseries*Yshunt/(Yseries + Yshunt)Total admittance when breaker A/B is open
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
BooleanbreakerAStatusStarttrueBreaker A start status - true means breaker closed
BooleanbreakerBStatusStarttrueBreaker B start status - true means breaker closed
External Inputs
BooleanuseBreakerAfalseUse breaker at port A
BooleanuseBreakerBfalseUse breaker at port B

Connectors

TypeNameDefaultDescription
PowerGrids.Interfaces.TerminalACterminalA (from TwoPortAC)
PowerGrids.Interfaces.TerminalACterminalB (from TwoPortAC)
Modelica.Blocks.Interfaces.BooleanInputbreakerStatusABreaker status at port A - true means breaker closed
Modelica.Blocks.Interfaces.BooleanInputbreakerStatusBBreaker status at 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
BreakersStatebreakerStatusBreakers current status

Contents

NameDescription
BreakersState