Appearance
RMS Meter
Root-mean-square meter for a single (scalar) signal. Computes out = sqrt(mean(in²)) over a sliding time window. For a sinusoidal input at the configured frequency the output equals the signal's RMS amplitude (A_pk / √2) once the window has filled. The window length is 1 / frequency, so for a 60 Hz AC voltage the default settles in ~16.67 ms.
Category: Continuous
Keywords: RMS, root mean square, rms meter, true rms, meter, magnitude, AC, amplitude, voltmeter, ammeter
Ports
| Name | Direction | Value type | Notes |
|---|---|---|---|
in | input | double | |
out | output | double |
Parameters
| Name | Label | Type | Default | Units | Description |
|---|---|---|---|---|---|
frequency | f (Hz) | double | 60 | — | Fundamental frequency used to size the averaging window (window = 1 / frequency). Set to your AC system's nominal frequency (e.g. 60 for North America, 50 for Europe). For non-AC / arbitrary signals, pick the frequency whose 1-cycle window matches the desired settling time. |
Implemented in C++ class SimCompCtlRms (components/control/CSim_comp_ctl_rms/sim_comp_ctl_rms.h).