blockPulse

Generate pulse signal of type Boolean

Extends from BooleanSignals.Interfaces.PartialClockedSO (Block with clocked single output Boolean signals).

Information

The block is similar to the block in Modelica.Blocks.Sources.BooleanPulse, but adapted to work in clocked partitions (by internal sampling of the continuous time variable).

The Boolean output y is a pulse signal:

Pulse.png

Example

See model Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.

Parameters

TypeNameDefaultDescription
Realwidth50Width of pulse in % of period
SI.TimeperiodTime for one period
SI.TimestartTime0Time instant of first pulse

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.BooleanOutputy (from PartialClockedSO)Connector of clocked, Real output signal