question

Rex R. B avatar image
0 Likes"
Rex R. B asked Benjamin W2 commented

How to record the labels of flow items in a queue?

inventory-and-order.fsm

Hi,

I'm trying to record the labels of each pallet (which is set upon entry) that goes in and out of a queue (Pallet Queue). This will be used to determine how much were served and how much were unserved. I tried using statistics collector but it only gave a blank table.

FlexSim 19.1.0
statistics collectoroutput recording
· 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.

Benjamin W2 avatar image Benjamin W2 commented ·

Hi @Rex R. B,

Did Brenton or Jeff's answer solve your issue? If so, could you accept one of their answers? If not, how else can we help?

0 Likes 0 ·
Brenton King avatar image
1 Like"
Brenton King answered

I was just looking through some older posts and found this question. I'm not sure I fully understand what you are trying to do, or why you are trying to do it? You may have already come up with another solution. I think that you are looking to track the current active pallet labels between two points? I will often do this with a list.

I place all of your pallets on a global list when they enter your "Pallet Queue" and then remove them from the list when they exit the "Whse1 Combiner". I add the labels as fields on the list and then view the entries.

Again, not sure if this is what you were looking for but thought I'd provide another idea.22912-inventory-and-order-3.fsm


5 |100000

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

Jeff Nordgren avatar image
0 Likes"
Jeff Nordgren answered Rex R. B commented
@Rex R. B

Attached is your model with the change that I made.

I just changed the OnEntry trigger of Pallet Queue to add to the global table. The option you had just wrote to a specific row (1) and column (1).

If you have any questions, please let us know.

Thanks.

inventory-and-order-jn1.fsm


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

Rex R. B avatar image Rex R. B commented ·

Hi Jeff,

Thank you for your help. This really helped in recording the data. However, the Whse1 Combiner updates the components list and the "Content1"label of the pallet are both using the Demand1 Global Table. And when I ran the model, they (Combiner1 and Content1) just picked up the first entry of the Demand1 Global Table. How can we make it use the succeeding entries of the Demand1 Global Table?

0 Likes 0 ·
Rex R. B avatar image Rex R. B commented ·

inventory-and-order-2.fsm

Hi Jeff,

The main idea is to determine the number of unserved items using the labels of the pallets that are left in the Pallet Queue and the served items using the labels of the pallets that passed thru the Whse1 Combiner. I attached the updated model with slower processing time of Whse1 Separator to simulate the unserved.

0 Likes 0 ·