- Posts: 13
API Instructions - Change of units
- Tom Hardy
- Topic Author
Less
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?
# 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
Less
More
- Posts: 5447
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
are DC kW.
That looks like a typo in the comment of NSRDB example code.
Best regards,
Paul.
Yes. The units for the pvwattsv5 module input variable
Code:
system_capacity
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
Less
More
- Posts: 13
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)
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
Less
More
- Posts: 5447
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.
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