.BuildingSystems.Utilities.SmoothFunctions

Information

This package contains functions for the numerica smoothing of equations:

       softcut       softly cuts to upper and lower limit.
       softcut_lower softly cuts to lower limit.
       softcut_upper softly cuts to upper limit.
       softpow       pow(x) with x close to 0.0 smoothing.
       softabs       softabs(x) softly approximate fabs().
       safetanh      tanh(x) with NaN catching.
       safepow       pow(x) with x less than 0.0 catching.
       softswitch    switches softly between y0 and y1 at x=y_switch with smoothing f.
       safereciprocal calculates 1/x without zeros between a user defined intervall from -delta to +delta.
    

Contents

NameDescription
powerLinearizedPower function that is linearized below a user-defined threshold
safepowSafe pow() with x < 0.0 catching
safereciprocalCalculates 1/x without zeros between a user defined intervall from -delta to +delta
safetanhTanh with NaN catching
softcutsoftly cuts to upper and lower limit
softcut_lowerSoftly cuts to lower limit
softcut_upperSoftly cuts to upper limit
softfabsSoftly approximate fabs()
softpowPow() with x -> 0.0 smoothing
softswitchSoftly switches between y0 and y1 at x=x_switch with smoothing f

Generated at 2024-04-24T18:15:52Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos