Skip to content

Commit 21dfe96

Browse files
committed
Fix PV sizing macro hanging issue
System Sizing.lk: * Fix table color highlighting: loop to clear color for next iteration after setting color. * List of suggested modules includes modules that result in String Voc > Vmppt_max: Limit list to modules that result in Vmppt_min < String Voc < Vmppt_max * Macro takes too long to run for large arrays because many modules in library qualify for suggested modules tables: Limit list to show only modules that result in highest 50 String Voc values less than Vmppt_max. * Using `left(module.name,4) == left(module{'lib'}{name}[i],4)` to identify manufacturer is insufficient * Add manufacturer name to module library and modify modules UI form to show manufacturer in library widget. CEC library script currently creates name by adding manufacturer and module name so that modules are sorted by manufacturer. Library widget does not have a filter feature, so this method makes it easier to find modules. * Use new manufacturer name field instead of reading first 4 characters of module name. Flat Plate PV and PV Battery defaults * Add new default variable for lib_manufacturer. Module and Inverter libraries, clean up zeros after decimals.
1 parent 358cc7b commit 21dfe96

24 files changed

+27101
-26808
lines changed

deploy/libraries/CEC Inverters.csv

Lines changed: 3377 additions & 3377 deletions
Large diffs are not rendered by default.

deploy/libraries/CEC Modules.csv

Lines changed: 23311 additions & 23311 deletions
Large diffs are not rendered by default.

deploy/runtime/defaults/Flat Plate PV_All Equity Partnership Flip.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
1
2-
856
2+
857
33
6par_aisc
44
1
55
1
@@ -3123,6 +3123,10 @@ lib_is_bifacial
31233123
1
31243124
1
31253125
0
3126+
lib_manufacturer
3127+
1
3128+
4
3129+
0
31263130
library_folder_list
31273131
1
31283132
4

deploy/runtime/defaults/Flat Plate PV_Commercial.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
1
2-
790
2+
791
33
6par_aisc
44
1
55
1
@@ -2436,6 +2436,10 @@ lib_is_bifacial
24362436
1
24372437
1
24382438
0
2439+
lib_manufacturer
2440+
1
2441+
4
2442+
0
24392443
library_folder_list
24402444
1
24412445
4

deploy/runtime/defaults/Flat Plate PV_Host Developer.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
1
2-
931
2+
932
33
6par_aisc
44
1
55
1
@@ -3211,6 +3211,10 @@ lib_is_bifacial
32113211
1
32123212
1
32133213
0
3214+
lib_manufacturer
3215+
1
3216+
4
3217+
0
32143218
library_folder_list
32153219
1
32163220
4

deploy/runtime/defaults/Flat Plate PV_LCOE Calculator.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
1
2-
525
2+
526
33
6par_aisc
44
1
55
1
@@ -1583,6 +1583,10 @@ lib_is_bifacial
15831583
1
15841584
1
15851585
0
1586+
lib_manufacturer
1587+
1
1588+
4
1589+
0
15861590
library_folder_list
15871591
1
15881592
4

deploy/runtime/defaults/Flat Plate PV_Leveraged Partnership Flip.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
1
2-
866
2+
867
33
6par_aisc
44
1
55
1
@@ -3157,6 +3157,10 @@ lib_is_bifacial
31573157
1
31583158
1
31593159
0
3160+
lib_manufacturer
3161+
1
3162+
4
3163+
0
31603164
library_folder_list
31613165
1
31623166
4

deploy/runtime/defaults/Flat Plate PV_Merchant Plant.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
1
2-
839
2+
840
33
6par_aisc
44
1
55
1
@@ -2937,6 +2937,10 @@ lib_is_bifacial
29372937
1
29382938
1
29392939
0
2940+
lib_manufacturer
2941+
1
2942+
4
2943+
0
29402944
library_folder_list
29412945
1
29422946
4

deploy/runtime/defaults/Flat Plate PV_None.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
1
2-
496
2+
497
33
6par_aisc
44
1
55
1
@@ -1503,6 +1503,10 @@ lib_is_bifacial
15031503
1
15041504
1
15051505
0
1506+
lib_manufacturer
1507+
1
1508+
4
1509+
0
15061510
library_folder_list
15071511
1
15081512
4

deploy/runtime/defaults/Flat Plate PV_Residential.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
1
2-
820
2+
821
33
6par_aisc
44
1
55
1
@@ -2535,6 +2535,10 @@ lib_is_bifacial
25352535
1
25362536
1
25372537
0
2538+
lib_manufacturer
2539+
1
2540+
4
2541+
0
25382542
library_folder_list
25392543
1
25402544
4

0 commit comments

Comments
 (0)