solcore5 icon indicating copy to clipboard operation
solcore5 copied to clipboard

Processing SPICE IV curves using SolCore

Open iclned opened this issue 4 years ago • 1 comments

SolCore is integrated with SPICE but the reading and writing of SPICE files appear to be hidden from the user. There are instances where it would be useful to load a SPICE .out file that contains an IV curve and process it to determine PV parameters : Pmax, Vmax, Imax, FF.

For example, users might generate their SPICE file using a text editor or using PySpice and could then use SolCore to determine the PV parameters.

iclned avatar Mar 27 '20 06:03 iclned

Hiding SPICE from the user is intentional. For all purposes, all users need to know is that there's a SPICE engine solving their (typically complex) problem. I agree that in some ocasions, this is not very flexible, preventing to finely tune your model if, for some reason, this is not converging. This we should review.

However, what you suggest is something completely different: purely post-processing some data (an IV curve) generated with an external SPICE solver. To me, that's a separate module with a couple of functions to load the file, extract the data of interest, process it and print the results. It does not seem related to the current spice module in Solcore.

dalonsoa avatar Mar 27 '20 21:03 dalonsoa