This function determines the continuous quasi RMS value of a multi phase system, representing an equivalent RMS vector or phasor. If the waveform of the input deviates from a sine curve, the output of the sensor will not be exactly the average RMS value.
y = sqrt(sum(u[k]^2 for k in 1:m)/m)
function quasiRMS extends Modelica.Icons.Function; input Real x[:]; output Real y; end quasiRMS;