Modelica.ComplexBlocks.Sources

Library of signal source blocks generating Complex signals

Information

Extends from Modelica.Icons.SourcesPackage (Icon for packages containing sources).

Package Content

NameDescription
Modelica.ComplexBlocks.Sources.ComplexExpression ComplexExpression Set output signal to a time varying Complex expression
Modelica.ComplexBlocks.Sources.ComplexConstant ComplexConstant Generate constant signal of type Complex
Modelica.ComplexBlocks.Sources.ComplexStep ComplexStep Generate step signal of type Complex
Modelica.ComplexBlocks.Sources.ComplexRotatingPhasor ComplexRotatingPhasor Generate a phasor with constant magnitude and constant angular velocity of type Complex

Modelica.ComplexBlocks.Sources.ComplexExpression Modelica.ComplexBlocks.Sources.ComplexExpression

Set output signal to a time varying Complex expression

Information


The (time varying) Complex output signal of this block can be defined in its parameter menu via variable y. The purpose is to support the easy definition of Complex expressions in a block diagram. Note, that "time" is a built-in variable that is always accessible and represents the "model time" and that Variable y is both a variable and a connector.

Parameters

NameDescription
Time varying output signal
yValue of Complex output

Connectors

NameDescription
Time varying output signal
yValue of Complex output

Modelica.ComplexBlocks.Sources.ComplexConstant Modelica.ComplexBlocks.Sources.ComplexConstant

Generate constant signal of type Complex

Information


The Complex output y is a constant signal:

Constant.png

Extends from Modelica.ComplexBlocks.Interfaces.ComplexSO (Single Output continuous control block).

Parameters

NameDescription
kConstant output value

Connectors

NameDescription
yConnector of Complex output signal

Modelica.ComplexBlocks.Sources.ComplexStep Modelica.ComplexBlocks.Sources.ComplexStep

Generate step signal of type Complex

Information


The Complex output y is a step signal (of real and imaginary part):

Step.png

Extends from ComplexBlocks.Interfaces.ComplexSignalSource (Base class for continuous signal source).

Parameters

NameDescription
heightHeight of step
offsetOffset of output signal y
startTimeOutput y = offset for time < startTime [s]

Connectors

NameDescription
yConnector of Complex output signal

Modelica.ComplexBlocks.Sources.ComplexRotatingPhasor Modelica.ComplexBlocks.Sources.ComplexRotatingPhasor

Generate a phasor with constant magnitude and constant angular velocity of type Complex

Information


The output y is a complex phasor with constant magnitude, spinning with constant angular velocity.

Extends from Modelica.ComplexBlocks.Interfaces.ComplexSO (Single Output continuous control block).

Parameters

NameDescription
magnitudeMagnitude of complex phasor
wConstant angular velocity of complex phasor [rad/s]
phi0Initial angle of complex phasor at time = 0 [rad]

Connectors

NameDescription
yConnector of Complex output signal

Automatically generated Mon Sep 23 17:20:26 2013.