My problem is: I want to trigger a source, and every time when I trigger it, it need to generate specific different types of MUs (every time differently). After generating enough quantity, the source will stop working and will wait for the next trigger.
Is this task possible by using object Source but not paralProc?
Solved! Go to Solution.
The task is to generate the specific MU with defined quantity. (e.g. if the store requires 2 times of products A, then the Source starts to generate 2 times of product A )
I tried to set the MU selection as "Sequence Cyclical", and in the table file, the number of MU is zero. If the store requires 2 times of product A, the method will change the number of MU in the table file. But in this way, the simulation will jam at the beginning...
In your case, you can make use of Kanban library. The image is attached below.
You can use Kanban source, Kanban buffer, Kanban singleproc to model facilities with PULL strategy.
Once the buffer reaches triggering point, it ask source to create respective parts (Type & quantity).
please see example model of Plant sim.
Thanks & Best Regards,
Have had a look at this as it reminded me of a previous system that I had set up before.
For this I would create 2 attributes on the source, one is a count of how many MU's you want to make and the other is what MU you want to produce, and this will be your input into the system.
Next, create a observer on each of them, to do the following things:
- If your count value is 0 then lock the exit, if not then unlock the exit.
- Set the 'Path' on the source to the MU you wanted and then delete the current MU on the Source (if not then the old MU will be delivered first).
Then add an exit control and in here you got to take 1 away from the count value and then use the .move method to move out the MU. If needed here you can then use some logic to add in sending the MU's to where they are needed if necceary.
Now add something to your startup so it has some initial values to help to populate your system.
Hope this is of some help to you.