multiple input

Use this forum to post Vensim related questions.
Post Reply
Olger
Junior Member
Posts: 10
Joined: Fri May 12, 2006 10:30 am

multiple input

Post by Olger »

Hello, I have a question.

For example:

Input = 750
Maximum Realisation = 1000
Stock = 4500

I need a formule that checks if my Input is lower then my Max Realisation. If it's lower it needs to fill the gap with goods from my stock. How do i need to do this???
LAUJJL
Senior Member
Posts: 1477
Joined: Fri May 23, 2003 10:09 am
Vensim version: DSS

RE I have a question

Post by LAUJJL »

Hi

I do not understand your question.
I think it needs a better formulation.
Regards.
JJ
Administrator
Super Administrator
Posts: 4835
Joined: Wed Mar 05, 2003 3:10 am

Post by Administrator »

How about something like

refill amount = if then else ( Input < Maximum Realisation
, expected amount to refill
, 0 )

expected amount to refill = min (
stock , Maximum Realisation - Input )

Tony.
Olger
Junior Member
Posts: 10
Joined: Fri May 12, 2006 10:30 am

Post by Olger »

Tnx Tony, I will try
Post Reply