I've been trying to create the IV curve for all the PV operating points over 1 year for some geographic locations. I am able to run the python module for some of the points but for some I get an error.
nrel-pysam.readthedocs.io/en/master/modules/SixParsolve.html
I am running the Pvsamv1 module to extract the PV information like the operating current, voltage, power, etc. for certain locations and for a specific PV panel which I get from the CEC Modules.xlsx file located in the libraries folder of the SAM software installation.
I initiate a new instance of the module with SixParsolve.new(). To define the parameters for this I use:
SixParsolve.SixParameterSolver.Imp
SixParsolve.SixParameterSolver.Isc
SixParsolve.SixParameterSolver.Nser
etc.
My inputs before running the execute command are as follows:
It worked fine for inputs like this so i'm not sure what the issue is.
What i'm basically trying to do is apply inverter input limits so that i know how the inverter would clip the input. SAM's clipping method does not take into account the inverter max current so this is why I need to develop my own method. I'm trying to generate the IV curve to be able to know where the operating point would be if for some points they lie outside the inverter envelope. For example, lets say the y-axis is Pdc and x-axis is Vdc for the PV panel and when I connect the inverter I want to know where the new points will be. The only way to truly know where they will move to is if I have the IV curve of each point. The red is the inverter envelope and the 3 red points are some of the blue points that lie outside the inverter envelope. I want to find all the IV curves for all the points outside this envelope so i'm trying to generate the diode parameters SAM uses but for some of the points that lie outside this envelope i'm getting an error when I run the SixParameterSolver module as stated above.