This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TINA/Spice: TINA-TI: Floating point division by zero

Other Parts Discussed in Thread: TINA-TI

Tool/software: TINA-TI or Spice Models

Hi, 

Please see attached pspice code shared by one my customer. It is successfully compiled in TINA but shows error “Floating point division by zero”.

Same code is working perfectly in LTSpice.

Pulse.txt
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
.subckt Pulse1_12V + -
.param Ua = 13.5
.param Us = -150
.param Ri = 10
.param td = 2m
.param tr = 1u
.param t1 = 0.5
.param t2 = 200m
.param t3 = 50us
.param t0 = 1m
R2 + - {Ri}
I1 - + EXP(0 {Us/Ri} {t0+t3} {tr/2.2} {t0+t3+(5*tr)} {td/2.305} {t1})
I2 - + PULSE({Ua/Ri} 0 {t0} 1u 1u {t2} {t1})
.ends Pulse1_12V
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX