WOLFRAM SYSTEM MODELER

DiscreteBlock

Base class of discrete control blocks

Wolfram Language

In[1]:=
SystemModel["Modelica.Blocks.Interfaces.DiscreteBlock"]
Out[1]:=

Information

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

Basic definitions of a discrete block of library Blocks.Discrete. The output(s) will only change at events, but are not formally a discrete variable(s) in Modelica. The input(s) will be sampled, and can thus be continuous variable(s).

Important: If you connect several discrete blocks you should normally ensure that samplePeriod (and startTime) are exactly identical for all blocks, since otherwise the output from one block will be transformed into a continuous signal and sampled, which can cause a variable delay of up to one sample period leading to unexpected results.

Modelica 3.3 introduced synchronous operators that avoid the need to manually propagate samplePeriod to each block.

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

Extended by (7)

SVPWM

Modelica.Electrical.PowerConverters.DCAC.Control

SpaceVector Pulse Width Modulation

RealFFT

Modelica.Blocks.Math

Sampling and FFT of input u

MVdiscrete

Modelica.Blocks.Interfaces

Discrete Multi-Variable controller

SVdiscrete

Modelica.Blocks.Interfaces

Discrete Single-Variable controller

DiscreteMIMOs

Modelica.Blocks.Interfaces

Multiple Input Multiple Output discrete control block

DiscreteMIMO

Modelica.Blocks.Interfaces

Multiple Input Multiple Output discrete control block

DiscreteSISO

Modelica.Blocks.Interfaces

Single Input Single Output discrete control block