Setting a stop point on the model.

Setting a stop point on the model.

ajay_bhesaniya
Not applicable
522 Views
3 Replies
Message 1 of 4

Setting a stop point on the model.

ajay_bhesaniya
Not applicable

[ FlexSim 16.0.1 ]

I see the model keeps running indefinitely (I had to stop it at 5000 time units). One of my goals was to setup the Sink to Pull based on the demand table and then Stop (24 time units in this example since the demand table has 24 rows). Beyond that, the Queues start filling until they are maxed out and then the Source gets blocked. What additional logic needs to be added to make this happen?

**This question was originally part of a followup question. The original question thread is found here.

0 Likes
Accepted solutions (1)
523 Views
3 Replies
Replies (3)
Message 2 of 4

sam_stubbsYXX86
Alumni
Alumni
Accepted solution

You can set the model to run a specific amount of time as needed. We created the CurrentHour variable and TrackCurrentHour to repeat in case you wanted to track several days worth. If you want to just monitor one day, up near the top menu bar, next to the Run, Stop, and Step buttons the Run Time bar has a drop down menu. You can select to view a certain time period and have the model stop at that time.

592-stoptime.png

Message 3 of 4

ajay_bhesaniya
Not applicable

This explanation helps! Thank you.

0 Likes
Message 4 of 4

sam_stubbsYXX86
Alumni
Alumni

I'm glad we could help!

0 Likes