question

Leo L6 avatar image
0 Likes"
Leo L6 asked Felix Möhlmann commented

Wait for Event Elevator Allocation

Hello,

I would like to use a wait for event to wait for an elevator to be allocated for a specific object's task. I have multiple objects trying to allocate one elevator that is connected to each object through a center connection - I want the wait for event to fire only when an object has managed to successfully allocate the elevator.

The goal is to be able to calculate the time when an object attempts allocation and when allocation is actually achieved.

What's the best way to do this?

Thanks in advance!

FlexSim 22.0.16
wait for eventelevatorallocations
5 |100000

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

1 Answer

Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered Felix Möhlmann commented

Want you want to do is measure the time between the elevator receiving a task sequence and the elevator starting said task sequence. There are events for both of these. When the elevator receives a new task sequence you need to store a reference to that sequence. You can then wait for the "Start Task" event to occur where the sequence the task belongs to is equal to one that was received.

In the attached model I demonstrate this both in Process Flow and in a Statistics Collector that feeds a histogramm.

measure-task-delay-fm.fsm


· 2
5 |100000

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

Leo L6 avatar image Leo L6 commented ·

Thanks! I think this is close to what I'm looking for. But, how do you tie the task sequence to a specific object? For example if I had multiple queues attached to the elevator in your example and I want to measure the task sequences generated only by Queue1.

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Leo L6 commented ·

You can use the parameters of the task sequence tasks to identify, filter or order by.

For example, the first task in a standard transport task sequence generated by a fixed resource will be a travel task to the origin object.

1709836100160.png

You can compare this value to a set reference to filter for task sequences that originate at that object.

1709836152836.png

You can also do the same in the "Condition" field of the Statistics Collector events.

1709836240876.png

Or you add this data to an additional column, so you can later separate the collected data by this information.

1709836298852.png

1709836316162.png

measure-task-delay-fm_1.fsm

1 Like 1 ·