question

mark zhen avatar image
0 Likes"
mark zhen asked Jason Lightfoot commented

Parameter reference for performance indicator

I want to complete the application of some performance indicators, as shown in the figure, but I cannot execute it smoothly. I would like to ask how to successfully reference these indicators.random-action-autosave_autosave.fsm1704483431766.png

FlexSim 22.0.16
customcode
· 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.

1 Answer

Felix Möhlmann avatar image
2 Likes"
Felix Möhlmann answered Felix Möhlmann commented

To get the performance measure value, you have to execute the code in the "valueNode" of the performance measure value.

1704698042374.png

In this case, in order to work correctly, the code requires you to pass in the reference object as a parameter when executing the code.

1704698054339.png

You probably also want to place a 0s-delay in the Process Flow to get the performance measure value after the item has exited the queue.

1704698116420.pngrandom-action-autosave-autosave_1.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.