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_Synchronous.Examples.Elementary.RealSignals.Sample3"]
Out[1]:=

Information

Example used to generate a figure for the documentation of block Modelica_Synchronous.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: Generates 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

hold

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)