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 Content

Name Description
Modelica.ComplexBlocks.Examples.TestConversionBlock TestConversionBlock Test the conversion blocks
Modelica.ComplexBlocks.Examples.ShowTransferFunction ShowTransferFunction Test Complex Transfer Function Block

Modelica.ComplexBlocks.Examples.TestConversionBlock 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).

Modelica.ComplexBlocks.Examples.ShowTransferFunction 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

NameDescription
dDamping coefficient
b[:]Numerator polynomial coefficients of the transfer function
a[:]Denominator polynomial coefficients of the transfer function
wMinLower bound for frequency sweep
wMaxUpper bound for frequency sweep
Automatically generated Thu Oct 1 16:07:35 2020.