How to collect processing time for each product (from source to sink)?

How to collect processing time for each product (from source to sink)?

sia_sengchoon193
Not applicable
23 Views
3 Replies
Message 1 of 4

How to collect processing time for each product (from source to sink)?

sia_sengchoon193
Not applicable

[ FlexSim 21.2.1 ]

How to collect the processing time of each product and make it into a table that can be exported?

From source to sink, including waiting time at all stations.

1644703771463.png

total process time.fsm

0 Likes
Accepted solutions (1)
24 Views
3 Replies
Replies (3)
Message 2 of 4

joerg_vogel_HsH
Mentor
Mentor
Accepted solution

Each item stores its entry time in model. You can get this value by command getcreationtime.
https://docs.flexsim.com/en/21.2/Reference/CodingInFlexSim/CommandReference/Commands.html#getcreatio...

if you compute the difference of current runtime, when an item is entering a sink to its creation time, you get the total stay time of this item in your model.

https://docs.flexsim.com/en/21.2/Reference/CodingInFlexSim/FlexScriptAPIReference/Data/Model.html#Pr...

0 Likes
Message 3 of 4

sia_sengchoon193
Not applicable

@Joerg Vogel

Thank you very much for your answer, but how to execute the command?

where to enter this code?

0 Likes
Message 4 of 4

jason_lightfootVL7B4
Autodesk
Autodesk
Wherever you want to gather the information. Suggestions might include a stats collector, a detection process flow or the entry trigger of the sink.
0 Likes