question

Alexander Swinarew avatar image
0 Likes"
Alexander Swinarew asked Alexander Swinarew commented

Operator state gantt chart strange behaviour when using warm-up time

Hi,

I have encountered a bug where the operator state gantt chart is not updated properly when the model uses a warm up period. This error occurs when the gantt chart is supposed to collect data only for a certain period of time. When I save the data as .csv and look at it in Excel, it does appear to collect not the required data as well.

I am not a 100% sure if this is working as intended and I am just configuring it wrongly or if it is a bug.

Please see attached model.

Thank you and best wishes,
Alex

Operator_Gantt_Chart.fsm

FlexSim 21.2.2
operatorstate ganttwarmup
5 |100000

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

Ralf Gruber avatar image
1 Like"
Ralf Gruber answered

Alexander,

it appears that the chart you used is from a much older version (see old chart GUI in screenshot). If you use the new chart widgets as in screenshot and model attached, both should work fine.

Good luck

operator-gantt-chart.png

operator-gantt-chart_RG.fsm



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
1 Like"
Jordan Johnson answered Alexander Swinarew commented

Hi Alex,

There are two state gantt charts in FlexSim. One is located in the Legacy section of the Dashboard Library, and the other is located in the State section of the Dashboard Library. The chart in the attached model is from the Legacy section, and it looks like it has some bugs; I'll report those bugs to dev.

If you use the State Gantt from the State section, it handles warmup time correctly.

· 3
5 |100000

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

Alexander Swinarew avatar image Alexander Swinarew commented ·

Hi Ralf and Jordan,

Thank you for your response. I actually pinned the operator state gantt chart to the dashboard via the selection in the operator properties window and did not manually select a gantt chart from the dashboard library.

In the new state gantt chart, there is no option to collect data only for a specified time period or am I missing something?

Thanks!
Alex

0 Likes 0 ·
Jordan Johnson avatar image Jordan Johnson ♦♦ Alexander Swinarew commented ·

As far as the pin buttons go, we are working to make them more consistent, so that they pin the latest charts from the library.

To make the chart only collect during a certain time period, you'll need to install the chart (a button in the advanced section). Then you'll need to configure the Statistics Collector that generates the data for that chart.

operator-gantt-chart_2.fsm

Here are the basic steps I followed:

  1. Add StartTime and EndTime labels to the stats collector
  2. Change the OnReset event to start at the start time
  3. Change the Condition on the two state change events to include a model time check

Making labels makes it relatively easy to change the time span in all three places.

0 Likes 0 ·
Alexander Swinarew avatar image Alexander Swinarew Jordan Johnson ♦♦ commented ·
Thank you Jordan for your response and your assistance!
0 Likes 0 ·