.BuildingSystems.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-11-22T19:25:38Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos