Thank you very much for your guides.
Actually I tried the formula for the diode and I did not get an answer.
Therefore, I upload my complete circuit.
in this circuit which is a solar cell, when I put two cell in series, I have a
distortion but when I put the in parallel, I have the right answer which I think
is because of the diode design.
could you have a look on it ?
you can find the file in FILES>Temp>cell_beh1.cir
Kind regards
Hamed
toggle quoted message
Show quoted text
--- In LTspice@..., "hamed" <l0st_l0rd@...> wrote:
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