modelDoubleSetpointController
Extends from TransiEnt.Basics.Icons.Block.
Information
1. Purpose of model
Uses two instances of MSL hysteresis. Thereby a three point control (e.g. off, on1, on2) with hysteresis can be realized.
2. Level of detail, physical effects considered, and physical insight
(Purely technical component without physical modeling.)
3. Limits of validity
(Purely technical component without physical modeling.)
4. Interfaces
Modelica RealInput: u
Modelica RealOutput: y
5. Nomenclature
(no elements)
6. Governing Equations
(no equations)
7. Remarks for Usage
(no remarks)
8. Validation
Tested in check model "DoubleSetPointController"
9. References
(no remarks)
10. Version History
Model created by Pascal Dubucq (dubucq@tuhh.de), Aug 2014
Model revised by Pascal Dubucq (dubucq@tuhh.de), Apr 2017 : code conventions
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | uLow1 | u<=uLow1, Switch to off | |
| Real | uHigh1 | u>uHigh1, Switch to on1 | |
| Real | uLow2 | u>u | |
| Real | uHigh2 | u>uHigh2, Switch to on2 | |
| Real | y0 | 0 | Output signal for state off |
| Real | y1 | 1 | Output signal for state on1 |
| Real | y2 | 2 | Output signal for state on2 |
| Types.DoubleSetpointControllerStatus | startState | Types.off | State at init |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | u | ||
| Modelica.Blocks.Interfaces.RealOutput | y |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Math.BooleanToReal | b2r1 | ||
| Modelica.Blocks.Logical.Hysteresis | On2 | ||
| Modelica.Blocks.Math.BooleanToReal | b2r2 | ||
| Modelica.Blocks.Math.Sum | y_total | ||
| Modelica.Blocks.Logical.Hysteresis | On1 |