function Speed extends Modelica.Icons.Function; input Real x; input Real PMN " Min limit in torque regulator (pu)"; input Real wmin; input Real w20; input Real w40; input Real w60; input Real w100; input Real Pmin " Minimum power for operating at wP100 speed (pu)"; output Real y; end Speed;