Looking at screenshots can anyone tell me why the element parameter Calc(i,t) is not getting calculated?
The problem comes when I am using ‘shift’ unit of measurement. If I use standard units like day or hour, the element parameter gives correct answer.
I need the data of element parameter to be as follows: For example for t=2021-03-01 00:00 answer for b1: 2021-02-01 08:00 (since we are deducting 2 shifts) and for b2: 2021-02-01 00:00
Best answer by mohansx
You can either remove the unit ``shift`` from the declaration of Time or edit the definition of Calc(i, t) as
t - time(i)/1[shift]