> 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.md).

# Thyristor

## Description

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

The **Thyristor** block, located in the **Network Switches and Breakers** library, models a nonlinear device with a series RC snubber connected in parallel to the thyristor. The model accounts for forward bias threshold, forward and reverse breakover voltages, blocking current, snubber elements, holding current, and on/off resistances. It also offers a precision functionality to compensate for digital implementation errors during state switching as a function of the time step. The turn-off time Tq is the recovery time between the instant the anode current decreases to 0 and the instant when the thyristor can withstand positive voltage without turning on again. The model can be controlled by external signals and supports an external 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-992bb6c764bae871f744f01ff7201fe9018c561c%2Fthyristor.jpg?alt=media" alt="" width="563"><figcaption></figcaption></figure>

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

<table><thead><tr><th width="200.199951171875">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 signal; 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" %}

| Parameter       | Description                                                                                                                                                                |
| --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Fail reset      | Enable or Disable fail reset.                                                                                                                                              |
| Precision valve | When enabled, recalculates the state switch command using the exact time between steps (percentage of the time step). When disabled, no precision compensation is applied. |
| Imin (A)        | Holding current. Acceptable range: \[0, 1e12].                                                                                                                             |
| Tq (s)          | Thyristor turn-off time. Acceptable range: \[0, 1e12].                                                                                                                     |
| Fbov (V)        | Forward breakover voltage. Acceptable range: \[0, 1e12].                                                                                                                   |
| Rbov (V)        | Reverse breakover voltage. Acceptable range: \[0, 1e12].                                                                                                                   |
| {% endtab %}    |                                                                                                                                                                            |
| {% endtabs %}   |                                                                                                                                                                            |

## Conserving ports

<table><thead><tr><th width="201.20001220703125">Port</th><th>Description</th></tr></thead><tbody><tr><td><strong>Net_1</strong></td><td>Network connection</td></tr><tr><td><strong>Net_2</strong></td><td>Network connection</td></tr></tbody></table>

## Inputs

<table><thead><tr><th width="199.60003662109375">Input</th><th>Description</th></tr></thead><tbody><tr><td><strong>D</strong></td><td>Delay used for precision functionality, measured from the switching instant to the current time step. Expressed as a fraction of the time step: 0 means no delay, 1 means one full time step. For example, D = 0.5 means the switch changes state at 50% of the time step.</td></tr><tr><td><strong>P</strong></td><td>Binary-coded firing pulses.</td></tr></tbody></table>

## 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.

<table><thead><tr><th width="199.5999755859375">Signal</th><th>Description</th></tr></thead><tbody><tr><td>FailSig</td><td>Fail reset signal.</td></tr><tr><td>I (A)</td><td>Diode current.</td></tr><tr><td>Isw (A)</td><td>Switch current.</td></tr><tr><td>Delay (s)</td><td>Delay due to forward voltage drop.</td></tr><tr><td>DelayExt12 (s)</td><td>Delay for external trigger.</td></tr><tr><td>Cmd12</td><td>Signal state command.</td></tr><tr><td>CmdExt12</td><td>Signal state external command.</td></tr><tr><td>State12</td><td>Diode state.</td></tr></tbody></table>


---

# 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.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.
