function quasiRMS extends Modelica.Icons.Function; import Modelica.ComplexMath.'abs'; input Complex u[:]; output Real y; import Modelica.Constants.pi; end quasiRMS;