.dhcSim.Utilities.Math.Functions.smoothMax

Once continuously differentiable approximation to the maximum function

Information

Once continuously differentiable approximation to the max(.,.) function.

Note that the maximum need not be respected, such as illustrated in dhcSim.Utilities.Math.Examples.SmoothMin.

Interface

function smoothMax
  extends Modelica.Icons.Function;
  input Real x1 "First argument";
  input Real x2 "Second argument";
  input Real deltaX "Width of transition interval";
  output Real y "Result";
end smoothMax;

Revisions


Generated at 2025-03-04T19:24:58Z by OpenModelicaOpenModelica 1.24.4 using GenerateDoc.mos