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.
Fraunhofer IIS/EAS, Dresden
email: olaf.enge@eas.iis.fraunhofer.de
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| PosComplexPin | p1 | Positive complex pin no.1 | |
| PosComplexPin | p2 | Positive complex pin no.2 | |
| NegComplexPin | n1 | Negative complex pin no.1 | |
| NegComplexPin | n2 | Negative complex pin no.2 | |
| Modelica.Blocks.Interfaces.RealOutput | activePwr1 | Active power of port no.1 | |
| Modelica.Blocks.Interfaces.RealOutput | reactivePwr1 | Reactive power of port no.1 | |
| Modelica.Blocks.Interfaces.RealOutput | activePwr2 | Active power of port no.2 | |
| Modelica.Blocks.Interfaces.RealOutput | reactivePwr2 | Reactive power of port no.2 | |
| ComplexLib.Interfaces.ComplexOutput | complexPwr1 | Complex value of power of port no.1 | |
| ComplexLib.Interfaces.ComplexOutput | complexPwr2 | Complex value of power of port no.2 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Voltage | v1 | Voltage phasor of port no.1 | |
| SI.Voltage | v1Re | Active part of voltage phasor of port no.1 | |
| SI.Voltage | v1Im | Reactive part of voltage phasor of port no.1 | |
| SI.Voltage | v2 | Voltage phasor of port no.2 | |
| SI.Voltage | v2Re | Active part of voltage phasor of port no.2 | |
| SI.Voltage | v2Im | Reactive part of voltage phasor of port no.2 | |
| SI.Current | i1 | Current phasor of port no.1 | |
| SI.Current | i1Re | Active part of current phasor of port no.1 | |
| SI.Current | i1Im | Reactive part of current phasor of port no.1 | |
| SI.Current | i2 | Current phasor of port no.2 | |
| SI.Current | i2Re | Active part of current phasor of port no.2 | |
| SI.Current | i2Im | Reactive part of current phasor of port no.2 | |
| SI.Angle | phi1 | Angle between voltage and current phasors of port no.1 | |
| SI.Angle | phi_v1 | Angle of voltage phasor of port no.1 | |
| SI.Angle | phi_i1 | Angle of current phasor of port no.1 | |
| SI.Angle | phi2 | Angle between voltage and current phasors of port no.2 | |
| SI.Angle | phi_v2 | Angle of voltage phasor of port no.2 | |
| SI.Angle | phi_i2 | Angle of current phasor of port no.2 |