Dispatcher Pass To Function

Dispatcher Pass To Function

ramesh_yadav1
Not applicable
101 Views
4 Replies
Message 1 of 5

Dispatcher Pass To Function

ramesh_yadav1
Not applicable

[ FlexSim 16.1.2 ]

Hi,

Is there any reference material available to understand the dispatcher pass to functions like shortest distance and shortest distance if available. How both are different? How each options actually works?

Is there anyway to update current dispatching logic in such a way that it would result in minimum time and minimum idleness.

Thank You.

0 Likes
Accepted solutions (1)
102 Views
4 Replies
Replies (4)
Message 2 of 5

joerg_vogel_HsH
Mentor
Mentor

You are always welcome to read the source code of the picklist templates to understand how they work. Because the template contains the template description it isn't easy to read the structure. But you find at the left bottom of the source code editor an option button which deletes this information and the structure is easier readable again.

0 Likes
Message 3 of 5

ramesh_yadav1
Not applicable
@Jörg Vogel

Thank You. I just saw the source code and there are few comments are written. But I failed to understand the entire coding. It will be really good if I will get any material where I can read how each options are performed. Whats the difference between shortest distance and shortest distance if available likewise.

0 Likes
Message 4 of 5

joerg_vogel_HsH
Mentor
Mentor
Accepted solution

Pass to the object closest to the destination: This function searches the taskexecuter connected to the dispatcher which current location is nearest to the object to load an item from. Lines 9 to 11: evaluate the object, which is the destination of the first found travel task. Lines 16 to 25: look for a taskexecuter connected to the Output port of the dispatcher, compute the travel distance between the load station and its current location and store the output port number with the lowest travel distance.

The "avaible" option tests in advance if the input port number of the connected taskexecuter is open and in general if the taskexecuter input is open. A Taskexecuter is available when the input port is open, wether the defined port number and the input in general.

Message 5 of 5

ramesh_yadav1
Not applicable

@Jörg Vogel Thank You for detailed explanation. Its helping me now.

0 Likes