WOLFRAM SYSTEM MODELER
SignalExtremaCalculate min and max of a signal |
|
SystemModel["Modelica.Blocks.Math.SignalExtrema"]

This information is part of the Modelica Standard Library maintained by the Modelica Association.
This block calculates the min and the max of the input signal u
and stores the time at which the last min or max was reached in the
variables t_min and t_max respectively.
The output is updated after each sample period defined by Ts.
This means that:
| Ts |
Type: Time (s) Description: Sample time |
|---|
| u |
Type: RealInput Description: Connector of Real input signal |
|
|---|---|---|
| y_min |
Type: RealOutput Description: Min of input signal |
|
| y_max |
Type: RealOutput Description: Max of input signal |
|
Modelica.Blocks.Examples Test detection of signal extrema |
| Version | Date | Author | Comment |
|---|---|---|---|
| 1.0.0 | 2021-02-25 | dietmarw, tinrabuzin | Initial version |