API Instructions - Change of units

4 posts / 0 new
Last post
Tom Hardy
API Instructions - Change of units

In API instructions /2. SAM Simulation (https://nsrdb.nrel.gov/api-instructions) it says:
# Specify the system Configuration
# Set system capacity in MW
system_capacity = 4

I the SDK documentation and the PVWatts Version 5 Manual the system size/capacity used as an example is 4 kW.

Shouldn't be here kW instead of MW?

Paul Gilman

Dear Tom,

Yes. The units for the pvwattsv5 module input variable system_capacity are DC kW.

That looks like a typo in the comment of NSRDB example code.

Best regards,
Paul.

Tom Hardy

Dear Paul,

You may also check in (https://nsrdb.nrel.gov/api-instructions) the specifications for the array type. For pvwattsv5, as in the example, I believe that instead of:

# Specify fixed tilt system (1=true, 0=false)
ssc.data_set_number(dat, 'array_type', 0)

Should be:
# Specify array type (0,1,2,3,4) = (Fixed OR, Fixed Roof, 1Axis, Backtracked, 2Axis)
ssc.data_set_number(dat, 'array_type', 0)

Paul Gilman

Dear Tom,

Thank you for that feedback. You are correct that in pvwattsv5, the valid values for array type are 0, 1, 2, 3, or 4. That mistake is in the comment, so should not affect the result.

I will share your comment with the NSRDB team.

Best regards,
Paul.

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer