defining zero as less than xxx?

Use this forum to post Vensim related questions.
Post Reply
rdudley
Senior Member
Posts: 77
Joined: Mon Sep 08, 2003 2:16 am

defining zero as less than xxx?

Post by rdudley »

Graphics in a model are displaying values on y axis as (for example) -2e-006, which for my purposes is equal to zero.

Is there a way to tell vensim to display values below a certain threshold as 0.0?

I thought there was a way to do this but I can't find it :)

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

Post by bob@vensim.com »

There is not . In a sense it might be reasonable to just pretend a small number is zero but usually it is a little bit more than simple numerics (for example inventory draining with an effect of inventory on shipments) that causes the issue in the first place. Of course a custom graph can keep this from happening.
LAUJJL
Senior Member
Posts: 1477
Joined: Fri May 23, 2003 10:09 am
Vensim version: DSS

Post by LAUJJL »

Hi Richard.

What you can do is to add a new variable say 'modified value' = if then else (ABS (value)
< e-006,0,value) and make a graph of the 'modified value' instead of the value.
Of course you must do that for every variable concerned by the problem.
Regards.
JJ

[Edited on 14-6-2008 by LAUJJL]
Post Reply