> 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-voltage-source-converters/3-level-npc-converter-switching-devices.md).

# 3-Level NPC Converter (Switching Devices)

## Description

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

The **3-Level NPC Converter (Switching Devices)** block, located in the **Network Voltage Source Converters** library, is a three-phase power converter model built from IGBT and diode elements. The converter is controlled by firing pulses generated by a PWM generator.

The PWM generator outputs a vectorized gating signal with 12 pulses. Pulses 1–4 control Q1–Q4 (phase A), pulses 5–8 control Q5–Q8 (phase B), and pulses 9–12 control Q9–Q12 (phase C).

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

{% hint style="danger" %}
This component must be used with the [**PWM Generator for 3-Level Converter (Switching Devices)**](https://www.opal-rt.com/docs/hypersim/library-blocks-reference/control-sources/pwm-generator-for-3-level-converter-switching-devices.md) component available in the **Control Sources library** of HYPERSIM or with an input FPGA module.
{% endhint %}

Use time steps 100 to 200 times smaller than the PWM carrier period to obtain precise off-line simulation results.

{% hint style="danger" %}
This model does not participate in the load flow solution.
{% endhint %}

## Mask parameters

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

<table><thead><tr><th width="259.5999755859375">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Description</strong></td><td>Use this field to add any information about the block.</td></tr><tr><td><strong>Diode on-state resistance</strong></td><td>Internal resistance of the internal GTO/diodes (Ohm), Rclose = [1e-12, 1e12].</td></tr><tr><td><strong>Diode snubber resistance</strong></td><td>Snubber resistance of the internal GTO/diodes (Ohm), Rsnubber = [1e-12, 1e12].</td></tr><tr><td><strong>Diode snubber capacitance</strong></td><td>Snubber capacitance of the internal GTO/diodes (F) Csnubber = [1e-12, 1e12].</td></tr></tbody></table>

{% hint style="info" %}
For accurate results, enable **Activate iterative method** and **Solve control inputs before solving power** in **Simulation Settings**.
{% endhint %}

## Conserving ports

<table><thead><tr><th width="259.59991455078125">Port</th><th>Description</th></tr></thead><tbody><tr><td><strong>net_1</strong></td><td>AC-side network connector (supports only 3‑phase connections).</td></tr><tr><td><strong>DCplus</strong></td><td>DC-side network connector. The “+” symbol indicates the positive terminal (supports only 1‑phase connections).</td></tr><tr><td><strong>DCminus</strong></td><td>DC-side network connector. The “−” symbol indicates the negative terminal (supports only 1‑phase connections).</td></tr><tr><td><strong>DCneutral</strong></td><td>Neutral network connector (supports only 1‑phase connections).</td></tr></tbody></table>

## Inputs

<table><thead><tr><th width="260.4000244140625" valign="top">Input</th><th>Description</th></tr></thead><tbody><tr><td valign="top"><strong>P</strong></td><td><p>Vector containing twelve firing pulses to control the converter:<br>P1 Gating signal controlling Q1<br>P2 Gating signal controlling Q2</p><p>P3 Gating signal controlling Q3</p><p>P4 Gating signal controlling Q4</p><p>P5 Gating signal controlling Q5</p><p>P6 Gating signal controlling Q6</p><p>P7 Gating signal controlling Q7</p><p>P8 Gating signal controlling Q8</p><p>P9 Gating signal controlling Q9</p><p>P10 Gating signal controlling Q10</p><p>P11 Gating signal controlling Q11</p><p>P12 Gating signal controlling Q12</p></td></tr></tbody></table>

## Outputs

<table><thead><tr><th width="260.4000244140625">Output</th><th>Description</th></tr></thead><tbody><tr><td><strong>V</strong></td><td>Vector of phase-to-ground voltages on the AC side (Va, Vb, Vc) and DC-link voltage (Vdc).</td></tr><tr><td><strong>I</strong></td><td>Vector of phase currents on the AC side (Ia, Ib, Ic) and DC-link current (Idc).</td></tr></tbody></table>

## Signals available for monitoring and external I/O connections (via sensors form)

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

## References

<mark style="background-color:yellow;">MathWorks,</mark> *<mark style="background-color:yellow;">Three-Level NPC Converter</mark>* [<mark style="background-color:yellow;">Mathworks.com</mark>](http://mathworks.com/)<mark style="background-color:yellow;">.</mark> [<mark style="background-color:yellow;">https://www.mathworks.com/help/physmod/sps/powersys/ref/pvarray.html</mark>](https://www.mathworks.com/help/physmod/sps/powersys/ref/pvarray.html)

H. Rashid, *Power electronics handbook*, 4<sup>th</sup> ed. Butterworth-Heinemann, 2017.


---

# 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-voltage-source-converters/3-level-npc-converter-switching-devices.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.
