I have seen many manufactures using diodes N<1 for their PSpice model and LTSpice model diodes so I tried to run temperature sweep in LTSpice and PSpice

  • In LTSpice if N<1 DC sweep eg:1m with .temp it dont provide necessary plot Temperature Sweep

For Pspice



with Temperature other than 27C we get error


  • So I tried to keep N=1036 and tried to match IS accordingly in EXCEL but the overlayed result diode current dont match for N=1m enter image description here

  • Is there any other way to match diode drop and current in PSpice of N=1m, So that it can be temperature swept?

  • \$\begingroup\$ N is usually 1...2,3 or so, and Is ranges from femto to micro, or nano, so what you have there may be an abomination. It might be time to step back a bit and rethink. \$\endgroup\$ Commented Nov 11, 2019 at 20:10

1 Answer 1


Regarding LTspice, you cannot simultaneously use a .TEMP and a .STEP command .

.TEMP is an archaic form of the step command for temperature. It is equivalent to

.STEP TEMP LIST <T1> <T2> ...

which reveals why adding another .STEP command yields no simulation.

Just use e.g. a transient analysis, like

.tran 1m
.step temp list 0 20 40 60 80 100
.temp 0 20 40 60 80 100

to step the temperature.

  • \$\begingroup\$ Thanks for mentioning it but is it possible to match N=1m (in PSpice) behavior by above methods which I mentioned i have to carry it out by 1] Spice diode statement [2] Macro--Model Sub circuit ?(*As I mentioned N=1m notifies overflow of the device) \$\endgroup\$
    – Pai
    Commented Nov 11, 2019 at 12:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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