diff --git a/deploy/runtime/ui/Tower SolarPilot Solar Field.json b/deploy/runtime/ui/Tower SolarPilot Solar Field.json index 79d8db87b..cef8f5e34 100644 --- a/deploy/runtime/ui/Tower SolarPilot Solar Field.json +++ b/deploy/runtime/ui/Tower SolarPilot Solar Field.json @@ -5049,15 +5049,16 @@ "\t\t\tW_rec = ssc_var(obj, \"rec_width_opt\");\r", "\t\t\tRec_azi_opt = ssc_var(obj, \"rec_azimuth_opt\");\r", "\t\t\t\r", + "\t\t\t// increase length to 4\r", "\t\t\tnum_recs = ssc_var(obj, \"num_recs\");\r", "\t\t\tif (num_recs == 1) {\r", - "\t\t\t\tRec_azi = [0,0,0,0];\r", + "\t\t\t\tRec_azi = [Rec_azi_opt[0],0,0,0];\r", "\t\t\t}\r", "\t\t\telse if (num_recs == 2) {\r", - "\t\t\t\tRec_azi = [Rec_azi_opt, -Rec_azi_opt, 0, 0];\r", + "\t\t\t\tRec_azi = [Rec_azi_opt[0], Rec_azi_opt[1], 0, 0];\r", "\t\t\t}\r", "\t\t\telse if (num_recs == 3) {\r", - "\t\t\t\tRec_azi = [Rec_azi_opt, 0, -Rec_azi_opt, 0];\r", + "\t\t\t\tRec_azi = [Rec_azi_opt[0], Rec_azi_opt[1], Rec_azi_opt[2], 0];\r", "\t\t\t}\r", "\t\t}", "",