How to Track Utilization of Pallets

How to Track Utilization of Pallets

jazeng
Explorer Explorer
178 Views
3 Replies
Message 1 of 4

How to Track Utilization of Pallets

jazeng
Explorer
Explorer

Hi,

 

I have a finite number of pallets that gets loaded in a combiner and unloaded in a separator. The boxes go into the sink, and the pallet is recirculated into queue until it is needed to load more boxes. How can I track the utilization and idle time of each of the pallets, and display that on the dashboard?

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

moehlmann_fe
Enthusiast
Enthusiast
Accepted solution

I would add a kinetic tracked variable label to the pallets. While they are sitting in the queue the rate of the label is 0. When they exit it gets set to one, so the label value counts the time spent outside the queue. The utilization is then just the label value divided by the total model time.

moehlmann_fe_0-1754895871582.png    

moehlmann_fe_1-1754895885497.png

 

 

 

Message 3 of 4

jazeng
Explorer
Explorer

Thanks, this is helpful, how to I make a variable of a certain type if it is created through code?

0 Likes
Message 4 of 4

moehlmann_fe
Enthusiast
Enthusiast

To create a Tracked Variable label, first create the label and then initialize the node as a TR.

https://docs.flexsim.com/en/25.1/Reference/CodingInFlexSim/FlexScriptAPIReference/Data/TrackedVariab...

treenode labelNode = item.labels.assert("UtilizedTime");
TrackedVariable.init(labelNode, STAT_TYPE_KINETIC_LEVEL, 0);

 

0 Likes