Hi Jesus,
You can connect single-phase circuits to multi-phase circuits using a PlugToPin component. You could also create a circuit using multi-phase components and specifying m=1 in each component, meaning only one phase will be used.
That being said however, the VoltageQuasiRMSSensor only makes sense in the context of multiple phases. It is the square root of the average of the squares of the voltages:
V = sqrt(sum(v[k]^2 for k in 1:m)/m)
So with a single-phase you get the absolute value of the wave, which is not what you want. You'll want to use the Modelica.Blocks.Math.RootMeanSquare block on the output signal from a single-phase voltage sensor. You'll have to specify the frequency so the block knows which period to sum the values over.
See attached model to see the differing behaviors:
- trueRMS.y: The RMS of the input voltage. Starts at zero and goes to the RMS value after summing one period. Updates every period but is constant after that since input remains the same.
- quasiRMSMultiphase.quasiRMS.y: RMS value when the offset waves can be averaged.
- quasiRMS.quasiRMS.y: Incorrect usage of the quasiRMS block, gives the absolute value of the input voltage. (The result would be the same if a multi-phase circuit with m=1 is used).
Attachments: