Hello everyone!
I started using SamUL this week, and I have a general question on what the correct "Write" function is for the following:
I created a "for" function to loop through all the tmy files in the /exelib folder located in my computer. Within each element of the loop I have a "while" function to calculate the LCOE for several inverter DC/AC ratios. In summary, the "while" loop will create two arrays, one for the LCOE and another one for the DC/AC ratio. The final goal is to plot these two variables together to find out what is the optimum DC/AC ratio. How can I write these two arrays in a .csv file such that Column A = LCOE and Column B = DC/AC Ratio? I tried the functions Write and WriteResults but I may be using them incorrectly, or maybe there's a better function for this.
Thank you so much in advance!
AZ