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.infwill be used to obtain the output.
Acknowledgements
Additional information can be found on Jim Hines' Molecules of Structure website: →Residence Time.
See also
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Time | durationAtZeroRate | inf | Value for duration if the rateOfDepletion becomes zero |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.Connectors.RealInput | u_level | Current level of work to do or simply level of stock being depleted by flow | |
| Interfaces.Connectors.RealInput | u_rate | The rate at which the stock is drained or the tasks being completed | |
| Interfaces.Connectors.RealOutput | y | Time needed to complete work or drain stock |
Revisions
- Changed type for
rateOfDepletiontoUnspecifiedin v2.2.