.Modelica_LinearSystems2.ZerosAndPoles.Internal.scaleFactor2

Information

Return scale factor for second order block

Interface

function scaleFactor2
  import Modelica;
  input Real n1 "(s^2 + n1*s + n2)/(s^2 + d1*s + d2)";
  input Real n2 "(s^2 + n1*s + n2)/(s^2 + d1*s + d2)";
  input Real d1 "(s^2 + n1*s + n2)/(s^2 + d1*s + d2)";
  input Real d2 "(s^2 + n1*s + n2)/(s^2 + d1*s + d2)";
  input Real small = 100*Modelica.Constants.eps;
  output Real k "= n2/d2, if d2,n2 are not zero, otherwise special cases";
end scaleFactor2;

Generated at 2024-11-26T19:26:15Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos