question

kitkat87 avatar image
0 Likes"
kitkat87 asked Jeanette F commented

Snapshot total quantity (content inside the rack) daily 7am

Good days all,

How can I capture and plot the daily trend chart for the total quantity of the content inside a rack.

I want the chart capture 7AM daily snapshot

FlexSim 22.2.4
chartssnapshot
· 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @kitkat87, was one of Jason Lightfoot's or Joerg Vogel's answers helpful? If so, please click the "Accept" button at the bottom of the one that best answers your question. 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 ·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot edited

Use the Storage.system.queryItems() method passing in a query that optionally groups by rack objects, bays slots, however you want to cut it.

If you virtualize the items the rack will not have subnodes, so this is the more general method.

To get the 7am event you can use a user event or a statistics collector that repeats at a daily interval.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Joerg Vogel commented

rack obj.subnodes.length is the content of items in all slots. If you want to count items on slotItems similar to a container, parcel and product structure you need to iterate through all slotItems.

You need an event happening every day then use a user event from toolbox.

Then you can build an own statistic collector for your purpose.

· 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.

Joerg Vogel avatar image Joerg Vogel commented ·
@kitkat87 if you write in your user event the length of subnodes as value of a rack into a tracked variable as a level then you can attach a level chart into dashboard easily.
0 Likes 0 ·

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.