.Dynawo.NonElectrical.Blocks.Continuous.SqrtNoEvent

If the input is positive, outputs its square root, if the input is negative, outputs zero

Information

This block computes the output y as extended square root of the input u:

       sqrt(u)  if u > 0
  y =
          0     if u ≤ 0

The noEvent function prevents the negative input values from being evaluated by the sqrt function, thus avoiding an error.


Generated at 2025-03-04T19:24:58Z by OpenModelicaOpenModelica 1.24.4 using GenerateDoc.mos