.Modelica.Media.Air.MoistAir.Utilities.smoothMax

Information

An implementation of Kreisselmeier Steinhauser smooth maximum

Interface

function smoothMax
  extends Modelica.Icons.Function;
  import Modelica.Math;
  input Real x1 "First argument of smooth max operator";
  input Real x2 "Second argument of smooth max operator";
  input Real dx "Approximate difference between x1 and x2, below which regularization starts";
  output Real y "Result of smooth max operator";
end smoothMax;

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