Software Developoment Kit (SDK)

2 posts / 0 new
Last post
fayya
SSC

Hello,

I'm trying to add the dll file of SSC as a reference for a C# application in Visual Studio and I got an error stating " A reference to "the path of the SSC dll" could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component"
I am kind of stuck, and I'll appreciate your help with this matter.
Thank you,

2 posts / 0 new
Last post
Jesus Garcia
Version SAM 2018.8.13

Dear all,

I would like to know when will be able for download the version SAM 2018.8.13 (which currently appears in your webinars) of your software?

Many thanks in advance,
Jesus G.

2 posts / 0 new
Last post
gorman_will
SAM Python API AC vs. DC

Hello, I am using the SSC API to generate output for solar generation. I wanted to clarify whether the output I am pulling from SAM is in AC or DC terms.

The command I am using to get my final output is:

# Create SAM compliant object
dat = ssc.data_create()
ssc.data_set_table(dat, b'solar_resource_data', wfd)
ssc.data_free(wfd)

df['generation'] = np.array(ssc.data_get_array(dat, b'gen')).

So, is b'gen provided in AC or DC terms? I have set my ac:dc ratio to 1.1 and am simulating a bunch of 1 MW plants.

Thanks!

2 posts / 0 new
Last post
seyong.kim
How could I look at python codes for wind_obos module?

Hi,

I simulated a model for offshore wind farm in SAM and generated a Python codes.
While I am reviewing the codes and trying some modification for iterative simulations, I cannot see how wind_obos module works from the generated code, for example, setting input variables for wind_obos (offshore balance of system model), executing wind_obos module, and retrieving the output etc.

Does anybody know how to work on this?

Best regards,
Seyong

1 post / 0 new
heychrisaikens
Cell Type enum ordering mismatch

We are writing some custom wrappers around both the pvsamv1 and iec61853par modules, but are seeing a mismatch in the ordering of enum options between the two when using the SAM UI and the SSC SDKTool.

The enum for iec61853par has CdTe as the fifth option, but the SAM UI for the IEC61853 Single Diode Model option has CdTe listed third.

In addition, the only field in the SDK Tool that calls out the enum also has a different order (see below).

2 posts / 0 new
Last post
heychrisaikens
Cell Type enum ordering mismatch

We are writing some custom wrappers around both the pvsamv1 and iec61853par modules, but are seeing a mismatch in the ordering of enum options between the two when using the SAM UI and the SSC SDKTool.

The enum for iec61853par has CdTe as the fifth option, but the SAM UI for the IEC61853 Single Diode Model option has CdTe listed third.

In addition, the only field in the SDK Tool that calls out the enum also has a different order (see below).

2 posts / 0 new
Last post
xpeng37@wisc.edu
SDK needs more input variables than Desktop application

Hi Paul,

This question is about the number of input variables in SDK.

Let me take Photovaltaic, LCOE Calculator for example. Using the desktop application, under system design, system sizing. We can choose to specify either [desired system size] or [# of strings and inverters].
But in the python code it generated, I have to specify all three sizing variables as inputs:

ssc.data_set_number( data, b'system_capacity', xxx )
ssc.data_set_number( data, b'strings_in_parallel', xxx )
ssc.data_set_number( data, b'inverter_count', xxx )

3 posts / 0 new
Last post
toq1
battwatts input parameters

Where can I find the unit specifications/descriptions for the battwatts module in the SDKtool? I am interested in determining the options for the inputs for battery chemistry, dispatch, and meter position. There is no metadata listed describing the 0,1, or 2 options for these inputs.

2 posts / 0 new
Last post
xpeng37@wisc.edu
Call SAM using Excel VBA

Hi Paul,

Is it possible to call SAM directly from EXCEL using vba code?
I think it could since the code generator can generate vba code. I try that but it generated a bunch of csv files, I go through them and could not figure out where the vba code sits?
Could you point me to the code or provide me with an vba call SAM example?

Thanks,
Xinyue

2 posts / 0 new
Last post
xpeng37@wisc.edu
matlab ssccall fail and python 3 example

Hi Paul,

I am a new user of SAM SDK.

I first try to run the matlab example, but it fails to call the ssccall.m with an error "error: 'ssclib' undefined near line 23 column 21". Do you know how to solve the issue? Is this related to the C complier?

I also try to run the python example, but since I am using python 3, the syntax of the example doesn't match. Could I find an example written in python 3?

Thanks,
Xinyue

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer