blockSamplerTime

Samples a signal at periodical time instants.

Extends from ModelicaDEVS.Templates.CDBlock (Continuous single input - discrete single output block).

Information

The SamplerTime Block

Parameters:
period length of the sampling intervals
start start time of the sampling period


Description:

Analogous to the SamplerLevel block, the SamplerTime block transforms a continuous signal into a DEVS signal. This time, though, the sampling takes place at discrete time instants.


Generated Events (QSS1/QSS2/QSS3 mode):

Samplings are taken at time instants t=start+i*period, i=non-negative integers. The values of the output vector cannot be predicted, since they depend on the input signal.


Parameter setting: period=0.05
start=0

Parameters

TypeNameDefaultDescription
Integermethod (from CDBlock)world.qssUse QSS1, QSS2 or QSS3
Realperiod0.1Period
Realstart0Start Time

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputinPort (from CDBlock)
ModelicaDEVS.Templates.DiscreteOutPortoutPort (from CDBlock)

Components

TypeNameDefaultDescription
ModelicaDEVS.Miscellaneous.worldModelworld (from CDBlock)
Real[3]yVal (from CDBlock)
BooleanyEvent (from CDBlock)