API Instructions - Change of units

  • Tom Hardy
  • Topic Author
More
05 Jan 2017 10:57 #5059 by Tom Hardy
API Instructions - Change of units was created by Tom Hardy
In API instructions /2. SAM Simulation ( 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?

Please Log in or Create an account to join the conversation.

  • pgilman
More
05 Jan 2017 13:00 #5060 by pgilman
Replied by pgilman on topic API Instructions - Change of units
Dear Tom,

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

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

Best regards,
Paul.

Please Log in or Create an account to join the conversation.

  • Tom Hardy
  • Topic Author
More
06 Jan 2017 06:48 #5061 by Tom Hardy
Replied by Tom Hardy on topic API Instructions - Change of units
Dear Paul,

You may also check in ( 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)

Please Log in or Create an account to join the conversation.

  • pgilman
More
10 Jan 2017 13:31 #5062 by pgilman
Replied by pgilman on topic API Instructions - Change of units
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.

Please Log in or Create an account to join the conversation.

Moderators: pgilman
Powered by Kunena Forum