.Modelica.Fluid.Dissipation.Utilities.Functions.General.LambertW

Information

This function calculates an approximation of the inverse for

    f(x) = y = x * exp( x )

within ∞ > y > -1/e. The relative deviation of this approximation for Lambert's w function x = W(y) is displayed in the following graph.

LambertW_deviation

For y > 10 and higher values the relative deviation is smaller 2%.

Interface

function LambertW
  extends Modelica.Icons.Function;
  input Real y "f(x)";
  output Real x "W(y)";
end LambertW;

Generated at 2020-06-05T07:38:22Z by OpenModelica 1.16.0~dev-420-gc007a39