> 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/machines/blocks/single-phase-asynchronous-machine.md).

# Single Phase Asynchronous Machine

## Description

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

The **Single Phase Asynchronous Machine** block, located in the **OPAL-RT SPS Software/Electrical Machines** library, models dynamics of single phase asynchronous machine with squirrel-cage rotor. This machine has two windings: main and auxiliary. With the model, you can simulate the split-phase, the capacitor-start, the capacitor-start-capacitor-run, and main & auxiliary windings operation modes.

For the split-phase mode, the main and auxiliary windings are internally connected as follows:

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

For the capacitor-start mode, the main and auxiliary windings are internally connected as follows:

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

For the capacitor-start-capacitor-run mode, the main and auxiliary windings are internally connected as follows:

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

The electrical part of the machine is represented by a fourth-order state-space model and the mechanical part by a second-order system. All electrical variables and parameters are referred to the stator, indicated by the following prime signs in the machine equations. All stator and rotor quantities are in the stator reference frame (dq frame). The subscripts are defined in the following table.

<table data-header-hidden><thead><tr><th width="199.68896484375"></th><th></th></tr></thead><tbody><tr><td><strong>Parameter</strong></td><td><strong>Definition</strong></td></tr><tr><td><strong>d</strong></td><td>d axis quantity</td></tr><tr><td><strong>q</strong></td><td>q axis quantity</td></tr><tr><td><strong>r</strong></td><td>Referred to the main winding rotor quantity</td></tr><tr><td><strong>R</strong></td><td>Referred to the auxiliary winding rotor quantity</td></tr><tr><td><strong>s</strong></td><td>Main winding stator quantity</td></tr><tr><td><strong>S</strong></td><td>Auxiliary winding stator quantity</td></tr><tr><td><strong>l</strong></td><td>Leakage inductance</td></tr><tr><td><strong>m</strong></td><td>Magnetizing inductance</td></tr></tbody></table>

### Electrical System

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

$$
V\_{qs} = R\_s i\_{qs} + \frac{d\varphi\_{qs}}{dt} \\\[8pt]
V\_{ds} = R\_s i\_{ds} + \frac{d\varphi\_{ds}}{dt}  \\\[8pt]
V'*{qr} = R'*r i'*{qr} + \frac{d\varphi'*{qr}}{dt} - \left(\frac{N\_s}{N\_r}\right)\omega,\varphi'*{dr}  \\\[8pt]
V'*{dr} = R'*r i'*{dr} + \frac{d\varphi'*{dr}}{dt} + \left(\frac{N\_s}{N\_r}\right)\omega,\varphi'*{qr}  \\\[8pt]
T\_e = p\left\[\left(\frac{N\_s}{N\_r}\right)\varphi'*{qr} i'*{dr}
\- \left(\frac{N\_s}{N\_r}\right)\varphi'*{dr} i'*{qr}\right]
$$

where\
$$\varphi\_{qs} = L\_{ss} i\_{qs} + L\_{ms} i'*{qr}$$\
$$\varphi*{ds} = L\_{ss} i\_{ds} + L\_{ms} i'*{dr}$$\
$$\varphi'*{qr} = L'*{rr} i'*{qr} + L\_{ms} i\_{qs}$$\
$$\varphi'*{dr} = L'*{rr} i'*{dr} + L*{ms} i\_{ds}$$\
$$L\_{ss} = L\_{ls} + L\_{ms}$$\
$$L\_{SS} = L\_{lS} + L\_{mS}$$\
$$L'*{rr} = L'*{lr} + L\_{ms}$$\
$$L'*{RR} = L'*{lR} + L\_{mS}$$

### Mechanical System

$$
\frac{d\omega\_m}{dt} = \frac{T\_e - F\omega\_m - T\_m}{2H} \\\[8pt]
\frac{d\theta\_m}{dt} = \omega\_m
$$

The reference frame fixed in the stator converts voltages and currents to the dq frame.

The following relationships describe the ab-to-dq frame transformations applied to the single phase asynchronous machine.

$$
\begin{bmatrix}
f\_{qs} \\
f\_{ds}
\end{bmatrix}
=============

\begin{bmatrix}
1 & 0 \\
0 & -1
\end{bmatrix}
\begin{bmatrix}
f\_{as} \\
f\_{bs}
\end{bmatrix}
\\\[8pt]
\begin{bmatrix}
f\_{qr} \\
f\_{dr}
\end{bmatrix}
=============

\begin{bmatrix}
\cos(\theta\_r) & -\sin(\theta\_r) \\
-\sin(\theta\_r) & -\cos(\theta\_r)
\end{bmatrix}
\begin{bmatrix}
f\_{ar} \\
f\_{br}
\end{bmatrix}
$$

The variable f can represent either voltage, currents, or flux linkage.

