question

Aaditya J avatar image
0 Likes"
Aaditya J asked Aaditya J commented

Utilization of Conveyor Station

I want to study the Conveyor station's statistics, but when I apply the state charts there is an exception error. Please find attached the snapshot of model, dashboard and Error.conveyor-station.png

FlexSim 18.2.2
state chartconveyor stationsstation utilization
conveyor-station.png (130.8 KiB)
· 1
5 |100000

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

tannerp avatar image tannerp commented ·

Hi @Aaditya J,

To make it easier for us to diagnose the issue, could you upload the model shown or a replication of this model for us to examine?

0 Likes 0 ·

1 Answer

Jordan Johnson avatar image
1 Like"
Jordan Johnson answered Aaditya J commented

This is a bug in the State Pie chart. It has been fixed for 18.2.3.

To work around this for now, follow these steps:

  1. Install the template
  2. Open the Process Flow for the template
  3. Add an activity called Get StateNode:

  4. Delete the Set CurState activity
  5. Change the Set Utilization activity:

  6. Change the Wait for Event activity. To listen to OnChange, use the sampler to sample a Tracked Variable in the Toolbox. Then replace the reference to the Tracked Variable with the correct code:

  7. Make sure the connectors are correct:


At this point, the chart should work. Here is a demo model you can reference.

teststatepieonstation.fsm


· 1
5 |100000

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

Aaditya J avatar image Aaditya J commented ·

The process flow template does work for my case. Thanks you for the response.

0 Likes 0 ·