Unit error when using delay
Posted: Fri Mar 11, 2016 2:49 pm
Hi.
Consider the attached model. When I use a dimensionless auxiliary variable with a delay function I got this kind of message regarding error on units:
***********************************************
Error in units for the following equation:
#Auxiliary variable>DELAY3>LV2# =
INTEG( #Auxiliary variable>DELAY3>RT1#
- #Auxiliary variable>DELAY3>RT2# ,
#Auxiliary variable>DELAY3>LV3# )
#Auxiliary variable>DELAY3>LV2# --> Dmnl
#Auxiliary variable>DELAY3>RT1# --> Dmnl
#Auxiliary variable>DELAY3>RT2# --> Dmnl
#Auxiliary variable>DELAY3>LV3# --> Dmnl
Analysis of units error:
Units missmatch in INTEG
#Auxiliary variable>DELAY3>RT1#
- #Auxiliary variable>DELAY3>RT2#
Has Units: Month
#Auxiliary variable>DELAY3>LV3#
Has Units: Dimensionless
***********************************************
What I get from this message is that a delay function implies some kind of temporal unit and this causes the error. How can I correct it?
Thank you.
Consider the attached model. When I use a dimensionless auxiliary variable with a delay function I got this kind of message regarding error on units:
***********************************************
Error in units for the following equation:
#Auxiliary variable>DELAY3>LV2# =
INTEG( #Auxiliary variable>DELAY3>RT1#
- #Auxiliary variable>DELAY3>RT2# ,
#Auxiliary variable>DELAY3>LV3# )
#Auxiliary variable>DELAY3>LV2# --> Dmnl
#Auxiliary variable>DELAY3>RT1# --> Dmnl
#Auxiliary variable>DELAY3>RT2# --> Dmnl
#Auxiliary variable>DELAY3>LV3# --> Dmnl
Analysis of units error:
Units missmatch in INTEG
#Auxiliary variable>DELAY3>RT1#
- #Auxiliary variable>DELAY3>RT2#
Has Units: Month
#Auxiliary variable>DELAY3>LV3#
Has Units: Dimensionless
***********************************************
What I get from this message is that a delay function implies some kind of temporal unit and this causes the error. How can I correct it?
Thank you.