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 "= (1+d)/(1+n), if d,n are not zero, otherwise special cases"; end scaleFactor1;