Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

About Source.

[ Edited ]

Hi everyone,

 

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?

 

Best regards

8 REPLIES

Re: About Source.

you can use the source with the setting: MU Selection: Random
--> see help for create MU randomly.

For stopping the source you can lock the exit (source.exitLocked:=true/false)

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net


Re: About Source.

[ Edited ]

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...

Re: About Source.

How does the store trigger this?

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net


Re: About Source.

The method is called by another independent object's entrance control, and this method will check the inventory of the store... e.g. If the inventory of the product A is less than 5, then trigger the source to generate 2 product A. I know this function can be easily done by using ".Create()" command and replacing the source with the ParallelProc... But some how my professor asked me to do this by using the Source.
Solution
Solution
Accepted by topic author Leeooj
‎12-07-2016 03:33 PM

Re: About Source.

this is complicated; the source creates events in the event list for creating MUs at a certain time.
The source will not wait for you.
You could use the source to create "base" MUs. If you need one, you rename the MU on the source, set a new icon and move it to the store. You need to wait, until the source creates a new one, if you want to move two or more...

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net


Re: About Source.

Thank you very much! I will try this way to do it.
Solution
Solution
Accepted by topic author Leeooj
‎12-08-2016 02:04 AM

Re: About Source.

[ Edited ]

Hello leeooj,

 

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,

Abhilash S.

Thanks & Best Regards,
Abhilash Sridhar
Mercedes Benz R&D India, Daimler AG

Re: About Source.

Hello

 

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.

 

JamesM