- #1
danago
Gold Member
- 1,123
- 4
An interesting problem has come up in a project I'm working on and I'm looking to build a model to simulate what would happen in particular scenarios. I'll describe the situation in generic terms.
I have x objects {1,2,3,...,x}, a pieces of type-A equipment, b pieces of type-B equipment and c pieces of type-C equipment (each object is identical to all other objects; the same can be said of each piece of equipment). The objects all start in state S0, and the goal is to use each piece of equipment sequentially on the objects (it must be sequential) to take them from state S0 to state SA by using a type-A piece of equipment, then to state SB, and then finally to state SC. Then, once an object is in state SC, it must wait until a particular time (e.g. midnight), at which point a a counter increases by 1. The object then reverts to state S0 and the process starts again.
There are some constraints here. Each type of equipment takes a certain amount of time to complete its task - tA, tB, and tC respectively, and a piece of equipment can only operate on one object at any given point in time. After it has finished a task, the piece of equipment can then move on to any other object that is waiting and at the appropriate state (remembering that the equipment must act on each object in the order A, B and C).
I am trying to set up a simulation of this so we can see what the impact is of changing various parameters. Eventually I'd also like to treat the times taken for each task as random variables (probably normally distributed). I was going to write something in visual basic to effectively simulate this, however I first wanted to ask the advice of this forum. My initial thought is that this is a fairly well-defined problem with seemingly many applications - is there a name for this type of problem? Are there any articles that look at modelling this?
Thanks in advance - any thoughts are much appreciated! More than happy to clarify anything if needed.
I have x objects {1,2,3,...,x}, a pieces of type-A equipment, b pieces of type-B equipment and c pieces of type-C equipment (each object is identical to all other objects; the same can be said of each piece of equipment). The objects all start in state S0, and the goal is to use each piece of equipment sequentially on the objects (it must be sequential) to take them from state S0 to state SA by using a type-A piece of equipment, then to state SB, and then finally to state SC. Then, once an object is in state SC, it must wait until a particular time (e.g. midnight), at which point a a counter increases by 1. The object then reverts to state S0 and the process starts again.
There are some constraints here. Each type of equipment takes a certain amount of time to complete its task - tA, tB, and tC respectively, and a piece of equipment can only operate on one object at any given point in time. After it has finished a task, the piece of equipment can then move on to any other object that is waiting and at the appropriate state (remembering that the equipment must act on each object in the order A, B and C).
I am trying to set up a simulation of this so we can see what the impact is of changing various parameters. Eventually I'd also like to treat the times taken for each task as random variables (probably normally distributed). I was going to write something in visual basic to effectively simulate this, however I first wanted to ask the advice of this forum. My initial thought is that this is a fairly well-defined problem with seemingly many applications - is there a name for this type of problem? Are there any articles that look at modelling this?
Thanks in advance - any thoughts are much appreciated! More than happy to clarify anything if needed.