I am in need of having a station that can hold 3 units and then wait until there are 3 units inside before it starts the processing time, then release all 3 parts at the same time.
Would this be easier to acheive using a buffer or parallel proc?
You can do it with parallel proc.
But using a buffer in front would be a good idea.
So buffer tree parts and when they are ready you release them together into the parallel proc, so the proctime for the 3 parts start at the same simulation time.
This can be done with the exitlocked method.
Create an Init method within the buffer user defined variables
Buffer must have:
entrance control that will keep track of how many parts have entered.
If ?.numMU=3 ?.exitlocked:=false end
exit control to close exit again
If ?.nummu=0 ?.exitlocked:=true end
It will always accumulate 3 parts, release 3 parts at the same time and accumulate 3 parts again.
Parallel proc will be in charge of giving the same proc time to all 3.
OK, that in itself is an area of opportunity.
Taking a good training may reduce your learning curve by some months.
You create an init method 2 ways:
1. Add a method object from the Information Flow tab in your Toolbox and rename it "Init".
2. Open an object go to the user defined tab, click the "+ New" button, select "method" from the dropdown list and name it "Init".
Also all of this information is in the PlantSim help
Thank you for your help. I know this is off topic, but do you know of any good training materials out there? I have been trying to find some way to learn how to use PlantSim but I can't seem to find anything.
First step would be to go through the Step by Step which is inside Plant Sim.
Second could be to buy @Steffen_Bangsow book which is of great help for newbies.
Third you could reach to many of us consultants to get a training most likely depending on your location. But this applies more to companies who have bought the software.
I did exactly as you said but the buffer doesn't release any parts.
I created a method named Init that locks the exit and assigned it to the buffer as a user created variable, then I assigned entrance and exit control methods to the buffer using the code you posted.