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.
Fraunhofer IIS/EAS, Dresden
email: olaf.enge@eas.iis.fraunhofer.de
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.AngularFrequency | omega | Constants.omega | AngularFrequency of the complete AC circuit |
| SI.Capacitance | C | 1 | Capacitance of component |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| PosComplexPin | p (from OnePort) | Positive complex pin (potential p.v > n.v for positive voltage drop v) | |
| NegComplexPin | n (from OnePort) | Negative complex pin | |
| Modelica.Blocks.Interfaces.RealOutput | activePwr (from OnePort) | Active power of component | |
| Modelica.Blocks.Interfaces.RealOutput | reactivePwr (from OnePort) | Reactive power of component | |
| ComplexLib.Interfaces.ComplexOutput | complexPwr (from OnePort) | Complex value of power of component |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Voltage | v (from OnePort) | Voltage phasor | |
| SI.Voltage | vRe (from OnePort) | Active part of voltage phasor | |
| SI.Voltage | vIm (from OnePort) | Reactive part of voltage phasor | |
| SI.Current | i (from OnePort) | Current phasor | |
| SI.Current | iRe (from OnePort) | Active part of current phasor | |
| SI.Current | iIm (from OnePort) | Reactive part of current phasor | |
| SI.Angle | phi (from OnePort) | Angle between voltage and current phasors | |
| SI.Angle | phi_v (from OnePort) | Angle of voltage phasor | |
| SI.Angle | phi_i (from OnePort) | Angle of current phasor |