> 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-switches-and-breakers/thyristor-+-diode.md).

# Thyristor + Diode

## Description

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

The **Thyristor with Diode** block, located in the **Network Switches and Breakers** library, models a thyristor with an anti-parallel diode that provides a current path when the thyristor is turned off.

The model includes forward voltage drop, reverse breakover voltage, blocking current, snubber elements, holding current, and on/off resistance. An optional precision functionality compensates for state-switching errors due to discrete time steps. The turnoff time Tq is the recovery time between the instant the anode current reaches 0 and the instant the thyristor can withstand a positive voltage without turning on. The block can be controlled by external signals and supports specifying a precision delay D.

## Mask parameters

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-57ab28e8e8d1d7c161a332f1784990c9c697be68%2Fthyristor_diode.jpg?alt=media" alt="" width="563"><figcaption></figcaption></figure>

{% tabs %}
{% tab title="General" %}

<table><thead><tr><th width="201">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Vmin</strong></td><td>Forward voltage drop (V) [0, 1e12].</td></tr><tr><td><strong>Ropen</strong></td><td>Open state resistance (Ohm) [0, 1e12].</td></tr><tr><td><strong>Rclose</strong></td><td>Closed state resistance (Ohm) [0, 1e12].</td></tr><tr><td><strong>Rsnubber</strong></td><td>Snubber resistance (Ohm [0, 1e12].</td></tr><tr><td><strong>Csnubber</strong></td><td>Snubber capacitance (F) [0, 1e12].</td></tr><tr><td><strong>Control type</strong></td><td><strong>External input pins</strong>: Schematic control input; the received integer is converted to a binary string where each digit corresponds to a phase.<br><strong>External input sensors</strong>: Simulator digital inputs.</td></tr></tbody></table>
{% endtab %}

{% tab title="Advanced" %}

<table><thead><tr><th width="200.20001220703125">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Fail reset</strong></td><td>Enable or disable the fail reset feature.</td></tr><tr><td><strong>Precision valve</strong></td><td>Enable: Recalculates the state-switch command using the exact time between steps (as a percentage of the time step). Disable: Does not use the precision valve. Options: {Enable, Disable}.</td></tr><tr><td><strong>Imin</strong></td><td>Holding current (A) [0, 1e12].</td></tr><tr><td><strong>Tq</strong></td><td>Thyristor turnoff time (s) [0, 1e12].</td></tr><tr><td><strong>Fbov</strong></td><td>Forward breakover voltage (V) [0, 1e12].</td></tr><tr><td><strong>Rbov</strong></td><td>Reverse breakover voltage (V) [0, 1e12].</td></tr></tbody></table>
{% endtab %}
{% endtabs %}

## Conserving ports

| Port       | Description                   |
| ---------- | ----------------------------- |
| **Net\_1** | Electrical network connection |
| **Net\_2** | Electrical network connection |

## Inputs

| Input | Description                         |
| ----- | ----------------------------------- |
| **D** | Delay used for the precision valve. |
| **P** | Binary coded firing pulses.         |

## Outputs

This block has no outputs.

## 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                        |
| ------------------ | ---------------------------------- |
| **FailSig**        | Fail reset signal.                 |
| **I (A)**          | Diode current.                     |
| **Isw (A)**        | Switch current.                    |
| **Delay (s)**      | Delay due to forward voltage drop. |
| **DelayExt12 (s)** | Delay for external trigger.        |
| **Cmd12**          | Signal state command.              |
| **CmdExt12**       | Signal state external command.     |
| **State12**        | Diode state.                       |


---

# 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-switches-and-breakers/thyristor-+-diode.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.
