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.