blockTransferFunction

Complex Transfer Function

Extends from Modelica.ComplexBlocks.Interfaces.ComplexSISO (Single Input Single Output continuous control block).

Information

The complex input u is multiplied by the complex transfer function (depending on the angular frequency input w) to obtain the complex output y (nb = dimension of b, na = dimension of a):

        b[1]*(jw)^[nb-1] + b[2]*(jw)^[nb-2] + ... + b[nb]
y(jw) = ------------------------------------------------- * u(jw)
        a[1]*(jw)^[na-1] + a[2]*(jw)^[na-2] + ... + a[na]

Parameters

TypeNameDefaultDescription
BooleanuseConjugateInput (from ComplexSISO)falseIf true, input is processed conjugate complex
Real[:]b{1}Numerator coefficients of transfer function (e.g., 2*(jw)+3 is specified as {2,3})
Real[:]a{1}Denominator coefficients of transfer function (e.g., 5*(jw)+6 is specified as {5,6})

Connectors

TypeNameDefaultDescription
ComplexInputu (from ComplexSISO)Connector of Complex input signal
ComplexOutputy (from ComplexSISO)Connector of Complex output signal
Modelica.Blocks.Interfaces.RealInputwAngular frequency input

Contents

NameDescription
powerOfJprotectedInternal function to compute j^k for any integer

Revisions

  • 2021: Important bug fix of the order of coefficients which has been interpreted wrongly, see #3651