worker state

To limit spam this and all Public Forums have very limited ability to attach files. We recommend that support issues and more technical topics be initiated inside one of the Simio Insider (SI) forums below where you can attach your model and see example solutions. See above Welcome forum to join Simio Insiders.
Post Reply
Posts: 24
Joined: Fri May 13, 2016 2:30 pm

worker state

Post by msalemip » Wed Sep 21, 2016 4:14 pm

How I can define a state variable only for the workers. For example if I want to check whether the worker had his lunch break or not. I am creating a dummy entity as lunch and it will call workers based on some schedule. I want to make sure the entity calls some worker which did not have lunch yet. How can I do that? The lunch entity will seize a worker from a list, however there should be a condition that makes sure the worker did not had lunch before.
Note that I do not want to model this my setting the lunch hour in the off-shift period. The worker should be on shift and a lunch entity will seize the worker for one hour. There are 5 workers. 3 of them will have lunch from 12 to 1 and 2 of them from 1 to 2. I am creating 3 entities at 12 and 2 at 1. They should seize the workers and make sure they did not have not been seized for lunch before.

Simio Team Member
Posts: 1453
Joined: Thu Mar 13, 2008 12:35 pm
Location: Sewickley, PA USA

Re: worker state

Post by dsturrock » Thu Sep 22, 2016 9:42 am

You will need to subclass the Worker object. One easy way to do this is right-click on the Worker object in the library. Select Subclass and you will see MyWorker appear in your project window.

It's very easy to add a state.
Its fairly easy to add extra processes.
But I would be careful if you decide to insert or replace steps inside the existing processes because some of that logic is subtle and tricky. If you do make any such changes I recommend applying a color to every step changed to make it easier to maintain.
Dave Sturrock
VP Operations, Simio LLC

Post Reply