question

Scarlett X avatar image
0 Likes"
Scarlett X asked Scarlett X commented

process flow with list and object process flow

Hi everyone,

  1. I have a list and I want to use pull from list to pull the lowest utilization, can I let list to renew utilization every seconds after push to list? If I need to use statistics collector to do this, how should I do?
  2. I have a general process flow and a object process flow, can I let general process flow token go to object process flow?

Thank you!

FlexSim 21.2.4
process flow
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 Scarlett X commented

1. You can create an expression field on the list that reads/calculates the utilization and mark it as 'dynamic'. This will cause the field to recalculate as needed (every frame while viewing the list or every time something is trying to pull a value from the list).

To get the utilization value you can add a state chart in a dashboard and install its components (add the relevant objects to the chart first). This will make the statistics collector behind the chart accessible in the model. You can then use 'Table.query()' to read the respective utilization value from the internal table of the collector.

1655195927161.png

1655195952386.png


2. Not directly, no. What you can do is have the general flow token send a message to the instance object of the object flow. An event triggered source can react to this message and create a new token. If you set the token as the sending object, you can assign it to a label in the source and subsequently copy any labels/properties you might need.

1655196129703.png

dynamicfield_eventToken.fsm


· 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.

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·
For 2. I would use a global list as the interface between the global and object process flows and if necessary partition by the instance rather then sending messages.
0 Likes 0 ·
Scarlett X avatar image Scarlett X Jason Lightfoot ♦♦ commented ·

Thank you for the information!

0 Likes 0 ·
Scarlett X avatar image Scarlett X commented ·

Thank you for the information!!

0 Likes 0 ·