Skip to main content
Solved

Element Parameter not giving results

  • February 22, 2021
  • 1 reply
  • 36 views

Forum|alt.badge.img+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

@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]

View original

mohansx
Forum|alt.badge.img+5
  • Former AIMMSian
  • February 22, 2021

@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]