Modelica.ComplexBlocks.Sources

Library of signal source blocks generating Complex signals

Information

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

Package Content

Name Description
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.LogFrequencySweep LogFrequencySweep Logarithmic frequency sweep

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

Modelica.ComplexBlocks.Sources.LogFrequencySweep Modelica.ComplexBlocks.Sources.LogFrequencySweep

Logarithmic frequency sweep

Information

The output performs a logarithmic freqency sweep:
The logarithm of w performs a linear ramp from log10(wMin) to log10(wMax), after the duration it is kept constant.
The output is the decimal power of this logarithmic ramp.

Extends from Modelica.Blocks.Interfaces.SO (Single Output continuous control block).

Parameters

NameDescription
wMinLower frequency border
wMaxUpper frequency border
durationDuration of ramp (= 0.0 gives a Step) [s]

Connectors

NameDescription
yConnector of Real output signal
Automatically generated Tue Apr 05 09:36:14 2016.