ShowTransferFunctionTest Complex Transfer Function Block |
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.
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 |
logFrequencySweep |
Type: LogFrequencySweep |
|
---|---|---|
const |
Type: ComplexConstant |
|
transferFunction |
Type: TransferFunction |
|
complexToPolar |
Type: ComplexToPolar |