modelTwoPort

Component having four ComplexPins p1, p2, n1, n2 (two ports) and using current phasor balance

Information

Superclass of elements which have two ports i.e. four electrical pins of type ComplexPin. The identity of the phasor of the current flowing into pin p1 and the phasor of the current flowing out of pin n1 is forced by internal current balance. The same holds for the pins p2 and n2.

Main Author:
Olaf Enge-Rosenblatt
Fraunhofer IIS/EAS, Dresden
email: olaf.enge@eas.iis.fraunhofer.de

Connectors

TypeNameDefaultDescription
PosComplexPinp1Positive complex pin no.1
PosComplexPinp2Positive complex pin no.2
NegComplexPinn1Negative complex pin no.1
NegComplexPinn2Negative complex pin no.2
Modelica.Blocks.Interfaces.RealOutputactivePwr1Active power of port no.1
Modelica.Blocks.Interfaces.RealOutputreactivePwr1Reactive power of port no.1
Modelica.Blocks.Interfaces.RealOutputactivePwr2Active power of port no.2
Modelica.Blocks.Interfaces.RealOutputreactivePwr2Reactive power of port no.2
ComplexLib.Interfaces.ComplexOutputcomplexPwr1Complex value of power of port no.1
ComplexLib.Interfaces.ComplexOutputcomplexPwr2Complex value of power of port no.2

Components

TypeNameDefaultDescription
SI.Voltagev1Voltage phasor of port no.1
SI.Voltagev1ReActive part of voltage phasor of port no.1
SI.Voltagev1ImReactive part of voltage phasor of port no.1
SI.Voltagev2Voltage phasor of port no.2
SI.Voltagev2ReActive part of voltage phasor of port no.2
SI.Voltagev2ImReactive part of voltage phasor of port no.2
SI.Currenti1Current phasor of port no.1
SI.Currenti1ReActive part of current phasor of port no.1
SI.Currenti1ImReactive part of current phasor of port no.1
SI.Currenti2Current phasor of port no.2
SI.Currenti2ReActive part of current phasor of port no.2
SI.Currenti2ImReactive part of current phasor of port no.2
SI.Anglephi1Angle between voltage and current phasors of port no.1
SI.Anglephi_v1Angle of voltage phasor of port no.1
SI.Anglephi_i1Angle of current phasor of port no.1
SI.Anglephi2Angle between voltage and current phasors of port no.2
SI.Anglephi_v2Angle of voltage phasor of port no.2
SI.Anglephi_i2Angle of current phasor of port no.2