blockBooleanPulse

Generate pulse signal of type Boolean

Extends from Modelica.Blocks.Interfaces.partialBooleanSource (Partial source block (has 1 output Boolean signal and an appropriate default icon)).

Information

General

This block is a modified version from Modelica library block to accept a real input as the pulse width value.

The Boolean output y is a pulse signal:

Pulse.png

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.TimeperiodTime for one period
Modelica.Units.SI.TimestartTime0Time instant of first pulse

Connectors

TypeNameDefaultDescription
Blocks.Interfaces.BooleanOutputy (from partialBooleanSource)Connector of Boolean output signal
Modelica.Blocks.Interfaces.RealInputu