.IBPSA.Utilities.Math.Functions.spliceFunction

Information

Function to provide a once continuously differentiable transition between to arguments.

The function is adapted from Modelica.Media.Air.MoistAir.Utilities.spliceFunction and provided here for easier accessability to model developers.

Interface

function spliceFunction
  extends Modelica.Icons.Function;
  input Real pos "Argument of x > 0";
  input Real neg "Argument of x < 0";
  input Real x "Independent value";
  input Real deltax "Half width of transition interval";
  output Real out "Smoothed value";
end spliceFunction;

Revisions


Generated at 2024-12-27T19:26:12Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos