question

OC avatar image
0 Likes"
OC asked Felix Möhlmann commented

How to display the processing time?

Hi,

I want to display the processing time of a processor as a timer, however, once the processor breakdown past a predefined value. After being repaired, the timer should be reset and can be used again to view the processing time.

Thanks for your help.


test-tfoiu.fsm

FlexSim 23.0.8
processorprocessing time
test-tfoiu.fsm (45.7 KiB)
· 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.

Natalie White avatar image Natalie White commented ·
Hi @AZ-OC ,

By processing time, are you referring to a countdown (or countup) displaying how long it will take for the individual flow items to be processed? Or would you like to display the total time each processor has spent processing? (One way to achieve this is using statistics collectors and calculated tables).

Let me know and I am happy to help.

0 Likes 0 ·
OC avatar image OC Natalie White commented ·

thank you for answering, Actually i want to display the overall processing time of the processor for all the items that have passed, and once the breakdownk occurs, the timer goes back to 0 and starts the calculation again

0 Likes 0 ·

1 Answer

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

You could use a (kinetic) Tracked Variable label. When a process starts/stops/resumes you set the current value and rate of change of the variable. The reset happens automatically.

test-tfoiu-fm.fsm


test-tfoiu-fm.fsm (45.0 KiB)
· 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.

OC avatar image OC commented ·

Thank you for your answer, it helped me a lot to understand. In fact, I want it to show me the cumulative processing time and reset to 0 only if the downtime occurs.

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann OC commented ·

You can use the same principle for that. Set the rate to 1 while the processor is running. On breakdown reset the value to 0.

test-tfoiu-fm_1.fsm

0 Likes 0 ·
test-tfoiu-fm-1.fsm (45.0 KiB)

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.