question

Cody F avatar image
0 Likes"
Cody F asked Felix Möhlmann answered

Is it possible to create/track states of control points along agv path?

Using process flow to build my logic, I am setting up an assembly line to build multiple types of a similar unit. Each unit will have varying station processing times depending on what type it is. I have an AGV loop that travels to control points that are used as station locations for work to be done. The AGVs are being used to build on and transfer to the next locations.


Since the times at each station are variable(triangular) as well as different by type, the AGVs will be blocked at times causing the stations to be blocked. I know how to track the states of the AGVs to see blocked and all that, but I really only need to track what the stations are doing for more clarity of the line. I am attempting to build a chart or some way to track the states of each station. I need to have blocked, processing, and idle states tracked. I created a sample model for experimenting that is attached. I tried some code snippets that didn't work as well as tried to tie in a processor for tracking purposes but still unsuccessful. What is the best way to create/tweak my logic to chart my station usages?


Thanks for any assistance. StationStateTest.fsm

FlexSim 21.2.4
agvproces flowcontrol pointstate chart
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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

The control points don't have a state, which is why setting it through the 'Set State' custom code doesn't work.

The utilize task you tried to use sets the state of the task executer, not the involved object.

If you combine the approaches and use the 'Set State' custom code to set the processors state, you should be able to achieve what you describe, though I am not sure when a processor should be 'blocked' vs 'processing'.

1653373241793.png

I'm also going to link to a different post that shows how you can greatly reduce the amount of needed activities in the process flow by using more variables to reference to the respective objects rather than setting hard references in each activity.

https://answers.flexsim.com/questions/120498/a-efficient-method-for-reflow-process-model.html?childToView=120505#answer-120505


1653373241793.png (26.1 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.