.Modelica_LinearSystems2.TransferFunction.Analysis.dcGain

Information

Syntax

          k = dcGain(tf);
(k, finite) = dcGain(tf);

Description

This function computes the steady state gain k of a TransferFunction tf(s), i.e. k = tf(s=0). For a stable transfer function, a step input u results in the output y(t->t) = k.

If the transfer function has one or more zero poles, k is infinite. In this case, the output argument finite = false and k = Modelica.Constants.inf.

Interface

encapsulated function dcGain
  import Modelica_LinearSystems2.StateSpace;
  import Modelica_LinearSystems2.TransferFunction;
  input TransferFunction tf "Transfer function of a system";
  output Real k "Steady state gain";
  output Boolean finite = true "True, if k is finite, otherwise k is infinite (k=Modelica.Constants.inf returned)";
end dcGain;

Generated at 2024-11-22T19:25:38Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos