I also forgot to mention that the problem seems in how the LK reads the data, as for instance if you see the following two examples of data called from SAM by a get finction:
electricity_purchase_price = [ 0, 53572.4, 55195.7, 56868.1, 58591.2, 60366.5, 62195.6, 64080.1, 66021.8, 68022.2, 70083.3, 72206.8, 74394.7, 76648.9, 78971.3, 81364.1, 83829.5, 86369.5, 88986.5, 91682.8, 94460.8, 97323, 100272, 103310, 106440, 109666 ]
while the data I call from a CSV file appears as follows:
variable_costs = [ [ 0 ], [ 3.5 ], [ 3.61 ], [ 3.72 ], [ 3.83 ], [ 3.94 ], [ 4.06 ], [ 4.19 ], [ 4.31 ], [ 4.44 ], [ 4.58 ], [ 4.72 ], [ 4.86 ], [ 5.01 ], [ 5.16 ], [ 5.32 ], [ 5.48 ], [ 5.64 ], [ 5.81 ], [ 5.99 ], [ 6.17 ], [ 6.36 ], [ 6.55 ], [ 6.75 ], [ 6.95 ], [ 7.16 ] ]
and that is despite the fact that the calling order I used is the following:
variable_costs = csvread (path + 'variable M&O costs.csv', {numeric = true});
Thanks again and apologies for any inconvenience.
Regards,