SDK Module Input/Output Documentation

4 posts / 0 new
Last post
tmartin
SDK Module Input/Output Documentation

Hi,

Is there anywhere aside from the Module Browser that we can find the inputs/outputs for specific modules? (Documentation somewhere?) I'm in a weird situation where I have a 32-bit Matlab version that runs the using the 32 bit modules. When I open the module browser it only lets me check through the 64-bit modules or it throws an error message. I'm assuming the inputs are different between the 32- and 64-bit modules because Matlab is displaying a pvwattsv1 error asking for an input variable I don't see in my module browser.

Thanks for your help!

Paul Gilman

Hello,

The 32-bit and 64-bit SSC modules have the same inputs (they are based on the same code), so I don't think that is what is causing the problem. It is more likely that you are looking at a different version of SSC in the SDKtool than you are using with MATLAB. To ensure you are looking at the same version of SSC, start the SDKtool, and then click the "Choose SSC library" button and navigate to the copy of ssc.dll that MATLAB is using. (Note that you'll need to use the 32-bit version of SDKtool to read the 32-bit version of ssc.dll, and likewise for the 64-bit version.)

You can also use the variable documentation functions as described in Section 3.4 of the SSC Guide that comes with the SDK to list all of a modules variables from your code.

What is the pvwattsv1 variable that the error mentions?

Best regards,
Paul.

tmartin

Hi Paul,

My mistake, I actually found the variable in the SDKtool. I made a wrong assumption that the inputs would all be grouped together. This one was actually hidden further down.

Not sure if it's still relevant but the variable was "adjust:constant".

Sorry about the confusion, but thank you for your respnse.

Paul Gilman

Ah, yes. The variables appear in the SDKtool Module Browser in the order they are declared in the source code, so you need to search through the entire list to find all of the input variables.

Best regards,
Paul.

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer