modelLineConstantImpedanceWithBreakers
Transmission line with constant impedance and breakers
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
| Type | Name | Default | Description |
|---|---|---|---|
| Types.Voltage | UNomA (from TwoPortAC) | Nominal/rated voltage, port A | |
| Types.Voltage | UNomB (from TwoPortAC) | UNomA | Nominal/rated voltage, port B |
| Types.Power | SNom (from TwoPortAC) | Nominal/rated power | |
| Boolean | portVariablesPhases (from TwoPortAC) | false | Compute voltage and current phases for monitoring purposes only |
| Boolean | portVariablesPu (from TwoPortAC) | true | Add per-unit variables to model |
| Boolean | computePowerBalance (from TwoPortAC) | true | Compute net balance of complex power entering the component |
| Types.Voltage | UNom | Nominal/rated voltage | |
| Types.Resistance | R | Series resistance | |
| Types.Resistance | X | Series reactance | |
| Types.Conductance | G | 0 | Shunt conductance |
| Types.Conductance | B | 0 | Shunt susceptance |
| Types.ComplexAdmittance | Yseries | 1/Complex(R, X) | Series admittance |
| Types.ComplexAdmittance | Yshunt | Complex(G/2, B/2) | Shunt admittance at port A/B |
| Types.ComplexAdmittance | YbreakerOpen | Yseries*Yshunt/(Yseries + Yshunt) | Total admittance when breaker A/B is open |
| Initialization | |||
| Types.Voltage | UStartA (from TwoPortAC) | UNomA | Start value of phase-to-phase voltage phasor at port A, absolute value |
| Types.Angle | UPhaseStartA (from TwoPortAC) | 0 | Start value of phase-to-phase voltage phasor at port A, phase angle |
| Types.ActivePower | PStartA (from TwoPortAC) | SNom | Start value of active power flowing into port A |
| Types.ReactivePower | QStartA (from TwoPortAC) | 0 | Start value of reactive power flowing into port A |
| Types.Voltage | UStartB (from TwoPortAC) | UNomB | Start value of phase-to-phase voltage phasor at port B, absolute value |
| Types.Angle | UPhaseStartB (from TwoPortAC) | 0 | Start value of phase-to-phase voltage phasor at port B, phase angle |
| Types.ActivePower | PStartB (from TwoPortAC) | -SNom | Start value of active power flowing into port B |
| Types.ReactivePower | QStartB (from TwoPortAC) | 0 | Start value of reactive power flowing into port B |
| Boolean | breakerAStatusStart | true | Breaker A start status - true means breaker closed |
| Boolean | breakerBStatusStart | true | Breaker B start status - true means breaker closed |
| External Inputs | |||
| Boolean | useBreakerA | false | Use breaker at port A |
| Boolean | useBreakerB | false | Use breaker at port B |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| PowerGrids.Interfaces.TerminalAC | terminalA (from TwoPortAC) | ||
| PowerGrids.Interfaces.TerminalAC | terminalB (from TwoPortAC) | ||
| Modelica.Blocks.Interfaces.BooleanInput | breakerStatusA | Breaker status at port A - true means breaker closed | |
| Modelica.Blocks.Interfaces.BooleanInput | breakerStatusB | Breaker status at port B - true means breaker closed |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| PortAC | portA (from TwoPortAC) | AC port - terminalA | |
| PortAC | portB (from TwoPortAC) | AC port - terminalB | |
| Types.ComplexPower | Sbal (from TwoPortAC) | portA.S + portB.S | Complex power balance |
| Electrical.System | systemPowerGrids (from TwoPortAC) | Reference to system object | |
| Types.ComplexAdmittance | Y (from PiNetwork) | Series admittance | |
| Types.ComplexAdmittance | YA (from PiNetwork) | Shunt admittance at port a | |
| Types.ComplexAdmittance | YB (from PiNetwork) | Shunt admittance at port b | |
| Types.ComplexPerUnit | k (from PiNetwork) | Complex ratio of ideal transformer at port A (vB/vA) | |
| Types.ComplexVoltage | vA (from PiNetwork) | portA.v | |
| Types.ComplexVoltage | vB (from PiNetwork) | portB.v | |
| Types.ComplexCurrent | iA (from PiNetwork) | portA.i | |
| Types.ComplexCurrent | iB (from PiNetwork) | portB.i | |
| Types.ComplexVoltage | vAt (from PiNetwork) | ||
| Types.ComplexVoltage | vz (from PiNetwork) | ||
| Types.ComplexCurrent | iAt (from PiNetwork) | ||
| Types.ComplexCurrent | iAs (from PiNetwork) | ||
| Types.ComplexCurrent | iBs (from PiNetwork) | ||
| Types.ComplexCurrent | iz (from PiNetwork) | ||
| Types.ComplexAdmittance | Y_actual | Actual series admittance | |
| Types.ComplexAdmittance | YA_actual | Actual shunt admittance at port A | |
| Types.ComplexAdmittance | YB_actual | Actual shunt admittance at port B | |
| BreakersState | breakerStatus | Breakers current status |
Contents
| Name | Description |
|---|---|
| BreakersState |