modelExponentialDecay
Extends from Interfaces.Basics.GenericSourceOrSink (SinkOrSource template with one flow port), Icons.Sink (General icon for sinks).
Information
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
ExponentialDecay is identical to →ExponentialDecline, e.g., the connected stock is drained at a rate proportional to its content into a sink with infinite capacity outside the border of the system in focus. Instead of using a fractional rate λ to describe the process, we are using the mean residence time τ (aka mean lifetime or the exponential time constant) to parameterize the process:
The mean residence time can be given either as a constant parameter (residenceTime) or as a continuous time input u.
The effective rate of decay with respect to a connected stock x at any time will be given by
Notes
- The effective rate of decay (e.g the product of the rate and amount in stock) must never be negative, as filling the connected stock is prohibited. Should the rate of outflow from the stock become negative, it will be set to zero.
- In case of a constant residence time τ there will be 1/e ≈ 37% of the initial amount in the connected stock left after the residence time has elapsed.
- Often the half-life of an exponential decay process is of interest, whith can be obtained by
See also
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Time | residenceTime | 1 | Constant time of average residence (optional) (decaying.residenceTime) |
| Structural Parameters | |||
| Boolean | hasConstantResidenceTime | false | = true, if the constant residence time is used instead of the real input u |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Connectors.FlowPort | massPort (from GenericSourceOrSink) | Inflow to or outflow from connected stock | |
| Interfaces.Connectors.RealInput | u | Residence time input |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| RealOutput | y (from ThreeSO_rate) | Rate information | |
| RealOutput | y1 (from ThreeSO_rate) | Rate information | |
| RealOutput | y2 (from ThreeSO_rate) | Rate information |