question

Cindy avatar image
0 Likes"
Cindy asked Cindy commented

Performance measure compare two of them

Hi, I want to obtain the percentage of compliance from the products delivered, and its the division between "componentes entregados" and "componentes solicitados", the firstone is the value from the outputs drom a queue and the second one corresponds to the input of tokens in a source in process flow. How can i obtain this division as a performance measure, i want to obtain the value =(115/135)* 100 for example. Is it possible to do it?

1713298603722.png

FlexSim 23.1.0
proces flowperformance measures
1713298603722.png (13.0 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.

1 Answer

·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Cindy commented

You can simply divide the two PFMs in the value field of a third.

Model.performanceMeasures["name1"].evaluate()/Math.max(Model.performanceMeasures["name2"].evaluate(), 1)

"Math.max()" is used to prevent a division by 0.

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

Cindy avatar image Cindy commented ·

Thank you! im going to try doing this


0 Likes 0 ·

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.