blockSamplerWithResetThreshold
Sampler with a reset and a threshold
Information
This block samples the input real signal u when u is
larger than a threshold.
On the other hand, when the input boolean signal trigger becomes true,
the output y is reset to a default value.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | lowLim | 1 | Lower limit for triggering the sampling |
| Real | y_reset | 1 | The value of y when the reset occurs |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Interfaces.RealInput | u | Input real signal | |
| Buildings.Controls.OBC.CDL.Interfaces.BooleanInput | trigger | Reset the output when trigger becomes true | |
| Buildings.Controls.OBC.CDL.Interfaces.RealOutput | y | Sampling output |
Revisions
-
September 20, 2023, by Sen Huang:
First implementation.