The simulator supports the specification of voltage and current initial conditions on capacitor and inductor models, respectively. These models are not the standard ones supplied with SPICE3, but are in fact code models which can be substituted for the SPICE models when realistic initial conditions are required.

Port Table

Description Direction Default Type Allowed Types Vector Vector Bounds Null Allowed
Inductor terminals INOUT gd gd NO   NO

Parameter Table

Name Description Data Type Default Value Limits Vector Vector Bounds Null Allowed
l inductance Real     NO   NO
ic current initial condition Real 0.0   NO   NO


* This circuit contains a capacitor and an inductor with
* initial conditions on then.   Each of the components
* has a parallel resistor so that an exponential decay
* of the initial condition occurs with a time constant of
* 1 second. *
al 1 0 cap
.model cap capacitor (c=lOOOuf ic=1)
rl 1 0 lk
a2 2 0 ind
.model ind inductor (l=1H ic=1) 
r2 2 0 1.0

See also

XSPICE Devices
XSPICE Code Models