.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 "Input f(x)";
  output Real x "Output W(y)";
end LambertW;

Generated at 2020-06-05T21:39:08Z by OpenModelica 1.16.0~dev-442-g2e5bc9f