> 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/power-pos-seq-variable-frequency.md).

# Power, pos seq variable frequency

## Description

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

The **Power positive-sequence variable frequency** block, located in the **Control Measurements** library, computes the positive-sequence active power P (W) and reactive power Q (VAR) from a periodic set of three-phase voltages and currents.

P and Q are obtained by evaluating the positive-sequence of the input voltages and currents using a running window over one cycle of the fundamental frequency provided by input **f**. The reference frame for the computation is given by input **wt**.

The output is held constant to the specified **Initial active power** and **Initial reactive power** values for one cycle of the specified fundamental frequency.

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-d733d3bc45dc89f4208cb15b4afa1abdbeeeabaf%2Fimage%20(690).png?alt=media" alt=""><figcaption><p>Internal circuite 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-622d9f6e5720a4c1db7def757f9723611c04fa8d%2Fimage%20(689).png?alt=media" alt="" width="450"><figcaption></figcaption></figure>

<table><thead><tr><th width="240.4000244140625">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>Initial frequency</strong></td><td>Initial frequency for the first simulation cycle (Hz) Finit = [0, 1e12].<br>Cannot be modified during the simulation.</td></tr><tr><td><strong>Minimum frequency</strong></td><td>Minimum expected frequency of the input signal (Hz) Fmin = [0, 1e12] .<br>Cannot be modified during the simulation.</td></tr><tr><td><strong>Initial active power</strong></td><td>Initial active power value for the first simulation cycle (W) Pinit = [-1e64 1e64].<br>Cannot be modified during the simulation.</td></tr><tr><td><strong>Initial reactive power</strong></td><td>Initial reactive power value for the first simulation cycle (VAR) Qinit = [-1e64 1e64].<br>Cannot be modified during the simulation.</td></tr></tbody></table>

## Inputs

<table><thead><tr><th width="239.60003662109375">Input</th><th>Description</th></tr></thead><tbody><tr><td><strong>Vabc</strong></td><td>Vector containing phase-to-ground voltages (Va, Vb, Vc) (V)</td></tr><tr><td><strong>Iabc</strong></td><td>Vector containing phase-to-ground currents (Ia, Ib, Ic) (A)</td></tr><tr><td><strong>f</strong></td><td>Frequency used to calculate the positive-sequence of Vabc and Iabc (Hz).</td></tr><tr><td><strong>wt</strong></td><td>Angle of the reference signal used for the positive-sequence calculation of Vabc and Iabc (rad/s).</td></tr></tbody></table>

## Outputs

<table><thead><tr><th width="239.60003662109375">Output</th><th>Description</th></tr></thead><tbody><tr><td><strong>P</strong></td><td>Active power of the positive-sequence computed from the variable-frequency voltage and current signals (W).</td></tr><tr><td><strong>Q</strong></td><td>Reactive power of the positive-sequence computed from the variable-frequency voltage and current signals (VAR).</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/power-pos-seq-variable-frequency.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.
