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

ExponentialGrowth, ExponentialDecline, ExponentialDecay

Parameters

TypeNameDefaultDescription
Structural Parameters
BooleanisCCRtrue= true, if the factional rate given is assumed to be a continuously compounding rate else the rate will be converted

Connectors

TypeNameDefaultDescription
Connectors.FlowPortmassPort (from GenericSourceOrSink)Inflow to or outflow from connected stock
Connectors.RealInputu (from SingleInput)Input signal

Components

TypeNameDefaultDescription
RealOutputy (from ThreeSO_rate)Rate information
RealOutputy1 (from ThreeSO_rate)Rate information
RealOutputy2 (from ThreeSO_rate)Rate information