You can not use the built-in model. You have to use non-linear sources to simulate the diode currents.
The basic formula for the diode:
........................VD
.ID = IS*(EXP( ---------- ) - 1 )
...................... N*VT
and
...............................T XTI Q*EG T-TNOM
IS(T) = IS(TNOM)*( ------- ) * EXP( ------- * -------------- )
...........................TNOM K T*TNOM
Bordodynov.
04.07.2013, 13:28, "hamed" <l0st_l0rd@...>:
toggle quoted message
Show quoted text
Dear friends
I want to design a diode which could work with variable parameters.
I mean :
this is an example for defined model :
.param iscr=1
.param vocr=1
d1 1 0 diode
.model diode d(is={iscr*vocr}, n=1.1, xti=3)
but I want that it could pick up the parameters from some nodes and become
variable:
for example I bring a part of a circuit and the nodes are not correct just to
show you how I want to work :
eisc 305 300 value={v(302)/1000*(jscr*area+coef_jsc*area*(v(307)-25))}
evoc 306 300 value={if (v(305)>1e-11, vocr+coef_voc*(v(307)-25)+8.66e-5*
+ (v(307)+273)*log(v(305)/(area*jscr)),0)}
d1 1 0 diode
.model diode d(is=v(305)*v(306), n=1.1, xti=3)
problem are errors for the modelbecause of the nodes not parameters or defined
number.
Do you any methode that I could use formulas like that ?
thanks in advance