Capacitor
Ideal linear electrical capacitor
Library
Modelica/Electrical/Analog/Basic
Description
The linear capacitor connects the branch voltage v with the branch current i by i = C * dv/dt. The Capacitance C is allowed to be positive or zero.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_C | C | Capacitance | Scalar |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_v | v | v | Structure | |
mo_v/fixed | fixed | Cell of scalars | true | |
mo_v/start | start | Cell of scalars | ||
mo_i | i | i | Structure | |
mo_i/fixed | fixed | Cell of scalars | true | |
mo_i/start | start | Cell of scalars |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
p | implicit | Positive electrical pin | input | 1 |
n | implicit | Negative electrical pin | output | 1 |