Cancel
Showing results for 
Search instead for 
Did you mean: 

Test Station

Pioneer
Pioneer

Hello dear community,

 

I need your help with a model I am working on. There is a test station that must wait until 25 units are in line to be tested. Then the process repeats again.

 

I have wrote a methode with a variable that counts until 25. But the problem is that when the 25 units are being processed, a 26th unit enter the line and pauses the machine.

 

Thank you in advanced!

 

Laura

 

 

12 REPLIES

Re: Test Station

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
If you have 25 parts, you could lock the entrance (attribute entranceLocked) and after the line is empty again, you could unlock the entrance again.

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

Re: Test Station

Pioneer
Pioneer

Thank you Steffen for your answer. Although I tried it,  still doesnt work :/

 

I have created:

- A counter in the line before the machine (counts +1) and after (counts-1) 

- 2 methods in the machine: one says predecesor's exitlocked = true ( in machines entrance) and the other says: when counter = 25 then predecesor's exitlocked = false ( in machines exit)

 

 

I attached the two methods (sorry they are written in german)

 

Thank you for your help Smiley Happy

 

(oh. and the line before the machine is never empty, new units are always entering even)

 

laura

 

 

Re: Test Station

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
can you post your model?
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Test Station

Pioneer
Pioneer

Unfortunately I cannot post the original model but I have create a small model that ilustrates what is happening with the same methods I am using.

 

After de 25 units are processed, the next 25 units should start waiting in line again until the 25th enters in the line and the machine starts processing them.

 

I really appreciate it Smiley Happy

Re: Test Station

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

have a look into this small example

I use here an observer method (Extras-Beobachter bearbeiten...), the observer method will be called at each change of the value of the attribute NumMu --> so you can open and close the entrance and exit of the line when you need it

 

You will need an init method to set up the right state for starting the simulation

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

Re: Test Station

Pioneer
Pioneer
Thanks a lot! The example was precise and clear Smiley Happy

Re: Test Station

Pioneer
Pioneer

Good morning Mr.Bangsow,

 

This time I am trying to do the same test station, however this time does not depends on the number of Units waiting in line.

 

Each 15 minutes the station has to process all the units that are waiting (until that moment) on line and then the exit of the line should be close again.

 

I have tried this in the example you sent me (attached). This time using a generator, but it might be something I am doing wrong because its not working.

 

Thank you in advance!

 

Laura M.

Re: Test Station

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

first: you should not combine the observer method with the generator triggered method; the result is not predictable

 

I have changed your model: the test-area should be able to store all the parts (e.g. parallelproc).

Then you only need to open the exit, wait until the line is empty and close the exit again.

 

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

Re: Test Station

Pioneer
Pioneer

Thank you very much for your quick response. I have understood the example but I have tried this in my original model and doesnt work in the same way. It worked for the first round but then the units keep going with no interruption.

 

I have introduced the original input data from my model (speed of the line is 0,14, dimensions of the line and processing time I estimate it should take for the 20 units to be tested in the parallelproc).

 

Perhaps this values have something to do with the way the system is behaving.

 

I really appreciate your help Smiley Happy