modelSineCurrent
Current Source
Extends from ComplexLib.SinglePhase.Interfaces.OnePortSrc (Source component having two ComplexPins p and n (one port) and using current phasor balance).
Information
A sinusoidal current source in time-domain using fixed amplitude and fixed phase angle corresponds to a constant applied current phasor i in phasor analysis. The effective (or rms) value I and the phase angle phase of the current phasor are constant values.
-
- Main Authors:
- Matthias Vetter, Simon Schwunk
Fraunhofer ISE, Freiburg
email: matthias.vetter@ise.fraunhofer.de
- and
- Olaf Enge-Rosenblatt
Fraunhofer IIS/EAS, Dresden
email: olaf.enge@eas.iis.fraunhofer.de
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Current | I | 1 | Effective (or rms) value of applied current |
| SI.Angle | phase | 0 | Phase angle of applied current |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| PosComplexPin | p (from OnePortSrc) | Positive complex pin (potential p.v > n.v for positive voltage drop v) | |
| NegComplexPin | n (from OnePortSrc) | Negative complex pin | |
| Modelica.Blocks.Interfaces.RealOutput | activePwr (from OnePortSrc) | Active power of component | |
| Modelica.Blocks.Interfaces.RealOutput | reactivePwr (from OnePortSrc) | Reactive power of component | |
| ComplexLib.Interfaces.ComplexOutput | complexPwr (from OnePortSrc) | Complex value of power of component |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Voltage | v (from OnePortSrc) | Voltage phasor | |
| SI.Voltage | vRe (from OnePortSrc) | Active part of voltage phasor | |
| SI.Voltage | vIm (from OnePortSrc) | Reactive part of voltage phasor | |
| SI.Current | i (from OnePortSrc) | Current phasor | |
| SI.Current | iRe (from OnePortSrc) | Active part of current phasor | |
| SI.Current | iIm (from OnePortSrc) | Reactive part of current phasor | |
| SI.Angle | phi (from OnePortSrc) | Angle between voltage and current phasors | |
| SI.Angle | phi_v (from OnePortSrc) | Angle of voltage phasor | |
| SI.Angle | phi_i (from OnePortSrc) | Angle of current phasor |