I Modeling a situation of task dependencies

  • I
  • Thread starter Thread starter danago
  • Start date Start date
  • Tags Tags
    Modeling
danago
Gold Member
Messages
1,118
Reaction score
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.
 
Mathematics news on Phys.org
Sounds like an application of, e.g. MS Project or similar tools. Mathematically it can range from linear programming to Markov chains and every combination of it. I'd probably look out for the tools to play around with them. As I entered "MS Project" into Google to check whether it is still an available program I found several alternatives. The (economic) literature on this fills probably libraries.
 
fresh_42 said:
Sounds like an application of, e.g. MS Project or similar tools. Mathematically it can range from linear programming to Markov chains and every combination of it. I'd probably look out for the tools to play around with them. As I entered "MS Project" into Google to check whether it is still an available program I found several alternatives. The (economic) literature on this fills probably libraries.

Thanks for the reply. I did think about MS Project, though it's maybe a little rigid for what I'm looking for (though I haven't used it much, so it may be a lot more flexible than I'm thinking - I'll check it out again).
 
With fixed times, it should be possible to find an expression for the total processing time, maybe with a few cases to go through. Apart from starting up and finishing, one type of equipment will limit processing time, the other two equipment types will just determine the speed of the start and end - and I would expect this delay to be just the sum of the two processing times unless I miss some special case.
With random times, you'll need a simulation.
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
I'm interested to know whether the equation $$1 = 2 - \frac{1}{2 - \frac{1}{2 - \cdots}}$$ is true or not. It can be shown easily that if the continued fraction converges, it cannot converge to anything else than 1. It seems that if the continued fraction converges, the convergence is very slow. The apparent slowness of the convergence makes it difficult to estimate the presence of true convergence numerically. At the moment I don't know whether this converges or not.
Back
Top