question

tall_pauhl avatar image
0 Likes"
tall_pauhl asked Jason Lightfoot commented

Items choosing Queues based on waiting time

Hey there, thanks for any help in advance!


I´m trying to build a model which represents a cafeteria. The people are spawning to chosen times with two preferred foods, of which one of them they`d like to get. We realised this with labels. Each guest got two labels, Label1: Preference 1 | Label 2: Prefernece 2. This way the choose between different waiting queues.

The customers are supposed to move to their specific preference 1. In case they need to wait more than 5 minutes, they`re supposed to move to their second preference. If they wait another 5 minutes at the second spot, they`re leaving the scene.

I´m stuck and would appreciate any ideas to solve the problem. I´m open to use the modeler, processflow or flex script.

All the best

Paul

flexsim-eintrag-queue-wechsel.png


FlexSim 23.2.2
switch queue depending on time
· 7
5 |100000

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

Kavika F avatar image Kavika F ♦ commented ·

Hi @tall_pauhl,

It's hard to know how to help without looking at your model. To receive a more accurate solution, please post your model or a sample model that demonstrates your question.

If your model contains sensitive information, you could first toggle your post as private using the "make private" option under your question's "gear" menu. Private questions are visible only to site moderators. You can also contact your local FlexSim distributor for phone or email help.

0 Likes 0 ·
tall_pauhl avatar image tall_pauhl Kavika F ♦ commented ·

Hey @Kavika F, I appreciate your comment. Here`s the actual version of the model. 202312015_V1_TrynError_Liste_Kassenoeffnung.fsm

0 Likes 0 ·
Kavika F avatar image Kavika F ♦ tall_pauhl commented ·

@tall_pauhl, here's what I gleam from your model so far.

You're making a bunch of different types of "meals" and running them through the first set of processors. Then they wait idle for a person to pick them up. That person is created from a source with a schedule of making people at specific times of day. They have no "preferences" like you've described. If you want to add a preference label for them, you can do that with an On Creation trigger.

1702571825194.png

Additionally, if you want them to go to specific preferences, you'll have to try pushing them to a list where the queues can pull them. While on the list, the queues can look at people with their specified labels and pull those people to take that tray of food. If the person doesn't get pulled for 5 minutes, then you can take them off the list and try pushing them with their second label instead.

1 Like 1 ·
1702571825194.png (12.4 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

Hi @tall_pauhl,

We haven't heard back from you. Were you able to solve your problem? If so, please add and accept an answer to let others know the solution. Or please respond to the previous comment so that we can continue to help you.

If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can contact your local FlexSim distributor for phone or email help.

0 Likes 0 ·
tall_pauhl avatar image tall_pauhl Jason Lightfoot ♦♦ commented ·
Hey @Jason Lightfoot we are still working on the model and did not succesfully implement the logic yet.

In case for needed help I`ll come back to this thread.

Much appreciated.

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ tall_pauhl commented ·
I would have the people pull their first preference from a list of ready meals with a timeout that takes them to pull either of their preferred two meals from the list. Pretty simple.
0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

Hi @tall_pauhl,

We haven't heard back from you. Were you able to solve your problem? If so, please add and accept an answer to let others know the solution. Or please respond to the previous comment so that we can continue to help you.

If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can contact your local FlexSim distributor for phone or email help.

0 Likes 0 ·

0 Answers