06-21-2018 04:40 AM
Hello Plant Simulation Community,
I am a student and I am new to the Software.
I would ask you an help to simulate an industrial process.
I have two matters:
1) I have 2 different entities that enter a parallel process, but the capacity of this ParallProc change with the type of entity.
How could I solve it? I suppose I need a method and an attribute that determine the lotsize of each entity.
2) I want that the different entities go to next station only if the whole batch is processed but the dimension of the bach is different for each type of entity .
Thank you in Advance for support.
Solved! Go to Solution.
06-21-2018 04:46 AM
Steffen Bangsow freelance simulation specialist web: www.bangsow.eu mail: steffen@bangsow.net | ![]() |
06-21-2018 06:44 AM
Version 13.0.2
Sorry for late reply
06-21-2018 07:12 AM
Steffen Bangsow freelance simulation specialist web: www.bangsow.eu mail: steffen@bangsow.net | ![]() |
06-21-2018 09:47 AM
Thank you for the help.
Unfortunately I am not able to upload file.spp
I need a batch of A=20 and a batch B=10 that move forward only if the whole batch of A or B is processed.
I have problems to write methods correctly.
I don't know if I must define a table as attribute for my entity or I can write a table in the Tab Attributes of the Source A specifying it in the coloumn Number.
Do I need methods called "PartEntrance" and "PartExit" of my previous screen?
Sorry for my lack of undestanding, I know you are the Plant Simulation God.
06-21-2018 09:55 AM
Steffen Bangsow freelance simulation specialist web: www.bangsow.eu mail: steffen@bangsow.net | ![]() |
06-21-2018 10:25 AM
06-21-2018 10:35 AM
Steffen Bangsow freelance simulation specialist web: www.bangsow.eu mail: steffen@bangsow.net | ![]() |
06-21-2018 11:09 AM
I have followed second step,
but at the end I wrote
buffer1.capacity:=@.batchSize
instead of
buffer1.capacity:=@.bufferSize
beacuse method give me "uknown identifier"
I'm grateful for all this time that I'm keeping you busy.
06-21-2018 11:18 AM
next step
now you need your old two methods for the buffer1
entrance control:
if ?.full then
--batch is complete move it to the ParallelProc
waituntil ParallelProc.empty prio 1
?.entranceLocked:=true
?.exitLocked:=false
end
exit control rear:
if ?.empty then
--new batch
?.exitLocked:=true
?.entranceLocked:=false
end
-- the first part of the new batch will set the capacity of the buffer1
Steffen Bangsow freelance simulation specialist web: www.bangsow.eu mail: steffen@bangsow.net | ![]() |