result = TransferFunction.Analysis.denominatorDegree(tf)
Function Analysis.denominatorDegree calculates the degree of the denominator polynomial of a transfer function.
TransferFunction s = Modelica_LinearSystems2.TransferFunction.s(); Modelica_LinearSystems2.TransferFunction tf=(s+1)/(s^2+s+1); Real dDegree; algorithm dDegree := TransferFunction.Analysis.denominatorDegree(tf); // dDegree = 2
TransferFunction.Analysis.numeratorDegree
encapsulated function denominatorDegree import Modelica_LinearSystems2.TransferFunction; input TransferFunction tf "transfer function of a system"; output Integer result; end denominatorDegree;