modelTwoPortAC

Base class for two-port AC components

Information

This is the base class for all the components with two AC terminals. It contains two corresponding PortAC components to compute useful quantities for modelling and monitoring purposes.

Parameters

TypeNameDefaultDescription
Types.VoltageUNomANominal/rated voltage, port A
Types.VoltageUNomBUNomANominal/rated voltage, port B
Types.PowerSNomNominal/rated power
BooleanportVariablesPhasesfalseCompute voltage and current phases for monitoring purposes only
BooleanportVariablesPutrueAdd per-unit variables to model
BooleancomputePowerBalancetrueCompute net balance of complex power entering the component
Initialization
Types.VoltageUStartAUNomAStart value of phase-to-phase voltage phasor at port A, absolute value
Types.AngleUPhaseStartA0Start value of phase-to-phase voltage phasor at port A, phase angle
Types.ActivePowerPStartASNomStart value of active power flowing into port A
Types.ReactivePowerQStartA0Start value of reactive power flowing into port A
Types.VoltageUStartBUNomBStart value of phase-to-phase voltage phasor at port B, absolute value
Types.AngleUPhaseStartB0Start value of phase-to-phase voltage phasor at port B, phase angle
Types.ActivePowerPStartB-SNomStart value of active power flowing into port B
Types.ReactivePowerQStartB0Start value of reactive power flowing into port B

Connectors

TypeNameDefaultDescription
PowerGrids.Interfaces.TerminalACterminalA
PowerGrids.Interfaces.TerminalACterminalB

Components

TypeNameDefaultDescription
PortACportAAC port - terminalA
PortACportBAC port - terminalB
Types.ComplexPowerSbalportA.S + portB.SComplex power balance
Electrical.SystemsystemPowerGridsReference to system object