* Z:\home\khalils\Downloads\files\data\raw_asc\d539e6f87ecc_panel_diode_spice.asc
* Generated by LTspice 26.0.1 for Windows.
I4 0 N008 {0.25*iph}
R3 N007 0 {Rp}
V1 out 0 0
D3 N004 N006 cell_diode
D1 N002 N005 cell_diode
R7 N008 0 {Rp}
D4 N008 0 cell_diode
I3 N006 N004 {iph}
R8 N006 N008 {Rs}
I2 0 N007 {0.25*iph}
I1 N005 N002 {iph}
D5 N006 N001 bypass_diode
R2 N003 N002 {Rs}
R5 N004 N006 {Rp}
D6 0 N006 bypass_diode
V3 N001 out 0
R6 N001 N004 {Rs}
V2 N003 out 0
R1 N002 N005 {Rp}
D2 N007 0 cell_diode
R4 N005 N007 {Rs}
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.model cell_diode D(Is=315n N=1.4)
.param V_max=1.4
.dc V1 0 {V_max}
.param iph=10 Rp=10.1 Rs=4.2m
.model bypass_diode D(Is=1m N=1.4)
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1236 680
WIRE 608 0 512 0
WIRE 1216 0 688 0
WIRE 96 96 -16 96
WIRE 192 96 96 96
WIRE 256 96 192 96
WIRE 384 96 336 96
WIRE 512 96 512 0
WIRE 512 96 464 96
WIRE 928 96 816 96
WIRE 1024 96 928 96
WIRE 1088 96 1024 96
WIRE 1216 96 1216 0
WIRE 1216 96 1168 96
WIRE -16 128 -16 96
WIRE 96 128 96 96
WIRE 192 128 192 96
WIRE 816 128 816 96
WIRE 928 128 928 96
WIRE 1024 128 1024 96
WIRE 1216 144 1216 96
WIRE -16 240 -16 208
WIRE 96 240 96 192
WIRE 96 240 -16 240
WIRE 192 240 192 208
WIRE 192 240 96 240
WIRE 384 240 192 240
WIRE 816 240 816 208
WIRE 928 240 928 192
WIRE 928 240 816 240
WIRE 1024 240 1024 208
WIRE 1024 240 928 240
WIRE 1216 240 1216 208
WIRE 1216 240 1024 240
WIRE 512 272 512 96
WIRE 96 320 -16 320
WIRE 192 320 96 320
WIRE 256 320 192 320
WIRE 384 320 384 240
WIRE 384 320 336 320
WIRE 928 320 816 320
WIRE 1024 320 928 320
WIRE 1088 320 1024 320
WIRE 1216 320 1216 240
WIRE 1216 320 1168 320
WIRE -16 352 -16 320
WIRE 96 352 96 320
WIRE 192 352 192 320
WIRE 816 352 816 320
WIRE 928 352 928 320
WIRE 1024 352 1024 320
WIRE 1216 368 1216 320
WIRE -16 464 -16 432
WIRE 96 464 96 416
WIRE 96 464 -16 464
WIRE 192 464 192 432
WIRE 192 464 96 464
WIRE 384 464 192 464
WIRE 816 464 816 432
WIRE 928 464 928 416
WIRE 928 464 816 464
WIRE 1024 464 1024 432
WIRE 1024 464 928 464
WIRE 1216 464 1216 432
WIRE 1216 464 1024 464
WIRE 384 512 384 464
WIRE 512 512 512 352
WIRE 1216 512 1216 464
SYMBOL diode 1232 208 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D5
SYMATTR Value bypass_diode
SYMBOL voltage 704 0 R90
WINDOW 3 24 44 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value 0
SYMBOL current -16 208 R180
WINDOW 0 24 80 Left 2
WINDOW 3 24 0 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName I1
SYMATTR Value {iph}
SYMBOL diode 1232 432 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D6
SYMATTR Value bypass_diode
SYMBOL voltage 512 256 R0
WINDOW 3 24 44 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 0
SYMBOL diode 80 128 R0
WINDOW 3 -38 81 Left 2
SYMATTR InstName D1
SYMATTR Value cell_diode
SYMBOL res 1008 112 R0
SYMATTR InstName R5
SYMATTR Value {Rp}
SYMBOL diode 912 352 R0
WINDOW 3 -38 81 Left 2
SYMATTR InstName D4
SYMATTR Value cell_diode
SYMBOL voltage 368 96 R270
WINDOW 3 24 44 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 0
SYMBOL current 816 208 R180
WINDOW 0 24 80 Left 2
WINDOW 3 24 0 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName I3
SYMATTR Value {iph}
SYMBOL diode 80 352 R0
WINDOW 3 -38 81 Left 2
SYMATTR InstName D2
SYMATTR Value cell_diode
SYMBOL diode 912 128 R0
WINDOW 3 -38 81 Left 2
SYMATTR InstName D3
SYMATTR Value cell_diode
SYMBOL current 816 432 R180
WINDOW 0 24 80 Left 2
WINDOW 3 24 0 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName I4
SYMATTR Value {0.25*iph}
SYMBOL res 176 336 R0
SYMATTR InstName R3
SYMATTR Value {Rp}
SYMBOL res 352 304 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value {Rs}
SYMBOL res 1008 336 R0
SYMATTR InstName R7
SYMATTR Value {Rp}
SYMBOL res 352 80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value {Rs}
SYMBOL current -16 432 R180
WINDOW 0 24 80 Left 2
WINDOW 3 24 0 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName I2
SYMATTR Value {0.25*iph}
SYMBOL res 1184 80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R6
SYMATTR Value {Rs}
SYMBOL res 1184 304 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R8
SYMATTR Value {Rs}
SYMBOL res 176 112 R0
SYMATTR InstName R1
SYMATTR Value {Rp}
FLAG 384 512 0
FLAG 512 512 0
FLAG 1216 512 0
FLAG 512 96 out
TEXT -112 -72 Left 2 !.model cell_diode D(Is=315n N=1.4)
TEXT -112 -104 Left 2 !.param V_max=1.4
TEXT -106 -184 Left 2 !.dc V1 0 {V_max}
TEXT -112 -136 Left 2 !.param iph=10 Rp=10.1 Rs=4.2m
TEXT -112 -40 Left 2 !.model bypass_diode D(Is=1m N=1.4)