modelNumberOfRequests
Example model for block that outputs the number of requests
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
Example that demonstrates the use of the block Annex60.Controls.Continuous.NumberOfRequests. The parameters of the block are such that the output is incremented for each input signal that is strictly larger than 0. The figure below shows the inputs and the output of the block.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Annex60.Controls.Continuous.NumberOfRequests | numReq | ||
| Modelica.Blocks.Sources.Sine | sine | ||
| Modelica.Blocks.Sources.Pulse | pulse |
Revisions
-
November 21, 2011, by Michael Wetter:
Added documentation.