question

Fernando H4 avatar image
0 Likes"
Fernando H4 asked tannerp commented

Average Distance traveled by each operador

Hello everyone, i am trying to create a dashboard with the average distance travelled in each cycle by each operator, The operator realize the paths listed bellow:

- Operador Serra: Estoque MP->Serra->WIP Serra. Observation: 20% of the output items from Serra go to Queue 1 and are transported by Operador Serra, i would like to collect this distance also.

- Operador Polimento: WIP Serra->Polimento->WIP Polimento

- Operador Colagem: WIP Polimento->Colagem->Secagem->Expedição. Observation: When there is an item in Queue1, Operador Colagem must travel to Queue1 and collect it to process it in Colagem.


Marmoraria.fsm


FlexSim 20.1.0
dashboardsflexsim 20.1.0distance traveledaverage
1595460406007.png (199.1 KiB)
marmoraria.fsm (1.6 MiB)
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

·
tannerp avatar image
1 Like"
tannerp answered tannerp commented

@fernando.h4,

I'm not sure how much resolution you need over the distance traveled for each process, but I created a Stats Collector that measure the distance traveled each cycle by tracking the "totaltraveldist" variable on the operator. I only created a Stats Collector for Operador Serra and I'll let you decide how to do the others.

The idea is that the Stats Collector listens for certain events and checks to see if the operator is loading/unloading at specific stations (based on your description). For example, if the operator loads at "Estoque MP", then the "totaltraveldist" variable is recorded.

This data can then be used in a Calculated Table to measure the distance traveled per cycle. You can subtract the final travel distance from the starting travel distance. Each row in the Statistics Collector represents a cycle.

Note that the operator wasn't traveling to Estoque MP (like you said it should in your description), so I added logic that would cause him to travel to that queue.

Let me know if you have any questions. Hope this helps!

marmoraria_1.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.

Fernando H4 avatar image Fernando H4 commented ·

Hi @tanner.p first of all thanks for your answer!

I understood the logic that you exposed and i tried to reply it but i am still having some issues. The statistics collector is not computing the distance traveled, i have used the command "totaltraveldist" like you did but for some reason it is not working. Could you help me with that?

Thank you!

0 Likes 0 ·
1595632319552.png (260.2 KiB)
marmoraria.fsm (1.6 MiB)
tannerp avatar image tannerp Fernando H4 commented ·

@fernando.h4,

It looks like everything is set up properly, but you need to define the Event/Column Dependencies as shown in the image below. Each event should update one of the columns. For example, if the Operator Loads at "Serra", then it should update the "Serra" column that is associated with that event. It looks like the operator isn't loading or unloading at "Estoque MP", so that event isn't firing. You may have to modify the logic to listen for something different.

marmoraria (1)_1.fsm

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.