.ModelicaDEVS.SourceBlocks

Information

Source Blocks

Currently, there are 13 source blocks available, whereby ten of them are "genuine" source blocks and the rest are transformator blocks that take input signals from non-DEVS models and transform them into signals that can be processed by subsequent DEVS blocks. Despite the fact that these components are not sources in a strict sense of the word (a source block is a block that does not take input but only generates output), they are located in the SourceBlocks package since they act as sources to components in the ModelicaDEVS library. The fact that they accept standard Modelica signals is not visible to a ModelicaDEVS model: there is no possibility to send a DEVS signal to a transformator block which makes them look like source blocks to ModelicaDEVS components.

Note that the signals generated by "genuine" source blocks could also be obtained by taking the corresponding components from the standard Modelica library and transform their output by one of the transformator blocks (SamplerLevel, SamplerTime and SamplerTrigger).

Every block in the SourceBlocks package generates a signal of a certain basic shape (which is indicated by the block's name, such as "sine", "step", "triangular", and many others. This basic shape can then be adjusted to the needs of the modeller by means of parameters that provide the possibility to set values for the amplitude, the frequency, and so on.

The source blocks are described by means of a listing of their parameters and the output they generate. Since it could be important for a certain situation to know when exactly what output values are generated, a comprehensive description of the output by means of the indication of creation time and value of the single events is provided.

Additionally, there is a short textual description, in order to cover possible particularities.

Contents

NameDescription
 ConstantGenerates a constant output signal.
 PulseGenerates a pulse signal.
 PWMCompares a sine and a triangular signal. If sine is bigger, the output is vU and vL else.
 RampGenerates a ramp signal.
 SawGenerates a saw signal.
 SineGenerates a sine signal.
 SquareGenerates a square signal.
 StepGenerates a step signal.
 TrapezoidGenerates a trapezoid signal.
 TriangularGenerates a triangular signal.
 SamplerLevelSamples a signal at the time instant when it crosses certain levels.
 SamplerTimeSamples a signal at periodical time instants.
 SamplerTriggerSamples a signal at given time instants.

Generated at 2024-11-22T19:25:38Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos