Problem with Time caclulation

Problem with Time caclulation

superanto00
Not applicable
179 Views
2 Replies
Message 1 of 3

Problem with Time caclulation

superanto00
Not applicable

[ FlexSim 21.0.10 ]

I´m trying to calculate the time each processor is actually working and to do so i have created a code in an on entry and on exit trigger that writes down the time when a product enters and exits each processor. This has worked for processors 1, 2 and 3 but when I added a new one (processor 47) the times seem to not be registering correctly as it can be seen in the Global Table "Times". I don´t know how to fix this as I have used the same code for all processors. By the way, the table is created in the on exit trigger of the queue next to the sink. TG3 - 2.0_Mejora.fsm

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

joerg_vogel_HsH
Mentor
Mentor
Accepted solution

May I suggest you read times rather than you compute them by statistical functions, even if these functions have the same parameters as in process time.

There are Functions you can evaluate like getentrytime(item obj)

Edit: Maybe you should think about different events like processfinish and exit. An item can wait to get transported, but an items process time ends when setup and process are done.

0 Likes
Message 3 of 3

andrew_o2
Not applicable

Hi @superanto00, was Joerg Vogel's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes