capacitor :
A capacitor circuit element.
The capacitor
primitive represents a two-terminal capacitor. Note that this primitive is a pseudo-module to describe a structural netlist of electrical circuits and not a behavioral model by itself. The XMODEL simulator extracts an event-driven behavioral model at run-time based on the circuit network described by these circuit-level pseudo-modules.
Input/Output Terminals
Name | I/O | Type | Description |
pos | input | xreal | positive terminal |
neg | input | xreal | negative terminal |
Parameters
Name | Type | Default | Unit | Description |
C | real | 1.0 | farads | capacitance |
ic | real | `NaN | volts | initial condition |
Cpos | real | 0.0 | farads | pos-to-gnd capacitance |
Cneg | vreal | 0.0 | farads | neg-to-gnd capacitance |