Setting initial current conditions through an inductor in EasyEDA.
.ic spice directive can only be used to set initial voltage conditions on one or more nets. It cannot be used to set an initial current through a component.
This example illustrates a simple way to use a current source to set an initial current through a component.
|2||PULSE(1 0 100n 20n)||V1||1|