Ngspice simulation question

I have checked solar cell simulation on Ltspice, Pspice. the equivalent circuit used is same as attached when I try to use same circuit in Ngspice, it doesn’t work correctly. Please comment to solve the issue.SOLAR_CELL_DVV.docx (323.0 KB)

Moved to a new topic, please don’t append unrelated questions to old threads

Unfortunately I do not get from your data what you are expecting from the simulator and what you are getting now.

What is the role of the I/V curve you are showing. I do not understand which nodes from your circuit you have plotted, and what were the simulation conditions.

There has been a problem that KiCAD sometimes sends the diode with wrong polarity to ngspice. The user has to check this carefully.

If you could generate the netlist file (*.sp or *.cir) that KiCAD sends to ngspice and post it here, I may have a look.

1 Like