Hello,
The "Energy charge TOU rate matrix" input is a two-dimensional array of numbers. The Create a Tornado Chart macro only works with inputs that are numbers.
It is not possible to generate a tornado chart using the macro for an value that is part of an array. For example, the buy rate is part of an array that defines the rate structure for energy charges, so it is not possible to generate a tornado chart for the buy rate unless you modify the code in the macro.
SAM's macro are written in the LK scripting language. The following LK code snippet extracts the buy rate from the energy charge matrix:
x = get('ur_ec_tou_mat');
for( i=0; i<#x; i++ )
{
buy_rate[i] = x[i][4];
}
Best regards,
Paul.