Cancel
Showing results for 
Search instead for 
Did you mean: 

Finding the optimal processing time

Valued Contributor
Valued Contributor

Dear community members,

suppose we have this simple model

Cattura.PNG

I would like to find the processing time of Singleproc that allows me to have a maximum MU waiting time  in buffer of 150 seconds. 

Is it possible with Plant Simulation or should I try manually?

Thank you

2 REPLIES

Re: Finding the optimal processing time

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

you can calculate the waiting-time using @.entryTime in the exit-control e.g.

 

is
 waitingTime:time;
do
 waituntil singleProc.empty and singleProc.operational prio 1;
 waitingTime:=eventController.simTime-@.entryTime;
 if maxWaitingTime<waitingTime then
  -- set new
  maxWaitingTime:=waitingTime;
 end;
 @.move; 
end;

 

Then you can use the ExperimentManager for changing the ProcTime of the SingleProc.

 

 

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

Re: Finding the optimal processing time

Valued Contributor
Valued Contributor
Thank you Steffen!
Your help is always much appreciated