.BusinessSimulation.Functions.janoschek

Information

This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.

This function models Janoschek's growth curve [19] given the real input x and the specifying real inputs b, l, k, d. The formula for the real output y is:

y := 1 - (l - b) * exp(-k * x ^ d);

Syntax

Functions.janoschek(x, b, l, k, d);

Examples


BusinessSimulation.Functions.janoschek(2, b = 0, l = 2, k = 2, d = 1); // 1.963369

See also

JanoschekPositiveJanoschekNegative

Interface

function janoschek
  extends BusinessSimulation.Icons.Function;
  input Real x "x-Value";
  input Real b "Lower asymptote";
  input Real l "Upper asymptote";
  input Real k "Growth rate";
  input Real d "Control of abscissa for the point of inflection";
  output Real y;
end janoschek;

Revisions


Generated at 2024-04-28T18:16:21Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos