functionspliceFunction

Extends from Modelica.Icons.Function (Icon for functions).

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.

Inputs

TypeNameDefaultDescription
RealposArgument of x > 0
RealnegArgument of x < 0
RealxIndependent value
RealdeltaxHalf width of transition interval

Outputs

TypeNameDefaultDescription
RealoutSmoothed value

Revisions

  • September 27, 2022, by Matthis Thorade:
    Changed limits.
    This is for IBPSA, issue #1640.
  • May 10, 2013, by Michael Wetter:
    Reformulated implementation to avoid unrequired computations.
  • May 11, 2010, by Michael Wetter:
    Removed default value for transition interval as this is problem dependent.
  • May 20, 2008, by Michael Wetter:
    First implementation.