question

David W2 avatar image
0 Likes"
David W2 asked Joseph Gillespie commented

Show completed product orders

I want to be able to see my completed product orders waiting in the carpark outside my facotry. We have tried to add a queue after the last processor but then the item moves into this queue and isn't shown as being completed.

Otherwise, the completed flow items disappear when they are counted.

Is there a way of counting the flow item as complete, without it being destroyed?

FlexSim 19.1.1
flow items
· 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.

Joseph Gillespie avatar image Joseph Gillespie commented ·

@David W2

Could you explain a little more what the problem is? What do you mean by "count the flow item as complete"? If you attach your model I could give you a more specific solution.

0 Likes 0 ·

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

Delete the item in the sink. That is ok. If you want an item visually in the model, but it shouldn’t counted in the statistic, then you can add an drawsurrogate object with the shape of the deleted item in the drawsurrogate node of the queue. A drawsurrogate object is dummy, that has the attributes of objects but it is just visually in the parent object.

If you want to try this without writing code immediately, you open the properties of the last queue> General tab> Animation edit area> inside the editor add with the green plus icon an object. A blue box appears in the queue with the dimensions 1x1x1. You can double click the box and change the attributes.

Later in your model you add by code for each deleted item a drawsurrogate object to your model. If your model tree holds to many drawsurrogate objects you can think of to create a shape that replaces for example 100 stored surrogates.

5 |100000

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