Sampler

Ideal sampling of continuous signals

Information

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

Samples the continues input signal with a sampling rate defined via parameter samplePeriod.

Parameters (2)

samplePeriod

Value:

Type: Time (s)

Description: Sample period of component

startTime

Value: 0

Type: Time (s)

Description: First sample time instant

Outputs (2)

sampleTrigger

Type: Boolean

Description: True, if sample time instant

firstTrigger

Type: Boolean

Description: Rising edge signals first sample instant

Connectors (2)

u

Type: RealInput

Description: Connector of Real input signal

y

Type: RealOutput

Description: Connector of Real output signal

Used in Components (2)

SVdiscrete

Modelica.Blocks.Interfaces

Discrete Single-Variable controller

MVdiscrete

Modelica.Blocks.Interfaces

Discrete Multi-Variable controller