Return scale factor for first order block
encapsulated function scaleFactor1 import Modelica; input Real n "(z+n)/(z+d)"; input Real d "(z+n)/(z+d)"; input Real small = 100*Modelica.Constants.eps; output Real k "= (d+1)/(n+1), if d+1, n+1 are not zero, otherwise special cases"; end scaleFactor1;