Page 1 of 1

Help needed for multiserver query

Posted: Thursday 16 June, 2022 - 00:44
by shio
I need help with writing a query for the multiserver. I want to write a query where the busses wait 5 min in the multiserver and also the difference between label depart time and current time.

The if statement I tried to write for the send to look a bit like this: if(Label([depart]-time,
but I don't know how to put the 5 min in (300 sec)

Re: Help needed for multiserver query

Posted: Thursday 16 June, 2022 - 09:19
by Gabe-Hein Dijkstra
Hi Shio,

I would be cautious trying to set the cycletime on the 'send to'-statement. Most atoms (like the MultiService) provide the option to set the cycletime using the GUI. For more information you can look at the Help-entry of the MultiService. The help can be found in the ribbon.

Hopefully this helps!

Re: Help needed for multiserver query

Posted: Thursday 16 June, 2022 - 13:10
by shio
Hi Gabe,

I've built this model. The idea is to create a simulation model with 6 platforms based on the preferred distribution in bus.xls
and determine the required size of the alighting location and of the buffer.

Re: Help needed for multiserver query

Posted: Thursday 16 June, 2022 - 13:23
by Gabe-Hein Dijkstra
Hi Shio,

It is important to know the distinction between the 'Cycletime' parameter and the 'Send to' parameter. The 'Cycletime' parameter indicates the time needed to process products/atoms. The 'Send to' parameter is used to determine the output channel through which the product/atom needs to be sent. The moment on which the product/atom is released is not influenced by the 'Send to' statement. A MultiService has both the 'Cycletime' and 'Send to' parameters. A queue has the 'Send to' parameter but not the 'Cycletime' parameter.

Furthermore, I suggest you take a look at the parameters needed in the function Label. This information can be found in the help.

Good luck!