modelOnePortSrc
Source component having two ComplexPins p and n (one port) and using current phasor balance
Information
Superclass of elements which have one port i.e.two electrical pins of
type ComplexPin.
The identity of the phasor of the current flowing into pin p
and the phasor of the current flowing out of pin n is forced
by internal current balance.
The only differences to class OnePort are the calculations of the
internal current phasor as well as the values of active and reactive
power.
Hence, class OnePortSrc shall only be used to build source components
like voltage sources or current generators.
Fraunhofer IIS/EAS, Dresden
email: olaf.enge@eas.iis.fraunhofer.de
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| PosComplexPin | p | Positive complex pin (potential p.v > n.v for positive voltage drop v) | |
| NegComplexPin | n | Negative complex pin | |
| Modelica.Blocks.Interfaces.RealOutput | activePwr | Active power of component | |
| Modelica.Blocks.Interfaces.RealOutput | reactivePwr | Reactive power of component | |
| ComplexLib.Interfaces.ComplexOutput | complexPwr | Complex value of power of component |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Voltage | v | Voltage phasor | |
| SI.Voltage | vRe | Active part of voltage phasor | |
| SI.Voltage | vIm | Reactive part of voltage phasor | |
| SI.Current | i | Current phasor | |
| SI.Current | iRe | Active part of current phasor | |
| SI.Current | iIm | Reactive part of current phasor | |
| SI.Angle | phi | Angle between voltage and current phasors | |
| SI.Angle | phi_v | Angle of voltage phasor | |
| SI.Angle | phi_i | Angle of current phasor |