The single phase asynchronous machine block parameters are defined as follows (all quantities are referred to the stator).

<table data-header-hidden><thead><tr><th width="199.97772216796875"></th><th></th></tr></thead><tbody><tr><td><strong>Parameter</strong></td><td><strong>Definition</strong></td></tr><tr><td><strong>R</strong><sub><strong>s</strong></sub><strong>, L</strong><sub><strong>ls</strong></sub></td><td>Main winding stator resistance and leakage inductance</td></tr><tr><td><strong>R</strong><sub><strong>S</strong></sub><strong>, L</strong><sub><strong>lS</strong></sub></td><td>Auxiliary winding stator resistance and leakage inductance</td></tr><tr><td><strong>R′</strong><sub><strong>r</strong></sub><strong>, L′</strong><sub><strong>lr</strong></sub></td><td>Main winding rotor resistance and leakage inductance</td></tr><tr><td><strong>R′</strong><sub><strong>R</strong></sub><strong>, L′</strong><sub><strong>lR</strong></sub></td><td>Auxiliary winding rotor resistance and leakage inductance. The two values are equal to the main winding rotor resistance and leakage inductances values, respectively.</td></tr><tr><td><strong>L</strong><sub><strong>ms</strong></sub></td><td>Main winding magnetizing inductance</td></tr><tr><td><strong>L</strong><sub><strong>mS</strong></sub></td><td>Auxiliary winding magnetizing inductance</td></tr><tr><td><strong>L</strong><sub><strong>ss</strong></sub><strong>, L′</strong><sub><strong>rr</strong></sub></td><td>Total main winding stator and rotor inductances</td></tr><tr><td><strong>L</strong><sub><strong>SS</strong></sub><strong>, L′</strong><sub><strong>RR</strong></sub></td><td>Total auxiliary winding stator and rotor inductances</td></tr><tr><td><strong>V</strong><sub><strong>as ,</strong></sub><strong>i</strong><sub><strong>as</strong></sub><br><strong>V</strong><sub><strong>bs ,</strong></sub><strong>i</strong><sub><strong>bs</strong></sub><br><strong>V</strong><sub><strong>qs</strong></sub><strong>, i</strong><sub><strong>qs</strong></sub></td><td>Main winding stator voltage and current Auxiliary winding stator voltage and current q axis stator voltage and current</td></tr><tr><td><strong>V′</strong><sub><strong>qr</strong></sub><strong>, i′</strong><sub><strong>qr</strong></sub></td><td>q axis rotor voltage and current</td></tr><tr><td><strong>V</strong><sub><strong>ds</strong></sub><strong>, i</strong><sub><strong>ds</strong></sub></td><td>d axis stator voltage and current</td></tr><tr><td><strong>V′</strong><sub><strong>dr</strong></sub><strong>, i′</strong><sub><strong>dr</strong></sub></td><td>d axis rotor voltage and current</td></tr><tr><td><strong>ϕ</strong><sub><strong>qs</strong></sub><strong>, ϕ</strong><sub><strong>ds</strong></sub></td><td>Stator q and d axis fluxes</td></tr><tr><td><strong>ϕ′</strong><sub><strong>qr</strong></sub><strong>, ϕ′</strong><sub><strong>dr</strong></sub></td><td>Rotor q and d axis fluxes</td></tr><tr><td><strong>ω</strong><sub><strong>m</strong></sub></td><td>Angular velocity of the rotor</td></tr><tr><td><strong>Θ</strong><sub><strong>m</strong></sub></td><td>Rotor angular position</td></tr><tr><td><strong>p</strong></td><td>Number of pole pairs</td></tr><tr><td><strong>ω</strong><sub><strong>r</strong></sub></td><td>Electrical angular velocity (ω<sub>m</sub> x p)</td></tr><tr><td><strong>Θ</strong><sub><strong>r</strong></sub></td><td>Electrical rotor angular position (Θ<sub>m</sub> x p)</td></tr><tr><td><strong>T</strong><sub><strong>e</strong></sub></td><td>Electromagnetic torque</td></tr><tr><td><strong>T</strong><sub><strong>m</strong></sub></td><td>Shaft mechanical torque</td></tr><tr><td><strong>J</strong><br><strong>F</strong></td><td>Combined rotor and load inertia coefficient in (kg.m<sup>2</sup>). Set to infinite to simulate locked rotor. Combined rotor and load viscous friction coefficient.</td></tr><tr><td><strong>H</strong></td><td>Combined rotor and load inertia constant in (s). Set to infinite to simulate locked rotor.</td></tr><tr><td><strong>N</strong><sub><strong>s,</strong></sub><strong> N</strong><sub><strong>S,</strong></sub><br><strong>R</strong><sub><strong>st</strong></sub><strong>, C</strong><sub><strong>s</strong></sub><br><strong>R</strong><sub><strong>run</strong></sub><strong>, C</strong><sub><strong>run</strong></sub></td><td>Number of main winding's effective turns. Number of auxiliary winding's effective turns. Capacitor-Start resistance Capacitor-Start Capacitor-Run resistance Capacitor-Run</td></tr><tr><td><strong>N</strong></td><td>Ratio of number of auxiliary winding's effective turns and number of main winding's effective turns.</td></tr></tbody></table>

