diff --git a/Modelica/Blocks/Math.mo b/Modelica/Blocks/Math.mo index 0ffb0e28fd..17a2d5d57b 100644 --- a/Modelica/Blocks/Math.mo +++ b/Modelica/Blocks/Math.mo @@ -2607,9 +2607,9 @@ This block detects positive and negative peaks of differentiable and non-differe For differentiable input signals, an extremum is detected if the derivative of the input signal is zero.
-To handle non-differentiable input signals, the input signal u is conditioned by a first order with time constant T.
-Like in the derivative block,
-the derivative of the input signal is approximated by (u - x)/T.
+To handle non-differentiable input signals, the input signal u is conditioned by a first order with time constant T.
+Like in the derivative block,
+the derivative of the input signal is approximated by (u - x)/T.
This way even steps with local extrema just before and after the step are taken into account.
diff --git a/Modelica/Blocks/package.mo b/Modelica/Blocks/package.mo index e05280f660..2190133239 100644 --- a/Modelica/Blocks/package.mo +++ b/Modelica/Blocks/package.mo @@ -1669,9 +1669,9 @@ Note that the ContinuousSignalExtremaBlock detects extrema of both signals witho
The output of these blocks is updated after each period of the signal.
-Using a simple pulse series, these values can be calculated analytically. -Propagating these values as initial values for the output, -we can compare the numerical solution with the analytical solution: +Using a simple pulse series, these values can be calculated analytically. +Propagating these values as initial values for the output, +we can compare the numerical solution with the analytical solution: The output is constant from the beginning.