VariableCapacitor
Single-phase variable capacitor
![]()
Library
Modelica/Electrical/QuasiStatic/SinglePhase/Basic
Description
The linear capacitor connects the voltage v with thecurrent i by i = j*ω*C*v.The capacitance C is given as input signal.
Note
The abstraction of a variable capacitor at quasi-static operation assumes:
.
See also
Resistor,Conductor,Capacitor,Inductor,Impedance,Admittance,Variable resistor,Variable conductor,Variable inductor,Variable impedance,Variable admittance
Parameters

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
mo__nmodifiers | Number of Modifiers | Specifies the number of modifiers | Number | |
mo__modifiers | Modifiers | Add new modifier | Structure | |
mo__modifiers/varname | Variable name | Cell of strings | 'omega' | |
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
| Name | Type | Description | IO Type | Number |
|---|---|---|---|---|
pin_p | implicit | Positive quasi-static single-phase pin | input | 1 |
pin_n | implicit | Negative quasi-static single-phase pin | output | 1 |
C | implicit | Variable capacitances | input | 2 |