blockPulse

Generates a pulse signal.

Extends from ModelicaDEVS.Templates.DSource (DEVS source block).

Information

The Pulse Block

Parameters:
offset pulse ground value
a pulse amplitude
ts pulse start time
tu duration of pulse


Description:

This block generates a simple pulse signal.

Note that it is possible to assign a negative value to the amplitude, such that the pulse signal is rather an indentation than a bulge respective to the ground value (mirrored at the straight line y=offset).


Generated Events (QSS1/QSS2/QSS3 mode):


yVal[1] yVal[2] yVal[3]
t=0 offset 0 0
t=ts offset+a 0 0
t=ts+tu offset 0 0



Parameter setting: offset=0.5
a=1
ts=1
tu=1

Parameters

TypeNameDefaultDescription
Integermethod (from DSource)world.qssUse QSS1, QSS2 or QSS3
Realoffset0Pulse start value
Reala1Pulse amplitude
Realts1Time pulse goes up
Realtu2Time pulse stays up

Connectors

TypeNameDefaultDescription
ModelicaDEVS.Templates.DiscreteOutPortoutPort (from DSource)

Components

TypeNameDefaultDescription
ModelicaDEVS.Miscellaneous.worldModelworld (from DSource)