## Parameters

You can choose between two types of units to specify the electrical and mechanical parameters of the model, the per unit dialog box, and the SI dialog box. Both blocks are modeling the same machine. Depending on the dialog box that you use, SPS automatically converts the parameters that you specify into per unit parameters. The Simulink® model of the Single Phase Asynchronous Machine block uses per unit parameters.

### Configuration

<table data-header-hidden><thead><tr><th width="200.0888671875"></th><th></th></tr></thead><tbody><tr><td><strong>Mechanical input</strong></td><td>Select the torque applied to the shaft as a Simulink input of the block, or to represent the machine shaft by a Simscape rotational mechanical port. Select <code>Torque Tm</code> (default) to specify a torque input, in N.m or in pu, and change labeling of the block input to Tm. The machine speed is determined by the machine Inertia J (or inertia constant H for the pu machine) and by the difference between the applied mechanical torque Tm and the internal electromagnetic torque Te. The sign convention for the mechanical torque is when the speed is positive, a positive torque signal indicates motor mode and a negative signal indicates generator mode. Select <code>Mechanical rotational port</code> to add to the block a Simscape mechanical rotational port that allows connection of the machine shaft with other Simscape blocks that have mechanical rotational ports. The Simulink input representing the mechanical torque Tm of the machine is then removed from the block. The next figure indicates how to connect an Ideal Torque Source block from the Simscape library to the machine shaft to represent the machine in motor mode, or in generator mode, when the rotor speed is positive.<img src="https://799605156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdlNg8IbOdahCpFCyzxSN%2Fuploads%2Fgit-blob-8f90d3b31efd0cf29ea023326e024a7ded6675ba%2F1P_async_machine_connexion_torque_source.png?alt=media" alt=""></td></tr><tr><td><strong>Units</strong></td><td>Specify the per unit dialog box or the SI dialog box. Default is <code>SI</code>.</td></tr><tr><td><strong>Type of machine</strong></td><td>Specify one of the four types of single phase asynchronous machines: Split Phase (default), Capacitor-Start, Capacitor-Start-Run, or Main &#x26; auxiliary windings.</td></tr><tr><td><strong>Use signal names to identify bus labels</strong></td><td>When this check box is selected, the measurement output uses the signal names to identify the bus labels. Select this option for applications that require bus signal labels to have only alphanumeric characters. When this check box is cleared (default), the measurement output uses the signal definition to identify the bus labels. The labels contain nonalphanumeric characters that are incompatible with some Simulink applications.</td></tr></tbody></table>

### Parameters

<table data-header-hidden><thead><tr><th width="199.99993896484375"></th><th></th></tr></thead><tbody><tr><td><strong>Nominal power, voltage, and frequency</strong></td><td>The nominal apparent power Pn (VA), RMS Vn (V), and frequency fn (Hz). Default is <code>[ .25*746 110 60]</code>.</td></tr><tr><td><strong>Main winding stator</strong></td><td>The stator resistance Rs (Ω or pu) and leakage inductance Lls (H or pu). Default is <code>[2.02 7.4e-3]</code> (SI) and <code>[0.031135 0.042999]</code> (pu).</td></tr><tr><td><strong>Main winding rotor</strong></td><td>The rotor resistance Rr’ (Ω or pu) and leakage inductance Llr’ (H or pu), both referred to the stator. Default is <code>[4.12 5.6e-3]</code> (SI) and <code>[0.063502 0.03254]</code>(pu).</td></tr><tr><td><strong>Main winding mutual inductance</strong></td><td>The magnetizing inductance Lms (H or pu). Default is <code>0.1772</code> (SI) and <code>1.0296</code> (pu).</td></tr><tr><td><strong>Auxiliary winding stator</strong></td><td>The stator resistance RS (Ω or pu) and leakage inductance LlS (H or pu). Note that the Auxiliary winding rotor parameters are assumed to be equal to the main winding rotor resistance and leakage inductances values. Therefore it is not required to specify them in the dialog box. Default is <code>[7.14 8.5e-3]</code> (SI) and <code>[0.11005 0.049391]</code> (pu).</td></tr><tr><td><strong>Inertia, friction factor, pole pairs, turn ratio (aux/main)</strong></td><td>For the <strong>SI units</strong> dialog box: the combined machine and load inertia coefficient J (kg.m2), the combined viscous friction coefficient F (N.m.s), the number of pole pairs p and ratio of number of auxiliary winding’s effective turns, and the number of main winding’s effective turns. <strong>pu units</strong> dialog box: the inertia constant H (s), the combined viscous friction coefficient F (pu), and the number of pole pairs p. Default is <code>[0.0146 0 2 1.18]</code> (SI) and <code>[1.3907 0 2 1.18]</code> (pu).</td></tr><tr><td><strong>Capacitor-Start</strong></td><td>The start capacitance Cs (farad or pu) and capacitor series resistance Rst(Ω or pu). Default is <code>[2 254.7e-6]</code>(SI) and <code>[0.030826 6.2297]</code> (pu).</td></tr><tr><td><strong>Capacitor-Run</strong></td><td>The run capacitance Crun (farad or pu) and series resistance Rrun (farad or pu). Default is <code>[18 21.1e-6]</code> (SI) and <code>[0.27744 0.51608]</code>(pu).</td></tr><tr><td><strong>Disconnection speed</strong></td><td>Specifies the speed (%) when the auxiliary winding may be disconnected. Default is <code>75</code>.</td></tr><tr><td><strong>Initial speed</strong></td><td>Specifies the initial speed (%). Default is <code>0</code>.</td></tr></tbody></table>

