MohammedM Posted August 7 Posted August 7 (edited) Hello everyone, hope you are having a great day, i have a simple yet challenging problem. i am using Worker from the standard library. i want to change the number of workers dynamically each 8 hours based on a formula. on Resource it can be done easily using current capacity feature, in workers it does not exist. Also, when adding a schedule in the value, I cannot change the number greater than 1, meaning on the schedule, I can either say he's on shift or off shift. meaning if the initial population was 5, then they would go off shift together to 0. what i want is to change the number from 5 to 4 to 6. like that. i couldn't find a way to do that. your help is much appreciate it. Thank you Edited August 7 by MohammedM
jzhou Posted August 7 Posted August 7 Worker has an assignable state variable to control its availability. Assign Worker1[1].CurrentCapacity=1 Assign Worker1[1].CurrentCapacity=0
Recommended Posts