Logic to keep the model running
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
The model I'm working on is a crane that is controlled by a process flow. The crane must pick up stock from different racks and deposit it onto three different conveyors depending on the product type. The sequence is defined by a table I created in the global table (SequenceTable).
The model works well overall, but I have a problem: when one of the stock sources runs out, the model stops completely. In other words, when the crane no longer has stock to pick up from the queues(no more in the list), it halts and doesn't continue. I need the model to keep working with the remaining two product types until everything is finished.
Initial model.
I tried using a decide condition before the pull, but it didn’t work, and I'm not sure it's the best way to do it.
If someone can help me get unstuck, I’d really appreciate it.