Capacitance Meter

The capacitance meter is a sensing device which is attached to a circuit node ad produces as an output a scaled value equal to the total capacitance seen on its input multiplied by the gain parameter. This model is primarily intended as a building block for other models which must sense a capacitance value and alter their behavior based upon it.

Port Table

Description Direction Default Type Allowed Types Vector Vector Bounds Null Allowed
Input IN v v,vd NO   NO
Output OUT v v,vd,i,id NO   NO

Parameter Table

Name Description Data Type Default Value Limits Vector Vector Bounds Null Allowed
gain C to voltage conversion factor Real 1.0   NO   YES


atest1 1 2 ctest
.model ctest cmeter(gain=1.0e12)

See also

XSPICE Devices
XSPICE Code Models