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 Buildings.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 |
|---|---|---|---|
| Buildings.Controls.Continuous.NumberOfRequests | numReq | ||
| Modelica.Blocks.Sources.Sine | sine | ||
| Modelica.Blocks.Sources.Pulse | pulse |