SWITCH(a,b,c) of DYNAMO II --> in VENSIM?

Use this forum to post Vensim related questions.
Post Reply
thommyp
Junior Member
Posts: 5
Joined: Tue May 02, 2006 4:56 pm

SWITCH(a,b,c) of DYNAMO II --> in VENSIM?

Post by thommyp »

HI,
can anyone tell me what would be the Vensim equivalent to a DynamoII SWITCH() Function. Explain me how it functions?

Thanks a lot
Cheers
Thomas
Administrator
Super Administrator
Posts: 4590
Joined: Wed Mar 05, 2003 3:10 am

Post by Administrator »

I have no experience of Dynamo, but if you can tell me what the function does, I can probably tell you how to do it in Vensim.

Tony.
bob@vensim.com
Senior Member
Posts: 1107
Joined: Wed Mar 12, 2003 2:46 pm

Post by bob@vensim.com »

SWITCH is the same as the dynamo function FIFZE (FIrst IF ZEro) which is the same as IF THEN ELSE except that the second and third arguments are reversed - that is

SWITCH(a,b,c) matches to IF THEN ELSE(a,c,b)
thommyp
Junior Member
Posts: 5
Joined: Tue May 02, 2006 4:56 pm

Post by thommyp »

Thanks a lot, I wasn't sure which argument is related to the true condition.
Post Reply