You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li>The <b>Annual DC degradation</b> parameter at right is for the DC/AC Ratio assumptions table (Table 3) in the report. Enter a value to represent the worst-case for an estimate of end-of-life DC/AC ratio.</li>
6
6
<li>The minimum, maximum, and adjustment temperatures are for the worst case Voc calculations as described in the Bill Brooks article <a href="https://solarprofessional.com/articles/design-installation/array-voltage-considerations">Array Voltage Considerations</a>, Solar Pro Magazine Issue 3.6 Oct/Nov 2010. The macro displays a table showing Voc at these temperatures along with the minimum and maximum operating Voc values calculated by SAM.
7
7
<li>The maximum DC/AC ratio affects the list of recommended modules. The macro will only list modules that result in a DC/AC ration less than or equal to the value you specify.
8
-
<li>By default, the macro displays a report in a SAM window. If you want to export the report, choose Yes for <b>Show results in default browser?</b> to save the report as an HTML file and open it in your default browser. You can then use the browser's tools to export it to PDF or another format.
8
+
<li>By default, the macro displays a report in a SAM window. If you want to export the report to an HTML file, choose Yes for <b>Save results to HTML</b> to save the report as an HTML file and open it in your default browser. You can then use the browser's tools to export it to PDF or another format.
9
9
</ol>
10
10
<p> </p>
11
11
@@ -16,25 +16,28 @@
16
16
//@ name=t_max;type=number;label=Maximum temperature (C);value=46
17
17
//@ name=t_adj;type=number;label=Adjustment temperature (C);value=30
'line_data' = line_data, // vmppt_min, vmppt_max, and Vdcmax if Vdcmax != Vmppt_max
635
715
'line_labels' = line_labels,
636
716
'bar_data' = [voc_max_design * modules_per_string[j], voc_hi[j], vdc_hi[j], vdc_low[j], vmp_min_design * modules_per_string[j] ], // one value for each bar
637
717
'bar_label' = '',
638
718
'x_label' = 'VDC',
639
719
'y_labels' = ['Max Design Voc','Max Operating Voc','Max Operating Vdc','Min Operating Vdc','Min Design Vdc'], // one label for each bar
640
-
'export_graph' = true} );
720
+
'export_graph' = true,
721
+
'png_dir' = ? use_html_dir [cwd(), html_dir] });
641
722
num_plots++;
642
723
}
643
724
}
@@ -688,16 +769,16 @@ for( i=0; i<#lid; i++ )
688
769
{ tabledata_dcac[3][i+1] = last_yr_dcac[i]; }
689
770
}
690
771
691
-
tabletitle_powerloss = 'Estimated Power Losses Due to Inverter Voltage Clipping and Power Limiting';
772
+
tabletitle_powerloss = 'Estimated Lifetime Power Losses Due to Inverter Voltage Clipping and Power Limiting';
692
773
tabledata_powerloss[0][0] = '';
693
774
tabledata_powerloss[0][1] = 'Power Limiting';
694
775
tabledata_powerloss[0][2] = 'MPPT Voltage Clipping';
tabledata_powerloss[2][0] = 'Number of time steps (hourly or subhourly)';
699
-
tabledata_powerloss[2][1] = [inv_powerlimitloss_num_ts,clipping_time_moderate*num_ts,clipping_time_severe*num_ts]; // change background color when value exceeds 5% and 10% of timesteps per year
tabledata_powerloss[2][0] = 'Number of time steps/year (hourly or subhourly)';
780
+
tabledata_powerloss[2][1] = [inv_powerlimitloss_num_ts_ann_avg,clipping_time_moderate*num_ts_ann_avg,clipping_time_severe*num_ts_ann_avg]; // change background color when value exceeds 5% and 10% of timesteps per year
tabledata_powerloss[3][0] = 'Total kWh/year lost as % of inverter DC input';
702
783
tabledata_powerloss[3][1] = [inv_powerlimitloss_percent_dc,clipping_energy_moderate*100,clipping_energy_severe*100]; // change background color when when value exceeds 20% and 50%
str += '<p>Table ' + num_table + ' shows the amount of power limiting and voltage';
799
-
str += ' clipping from the simulation results, which give you an estimate of what to expect from the real system.';
880
+
str += ' clipping over the ' + to_string(analysis_period) + '-year lifetime from the simulation results,';
881
+
str += ' which you can use to estimate what to expect from the real system.';
800
882
str += ' Colors indicate:</p>';
801
883
str += '<ul><li>Red: More than 10% of time steps of the year, or more than 50% of annual power output.</li>';
802
884
str += '<li>Orange: More than 5% of time steps or 20% of output.</li>';
803
885
str += '<li>Clear: Values are within acceptable range, less than 5% of time steps or 20% of annual power output.</li></ul>';
886
+
887
+
str += '<p>Figure 1 shows inverter power limiting losses by year. These losses decrease due to degradation of modules in the photovoltaic array (DC degradation).</p>';
0 commit comments