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:

Example

See model Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.

Parameters

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

Connectors

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