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
Ports
| Name | Direction | Value type | Notes |
|---|---|---|---|
in | input | double | |
out | output | double |
Parameters
| Name | Label | Type | Default | Units | Description |
|---|---|---|---|---|---|
frequency | f | 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. |
output_pu | Output in pu | enum (Off / On) | 0 | — | When On, the meter divides its RMS output by a user-supplied base so the result is reported in per-unit. Off leaves the output in the input's absolute units (V or A). A base of 0 (or negative) falls back to absolute units, so pu mode can never produce a divide-by-zero. |
base | Base | double | 1 | V (V, kV, A, kA) | Per-unit base magnitude the RMS output is divided by. Generic — pick the unit that matches the measured signal (V / kV for a voltage, A / kA for a current). Only used when Output in pu is On. |
