Limit on a level variable

Use this forum to post Vensim related questions.
Post Reply
amitkaram
Junior Member
Posts: 10
Joined: Sun Nov 19, 2017 2:46 am
Vensim version: PLE

Limit on a level variable

Post by amitkaram »

I have one level variable , which has a upper cap.It means once it reaches that upper cap, it will become constant at that upper cap.How do i incorporate this?


Thanks
Administrator
Super Administrator
Posts: 4573
Joined: Wed Mar 05, 2003 3:10 am

Re: Limit on a level variable

Post by Administrator »

You'll need to limit the inflow to the level. Something like

inflow = min ( (desired level - level) / time step , calculated inflow )
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559
amitkaram
Junior Member
Posts: 10
Joined: Sun Nov 19, 2017 2:46 am
Vensim version: PLE

Re: Limit on a level variable

Post by amitkaram »

Thanks @administrator
Post Reply