question

Ramesh Yadav avatar image
0 Likes"
Ramesh Yadav asked Ramesh Yadav commented

Dispatcher Pass To Function

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.

FlexSim 16.1.2
dispatchermaterialpass to
· 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.

Joerg Vogel avatar image Joerg Vogel commented ·

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 0 ·
Ramesh Yadav avatar image Ramesh Yadav Joerg Vogel commented ·
@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 0 ·

1 Answer

·
Joerg Vogel avatar image
3 Likes"
Joerg Vogel answered Ramesh Yadav commented

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.

· 1
5 |100000

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

Ramesh Yadav avatar image Ramesh Yadav commented ·

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

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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