OnOffController
On-off controller
Library
Modelica/Blocks/Logical
Description
The block OnOffController sets the output signal y to true whenthe input signal u falls below the reference signal minus half ofthe bandwidth and sets the output signal y to false when the inputsignal u exceeds the reference signal plus half of the bandwidth.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_bandwidth | bandwidth | Bandwidth around reference signal | Scalar | |
mo_pre_y_start | pre_y_start | Value of pre(y) at initial time | Scalar | true |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo__nmodifiers | Number of Modifiers | Specifies the number of modifiers | Number | |
mo__modifiers | Modifiers | Add new modifier | Structure | |
mo__modifiers/varname | Variable name | Cell of strings | ||
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
reference | implicit | Connector of Real input signal used as reference signal | input | 1 |
u | implicit | Connector of Real input signal used as measurement signal | input | 2 |
y | implicit | Connector of Real output signal used as actuator signal | output | 1 |