modelExponentialDecline

Exponential decline of connected stock

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.

ExponentialDecline will drain the connected stock 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. The rate can either be given as a constant parameter fractionalRate or as a real input u, making it variable in time.

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.

  • The effective rate of decline(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.

  • Exponential decline processes have a constant half-life (e.g., the time it takes to to shrink by 50%) 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, ExponentialDecayExponentialChange

Parameters

TypeNameDefaultDescription
RatefractionalRateunspecifiedConstant fractional rate to be used if chosen
Structural Parameters
BooleanisCCRtrue= true, if the factional rate given is assumed to be a continuously compounding rate else the rate will be converted
BooleanhasConstantRatefalse= true, if the constant fractional rate is used instead of the real input u

Connectors

TypeNameDefaultDescription
Connectors.FlowPortmassPort (from GenericSourceOrSink)Inflow to or outflow from connected stock
Interfaces.Connectors.RealInputuFractional rate given as exogenous input

Components

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

Revisions

  • Value for parameter set to unspecified in v2.1.0.