Hi,
I wanted to know if there was a limit on the size of the equations to be written for a variable in vensim. I am using Vensim DSS. If I copy the equation and paste it in a word document, the equation comes up to be 3 pages long in a 10 point font. Please advice.
limit on length of equation?
-
- Super Administrator
- Posts: 4832
- Joined: Wed Mar 05, 2003 3:10 am
-
- Senior Member
- Posts: 1107
- Joined: Wed Mar 12, 2003 2:46 pm
There is no built in limit and the equation you sent me by email seems to work fine - but I would never write one like it.
It appears that you are trying to construct a function of three inputs that jumps to 1 when the inputs get into certain regions of that 3-d space. I can't actually make sense of the equation but if you want to explain what it is trying represent I may be able so suggest a more usable formulation. For example to check if something is near three points you could use
point : p1,p2,p3 ~~|
distance[point] = SQRT((a-afix[point])^2 + (b-bfix[point])^2+(c-cfix[point)^2) ~~|
is close enough = IF THEN ELSE(VMIN(distance[point!]) < 3,1,0) ~~|
Bob Eberlein
It appears that you are trying to construct a function of three inputs that jumps to 1 when the inputs get into certain regions of that 3-d space. I can't actually make sense of the equation but if you want to explain what it is trying represent I may be able so suggest a more usable formulation. For example to check if something is near three points you could use
point : p1,p2,p3 ~~|
distance[point] = SQRT((a-afix[point])^2 + (b-bfix[point])^2+(c-cfix[point)^2) ~~|
is close enough = IF THEN ELSE(VMIN(distance[point!]) < 3,1,0) ~~|
Bob Eberlein