question

Tomas A avatar image
0 Likes"
Tomas A asked Isaac Litster commented

How to record operator distance travelled per shift?

How can I set a histogram with the total travel of one operator per shift?

Shifts:

6am - 14pm

14pm - 22pm

22pm-6am

FlexSim 19.0.0
travelhistogramtravel per shift
· 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.

Xu Chunqi avatar image Xu Chunqi commented ·

@Tomas A, You can find a node named "totaltraveldist" in the OP's variables. You can listen to the shift's start and finish moment and use this node's value to make a subtraction, then you will get what you want.

2 Likes 2 ·
0.png (43.0 KiB)
Tomas A avatar image Tomas A commented ·

as well as its states please.

0 Likes 0 ·

1 Answer

Joshua S avatar image
0 Likes"
Joshua S answered Isaac Litster commented

Use this model as a template, it stops the model every 8 hours for your 3 shifts so you can see the state charts, and it outputs the total travel distance in the output console.

traveldist.fsm


traveldist.fsm (33.3 KiB)
· 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.

Isaac Litster avatar image Isaac Litster commented ·

Hi @Tomas A

Does Josh's reply answer your question? If so, please click the Accept button below the answer.

Thanks!

0 Likes 0 ·