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.

Simulation results

Components

TypeNameDefaultDescription
Annex60.Controls.Continuous.NumberOfRequestsnumReq
Modelica.Blocks.Sources.Sinesine
Modelica.Blocks.Sources.Pulsepulse

Revisions

  • November 21, 2011, by Michael Wetter:
    Added documentation.