Library of examples to demonstrate the usage of package Blocks
This library demonstrates the usage of Complex blocks.
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Name | Description |
---|---|
TestConversionBlock | Test the conversion blocks |
ShowTransferFunction | Test Complex Transfer Function Block |
Test the conversion blocks
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).
Test Complex Transfer Function Block
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).
Name | Description |
---|---|
d | Damping coefficient |
b[:] | Numerator polynomial coefficients of the transfer function |
a[:] | Denominator polynomial coefficients of the transfer function |
wMin | Lower bound for frequency sweep |
wMax | Upper bound for frequency sweep |