question

sara S2 avatar image
0 Likes"
sara S2 asked sara S2 commented

How to attribute a given label value to entering item in Event-Triggered Source?

Hello,

I am trying to model a replenishment process in the attached model. The process is the following:

When a CUtote (totes created from source 3) is placed on the combiner2 (by ASRSvehicle17), it is replenished by items according to their type value determined by the label "ItemsType" on the CUtote. A quantity of 8 of those items is pushed to the list (Items), then ASRSvehicle1 takes this quantity form racks (either rack1 or rack2 according to the type of the concerned items) and unload the loaded quantity on 'Queue3'. The number of collected boxes is recorded in the global table 'QuantityFor Each Type'.

I created the process flow corresponding to the described replenishment process. But, I don't know how to:

1- match the value of "ItemsType" label on the CUtote in the "Label Assignement/Match Value" table of "CUtote arrives" Event (Fig1).

2- attribute the value of children label (Item), that corresponds to the convenient item type which matches the value of "ItemsType" label.

Would you please help me to fix this?

fig1.png

fig2.png

trying1.fsm

Regards.

FlexSim 19.0.0
process flow
fig1.png (305.8 KiB)
fig2.png (303.5 KiB)
trying1.fsm (65.2 KiB)
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

·
Benjamin W2 avatar image
0 Likes"
Benjamin W2 answered sara S2 commented

Hi @sara S2,

1- First, assign the entering item to a label on the token. Then, you can access any label on the 3D object using the "." syntax. For example, if you assign Entering Item to "Tote", you can access the tote's labels by token.Tote.itemstype when using Process Flow. See the following picture:

2-From what I understand, you would like to assign the "itemstype" label to each of the 8 children tokens. I think the easiest way to do this is by using the dot syntax to assign the "Item" label. This would be token.Tote.itemstype.

I hope this helps!


· 4
5 |100000

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

sara S2 avatar image sara S2 commented ·

Thank you @Benjamin W2 for the reply. But, unfortunately this is not working !

In fact, the pushed Items (boxes) are not defined. They must be firstly defined, then we determine the type of the item that we want to push. I don't know how to do this.

I would be grateful if you take look at the attached model and help me to fix this.

0 Likes 0 ·
tannerp avatar image tannerp sara S2 commented ·

What Ben provided was most of what you need. He mentioned dot syntax to access labels. I created a simple Event-Triggered Source in your Process Flow that assigns the CUTote label to the token and then in the Assign Labels activity, the token label "ItemsType" is read and placed on the token, as shown in the screenshot below.

I'm not sure if the rest of your Process Flow is working or not, but the model is throwing many errors. Maybe take this one step at a time starting with the proper label assignment at the beginning. If you're able to push items to the item list, you could pull based on their item type, move the pulled items into the tote on the combiner, and then release the tote.

trying1-update.fsm

1 Like 1 ·
sara S2 avatar image sara S2 tannerp commented ·

Thank you @tanner.p for your help. In fact, I had a problem in push items as you said and I fix it.

0 Likes 0 ·
sara S2 avatar image sara S2 commented ·

Thank you @Benjamin W2 for your help. This is working, in fact I had a problem in push items process.

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.