Element Parameter not giving results

  • 22 February 2021
  • 1 reply

Badge +2

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 22 February 2021, 19:39

View original

1 reply

Userlevel 5
Badge +2

@vishweshpatil  remove the units for Time(i) and it will work. 


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]


Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator