AnswerHub Upload Issue
Our AnswerHub community currently has a bug that prevents you from attaching your model or other files to your questions. AnswerHub is aware of this issue and they are working on a fix. Until we receive their patch, you can upload your models and other files to FlexSim's file share site. Include the file name in your question so that we know which upload to reference.

question

Kevin S avatar image
0 Likes"
Kevin S asked Kevin S answered

Holding tokens until Zone count drops below set value

I'm a very new user so I'll need answers spelled out.

I want to control the max number of machines that will run at any given time, but I still want all the other operator activities to happen for all machines. I created a zone around the part of the machine flow for processing and was hoping to use a "wait for event" to count how many machines are in the zone and hold tokens until the number of machines drops below whatever value I set, but I'm not sure if that works or how I would set up the wait parameters. It looks like this:

Inline image 1

Any thoughts?

Choose One
wait for eventzonecounting
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

@Kevin S, it looks like the image is not coming through - at least for me. Will you try uploading it again?

0 Likes 0 ·

1 Answer

·
Kevin S avatar image
0 Likes"
Kevin S answered

I actually figured it out. I just have to set a limit to the number of tokens in the zone and that will keep the maximum number of machines running at the limit. Thanks though!

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.