blockResidenceTime

Calculate average time of residence or time needed for completion

Extends from Icons.InformationProcessing (Icon for information processing molecules).

Information

This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.

The Real output y is obtained by dividing the current amount in a material stocku_level by the (positive) rate of its outflow u_rate. According to Little's Law—a famous result from queueing theory—the output y will be equal to the mean time of residence in the stock if the system is in equilibrium.

Notes

  • Both, the amount in the stock (u_level) and the rate of outflow (u_rate) have to be positive; negative values will be assumed to be zero.

  • Should the rate of outflow be zero (or negative) the parameter durationAtZeroRate (default = Constants.inf will be used to obtain the output.

Acknowledgements

Additional information can be found on Jim Hines' Molecules of Structure website: →Residence Time.

See also

Decay

Parameters

TypeNameDefaultDescription
TimedurationAtZeroRateinfValue for duration if the rateOfDepletion becomes zero

Connectors

TypeNameDefaultDescription
Interfaces.Connectors.RealInputu_levelCurrent level of work to do or simply level of stock being depleted by flow
Interfaces.Connectors.RealInputu_rateThe rate at which the stock is drained or the tasks being completed
Interfaces.Connectors.RealOutputyTime needed to complete work or drain stock

Revisions

  • Changed type for rateOfDepletion to Unspecified in v2.2.