blockHysteresis_inputVariable

Transform Real to Boolean signal with Hysteresis and variables as input values
Diagram of Hysteresis_inputVariable

Extends from Modelica.Blocks.Icons.PartialBooleanBlock (Basic graphical layout of logical block).

Information

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

Parameters

TypeNameDefaultDescription
Booleanpre_y_startfalseValue of pre(y) at initial time

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.BooleanOutputy
Modelica.Blocks.Interfaces.RealInputu
Modelica.Blocks.Interfaces.RealInputuHigh
Modelica.Blocks.Interfaces.RealInputuLow