My goal is to calculate transient current and voltage in a following circuit:

enter image description here

Also, immediately after the switch is closed, initial current is 0 and then it exponentially increases until the value reaches the value defined by the steady state. Mesh analysis gives 5mA for the mesh which contains an inductor and 1.75 mA for the other mesh. LTSpice transient analysis confirms these values.

Next step is to define the voltage and the time constant. For the simple circuit (voltage source - resistance - inductance in series) the voltage (immediately after closing the switch) is equal to the source voltage. Since this is the complex circuit, the Thévenin equivalent must be found. Here is the resulting circuit: enter image description here Now the voltage across the inductor immediately after closing the switch is equal to 90 V. Time constant

tau = L/R = 0.36/18k (s).

However, LTSpice shows that the voltage across the inductor is something below 60 V:

enter image description here

What is wrong with my assumptions and calculations?


You should not use the startup option.
Do measure the voltage source V1 with this "startup" option and plot/see what happens to the voltage of the voltage source.

Use initial conditions instead, like .ic i(L1)=0.

| improve this answer | |
  • \$\begingroup\$ Works perfect! Can you explain, please, what is the difference between "startup" and "initial conditions". This topic recommends to use "startup": electronics.stackexchange.com/questions/179671/… \$\endgroup\$ – tenghiz Jul 9 '19 at 9:04
  • \$\begingroup\$ @tenghiz I think the solution there is wrong, but not noticable. The "startup" option lets DC sources ramp to their final value in 20 usec. In your linked question, the time scale runs to about 60 msec, so the first 20usec are hardly noticable. \$\endgroup\$ – Huisman Jul 9 '19 at 9:12
  • \$\begingroup\$ I added a comment/suggestion to that question. \$\endgroup\$ – Huisman Jul 9 '19 at 9:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.