Queue Initialization Problem

Queue Initialization Problem

Melencolia
Not applicable
15 Views
2 Replies
Message 1 of 3

Queue Initialization Problem

Melencolia
Not applicable

[ FlexSim 24.1.0 ]

1718734452931.png

This is a simple M/M/1 model. I'm going to collect data with experiments and I need to have a specific number of people in the queue at the start of each run, but at the moment I don't know how to adjust this via parameter (I know I can add an extra source and use arrivals schedule, but this only has a table and it doesn't seem to be able to change the number via parameter)

currently I have 2 parameters: Arrival_Time, Service_Time_Processor_1

I want to have a parameter `Q0` which indicates how many units already in queue at the start.

Please let me know how can I do it?

One Stage.fsm

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

moehlmann_fe
Explorer
Explorer
Accepted solution

You can either use a Process Flow. In the Schedule Source there you can refer to the parameter as the quantity directly.

Or you set the quantity cell in the arrival schedule of the 3D source in the "On Set" code of the parameter.

one-stage_1.fsm

This post seems to essentially be a duplicate of this one. So if this answers your question, please consider removing the other post.

0 Likes
Message 3 of 3

Melencolia
Not applicable
Thank you! I really appreciate your help!
0 Likes