> 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/rt-lab/simulink-blocks-reference/artemis-library/ssn-ivic-3-level-npc-inverters.md).

# SSN IVIC 3 level NPC Inverters

## Description

<figure><img src="https://96827845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNRdpSk8kjn20gXAexnt6%2Fuploads%2Fgit-blob-918d4b1b8ce187420496d000cd33f48351a453a5%2FArtemis_SSN_ivic_3level_NPC_inverter_block.png?alt=media" alt=""><figcaption></figcaption></figure>

The **3-Level NPC Inverter** blocks, located in the **ARTEMiS/SSN/Inverters Models** library, implement three-level Neutral-Point-Clamped (NPC) inverter models using the SSN-IVIC interpolation algorithm. IVIC (Inlined Voltage Inverter Compensation) compensates for firing events that occur within a simulation time step and is similar to the SSN-ITVC algorithm used for thyristors.

Two variants are available: a legacy version embedded in the main SSN solver and v2.0, which uses an external S-function. Both share similar characteristics but differ in their IVIC implementation.

These models can often be replaced by the Time-Stamped Bridge TSB-RD (Real Diodes). TSB supports interpolation methods such as IVIC and typically performs better at higher PWM frequencies (Fpwm > 0.1/Ts).

SSN-IVIC supports dead-time shorter than the simulation time step. The v2.0 model can also simulate firing pulses shorter than the simulation time, including in offline mode.

<figure><img src="https://96827845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNRdpSk8kjn20gXAexnt6%2Fuploads%2Fgit-blob-30de9e035e24b763b93c665adc661d5c79512973%2FArtemis_SSN_ivic_3level_NPC_inverter_schem.png?alt=media" alt=""><figcaption><p>3-level NPC inverter</p></figcaption></figure>

{% hint style="danger" %}
This block requires a valid RT-LAB license on the simulator with the feature ARTEMiS enabled. Refer to[ ARTEMiS Requirements](https://www.opal-rt.com/docs/rt-lab/model-and-simulation/power-systems-with-artemis/artemis-requirements.md) for details.
{% endhint %}

## Mask parameters

<figure><img src="https://96827845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNRdpSk8kjn20gXAexnt6%2Fuploads%2Fgit-blob-80214300f298a6c9bf3ee27a129b9b3fc9a384da%2FArtemis_SSN_ivic_3level_NPC_inverter_mask.png?alt=media" alt=""><figcaption></figcaption></figure>

| Parameter                                            | Description                                                                                                                                                                      |
| ---------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Snubber resistance (ohms)**                        | The snubber resistance in ohms.                                                                                                                                                  |
| **Snubber Capacitance (F)**                          | The snubber capacitance in farads.                                                                                                                                               |
| **Ron (Ohms)**                                       | The switch conduction resistance in ohms.                                                                                                                                        |
| **Forward voltages**                                 | Switch forward voltages in volts. This parameter cannot be set to 0 because it is used internally by the IVIC algorithm.                                                         |
| **High impedance current tolerance (A) (v2.0 only)** | Threshold current used by the IVIC algorithm to determine high-impedance mode when all gates are OFF. Set to a value considered negligible for the application and power rating. |

## Conserving ports

| Name  | Description               |
| ----- | ------------------------- |
| **+** | DC-bus positive terminal. |
| **N** | DC-bus neutral terminal.  |
| -     | DC-bus negative terminal. |

## Inputs

| Name  | Description                                                                                               |
| ----- | --------------------------------------------------------------------------------------------------------- |
| **g** | IGBT/GTO/MOSFET gate input signals. For phase A, the gate order is S1, S2, S3, S4. Phases B and C follow. |

## Outputs

| Name  | Description      |
| ----- | ---------------- |
| **A** | Inverter output. |


---

# 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/rt-lab/simulink-blocks-reference/artemis-library/ssn-ivic-3-level-npc-inverters.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.
