Moving Objects from Queue/ Frloor Space to Sink at specific time

Moving Objects from Queue/ Frloor Space to Sink at specific time

tall_pauhl
Not applicable
84 Views
2 Replies
Message 1 of 3

Moving Objects from Queue/ Frloor Space to Sink at specific time

tall_pauhl
Not applicable

[ FlexSim 23.2.2 ]

Hello everybody,

My problem is quite simple as I´d like to clear a Queue/ Floor Space by moving all objects at a specific time of day, What I want to accomplish is to have the Model basically reset for the next day.

I also want to count the items (which were labeled at the beginning) moved, which I want to accomplish by using a tracked variable. This I can solve myslef, but if theres a clean way to implemented it, feel free to let me know.

Back to the topic. The Simulation starts at 07:00:00 with a process that finishes at 14:00:00. Objects are supposed to be moved at around 15:00:00. Therefore I added a processflow under "Leeren Theke Vegenarisch" which is supposed to send a token at 15:00:00 to start a subflow where all items in Floor Space "Theke Vegenarisch" are moved to Sink "Abfall Theke".

Somehow this doesn`t work the way it is supposed to, but I cannot find the mistake. Also If theres a way where I can accomplish emptying out multiple Queues/ Floor Spaces all with one Process Flow please let me know.

Help would be much appreciated.

All the best,


tall_pauhl


Model: 20240115_SPP_Simulation_V1_tne.fsm

0 Likes
Accepted solutions (1)
85 Views
2 Replies
Replies (2)
Message 2 of 3

moehlmann_fe
Enthusiast
Enthusiast
Accepted solution

In the Move Object activity you use the label "Type1Items" which does not exist on that token.

You do not have to run the Move Object per item. It is one of the few activities that can process an array of values at once. So instead of running the Sub Flow over the items inside one object, you can run it over all objects inside a group (everything you want to empty) and move all items from each object at once.

capture1.png

You should also deal with the other compiler errors.

- In the Run Sub Flow activities for the individual foods you have to remove the second dot between the "Type1Items" and "[creationRank] in the expression "token.Type1Items.[creationRank]". The index follows directly after the array reference

- There is a faulty expression field in List1. (Second "age" field).

- You typed "Log10" in the idle time field of a Pull from List activity without providing the parameter (the number of which the logarithm should be calculated).

capture2.png

0 Likes
Message 3 of 3

tall_pauhl
Not applicable
Thank you very much for your help, it works really well and grouping different ressources is very efficient.



0 Likes