help about less than function

Use this forum to post Vensim related questions.
Post Reply
ahmadazar
Member
Posts: 30
Joined: Fri Feb 04, 2005 5:09 pm

help about less than function

Post 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
Rafael
Member
Posts: 21
Joined: Sat Aug 07, 2004 5:43 pm
Vensim version: DSS

Post 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 )
Post Reply