02-09-2018 05:29 AM
A proposed production system consists of three serial automatic workstations. The processing times at workstations are constant: 11, 10, and 12 (all times are in minutes). The part inter-arrival times are uniformly distributed with minimum 13 minutes to maximum 15 minutes. The unique aspect of this system is that the part has a chance to be reprocessed by the workstations that precedes workstation 2 and workstation 3 after completing the service in the respective workstations. For example, after completion at workstation 2, the part can be sent back to the queue in front of workstation 1with some probability which is mentioned later in the problem.
The parts which are about to revisit any workstations for the second time have to be scrapped before entering the queue of that workstation for rework. We suppose to scrap the parts because there is no hope of reworking the same part for more than one time.
At present, it is estimated that the part revisiting probability is same for both the workstations (workstations 2 and 3). Develop the simulation model with the replication length of 10,000 minutes and probabilities of revisit to be 6% ?
02-11-2018 06:47 AM - edited 02-11-2018 06:51 AM
you need to switch of the new syntax in the method editor (tools...)
Then you only need to correct your method:
(r : integer) : integer is percentage: real; do percentage:=z_uniform(1,0,1); if percentage > 0.94 then @.quality:= @.quality+1; if @.quality < 2 then return 2; else return 3; end; else return 1; end; end;
Steffen Bangsow freelance simulation specialist web: www.bangsow.eu mail: steffen@bangsow.net | ![]() |
02-12-2018 01:46 AM
Sir,
The model is working really fine. Thanks for your help. But I still had a doubt in my mind, regarding the variable percentage.
percentage:=z_uniform(1,0,1);
here we are generating random variable here between 0 and 1. Suppose we want exactly 6% of the entities to be revisited for processing.? What are the changes to be done in the method?
Thank you once again for your help.
02-12-2018 03:38 AM
Steffen Bangsow freelance simulation specialist web: www.bangsow.eu mail: steffen@bangsow.net | ![]() |