Exponential decline of connected stock
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,
ExponentialDecay, ExponentialChange
- Value for parameter set to
unspecified in
v2.1.0.
Generated at 2026-04-01T18:18:38Z by OpenModelicaOpenModelica 1.26.3 using
GenerateDoc.mos