Skip to content

Commit

Permalink
Fix calculation of dc/ac ratio 1 number of inverters
Browse files Browse the repository at this point in the history
  • Loading branch information
mjprilliman committed Aug 16, 2023
1 parent c757d99 commit cae5ac9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions deploy/runtime/defaults/Flat Plate PV_Single Owner.json
Original file line number Diff line number Diff line change
Expand Up @@ -9511,6 +9511,7 @@
"calculate_bifacial_electrical_mismatch": 1.0,
"calculate_rack_shading": 0.0,
"calculated_dcac_ratio": 1.34109,
"calculated_num_inverter_dcac_unity": 0.0,
"capex_table_ac_cost_per_w": 0.33,
"capex_table_ac_inputs": [
[
Expand Down
6 changes: 3 additions & 3 deletions deploy/runtime/ui/PV System Design.json
Original file line number Diff line number Diff line change
Expand Up @@ -7977,7 +7977,7 @@
"Units": "",
"Group": "",
"IndexLabels": "",
"Flags": 0.0,
"Flags": 8.0,
"DefaultValue": 0.0,
"UIObject": "Default",
"sscVariableName": "",
Expand Down Expand Up @@ -9541,13 +9541,13 @@
"equations{ 'calculated_num_inverter_dcac_unity' } = define() \r",
"{\r",
"\tdc = ${system_capacity};\r",
"\treturn round(dc / ?${inverter_model} \r",
"\treturn round(dc / (?${inverter_model} \r",
"\t[ \r",
"\t\t${inv_snl_paco},\r",
"\t\t${inv_ds_paco}, \r",
"\t\t${inv_pd_paco}, \r",
"\t\t${inv_cec_cg_paco}\r",
"\t]);\r",
"\t] / 1000));\r",
"\t\r",
"};",
""
Expand Down

0 comments on commit cae5ac9

Please sign in to comment.