Package Modelica.​ComplexBlocks.​Examples
Library of examples to demonstrate the usage of package Blocks

Information

This library demonstrates the usage of Complex blocks.

Extends from Modelica.​Icons.​ExamplesPackage (Icon for packages containing runnable examples).

Package Contents

NameDescription
ShowTransferFunctionTest Complex Transfer Function Block
TestConversionBlockTest the conversion blocks

Model Modelica.​ComplexBlocks.​Examples.​TestConversionBlock
Test the conversion blocks

Information

A Complex signal is defined by its length and angle, both linearly rising with time. Plotting the imaginary part versus the real part, you will see an Archimedean spiral.

Extends from Modelica.​Icons.​Example (Icon for runnable examples).


Model Modelica.​ComplexBlocks.​Examples.​ShowTransferFunction
Test Complex Transfer Function Block

Information

This example shows the response of a PT2 defined by its transfer function

            1
H(jw)=-------------------
      1 + 2 d jw + (jw)^2

Frequency performs a logarithmic ramp from 0.01 to 100 s^-1.

Plot the magnitude locus (in dB) dB versus lg_w and the phase locus versus lg_w.

Extends from Modelica.​Icons.​Example (Icon for runnable examples).

Parameters

TypeNameDefaultDescription
Realdsqrt(2) ^ (-1)Damping coefficient
Realb[:]{1}Numerator polynomial coefficients of the transfer function
Reala[:]{1, 2 * d, 1}Denominator polynomial coefficients of the transfer function
RealwMin0.01Lower bound for frequency sweep
RealwMax100Upper bound for frequency sweep

Generated 2018-12-12 12:09:57 EST by MapleSim.