question

OJé Jhhen avatar image
1 Like"
OJé Jhhen asked Claire Krupp commented

State Gantt chart rows sequence shuffling after Warmup Time

stateGanttRowsSequence_WarmupTime.fsm

There is a State Gantt chart for a Group containing more than one elements say five Processors (Processor1, Processor2, Processor3, Processor4 and Processor5).

Warmup time is defined. So, data of the chart is resetting to zero. While resetting data, sequence of Rows (Processor5, Processor1, Processor2, Processor3 and Processor4) of the chart is shuffling.

beforeWarmupTime.JPGsomeTime_afterWarmupTime.JPG

FlexSim 23.0.5
warmup timestate gantt 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
1 Like"
Felix Möhlmann answered Claire Krupp commented

At the warmup time, the Statistics Collector behind the chart removes all "finished" rows, keeping only one row object that holds the current state and the time at which the object changed into this state. The ordering of the these entries will depend on the times the objects last changed their state.

You can fix this by installing the chart components (from the Advanced Tab of the chart properties), so you can access the Statistics Collector. However, installing the components will make any future changes to the chart more difficult, so make sure it is otherwise set up as you want it.

In the collector's properties, change the On Warmup option from Remove finished rows to Remove all rows.

1694773460992.png

On the Events Tab, add a duplicate of the OnReset event and set its time to coincide with the warmup time.

1694773447794.png

These two changes will essentially complete reinitialize the chart upon warmup, keeping the order of the objects in the chart intact.


1694773447794.png (38.4 KiB)
1694773460992.png (11.3 KiB)
· 7
5 |100000

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

Jordan Johnson avatar image Jordan Johnson ♦♦ commented ·
This is a good solution. I'll add this to the dev list as an improvement for the state gantt chart.
1 Like 1 ·
Claire Krupp avatar image Claire Krupp commented ·
Very useful to know! Thanks @OJé Jhhen and @Felix Möhlmann
0 Likes 0 ·
OJé Jhhen avatar image OJé Jhhen commented ·
Thanks @Felix Möhlmann for the direction... Thanks @Jordan Johnson listing it to the dev list....
0 Likes 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·

@OJé Jhhen This issue is fixed in 23.0.13 and 23.2.3 released today.

0 Likes 0 ·
Claire Krupp avatar image Claire Krupp Matthew Gillespie ♦♦ commented ·
Hi @Matthew Gillespie this issue is re-occurring in v24.1.0.

My model is confidential, but I can send it to you if you give me an email address.

Thanks,

0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ Claire Krupp commented ·
Hello @Claire Krupp,

You can submit it to [email protected]

0 Likes 0 ·
Show more comments