> 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/mmc-valve-fb-cells.md).

# MMC Valve (FB Cells)

## Description

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

The **MMC Valve (FB Cells)** block, located in the **Network Voltage Source Converters** library, implements a modular multilevel converter (MMC) valve with full-bridge submodules (FBSMs). The MMC consists of multiple FBSMs connected in series and an arm inductor. Each FBSM includes a capacitor and four switches. The converter is modeled with detailed switches driven by PWM generator signals (0 or 1).

## Mask parameters

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

<table><thead><tr><th width="280.4000244140625">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Number of modules</strong></td><td>Number of submodules in one valve, nbGroup.</td></tr><tr><td><strong>Open state resistance - Ropen</strong></td><td>IGBT resistance when the switch is open (MΩ), th_R_off.</td></tr><tr><td><strong>Closed state resistance - Rclose</strong></td><td>IGBT resistance when the switch is closed (Ω), th_R_on.</td></tr><tr><td><strong>Arm resistance - Rarm</strong></td><td>Arm resistance (Ω), Rchoke.</td></tr><tr><td><strong>Arm inductance - Larm</strong></td><td>Arm inductance (H), Lchoke.</td></tr><tr><td><strong>DC storage capacitance - C</strong></td><td>Capacitance of the submodule (F), C.</td></tr><tr><td><strong>Initial capacitor voltage - Vclnit</strong></td><td>Initial capacitor voltage of the submodule (V), Vclint.</td></tr><tr><td><strong>Forward voltage drop - Vf</strong></td><td>Forward voltage drop of the switch (V), Vseuil.</td></tr><tr><td><strong>Holding current - Ihold</strong></td><td>Holding current (A), Ihold.</td></tr></tbody></table>

{% hint style="info" %}
To appropriately simulate the blocked state (diode mode), enable **Activate iterative method** in **Simulation Settings**.
{% endhint %}

## Conserving ports

<table><thead><tr><th width="279.60003662109375">Port</th><th>Description</th></tr></thead><tbody><tr><td><strong>+</strong></td><td>Positive terminal of the valve</td></tr><tr><td><strong>_</strong></td><td>Negative terminal of the valve</td></tr></tbody></table>

## Inputs

<table><thead><tr><th width="280.39996337890625">Input</th><th>Description</th></tr></thead><tbody><tr><td><strong>P</strong></td><td>Gating signals of FBSMs</td></tr></tbody></table>

## Outputs

<table><thead><tr><th width="280.39996337890625">Output</th><th>Description</th></tr></thead><tbody><tr><td><strong>V</strong></td><td>Capacitor voltages of HBSMs</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.

Additional signals are also available and are listed below with their descriptions.

| Signal            | Description                          |
| ----------------- | ------------------------------------ |
| **Cmd1\_smX**     | X-th SM switch 1 command signal (-)  |
| **Cmd2\_smX**     | X-th SM switch 2 command signal (-)  |
| **Cmd3\_smX**     | X-th SM switch 3 command signal (-)  |
| **Cmd4\_smX**     | X-th SM switch 4 command signal (-)  |
| **IRLSer**        | RL<sub>arm</sub> (choke) current (A) |
| **IkmSwCap\_smX** | X-th SM switch 2 current (A)         |
| **IkmSw\_smX**    | X-th SM switch 1 current (A)         |
| **Isw3\_smX**     | X-th SM switch 3 current (A)         |
| **Isw4\_smX**     | X-th SM switch 4 current (A)         |
| **State1D\_smX**  | X-th SM switch 1 diode state         |
| **State1\_smX**   | X-th SM switch 1 state               |
| **State2D\_smX**  | X-th SM switch 2 diode state         |
| **State2\_smX**   | X-th SM switch 2 state               |
| **State3D\_smX**  | X-th SM switch 3 diode state         |
| **State3\_smX**   | X-th SM switch 3 state               |
| **State4D\_smX**  | X-th SM switch 4 diode state         |
| **State4\_smX**   | X-th SM switch 4 state               |
| **Vc\_smX**       | X-th SM capacitor voltage (V)        |
| **VkmSwCap\_smX** | X-th SM switch 1 voltage (V)         |
| **VkmSw\_sm0**    | X-th SM switch 2 voltage (V)         |
| **Vsw3\_sm0**     | X-th SM switch 3 voltage (V)         |
| **Vsw4\_sm0**     | X-th SM switch 4 voltage (V)         |

## References

[<mark style="background-color:yellow;">https://www.mathworks.com/help/physmod/sps/powersys/ref/fullbridgeconverter.html</mark>](https://www.mathworks.com/help/physmod/sps/powersys/ref/fullbridgeconverter.html)


---

# 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/mmc-valve-fb-cells.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.
