IF THEN ELSE

Use this forum to post Vensim related questions.
Post Reply
bsenger
Junior Member
Posts: 2
Joined: Tue Jun 02, 2009 11:27 am

IF THEN ELSE

Post by bsenger »

Heyguys,

i have a problem with IF THEN ELSE in my equation.
Is following possible or another possibility to realize my idea:

IF THEN ELSE( {a+b<=X} , {a+b} , {a} )??

At the moment it doesn't work.

The problem is that the editor for equation tells me, it is unable to understand the right hand side of equation.

Can somebody help me please?

Thanks. bsenger
Administrator
Super Administrator
Posts: 4590
Joined: Wed Mar 05, 2003 3:10 am

Post by Administrator »

Try

IF THEN ELSE( a+b<=X , a+b , a )
bsenger
Junior Member
Posts: 2
Joined: Tue Jun 02, 2009 11:27 am

Post by bsenger »

thx
Post Reply