modelExponentialChange
Exponential growth or decline of connected stock
Extends from Interfaces.Basics.GenericSourceOrSink (SinkOrSource template with one flow port), Icons.SourceOrSink (General icon for sources or sinks), Interfaces.Basics.SingleInput (Single Input to Stock, Flow, or Source/Sink component).
Information
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
ExponentialChange will fill (or drain) the connected stock from a source (or into a sink) with infinite capacity at a rate that is determined at any time as the product of the current amount in the connected stock and the fractional rate given by the real input u. By convention, a positive rate will fill the stock, while a negative rate will drain it.
Notes
- By default it is assumed, that the rate given is a continously compounding rate (
isCCR = true). If this is not case, the rate will be converted using the →ForceOfInterest converter. - Care has to be taken in case an →InformationLevel with a negative level is connected to the ExponentialChange, as the sign of the effective rate is affected by this.
- Exponential change processes have a constant doubling time (or a constant half-life) which can be found by dividing log(2) ≈ 0.69 by the continuously compounding fractional rate (or by log(1+rate) if the rate is not a continuously compounding rate).
See also
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Structural Parameters | |||
| Boolean | isCCR | true | = true, if the factional rate given is assumed to be a continuously compounding rate else the rate will be converted |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Connectors.FlowPort | massPort (from GenericSourceOrSink) | Inflow to or outflow from connected stock | |
| Connectors.RealInput | u (from SingleInput) | Input signal |
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 |