From 82b725a77c57c6bb6be7c8a2f0372d885316e739 Mon Sep 17 00:00:00 2001 From: Steven Janzou Date: Tue, 3 Oct 2023 01:38:07 -0600 Subject: [PATCH] Fix issue #1037 --- ssc/cmod_pvsamv1.cpp | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/ssc/cmod_pvsamv1.cpp b/ssc/cmod_pvsamv1.cpp index 09f23ecd4..3e439f71f 100644 --- a/ssc/cmod_pvsamv1.cpp +++ b/ssc/cmod_pvsamv1.cpp @@ -93,8 +93,6 @@ static var_info _cm_vtab_pvsamv1[] = { {SSC_INPUT, SSC_NUMBER, "subarray1_slope_azm", "Sub-array 1 terrain azimuth", "degrees", "", "System Design", "subarray1_track_mode=1", "MIN=0,MAX=359.9", "" }, {SSC_INPUT, SSC_ARRAY, "subarray1_monthly_tilt", "Sub-array 1 monthly tilt input", "degrees", "", "System Design", "subarray1_track_mode=4", "LENGTH=12", "" }, -// {SSC_INPUT, SSC_TABLE, "subarray1_shading", "Sub-array 1 shading losses", "", "", "Shading", "?", "", "" }, - {SSC_INPUT, SSC_NUMBER, "subarray1_shading_en_string_option", "Enable Sub-array 1 shading string option", "0/1", "0=false,1=true", "Shading", "?=0", "BOOLEAN", "" }, {SSC_INPUT, SSC_NUMBER, "subarray1_shading_string_option", "Sub-array 1 shading string option", "", "0=shadingdb,1=average,2=maximum,3=minimum", "Shading", "?=-1", "INTEGER,MIN=-1,MAX=4","" }, {SSC_INPUT, SSC_NUMBER, "subarray1_shading_en_timestep", "Enable Sub-array 1 timestep beam shading losses", "0/1", "0=false,1=true", "Shading", "?=0", "BOOLEAN", "" }, @@ -171,9 +169,7 @@ static var_info _cm_vtab_pvsamv1[] = { {SSC_INPUT, SSC_NUMBER, "subarray2_gcr", "Sub-array 2 Ground coverage ratio", "0..1", "", "System Design", "?=0.3", "MIN=0.01,MAX=0.99", "" }, {SSC_INPUT, SSC_NUMBER, "subarray2_slope_tilt", "Sub-array 2 terrain tilt", "degrees", "", "System Design", "subarray2_enable=1&subarray2_track_mode=1", "MIN=0,MAX=90", "" }, {SSC_INPUT, SSC_NUMBER, "subarray2_slope_azm", "Sub-array 2 terrain azimuth", "degrees", "", "System Design", "subarray2_enable=1&subarray2_track_mode=1", "MIN=0,MAX=359.9", "" }, - {SSC_INPUT, SSC_ARRAY, "subarray2_monthly_tilt", "Sub-array 2 Monthly tilt input", "degrees", "", "System Design", "subarray2_track_mode=4", "LENGTH=12", "" }, -// { SSC_INPUT, SSC_TABLE, "subarray2_shading", "Sub-array 2 shading losses", "", "", "Shading", "?", "", "" }, - + {SSC_INPUT, SSC_ARRAY, "subarray2_monthly_tilt", "Sub-array 2 Monthly tilt input", "degrees", "", "System Design", "subarray2_enable=1&subarray2_track_mode=4", "LENGTH=12", "" }, { SSC_INPUT, SSC_NUMBER, "subarray2_shading_en_string_option", "Enable Sub-array 2 shading string option", "0/1", "0=false,1=true", "Shading", "?=0", "BOOLEAN", "" }, { SSC_INPUT, SSC_NUMBER, "subarray2_shading_string_option", "Sub-array 2 shading string option", "", "0=shadingdb,1=average,2=maximum,3=minimum", "Shading", "?=-1", "INTEGER,MIN=-1,MAX=4","" }, { SSC_INPUT, SSC_NUMBER, "subarray2_shading_en_timestep", "Enable Sub-array 2 timestep beam shading losses", "0/1", "0=false,1=true", "Shading", "?=0", "BOOLEAN", "" }, @@ -207,9 +203,7 @@ static var_info _cm_vtab_pvsamv1[] = { { SSC_INPUT, SSC_NUMBER, "subarray3_gcr", "Sub-array 3 Ground coverage ratio", "0..1", "", "System Design", "?=0.3", "MIN=0.01,MAX=0.99", "" }, { SSC_INPUT, SSC_NUMBER, "subarray3_slope_tilt", "Sub-array 3 terrain tilt", "degrees", "", "System Design", "subarray3_enable=1&subarray3_track_mode=1", "MIN=0,MAX=90", "" }, { SSC_INPUT, SSC_NUMBER, "subarray3_slope_azm", "Sub-array 3 terrain azimuth", "degrees", "", "System Design", "subarray3_enable=1&subarray3_track_mode=1", "MIN=0,MAX=359.9", "" }, - { SSC_INPUT, SSC_ARRAY, "subarray3_monthly_tilt", "Sub-array 3 Monthly tilt input", "degrees", "", "System Design", "", "LENGTH=12", "" }, - -// { SSC_INPUT, SSC_TABLE, "subarray3_shading", "Sub-array 3 shading losses", "", "", "Shading", "?", "", "" }, + { SSC_INPUT, SSC_ARRAY, "subarray3_monthly_tilt", "Sub-array 3 Monthly tilt input", "degrees", "", "System Design", "subarray3_enable=1&subarray3_track_mode=4", "LENGTH=12", "" }, { SSC_INPUT, SSC_NUMBER, "subarray3_shading_en_string_option", "Enable Sub-array 3 shading string option", "0/1", "0=false,1=true", "Shading", "?=0", "BOOLEAN", "" }, { SSC_INPUT, SSC_NUMBER, "subarray3_shading_string_option", "Sub-array 3 shading string option", "", "0=shadingdb,1=average,2=maximum,3=minimum", "Shading", "?=-1", "INTEGER,MIN=-1,MAX=4","" }, @@ -244,7 +238,7 @@ static var_info _cm_vtab_pvsamv1[] = { { SSC_INPUT, SSC_NUMBER, "subarray4_gcr", "Sub-array 4 Ground coverage ratio", "0..1", "", "System Design", "?=0.3", "MIN=0.01,MAX=0.99", "" }, { SSC_INPUT, SSC_NUMBER, "subarray4_slope_tilt", "Sub-array 4 terrain tilt", "degrees", "", "System Design", "subarray4_enable=1&subarray4_track_mode=1", "MIN=0,MAX=90", "" }, { SSC_INPUT, SSC_NUMBER, "subarray4_slope_azm", "Sub-array 4 terrain azimuth", "degrees", "", "System Design", "subarray4_enable=1&subarray4_track_mode=1", "MIN=0,MAX=359.9", "" }, - { SSC_INPUT, SSC_ARRAY, "subarray4_monthly_tilt", "Sub-array 4 Monthly tilt input", "degrees", "", "System Design", "", "LENGTH=12", "" }, + { SSC_INPUT, SSC_ARRAY, "subarray4_monthly_tilt", "Sub-array 4 Monthly tilt input", "degrees", "", "System Design", "subarray2_enable=1&subarray2_track_mode=4", "LENGTH=12", "" }, // { SSC_INPUT, SSC_TABLE, "subarray4_shading", "Sub-array 4 shading losses", "", "", "Shading", "?", "", "" }, { SSC_INPUT, SSC_NUMBER, "subarray4_shading_en_string_option", "Enable Sub-array 4 shading string option", "0/1", "0=false,1=true", "Shading", "?=0", "BOOLEAN", "" },