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)