SAM Python API AC vs. DC

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!

Paul Gilman

Hello,

The 'gen' variable is AC power.

Best regards,
Paul.

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer