question

Patrick Zweekhorst avatar image
0 Likes"
Patrick Zweekhorst asked Jordan Johnson commented

Is it normal and wanted that the state of the AGV is set at every control point?

Hi,

In the attached model you can the following situation, where the state is split in many small state blocks, instead of one big state block. This makes it hard to see how long the travel task actually took. I would hope to see just one big state block.

I guess the AGV network is setting the state at each control point, because the more control points we have the smaller the state blocks become.

Is this intentional behavior?

1726143967751.png


Thanks,

Patrick

AgvStateGantt.fsm

FlexSim 24.2.1
agvstatecontrol pointstate gantt
1726143967751.png (52.7 KiB)
agvstategantt.fsm (39.4 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.

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Jordan Johnson commented

I would assume that this is working as designed. An AGV updates its travel kinematics on every Pre Arrival event, so it makes that it also updates its state since it might become blocked at that point.

At least for non-BasicFR objects it is pretty straightforward to adjust the Gantt Chart Collector to prevent this fragmentation. Install the chart components and add a condition that the event is ignored if the toState is equal to the fromState for both the Non-BasicFR events.

1726147500921.png

non-fragmented-state-gantt-fm.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.

Patrick Zweekhorst avatar image Patrick Zweekhorst commented ·
Yes it is indeed easy to change and when I make a Gantt chart myself I also do it slightly different which also does not give the issue. I older FlexSim versions (I tested 20 and 21) the state block was 1 big block. Maybe it is possible the change the chart template to skip state changes where the state does not really change, like you suggest.


@Jordan Johnson , what do you think about this chart with all the small blocks and the suggested solution?

0 Likes 0 ·
Jordan Johnson avatar image Jordan Johnson ♦♦ Patrick Zweekhorst commented ·
This is something I can add to the dev list. I think it's a good idea to merge identical states.
0 Likes 0 ·