.IC -- Set Initial Conditions


The .ic directive allows initial conditions for transient analysis to be specified. Node voltages and inductor currents may be specified. A DC solution is performed using the initial conditions as constraints. Note that although inductors are normally treated as short circuits in the DC solution in other SPICE programs, if an initial current is specified, they are treated as infinite-impedance current sources in LTspice.


Syntax: .ic [V(<n1>)=<voltage>] [I(<inductor>)=<current>]


Example: .ic V(in)=2 V(out)=5 V(vc)=1.8 I(L1)=300m