Page 1 of 1

help about less than function

Posted: Sat Nov 26, 2005 6:22 pm
by ahmadazar
how can i write equation in vensim using less than and more that i tryied to do it but i couldn't. for example if i want to write the following equation:
if then 1.2 <area < 1.3 then Y = 0.9

how can i write this equation

Posted: Sat Nov 26, 2005 6:43 pm
by Rafael
Use the function IF THEN ELSE and the Binary Operator AND. You can write the following equation:
Y = IF THEN ELSE( 1.2<area:AND:area<1.3 , 0.9, Other )