> 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/smart-power-simulation-software-sps/blocks-functions-tools/control-and-measurements/transformations/abc-to-alpha-beta-zero-alpha-beta-zero-to-abc.md).

# abc to Alpha Beta Zero, Alpha Beta Zero to abc

## Description

<figure><img src="https://799605156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdlNg8IbOdahCpFCyzxSN%2Fuploads%2Fgit-blob-78ccccdb57118704f0c0554794f9b8c76a1091ec%2Fabctoabz_abztoabc_block.png?alt=media" alt=""><figcaption></figcaption></figure>

The **abc to Alpha Beta Zero, Alpha Beta Zero to abc** block, located in the **OPAL-RT SPS Software/Control** library, performs a Clarke transform on a three-phase abc signal.

The Alpha-Beta-Zero to abc block performs an inverse Clarke transform on the αβ0 components.

$$
\begin{bmatrix}
u\_{\alpha} \\
u\_{\beta} \\
u\_{0}
\end{bmatrix}
=============

\begin{bmatrix}
\frac{2}{3} & -\frac{1}{3} & -\frac{1}{3} \\
0 & \frac{1}{\sqrt{3}} & -\frac{1}{\sqrt{3}} \\
\frac{1}{3} & \frac{1}{3} & \frac{1}{3}
\end{bmatrix}
\begin{bmatrix}
u\_{a} \\
u\_{b} \\
u\_{c}
\end{bmatrix}
\\\[8pt]
$$

The inverse transformation is given by

$$
\begin{bmatrix}
u\_{a} \\
u\_{b} \\
u\_{c}
\end{bmatrix}
=============

\begin{bmatrix}
1 & 0 & 1 \\

* \frac{1}{2} & \frac{\sqrt{3}}{2} & 1 \\
* \frac{1}{2} & -\frac{\sqrt{3}}{2} & 1
  \end{bmatrix}
  \begin{bmatrix}
  u\_{\alpha} \\
  u\_{\beta} \\
  u\_{0}
  \end{bmatrix}
  \\\[8pt]
  $$

Assume that u<sub>a</sub>, u<sub>b</sub>, u<sub>c</sub> quantities represent three sinusoidal balanced currents:

$$
i\_{a} = I \sin(\omega t) \\\[8pt]
i\_{b} = I \sin!\left(\omega t - \frac{2\pi}{3}\right) \\\[8pt]
i\_{c} = I \sin!\left(\omega t + \frac{2\pi}{3}\right) \\\[8pt]
$$

These currents are flowing respectively into windings A, B, C of a three-phase winding, as the figure shows.

<figure><img src="https://799605156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdlNg8IbOdahCpFCyzxSN%2Fuploads%2Fgit-blob-94490c780874efdfa5a049c427e8ab14b959713b%2Fabctoabz_abztoabc_vector.png?alt=media" alt="" width="418"><figcaption></figcaption></figure>

In this case, the i<sub>α</sub> and i<sub>β</sub> components represent the coordinates of the rotating space vector I<sub>s</sub> in a fixed reference frame whose α axis is aligned with phase A axis. I<sub>s</sub> amplitude is proportional to the rotating magnetomotive force produced by the three currents. It is computed as follows:

$$
I\_{s}
======

i\_{a}
\+
j \cdot i\_{\beta}
==================

\frac{2}{3}
\left(
i\_{a}
\+
i\_{b}, e^{\frac{j 2\pi}{3}}
\+
i\_{c}, e^{-\frac{j 2\pi}{3}}
\right)
\\\[8pt]
$$

## Ports

### Input

| <p><strong>abc</strong> — Vectorized abc signal<br>Vector</p> | Vectorized abc signal. |
| ------------------------------------------------------------- | ---------------------- |

### Output

| <p><strong>αβ0</strong> — Vectorized αβ0 signal<br>Vector</p> | Vectorized αβ0 signal. |
| ------------------------------------------------------------- | ---------------------- |

## Examples

The power\_Transformations example shows various uses of blocks performing Clarke and Park transformations.


---

# 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/smart-power-simulation-software-sps/blocks-functions-tools/control-and-measurements/transformations/abc-to-alpha-beta-zero-alpha-beta-zero-to-abc.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.
