I've created a new project with SAM to validate my SAM SDK integration.
On SAM, I'm using PV - Flat Plate technology, a custom weather file, the "SMA America: SC500CP-US 270V" inverter, and user specified parameters for the module.
Results from SAM and the SDK are close, but different. If I choose a Module from the database then the results match! So the problem is with the Module with User Specs.
I triple checked the parameters looking at the SDK Tool and the results just don't match.
I'm only using the pvsamv1 module of the SDK to do this and am setting the values for the module like this:
cellTech = 1;
vmp = 30.0f;
imp = 6.0f;
voc = 37.0f;
isc = 7.0f;
bvoc = -0.11f;
aisc = 0.004f;
gpmp = -0.41f;
nser = 60;
area = 1.3f;
tnoct = 46.0f;
standoff = 6;
mounting = 0;
and then:
data.SetNumber("module_model", 2);
data.SetNumber("6par_celltech", cellTech);
data.SetNumber("6par_vmp", vmp);
data.SetNumber("6par_imp", imp);
data.SetNumber("6par_voc", voc);
data.SetNumber("6par_isc", isc);
data.SetNumber("6par_bvoc", bvoc);
data.SetNumber("6par_aisc", aisc);
data.SetNumber("6par_gpmp", gpmp);
data.SetNumber("6par_nser", nser);
data.SetNumber("6par_area", area);
data.SetNumber("6par_tnoct", tnoct);
data.SetNumber("6par_standoff", standoff);
data.SetNumber("6par_mounting", mounting);
Am I doing something wrong here? The parameters are the default ones for SAM when you choose "CEC - Module With User Entered Specifications"
Thanks