modelTwoPlug
Passive component having two ComplexPlugs p and n and NOT using current phasor balance
Information
Superclass of elements which have two electrical plugs:
the positive plug connector and the negative plug connector.
The currents flowing into plug_p are provided explicitly as currents i[m].
No inner current balance between the two complex plugs is used.
Hence, class TwoPlug is suitable for building internal electrical circuits
consisting of passive components extended from (one-phase) superclasses OnePort or TwoPort.
-
- Main Authors:
- Matthias Vetter, Simon Schwunk
Fraunhofer ISE, Freiburg
email: matthias.vetter@ise.fraunhofer.de
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | m | 3 | Number of phases |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| PosComplexPlug | plug_p | Positive complex plug (potential plug_p.v[j] > plug_n.v[j] for positive voltage drop v[j]) | |
| NegComplexPlug | plug_n | Negative complex plug | |
| ComplexLib.Interfaces.ComplexOutput[m] | complexPwr | Complex values of power of component |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Voltage[m] | v | Voltages between the two plugs | |
| SI.Voltage[m] | vRe | Active parts of voltage phasors | |
| SI.Voltage[m] | vIm | Reactive parts of voltage phasors | |
| SI.Current[m] | i | Currents flowing into positive plug | |
| SI.Current[m] | iRe | Active parts of current phasors | |
| SI.Current[m] | iIm | Reactive parts of current phasors | |
| SI.Angle[m] | phi | Angles between voltage and current phasors | |
| SI.Angle[m] | phi_v | Angles of voltage phasors | |
| SI.Angle[m] | phi_i | Angles of current phasors | |
| SI.Power[m] | activePwr | Active power of phase | |
| SI.Power[m] | idlePwr | Reactive power of phase |