Reply To: Problems with Spice circuit

Home Forums Photovoltaic Circuits Problems with Spice circuit Reply To: Problems with Spice circuit

#16472
raheemq
Guest

Hi Cribald.
First of all thank you for your help!
I did as you wrote, but still I’ve got a problem. Now my circuit looks:
* cell_3.cir
.include elementy.lib
xcell1 45 43 42 cell_2 params:area=126.6 j0=1e-11 j02=1E-9
+jsc=0.0343 RSH=1000 RS=0.0001

xcell2 47 45 44 cell_2 params:area=126.6 j0=1e-11 j02=1E-9
+jsc=0.0343 RSH=1000 RS=0.0001

xcell3 0 47 46 cell_2 params:area=126.6 j0=1e-11 j02=1E-9
+jsc=0.0343 RSH=1000 RS=0.0001

vbias 43 0 dc 0
virrad1 42 45 dc 1000
virrad2 44 0 dc 1000
virrad3 0 46 dc 1000
.probe
.plot dc i(vbias)
.dc vbias 0 2 0.01

.end

and I’d like to take trace of I(vbias) for the whole system. First of all current is negative (why?) and changing virrad of any solar cell do not change the current. And as far as I know it should affect the current, am I right?