I need to change the processing time base on the number of workers available. This should could change during the simulation. I have already solved to change it before to start the simulation, but I cannot do it dynamically.
One task is performed in one hour by one worker, but if after 30 min, a second worker is release and come to help, both will finish the task in 45 minutes.
Viceversa, if at the beginning of the simulation there are two workers, but one have to go to another task, the worker that stay in the server will take more time to perform the task.