Capacitor
Single phase linear capacitor
Library
Modelica/Electrical/QuasiStationary/SinglePhase/Basic
Description
The linear capacitor connects the voltage v
with thecurrent i
by i = j*ω*C*v
.The capacitance C
is allowed to be positive, zero, or negative.
See also
Resistor,Conductor,Inductor,Impedance,Admittance,Variable resistor,Variable conductor,Variable capacitor,Variable inductor,Variable impedance,Variable admittance
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_C | C | Capacitance | Scalar |
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 | 'abs_v' | |
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 |