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
| Type | Name | Default | Description |
|---|---|---|---|
| Real | pos | Argument of x > 0 | |
| Real | neg | Argument of x < 0 | |
| Real | x | Independent value | |
| Real | deltax | Half width of transition interval |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | out | Smoothed 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.