modelDoubleSetpointController

Similar to On/Off Controller this block switches between three states with a hysteresis defined by a bandwidth
Diagram of DoubleSetpointController

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

TypeNameDefaultDescription
RealuLow1u<=uLow1, Switch to off
RealuHigh1u>uHigh1, Switch to on1
RealuLow2u>u
RealuHigh2u>uHigh2, Switch to on2
Realy00Output signal for state off
Realy11Output signal for state on1
Realy22Output signal for state on2
Types.DoubleSetpointControllerStatusstartStateTypes.offState at init

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputu
Modelica.Blocks.Interfaces.RealOutputy

Components

TypeNameDefaultDescription
Modelica.Blocks.Math.BooleanToRealb2r1
Modelica.Blocks.Logical.HysteresisOn2
Modelica.Blocks.Math.BooleanToRealb2r2
Modelica.Blocks.Math.Sumy_total
Modelica.Blocks.Logical.HysteresisOn1