question

Keith H3 avatar image
0 Likes"
Keith H3 asked Keith H3 edited

Is it possible to aggregate list entries?

I am wondering if it is possible to aggregate list entries (and their numerical fields) based on matching values. The objective is to consolidate the number of entries in the list. I could pull the existing entries prior to pushing a new value then push the value with the new field totals, however this would cause zero-time dips in the list's content tracking. Any ideas are appreciated.

FlexSim 19.0.1
list
5 |100000

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

1 Answer

·
Joshua S avatar image
0 Likes"
Joshua S answered Keith H3 edited

Here is an example model that gives one way of aggregating items on a list. It basically checks if a new entry matches any entries on the list already, and if it does, make changes to the entry already on the list while not pulling it off the list, or push the new entry on the list.

aggregating-lists.fsm


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

Keith H3 avatar image Keith H3 commented ·

Hi @Joshua S, thank you for your quick reply. I am hoping to use the list's built in statistics collector to track number field totals which I believe will only work with static (non-dynamic) fields. I could always use a different approach, but an all-in-one solution would be nice.

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.