### Advanced

<table data-header-hidden><thead><tr><th width="200.04443359375"></th><th></th></tr></thead><tbody><tr><td><strong>Sample time (−1 for inherited)</strong></td><td>Specifies the sample time used by the block. To inherit the sample time specified in the Powergui block, set this parameter to <code>−1</code> (default).</td></tr></tbody></table>

## Inputs and Outputs

<table data-header-hidden><thead><tr><th width="199.77777099609375"></th><th></th></tr></thead><tbody><tr><td><strong>Tm</strong></td><td>The Simulink input of the block is the mechanical torque at the machine shaft. When you use the SI parameters mask, the input is a signal in N.m; otherwise it is in pu.</td></tr><tr><td><strong>m</strong></td><td>The Simulink output of the block is a vector containing <strong>measurement signals</strong>. You can demultiplex these signals by using the Bus Selector block provided in the Simulink library. Depending on the type of mask you use, the units are in SI, or in pu.</td></tr></tbody></table>

Depending on the type of mask you use, the units are in SI, or in pu.

<table data-header-hidden><thead><tr><th width="199.7777099609375"></th><th></th></tr></thead><tbody><tr><td><strong>Measurement signal name</strong></td><td><strong>Definition</strong></td></tr><tr><td><strong>iar</strong></td><td>Rotor current ir_a (A or pu)</td></tr><tr><td><strong>ibr</strong></td><td>Rotor current ir_b (A or pu)</td></tr><tr><td><strong>iqr</strong></td><td>Rotor current iq (A or pu)</td></tr><tr><td><strong>idr</strong></td><td>Rotor current id (A or pu)</td></tr><tr><td><strong>phiqr</strong></td><td>Rotor flux phir_q (A or pu)</td></tr><tr><td><strong>phidr</strong></td><td>Rotor flux phir_d (A or pu)</td></tr><tr><td><strong>ias</strong></td><td>Main winding stator current ia (A or pu)</td></tr><tr><td><strong>ibs</strong></td><td>Auxiliary winding stator current ib (A or pu)</td></tr><tr><td><strong>phiqs</strong></td><td>Stator flux phis_q(V.s) (V.s or pu)</td></tr><tr><td><strong>phids</strong></td><td>Stator flux phis_d(V.s) (V.s or pu)</td></tr><tr><td><strong>vc</strong></td><td>Voltage capacitor Vc (V or pu)</td></tr><tr><td><strong>w</strong></td><td>Rotor speed (rad/s)</td></tr><tr><td><strong>Te</strong></td><td>Electromagnetic torque Te (Nm or pu)</td></tr><tr><td><strong>theta</strong></td><td>Rotor angle thetam (rad)</td></tr></tbody></table>

## Limitations

The Single Phase Asynchronous Machine block does not include a representation of iron losses and saturation.

## Examples <a href="#examples" id="examples"></a>

The [Single-Phase Asynchronous Machine](https://www.opal-rt.com/docs/smart-power-simulation-software-sps/example-models/machines/single-phase-asynchronous-machine.md) (power\_singlephaseASM) example shows the use of the Single Phase Asynchronous Machine block in two modes of operation.

### References <a href="#references" id="references"></a>

\[1] Krause, P.C., O. Wasynczuk, and S.D. Sudhoff, *Analysis of Electric Machinery*, IEEE Press, 1995.


---

# 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/machines/blocks/single-phase-asynchronous-machine.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.
