blockRequestCounter
Count the number of actuators that have request
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Information
This model counts the number of requests sent by actuators. A request is triggered when an input signaluAct[i] is larger than uTri.Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nAct | Number of actuators | |
| Real | uTri | Value to trigger a request from actuator |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.IntegerOutput | nInc | Number of actuators requesting control signal increase | |
| Modelica.Blocks.Interfaces.RealInput[nAct] | uAct | Input signal from actuators |
Revisions
-
July 20, 2011, by Wangda Zuo:
Add comments and merge to library. -
January 6, 2011, by Michael Wetter and Wangda Zuo:
First implementation.