question

Rykou avatar image
0 Likes"
Rykou asked Rykou commented

ASRS dispatch schedule

How to make ASRS move items according to the specified logic?

In my current model, yellow items will be transported from Queue to Rack and then from Rack to Sink, and blue items will be transported from Rack to Sink.

The ASRS dispatch logic I want is

1.Move one yellow item from Queue to Rack

2.Move one blue item from Rack to Sink

3.Move another blue item from Rack to Sink

4.Move another yellow item from Queue to Rack

5.Move one yellow item from Rack to Sink

6.Move another yellow item from Rack to Sink

The attachments are as follows.Thanks.

ASRS dispatch schedule question.fsm

FlexSim 24.0.1
asrstaskexecutorsdispatching rule
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
0 Likes"
Felix Möhlmann answered Rykou commented

A very flexible and ultimately probably also one of the easiest solutions would be to push all task sequences to a list and pull and dispatch them to the ASRS in a Process Flow based on certain characteristics of the task sequence.

In the attached model these are the type of the item and the origin object of the transport task.

Note: A color by itself is a cumbersome way to identify items. You should always strife to use labels to differentiate items. The color could then also depend on those.

asrs-dispatch-schedule-question-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.

Joerg Vogel avatar image Joerg Vogel commented ·

A color is evaluated as an array of four components of double values in a range of [0.0 .. 1.0]:

Array[4]: {1, 0, 0, 1}

A list expression of value.color returns such an array for a color of red.

If you pull all values of red items off a list, your query clause should look like for a color field called for example "itemColor":

WHERE itemColor = {Color.red}

Statements in Curled brackets are interpreted as executable Flexscript code in a query string.

If you want to compose a comparable expression from a string for a common flexscript code, you can do this by

item.color == executestring("Color.red")

if you do not need to compose a string dynamically, you can compare logically even by:

item.color == Color.red
0 Likes 0 ·
Rykou avatar image Rykou Joerg Vogel commented ·

Thank you for the reply. It's helpful.

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.