> For the complete documentation index, see [llms.txt](https://www.opal-rt.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.opal-rt.com/docs/hypersim/library-blocks-reference/control-measurements/rms-1-ph.md).

# RMS, 1 Ph

## Description

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-e490623c248c2ff0984562d22eee5b4dc722f153%2Fimage%20(691).png?alt=media" alt="" width="150"><figcaption></figcaption></figure>

The **RMS** block, located in the **Control Measurements** library, computes the mean value of the input signal over a running window of one cycle of the specified fundamental frequency. The output holds the initial value constant for one cycle of the same fundamental frequency.

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-3aa0fd773c41bac127c9c4b4078ff2323d9d7887%2Fimage%20(693).png?alt=media" alt=""><figcaption><p>Internal circuit of the block</p></figcaption></figure>

## Mask parameters

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-f9493188981c4f14188d86f8bed902d0166c53af%2Fimage%20(692).png?alt=media" alt="" width="548"><figcaption></figcaption></figure>

<table><thead><tr><th width="240.39996337890625">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Description</strong></td><td>Use this field to add information about the block.</td></tr><tr><td><strong>Fundamental frequency</strong></td><td>Fundamental frequency used to compute the RMS over a running window of one cycle (Hz) Fnom = [0, 1e12]<br></td></tr><tr><td><strong>Initial input (DC component)</strong></td><td>Initial value of the output signal for the first simulation cycle InitialOutputValue = [0, 1e12]</td></tr></tbody></table>

## Inputs

<table><thead><tr><th width="240.4000244140625">Input</th><th>Description</th></tr></thead><tbody><tr><td><strong>u</strong></td><td>Input signal</td></tr></tbody></table>

## Outputs

<table><thead><tr><th width="239.60003662109375">Output</th><th>Description</th></tr></thead><tbody><tr><td><strong>y</strong></td><td>Output signal, RMS as a function of the fundamental frequency</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.opal-rt.com/docs/hypersim/library-blocks-reference/control-measurements/rms-1-ph.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
