question

SuhyeonK avatar image
0 Likes"
SuhyeonK asked SuhyeonK commented

Simplifying Multiple "Create Object"

Summary of Question Objectives: Queue1 is connected to Conveyor1, and in this way, queues 1 to 8 and Conveyor 1 to 8 are connected to each number. I created 8 "Create Objects" among PF functions to create boxes in queues 1 to 8, and the number and location of creation were completed up to the control of the global table. However, what I want is simplification. Is there a way to instantaneously read a global table with only one "Create Object" without generating "Create Object" for each queue as above and place it in queues 1 to 8? (The global table consists of 1 and 0). "1" has a box, and "0" does not have a box.)

FlexSim 23.2.1
create objectsimplifying multiple
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

Dhakshna avatar image
0 Likes"
Dhakshna answered SuhyeonK commented

Hi @SuhyeonK, You can use the 'Run Sub Flow' with a single 'Create Object' activity to create boxes in different queues with varying quantities.

SimpleConveyorModel.fsm


· 3
5 |100000

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

SuhyeonK avatar image SuhyeonK commented ·

Thank you for your quick and accurate answer. You used creationRank. What does creationRank mean?

0 Likes 0 ·
Dhakshna avatar image Dhakshna SuhyeonK commented ·

This means that for every child token created, a label called 'Rank' is assigned. The value of this label, referred to as 'creationRank,' represents the creation order. For example, if the quantity is specified as 3 in the 'Run Sub Flow,' the first token created between the start and finish will have a 'Rank' value of 1, the second token will have a 'Rank' value of 2, and the third token will have a 'Rank' value of 3.

0 Likes 0 ·
SuhyeonK avatar image SuhyeonK Dhakshna commented ·

Good! Thank you.

0 Likes 0 ·