Search the Community
Showing results for tags 'process'.
Hello In my simulation model I need to scan rows for maximum value within a column, and then assign this maximum value to say a state variable so I can reference it in the responses to optimize using optquest. It would also be useful if I can add all the values within the column and use that instead for optimization. I am not quite able to figure out how to do this. Would appreciate any help in pointing me towards right direction! TIA!
I have a multiple combiners into which a single worker provides entities. While the worker is at a specific combiner, I want to check if that combiner's output buffer is full. I'd prefer not to create a separate process for each combiner as I have dozens. How do I code the process so that it is generic and that 1 process can work for any combiner? I'm hoping this is an easy question. Sorry if it's obvious. Thanks for your help.
I've got multiple workers going to single server. As the title implies, I'd like these workers to mimic the real-life behaviour of randomly going on leave for a random amount of time. Ideally I'm looking for something that's shown in vehicles or servers, but for workers. Does anyone here know an easy workaround for this? I did think about adding in a add-on process after the worker releases an entity with a counter, and after a certain count the worker is seized for a random amount of time. I just thought there would be a better way. Another alternative would be creating a work schedule for each worker, but there's over 60, so that might take a while.