> 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/ehs/model-in-schematic-editor/optimize-the-ehs-circuit/improve-performance-with-hscs/understand-the-hscs-switching-model.md).

# Understand the HSCS Switching Model

## Overview

The **High Speed Converter Solver (HSCS)** represents switching blocks using a **binary resistor model**. Each switch alternates between two resistance values:

* **Ron** when the switch is closed
* **Roff** when the switch is open

Unlike detailed semiconductor models, HSCS does not model switching transients. Instead, the electrical behavior of a switch is defined entirely by its open-state and closed-state resistances.

<figure><img src="https://3212678799-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FABuoXNYgvaoO7wIe3bfO%2Fuploads%2Fgit-blob-2fe8d35a3a599306e51f52f462d0d9e93d90e527%2Fse-hscs-switching-model.png?alt=media" alt=""><figcaption></figcaption></figure>

## Ron and Roff parameters

Each switch block available for HSCS includes:

* **Ron**: Resistance of the switch in the conducting state
* **Roff**: Resistance of the switch in the blocking state

These parameters determine the switch's static electrical behavior.

In most applications, **Ron** and **Roff** should be configured to closely match the physical device being modeled. Do not modify the parameters solely to improve solver performance and validate any parameter changes against expected circuit behavior

Additional tuning is generally unnecessary.

## When to modify Ron and Roff

In some cases, HSCS circuit compatibility may be limited by available FPGA resources. Adjusting **Ron** and **Roff** values can sometimes reduce resource usage and allow a circuit to fit within HSCS limits. However, changing these values may also:

* Modify the numerical behavior of the circuit
* Reduce model accuracy
* Affect losses and conduction characteristics

Therefore, consider adjusting **Ron** and **Roff** only when:

* The circuit exceeds HSCS resource limits
* FPGA resource optimization is required
* Guidance has been obtained from OPAL-RT Support

Otherwise, values representative of the physical switch should be used.


---

# 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/ehs/model-in-schematic-editor/optimize-the-ehs-circuit/improve-performance-with-hscs/understand-the-hscs-switching-model.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.
