Open MaykThewessen opened 2 years ago
two options to solve: A) shift whole array 1h to left - issue: last data point hour of the year is not calculated, just as now thus missing B) change formula to use: storage(a) = storage(a-1) - residual; and use if statement and separate line to calculate first hour, since (a-1) for first hour isn't possible to use in statement. C) other function