> 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/network-measurements/frequency-meter.md).

# Frequency Meter

## Description

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

The **Frequency Measure Element** block, located in the **Network Measurements library**, determines the fundamental frequency of a bus voltage. It filters the three-phase bus voltages with a bandpass filter centered on a basic frequency, detects rising zero-crossings, measures the time between consecutive crossings for each phase, averages the three measured periods, and inverts the result to compute the frequency. It can be used with any bus in a network that uses a defined basic frequency.

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-79f11ebd64c34626e5e8659e2c30a86dd8cc7750%2Fimage%20(58).png?alt=media" alt=""><figcaption><p>Diagram of Frequency Measure</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-c47ee9a5dae64e31176221f56ffca79604e6eb39%2Fimage%20(57).png?alt=media" alt=""><figcaption></figcaption></figure>

| Parameter           | Description                                                                                        |
| ------------------- | -------------------------------------------------------------------------------------------------- |
| **Description**     |                                                                                                    |
| **Basic Frequency** | Normal fundamental frequency of the network used as the main frequency of the bandpass filter (Hz) |
| **Bandwidth**       | Width of bandpass filter (Hz)                                                                      |

## Inputs

| Input  | Description             |
| ------ | ----------------------- |
| **Va** | Bus voltage for phase A |
| **Vb** | Bus voltage for phase B |
| **Vc** | Bus voltage for phase C |

## Output <a href="#signals-available-for-monitoring-and-external-i-o-connections-via-sensors-form" id="signals-available-for-monitoring-and-external-i-o-connections-via-sensors-form"></a>

This block has no outputs

## Signals available for monitoring and external I/O connections (via sensors form) <a href="#signals-available-for-monitoring-and-external-i-o-connections-via-sensors-form" id="signals-available-for-monitoring-and-external-i-o-connections-via-sensors-form"></a>

All block inputs and outputs are available as signals for monitoring and for external I/O connections.

Additional signals are also available and are listed below with their descriptions.

| Output             | Description                          |
| ------------------ | ------------------------------------ |
| **Freq\_label**    | Fundamental frequency (Hz)           |
| **Periode\_label** | Fundamental period (s)               |
| **Vaf label**      | Filtered bus voltage for phase A (V) |
| **Vbf label**      | Filtered bus voltage for phase B (V) |
| **Vcf\_label**     | Filtered bus voltage for phase C (V) |


---

# 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/network-measurements/frequency-meter.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.
