Iconic Diagrams\Electric\Components
Domains: Continuous. Size: 1-D. Kind: Iconic Diagrams (Electric).
This model represents an ideal capacitor. The element has a preferred voltage out causality. The corresponding constitutive equations then contain an integration. The element can also have the non-preferred current out causality. The constitutive equations then contain a derivation. The port p of the inductor model has separate high and low terminals. The equations are:
p.i = p_high.i = p_low.i;
p.u = p_high.u - p_low.u;
voltage out causality (preferred):
p.u = (1/C)*int(p.i);
current out causality:
p.i = C * ddt(p.u);
Ports |
Description |
p_high, p_low |
Both terminals of the Electric port p. |
Causality |
|
preferred voltage out |
A current out causality results in a derivative constitutive equation. |
Parameters |
|
C |
capacitance [F] |
Initial Values |
|
p.u_initial |
The initial charge of the capacitor [V]. |