> 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/boost-converter-switching-function.md).

# Boost Converter (Switching Function)

## Description

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

The **Boost Converter (Switching Function)** block, located in the **Network Voltage Source Converters** library, models a single-phase voltage source converter (VSC) using a switching-function approach suitable for real-time simulation. This approach offers a balance between real-time performance and accuracy by preserving the harmonic content associated with switching devices.

The switches are replaced by a voltage source and a diode on the AC side and a current source on the DC side.

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

{% hint style="info" %}
This model must be used with the P1 gating signal of [**PWM Average Generator for Full-Bridge Converter (Switching Function)**](https://www.opal-rt.com/docs/hypersim/library-blocks-reference/control-sources/pwm-average-generator-for-full-bridge-converter-switching-function.md) or an input FPGA module.
{% endhint %}

The converter is controlled by pulses produced by a PWM generator or by pulses averaged over a calculation step of the simulation (1 / Ts), providing signals between 0 and 1. Both operating modes produce harmonics (which is the case when a converter is controlled by a PWM generator). This converter model correctly simulates the operation as a rectifier as well as the blocking time.

{% 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-6ffdea9af6b7bf077e496ecf29743764cd76815e%2Fimage%20(1060).png?alt=media" alt="" width="440"><figcaption></figcaption></figure>

| Parameter                           | Description                                                                 |
| ----------------------------------- | --------------------------------------------------------------------------- |
| **Description**                     | User-defined text describing the block. Variable: Description = {'string'}. |
| **Diode on-state resistance (Ohm)** | Internal resistance of diodes. Variable: Rclose, range \[1e-12, 1e12].      |
| **Diode snubber resistance (Ohm)**  | Snubber resistance of the diodes. Variable: Rsnubber, range \[1e-12, 1e12]. |

## Conserving ports

| Port    | Description                                    |
| ------- | ---------------------------------------------- |
| **In**  | AC-side network connector (single-phase only). |
| **Out** | DC-side positive terminal (single-phase only). |
| **COM** | DC-side negative terminal (single-phase only). |

## Inputs

<table><thead><tr><th width="260.39996337890625">Input</th><th>Description</th></tr></thead><tbody><tr><td><strong>P</strong></td><td>Gating pulse to control the converter (Q1)</td></tr></tbody></table>

## Outputs

<table><thead><tr><th width="259.5999755859375">Output</th><th>Description</th></tr></thead><tbody><tr><td><strong>V</strong></td><td>Vectorized voltage signal containing AC-side voltage Vac and DC-link voltage Vdc (V).</td></tr><tr><td><strong>I</strong></td><td>Vectorized current signal containing AC-side current Iac and DC-link current Idc (A).</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

MathWorks, *Boost Converter* [Mathworks.com](http://mathworks.com/). <https://www.mathworks.com/help/physmod/sps/powersys/ref/boostconverter.html>

M. 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/boost-converter-switching-function.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.
