The mean sojourn time for an object in a system is the amount of time an object is expected to spend in a system before leavingthe system for good.
Calculation
Imagine you are standing in line to buy a ticket at the counter. If you, after one minute, observe the number of customers that are behind you it might be looked upon as a estimate of the number of customers entering the system per unit time. If you then divide the number of customers in front of you with this ”flow” of customers you just estimated the waiting time you should expect; i.e. the time it will take you to reach the counter, and indeed it is a rough estimate. To formalize this somewhat consider the waiting line as a system S into which there is a flow of particles and where the process “buy ticket” means that the particle leaves the system. The waiting time we have considered above is commonly referred to as transit time, and the theorem we have applied is occasionally called the Little's theorem, which could be formulated as: the expected steady statenumber of particles in the system S equals the flow of particles into S times the mean transit time. Similar theorems have been discovered in other fields, and in physiology it was earlier known as one of the Stewart-Hamilton equations. This principle can be generalized. Thus, consider a system S in the form of a closed domain of finite volume in the Euclidean space. And let us further consider the situation where there is a stream of ”equivalent” particles into S where each particle retains its identity while being in S and eventually - after a finite time - leaves the system irreversibly. The Figure depicts the thought motion history of a single such particle, which thus moves in and out of the subsystem s three times, each of which results in a transit time, namely the time spent in the subsystem between entrance and exit. The sum of these transit times is the sojourn time of s for that particular particle. If the motions of the particles are looked upon as realizations of one and the same stochastic process it is meaningful to speak of the mean value of this sojourn time. That is, the mean sojourn time of a subsystem is the total time a particle is expected to spend in the subsystem s before leaving the system S for good. To see a practical significance of this quantitylet us accept as a law of physics that, if the stream of particles into S is constant and all other relevant factors are kept constant, S will eventually reach steady state. It can then be demonstrated that the steady state number of particles in the subsystem s equals the stream of particles into the system S times the mean sojourn time of the subsystem. This is thus a more general form of what above was referred to as Little's theorem, and it might be called the mass-time equivalence: which sometimes has been called the occupancy principle. This mass-time equivalence has found applications in, say, medicine for the study of metabolism of individual organs. Again, we deal here with a generalization of what in queuing theory is sometimes referred to as Little's theorem that, and this is important, applies only to the whole system S ; the mean sojourn time can in the Little's theorem be interpreted as mean transit time. As should be evident from the discussion of the figure above, there is a fundamental difference between the meaning of the two quantities sojourn time and transit time: the generality of the mass-time equivalence is very much due to the special meaning of the notion of sojourn time. When the whole system is considered is it true that sojourn time always equals transit time.