question

Olga H avatar image
0 Likes"
Olga H asked Benjamin W2 commented

Supermarket simulation

Good day @tanner.p,

We are at a point in the simulation where we are not quite sure how to fix our problems:

Our arrival entity does not look like it is following how we instructed it. I tried to insert peak times and certain percentages to each station. The weekdays are exp(0,96, ..), and the weekends exp(0,42,..), but it does not seem to show.

Secondly, we are not sure how to keep the shopper from going directly to the processor instead of waiting in the queue (seen at the bakery and hot-food station).

Lastly, our tills are the main problem. Tills 1 and 2 are for the first shift and Tills 3 and 4 are for the second. I included them in the shift schedules, but people still seem to wait in those queues when the till is actually not to work yet. We also tried to use conveyors and combiner to show the unpacking and packing but to no success. Our main focus is the processing time though, so if the tills could only work it would be a success.

Your help would be much appreciated. I have attached our model.

Supermarket simulation.fsm

FlexSim 20.0.2
process flowflexsim 20.0.2simulation run modes
· 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.

Benjamin W2 avatar image Benjamin W2 commented ·

Hi @Olga H, was tanner.p's answer helpful? If so, please click the red "Accept" button on their answer!

0 Likes 0 ·

1 Answer

·
tannerp avatar image
0 Likes"
tannerp answered

Hi @Olga H,

It seems like there are quite a few errors in the model you attached, so I addressed some of those.

The first is that the Create Person activities in your Process Flows were throwing errors because it didn't recognize the "Shopper" variable. I updated this to be "Tools/FlowItemBin/Shopper/Shopper" so it knows where to look for the flow item specified.

The next error was happening at the "entry Source" on the exit trigger. I don't know what function is being called here, but it's throwing an error.

Another error was in the message trigger on the "Arrival_Queue". The "rank" function is deprecated, so you should use the function described in the image below instead. Also, it doesn't recognize the ItemBin object. What is that supposed to be?

To address your question about arrivals: You can update the Arrival Spacing if you'd like more variability. Otherwise, your quantity values are correct. What about the arrival behavior was not what you expected?

Because you've asked the other two questions in this post, I will respond to them there. In the future, please limit your posts to one question so that they can be directly addressed and be of clear help to other users. Thanks!


unknown-command.png (12.8 KiB)
rank-function.png (31.7 KiB)
arrival-spacing.png (11.3 KiB)
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.