Transform Real to Boolean signal with Hysteresis and variables as input values
1. Purpose of model
Hysteresis model that allows the use of variables instead of parameters for the boundaries.
2. Level of detail, physical effects considered, and physical insight
(Description)
3. Limits of validity
(Description)
4. Interfaces
u: Input
uHigh: Upper threshold
uLow: Lower threshold
y: Output
5. Nomenclature
(no elements)
6. Governing Equations
(no equations)
7. Remarks for Usage
This block transforms a Real input signal into a Boolean output signal:
- When the output was false and the input becomes greater than input uHigh, the output switches to true.
- When the output was true and the input becomes less than input uLow, the output switches to false.
The start value of the output is defined via parameter pre_y_start (= value of pre(y) at initial time). The default value of this parameter is false.
8. Validation
(no validation or testing necessary)
9. References
(none)
10. Version History
Created by Anne Hagemeier (anne.hagemeier@umsicht.fraunhofer.de), March 2018
Generated at 2025-04-02T18:24:35Z
by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos