question

Laquerius77 avatar image
0 Likes"
Laquerius77 asked Felix Möhlmann edited

Modifying Key Performance Measures referencing

In the file attached, one of my key performance measures is Loadport Utilization

1679498234528.png

and I would like to take measures to measure it as,

1.0 - [referenced value of state = "idle"].

So when idle is 13% or 0.13, I want the performance measure to record it as 0.87 or 87% instead.


Currently, the measure is set to reference for the group "loadport" and taking the state value for state "idle", but i can't seem to use the value to form the measure above. Is it possible to do so?

1679498270096.png


Flexsim_FinalModel_1To5.fsm

FlexSim 22.0.7
experimenterperformancekey performance measures
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 Felix Möhlmann edited

Go into the code editor for the Value field (rightmost icon next to it). At the very bottom, where the code returns the value that was determined/calculated, simply change the return value to "100 - ..." to get the inverse percentage.

1679498858077.png

You can also use the method of grabbing the utilization stat from the composite state chart from your previous question and change the "blocked" state to also count as utilized time in the state table to get the same result.

1679499053859.png


1679498858077.png (3.6 KiB)
1679499053859.png (11.5 KiB)
5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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