WOLFRAM SYSTEM MODELER

Sample3

Example of a Sample block for Real signals with direct feed-through in the continuous-time and the clocked partition

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica.Clocked.Examples.Elementary.RealSignals.Sample3"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

Example used to generate a figure for the documentation of block Modelica.Clocked.RealSignals.Sampler.Sample.

Components (7)

sample1

Type: SampleClocked

Description: Sample the continuous-time, Real input signal and provide it as clocked output signal. The clock is provided as input signal

periodicClock

Type: PeriodicExactClock

Description: Generate a periodic clock signal with a period defined by an Integer number with resolution

step

Type: Step

Description: Generate step signal of type Real

gain

Type: Gain

Description: Output the product of a gain value with the input signal

hold1

Type: Hold

Description: Hold the clocked, Real input signal and provide it as continuous-time output signal (zero order hold)

feedback

Type: Feedback

Description: Output difference between commanded and feedback input

sample2

Type: Sample

Description: Sample the continuous-time, Real input signal and provide it as clocked output signal (clock is inferred)