Pulse

Generate pulse signal of type Boolean

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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 (3)

width

Value: 50

Type: Real

Description: Width of pulse in % of period

period

Value:

Type: Time (s)

Description: Time for one period

startTime

Value: 0

Type: Time (s)

Description: Time instant of first pulse

Connectors (1)

y

Type: BooleanOutput

Description: Connector of clocked, Real output signal

Used in Examples (1)

TimeBasedPulse

Modelica.Clocked.Examples.Elementary.BooleanSignals

Example of using the clocked simulation time based Boolean Pulse source block