question

Lorenzo_pio G avatar image
0 Likes"
Lorenzo_pio G asked Lorenzo_pio G commented

Count the number of boxes on a pallet

Hi! My model has a combiner that groups 10 boxes on a pallet. How can I instantly count the number of boxes on the pallet?

FlexSim 22.1.3
pallets
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

Jeanette F avatar image
1 Like"
Jeanette F answered Lorenzo_pio G commented

If you have a reference to the pallet then you can look at its subnodes length

pallet.subnodes.length
· 17
5 |100000

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

Lorenzo_pio G avatar image Lorenzo_pio G commented ·

How can I create a reference to the pallet?

0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ Lorenzo_pio G commented ·

There are many ways.

One way is to create an Event triggered source that looks at the combiner for on exit or on process finish and the exiting item label is the pallet.

1665158700808.png

0 Likes 0 ·
1665158700808.png (20.0 KiB)
Lorenzo_pio G avatar image Lorenzo_pio G Jeanette F ♦♦ commented ·

Sorry, but I can't figure out which window is this.

0 Likes 0 ·
Show more comments