modelCapacitor

Ideal linear electrical capacitor

Extends from ComplexLib.SinglePhase.Interfaces.OnePort (Passive component having two ComplexPins p and n (one port) and using current phasor balance).

Information

The linear capacitor connects the branch voltage phasor v with the branch current phasor i by

      i = jωC*v.
The phase shift between voltage and current is -90°.
The capacitance C has a constant value.


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

Parameters

TypeNameDefaultDescription
SI.AngularFrequencyomegaConstants.omegaAngularFrequency of the complete AC circuit
SI.CapacitanceC1Capacitance of component

Connectors

TypeNameDefaultDescription
PosComplexPinp (from OnePort)Positive complex pin (potential p.v > n.v for positive voltage drop v)
NegComplexPinn (from OnePort)Negative complex pin
Modelica.Blocks.Interfaces.RealOutputactivePwr (from OnePort)Active power of component
Modelica.Blocks.Interfaces.RealOutputreactivePwr (from OnePort)Reactive power of component
ComplexLib.Interfaces.ComplexOutputcomplexPwr (from OnePort)Complex value of power of component

Components

TypeNameDefaultDescription
SI.Voltagev (from OnePort)Voltage phasor
SI.VoltagevRe (from OnePort)Active part of voltage phasor
SI.VoltagevIm (from OnePort)Reactive part of voltage phasor
SI.Currenti (from OnePort)Current phasor
SI.CurrentiRe (from OnePort)Active part of current phasor
SI.CurrentiIm (from OnePort)Reactive part of current phasor
SI.Anglephi (from OnePort)Angle between voltage and current phasors
SI.Anglephi_v (from OnePort)Angle of voltage phasor
SI.Anglephi_i (from OnePort)Angle of current phasor