blockTrimAndRespond
Trim and respond logic
Extends from Modelica.Blocks.Interfaces.DiscreteSISO.
Information
This model implements the trim and respond logic. The model samples the outputs of actuators every tSam.
The control sequence is as follows:
- If
u ≥ 0, theny = y + nActInc, - If
u < 0, theny = y - yDec.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | uTri | Value to triggering the request for actuator | |
| Real | yEqu0 | y setpoint when equipment starts | |
| Real | yDec | y decrement (must be negative) | |
| Real | yInc | y increment (must be positive) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Logical.GreaterEqualThreshold | incY | Outputs true if y needs to be increased | |
| Modelica.Blocks.Logical.Switch | swi | ||
| Sampler | sam | Sampler | |
| Modelica.Blocks.Sources.Constant | conYDec | y decrease | |
| Modelica.Blocks.Sources.Constant | conYInc | y increase | |
| UnitDelay | uniDel1 | ||
| Modelica.Blocks.Math.Add | add | ||
| Modelica.Blocks.Nonlinear.Limiter | lim | State limiter |
Contents
| Name | Description |
|---|---|
| UnitDelayprotected | |
| Samplerprotected |
Revisions
-
September 24, 2015 by Michael Wetter:
ImplementedUnitDelayandSamplerto avoid a translation warning because these blocks do not set thefixedattribute offirstTriggerin MSL 3.2.1. -
December 5, 2012, by Michael Wetter:
Simplified implementation. -
September 21, 2012, by Wangda Zuo:
Deleted the status input that was not needed for new control. -
July 20, 2011, by Wangda Zuo:
Added comments, redefine variable names, and merged to library. -
January 6 2011, by Michael Wetter and Wangda Zuo:
First implementation.