> 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/example-models/mmc-example-models/vsc-solid-state-transformer.md).

# VSC Solid State Transformer

## Description

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

The **VSC Solid State Transformer** example can be created by starting a new RT‑LAB project. From the menu bar, select **File > New > RT‑LAB Project**. Enter a name and location for your project, then click **Next**. From the available templates list, navigate to **MMC** and select **CPU\_SST\_acac**, then click **Finish**.

This model simulates a three-phase solid state transformer. Each phase has 3 submodules connected with input series output parallel (ISOP) connection:

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

## Requirements <a href="#requirements" id="requirements"></a>

### Simulator license

[Verify that an active RT-LAB license](https://www.opal-rt.com/docs/rt-lab/licensing-reference/simulator-license.md) with the following feature is installed on the simulator to run this example model:

<table><thead><tr><th width="259.63629150390625">Feature Name</th><th width="109.5455322265625">Required Status</th><th>Description</th></tr></thead><tbody><tr><td>ARTEMIS_MMC_CONTROLLER</td><td>enabled</td><td>MMC high-level control blocks on CPU</td></tr></tbody></table>

## Detailed explanation

Configuration of the model using VSC blocks requires three steps, summarized below.

{% stepper %}
{% step %}

### Set the VSC\_Param block

The VSC in this demo is composed of:

* **27 full‑bridge submodules (FBSMs)**
* **3 half‑bridge submodules (HBSMs)**

These parameters must be correctly entered in the [**VSC\_Param**](https://www.opal-rt.com/docs/rt-lab/simulink-blocks-reference/mmc-library/vsc_param.md) block, where the submodule topology and related electrical parameters are defined.

<figure><img src="https://96827845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNRdpSk8kjn20gXAexnt6%2Fuploads%2Fgit-blob-9e77380ce2fab5917e56af33b59ef2c6a7a4d249%2Fmmc-vsc-ex3.png?alt=media" alt="" width="366"><figcaption></figcaption></figure>

<figure><img src="https://96827845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNRdpSk8kjn20gXAexnt6%2Fuploads%2Fgit-blob-b8ce2397b407b0bee1abd240dddb7d59db52358c%2Fmmc-vsc-ex4.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Set the Conf\_sf block

In the [**Conf\_sf**](https://www.opal-rt.com/docs/rt-lab/simulink-blocks-reference/mmc-library/conf_sf.md) block, configure the structural arrangement of the submodules:

* **Total number of submodules:** 30 (27 FBSMs + 3 HBSMs)
* **Number of internal capacitors:** 10
* **Capacitor assignments:**
  * **SMs 1–18** → Capacitors 1–9 (each capacitor shared by two SMs)
  * **SMs 19–30** → Capacitor 10

<figure><img src="https://96827845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNRdpSk8kjn20gXAexnt6%2Fuploads%2Fgit-blob-6cc1c4f931f39d6354e3f795344321b05b535014%2Fmmc-vsc-ex5.png?alt=media" alt="" width="359"><figcaption></figcaption></figure>

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

**DAB Index Configuration**

The converter includes **10 Dual Active Bridge (DAB)** units:

* **SMs 1–9** and **SMs 28–30** are **not connected** to any transformer
  * Set **DAB index = 0**
* **SMs 10–27** are used in DAB converters
  * Assign **DAB index = +1** for SMs on the side where current flows **into** the transformer
  * Assign **DAB index = −1** for SMs on the side where current flows **out of** the transformer

This indexing determines the internal power‑flow direction for each submodule.

<figure><img src="https://96827845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNRdpSk8kjn20gXAexnt6%2Fuploads%2Fgit-blob-e6a0a02277302d944d5dee1a4109a16947d0ab4f%2Fmmc-vsc-ex7.png?alt=media" alt="" width="411"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Define physical connections to the external circuit

Finally, configure how the submodules connect to the rest of the power circuit:

* **SMs 1–3** → Node 1
* **SMs 4–6** → Node 2
* **SMs 7–9** → Node 3
* **SMs 28–30** → Nodes 4–6 (one SM per node)

This node assignment determines how the converter interfaces with external AC/DC networks.

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

<figure><img src="https://96827845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNRdpSk8kjn20gXAexnt6%2Fuploads%2Fgit-blob-a32224842c5ed54d66d7c309acb6479db61a2944%2Fmmc-vsc-ex9.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

## Simulation and results <a href="#simulationandresults" id="simulationandresults"></a>

To illustrate the accuracy of the modeling method, the OPAL model (SWF) with 20 µs is compared with the SPS model with 1 µs. The comparison results are presented. The results validate that the OPAL model with 20 µs has matched performance as the SPS detail model with 1 µs. The System parameters are listed as

<table><thead><tr><th width="142">Parameters</th><th width="456">Description</th><th width="141">Value</th></tr></thead><tbody><tr><td>Pref_DAB</td><td>DAB power rating per module</td><td>20 kW</td></tr><tr><td>Vmvdc</td><td>Medium voltage-side dc voltage per module</td><td>4 kV</td></tr><tr><td>VLvdc</td><td>Low voltage-side dc voltage</td><td>400 V</td></tr><tr><td>ftran</td><td>DAB transformer frequency</td><td>2 kHz</td></tr><tr><td>Ls_DAB</td><td>DAB external inductance</td><td>0.0420 H</td></tr><tr><td>Vac_MV</td><td>Medium voltage-side ac voltage</td><td>8.5 kV</td></tr><tr><td>freq</td><td>Medium and low voltage-side grid frequency</td><td>60 Hz</td></tr><tr><td>CC_mvdc</td><td>Medium voltage-side capacitance per module</td><td>0.125 μF</td></tr><tr><td>Vac_LV</td><td>Low voltage-side ac voltage</td><td>141.4 V</td></tr><tr><td>CC_lvdc</td><td>Low voltage-side capacitance</td><td>11.3 mF</td></tr></tbody></table>

**Solid state transformer simulation results:**

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

**Simulation performance:**

The elapse time for 1 s offline simulation.

| Test system             | Execution time for SPS model (1us timestep) | Execution time for OPAL-RT model (20us timestep) | Acceleration factor |
| ----------------------- | ------------------------------------------- | ------------------------------------------------ | ------------------- |
| Solid state transformer | 583.78 s                                    | 16.54 s                                          | 35.29               |

The real-time simulation performance (the minimum time step). The minimum time step is the minimum time the real time simulator needs to solve the model. This value being larger than the model discretizing time step, usually 20 \~50 us, means that the model cannot run in real time.

| Test system             | Minimum time step for SPS model            | Minimum time step for OPAL-RT model       |
| ----------------------- | ------------------------------------------ | ----------------------------------------- |
| Solid state transformer | 2907.6 us (> model discretizing time step) | 13.84 us (< model discretizing time step) |

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

\[1] Zhang, F., & Li, W. (2019). An Equivalent Circuit Method for Modeling and Simulation of Dual Active Bridge Converter Based Marine Distribution System. 2019 IEEE Electric Ship Technologies Symposium, ESTS 2019, 382–387. <https://doi.org/10.1109/ESTS.2019.8847728>


---

# 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/example-models/mmc-example-models/vsc-solid-state-transformer.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.
