Hello,
I am interested in using SAM to run PV simulations. However, I would like in some cases to combine it with in-house scripts (e.g. in Matlab or other language). For example, I would be interested in:
-Trying to estimate different PV module losses: e.g. thermal losses, spectral losses, reflection losses, etc.
-Calculating self-shading losses for arrays of thin film modules
-Replacing certain calculations (e.g. spectral loss calculations) as needed
I was wondering if you could tell me whether in your opinion this is feasible with SAM and, if so, what would be the most appropriate way to do it. I looked at SDK documentation briefly, and modules such as pvsam1, but I get the sense that pvsam1, for instance, includes many different models within it, and that these can't be separated out.
Alternatively, is it possible to have access to the SAM code for different PV models? For example, we have been using PVLIB from the PV Modeling Collaborative:
pvpmc.sandia.gov/resources-for-members/pv_lib-toolbox/pv_lib-toolbox-for-python/pv_lib-python-functions-by-category/
I was wondering if SAM functions are available in the same way as PVLIB, so that we can use them in a modular way.
Best regards,
Sophie