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.

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

Connectors

TypeNameDefaultDescription
PosComplexPinpPositive complex pin (potential p.v > n.v for positive voltage drop v)
NegComplexPinnNegative complex pin
Modelica.Blocks.Interfaces.RealOutputactivePwrActive power of component
Modelica.Blocks.Interfaces.RealOutputreactivePwrReactive power of component
ComplexLib.Interfaces.ComplexOutputcomplexPwrComplex value of power of component

Components

TypeNameDefaultDescription
SI.VoltagevVoltage phasor
SI.VoltagevReActive part of voltage phasor
SI.VoltagevImReactive part of voltage phasor
SI.CurrentiCurrent phasor
SI.CurrentiReActive part of current phasor
SI.CurrentiImReactive part of current phasor
SI.AnglephiAngle between voltage and current phasors
SI.Anglephi_vAngle of voltage phasor
SI.Anglephi_iAngle of current phasor