The need here is for when a Processor completes a process on a Flow Item, a new Flow Item is Triggerd for creation at a Source.
How is this made possible?
Thanks.
The need here is for when a Processor completes a process on a Flow Item, a new Flow Item is Triggerd for creation at a Source.
How is this made possible?
Thanks.
A simple way to do this is to set the 'Inter-Arrival Time' of the source to 0, so it always creates new items if possible. In its exit trigger, close the output of the source, so only one item can leave at a time. A new item will be created immediatly, but it can't leave the source.
In the process finish trigger of the processor, you can then open the output again, so the next item is released from the source.
Another way would be to use an event-triggered source in a process flow that listens to the processor's finish event. The token can then create a new item via the 'Create Object' activity.
A source creates independently new items. You cannot trigger a source doing this. But you can create new items by command or process flow activity. If you want them to take part in your model flow, you create them in a queue. Or you move them from your model workspace into an object by command or process flow activity,
You can do this, although it may not be the most efficient:
Object source=Model.find("Source1"); destroyeventsofobject(source); createevent(source,0,EVENT_CREATEPART);
The advantage is that the creation time of the item will be when you wanted it.
16 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