WOLFRAM SYSTEM MODELER

ShowTransferFunction

Test Complex Transfer Function Block

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica.ComplexBlocks.Examples.ShowTransferFunction"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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.

Parameters (5)

d

Value: 1 / sqrt(2)

Type: Real

Description: Damping coefficient

b

Value: {1}

Type: Real[:]

Description: Numerator polynomial coefficients of the transfer function

a

Value: {1, 2 * d, 1}

Type: Real[:]

Description: Denominator polynomial coefficients of the transfer function

wMin

Value: 0.01

Type: Real

Description: Lower bound for frequency sweep

wMax

Value: 100

Type: Real

Description: Upper bound for frequency sweep

Components (4)

logFrequencySweep

Type: LogFrequencySweep

Description: Logarithmic frequency sweep

const

Type: ComplexConstant

Description: Generate constant signal of type Complex

transferFunction

Type: TransferFunction

Description: Complex Transfer Function

complexToPolar

Type: ComplexToPolar

Description: Converts complex to polar representation