# LTSpice current dependent current source timestep too small error

I solved this circuit by hand.Which asks to calculate vo and Io in the circuit.

And I tried to verify results with LTSpice.

If I change dependent current source B2's equation to I = I(R1)* 50 it gives an error like that:

If I use I = I (R1) it works fine. What might be the problem here?

• I think it has to do with roundings. Check what happens to V(n001) when using I = I(R1)* 20. Mar 14, 2019 at 7:33
• It has also to do with how the initial operating point is calculated. When using I = -I(B1)*50 or I = -I(V1)*50 it works nicely. Mar 14, 2019 at 7:43
• Thanks. If I use I = -I(B1)*50 voltage it works fine. If you answer I may select it as accepted answer.
– user211748
Mar 14, 2019 at 8:08
• Well, it's not the answer but the solution to "What might be the problem here?" ... Mind to keep it unanswered till someone can explain the cause? I'm curious as well. Mar 14, 2019 at 8:16
• If you specify I(R1) alone you don't know the direction of the current. Make sure you get that right. Mar 14, 2019 at 10:46

If you open up the manual (F1) and look at LTspice > Circuit Elements > B. Arbitrary Behavioural Voltage or Current Source, you'll see this bullet point:
For the CCCS, I have used V1, for comodity, since it's already there, otherwise you would have had to add a zero-valued voltage source in series with R1 (with correct polarity).
As a side note, in your schematic, you're labeling the ground net with C, which can be done, but it's completely useless. IIRC, except the ground, naming the same net more than once means LTspice will use the latest label.