WOLFRAM SYSTEM MODELER

Pulse

Generate pulse signal of type Boolean

Wolfram Language

In[1]:=
SystemModel["Modelica_Synchronous.BooleanSignals.TimeBasedSources.Pulse"]
Out[1]:=

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

width

Value: 50

Type: Real

Description: Width of pulse in % of period

period

Value:

Type: Time

Description: Time for one period

startTime

Value: 0

Type: Time

Description: Time instant of first pulse

Connectors (1)

y

Type: BooleanOutput

Description: Connector of clocked, Real output signal

Used in Examples (1)

TimeBasedPulse

Modelica_Synchronous.Examples.Elementary.BooleanSignals

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