I have a container flow item, and it has other flow items in it. i wand to trigger an event when the container flow item's contents reach a certain number.
I have a container flow item, and it has other flow items in it. i wand to trigger an event when the container flow item's contents reach a certain number.
@Cliff King yup i thought so. So i pushed all contents to a Q and then used it to trigger. its a work around, but works.
I would try to put the container items on a global list. And a dynamic field checks the content. Maybe you can check the total value of all items on the List to get an event which checks your Limit which can be another label value on the list.
Another approach tests your limit in the packaging method of your container item. The event is then a message that you send.
It would be challenging to reference the container flow item's in a model because I'm assuming they are dynamically created and destroyed during simulation run time. However, you could use the Event-Triggered Source to listen to the On Entry, On Exit or some other opportune event and then check the content of the container at that time to make a decision in your process flow.
If you don't want to use process flow to define your logic, then you can consider using the OnEntering and/or OnExiting trigger fields on the flow items in your model (via the FlowItem Bin) to query the content of the container's they get moved into during the course of the simulation.
12 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved