> 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/gto-+-diode.md).

# GTO + Diode

## Description

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

The **GTO + Diode** block, located in the **Network Switches and Breakers** library, models a gate turn-off thyristor (GTO) with an internal diode connected in shunt. The GTO switch is controlled by a logic signal based on terminal voltage, current, and the gating signal, while the diode provides a conduction path for reverse current to protect the device.

The model provides a *FailSig* signal indicating whether the block has reached its normal or reverse breakdown voltage, or if an untimely firing occurred. The block can be controlled by external signals and supports an optional precision function to compensate digital implementation errors during state switching as a function of the time step. A precision delay input (D) is also available.

## Mask parameters

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

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

<table><thead><tr><th width="202">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><em>:</em> 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><em>:</em> Simulator digital inputs.</td></tr></tbody></table>
{% endtab %}

{% tab title="Advanced" %}

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

## Conserving ports

| Port       | Description        |
| ---------- | ------------------ |
| **Net\_1** | Network connection |
| **Net\_2** | Network connection |

## Inputs

| Input | Description                            |
| ----- | -------------------------------------- |
| **D** | Delay used for the precision function. |
| **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.                     |
| **Delay (s)** | Delay due to forward voltage drop. |
| **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/gto-+-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.
