Skip to content

Commit

Permalink
Fix issue #1037
Browse files Browse the repository at this point in the history
  • Loading branch information
sjanzou committed Oct 3, 2023
1 parent e123275 commit 82b725a
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions ssc/cmod_pvsamv1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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", "" },
Expand Down Expand Up @@ -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", "" },
Expand Down Expand Up @@ -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","" },
Expand Down Expand Up @@ -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", "" },
Expand Down

0 comments on commit 82b725a

Please sign in to comment.