Capacitor
- Instance line
Cname …- Model line
.model mname c- Terminals
- C+, C-
- Described in
- Elementary devices
- Source
src/lib/dev/cap/cap.c
Instance parameters (13)
Input and output (4)
| name | type | description | notes |
|---|---|---|---|
capacitance | real | Device capacitance | ac; principal: the value given without a keyword |
ic | real | Initial capacitor voltage | ac; listed by show only when all parameters are asked for |
w | real | Device width | ac; listed by show only when all parameters are asked for |
l | real | Device length | ac; listed by show only when all parameters are asked for |
Input only (1)
| name | type | description | notes |
|---|---|---|---|
sens_cap | flag | flag to request sens. WRT cap. |
Output only (8)
| name | type | description | notes |
|---|---|---|---|
i | real | Device current | |
p | real | Instantaneous device power | |
sens_dc | real | dc sensitivity | listed by show only when all parameters are asked for |
sens_real | real | real part of ac sensitivity | listed by show only when all parameters are asked for |
sens_imag | real | dc sens. & imag part of ac sens. | listed by show only when all parameters are asked for |
sens_mag | real | sensitivity of ac magnitude | listed by show only when all parameters are asked for |
sens_ph | real | sensitivity of ac phase | listed by show only when all parameters are asked for |
sens_cplx | complex | ac sensitivity | listed by show only when all parameters are asked for |
Model parameters (5)
Input and output (4)
| name | type | description | notes |
|---|---|---|---|
cj | real | Bottom Capacitance per area | ac |
cjsw | real | Sidewall capacitance per meter | ac |
defw | real | Default width | |
narrow | real | width correction factor | ac |
Input only (1)
| name | type | description | notes |
|---|---|---|---|
c | flag | Capacitor model |
Parameters are set on the instance or .model line as keyword=value, and read back with @name[keyword] or the show and showmod commands. See the device reference.