1

Starting from this question a doubt arises about the use of (global) .IC directives for 'branch currents' in LTspice (or maybe just SPICE)

Consider the .TRAN card with UIC flag. From some test done it seems to me possibly .IC directives set for inductor currents (e.g. .IC I(L1)=10) are actually not employed as initial conditions.

Is anyone aware of this? Thanks

enter image description here



Edit: Based on the comments received I add another screenshot for the simulation of the same circuit this time with the L1 inductor initial current set at device level (per-instance)

enter image description here

As you can see the result is different. This time it seems device-level condition for I(L1) is actually taken in in account. Thus for the .TRAN simulation with UIC flag it seems the global .IC directive for 'node voltages' alone is actually taken in account (to work out the voltage initial conditions for capacitors)

My question was to confirm this behavior. Thanks

Carlo C
  • 23
  • 7

0 Answers0