question

Andreas BH avatar image
0 Likes"
Andreas BH asked Jason Lightfoot commented

how to calculate traveltime on a crane?

Hello!

I need to monitor the traveltime of a crane. One solution was mentioned in this Post.

But there i can't divide the traveltimes into load rack and unload rack.

I tried also to use the tree node stats_lastmovetime but without success. There i get a list with equal timestamps. Here it isn't divided (load / unload), too.


Thank you!

FlexSim 20.0.3
cranetravel timemovetime
1.png (3.2 KiB)
2.png (6.6 KiB)
2-1.png (14.2 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.

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @Andreas BH, was jason.lightfoot's answer helpful? If so, please click the red "Accept" button on 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 0 ·

1 Answer

Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered Jason Lightfoot commented

Here's an example using a process flow to detect the task start and finish events; some logic to determine if the task sequence is loading or unloading, and a tracked variable "CraneJobDivision" to record when the crane is Emptying or Filling the rack and when it is Idle.craneStats.fsm


cranestats.fsm (65.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.

Andreas BH avatar image Andreas BH commented ·

Good Morning,

sorry for late answer. my Colleague found a similar solution. He added 2 time-labels "staytime zeit1! and "Staytime Zeit2". There the staytime is calculated. he uses "trackedvariable", too. see screenshots.

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Andreas BH commented ·

Understood - you replace the standard task sequence with a process flow where you can capture the time in the flow, rather than listen to standard task sequences. Glad you found a solution.

0 Likes 0 ·