> 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/3.7/overview/requirements/get-a-licence.md).

# eHS License Class

## Overview

The eHS solver is licensed based on a combination of **circuit size, performance level, and enabled features**. These licenses determine the complexity of the model that can be simulated, as well as the available solver capabilities.

## License classes

eHS is available in multiple license classes, allowing users to scale according to FPGA capacity and application complexity. The license class defines the **maximum circuit size** supported by a solver instance.

It is counting

* Number of switches allowed in the circuit
* Number of machines allowed in the circuit

The license class per core is determined by the **`EHS_CORE_TOKEN`** in the simulator license (e.g. `128`, `x64`, etc).

| Feature                      | x16       | x32       | x64       | x128      | x256      |
| ---------------------------- | --------- | --------- | --------- | --------- | --------- |
| **Total number of machines** | 1         | 2         | 4         | 8         | 10        |
| **Total number of switches** | 12        | 48        | 72        | 144       | 256       |
| **Maximum states\***         | 256       | 256       | 256       | 256       | 256       |
| **Resistors**                | Unlimited | Unlimited | Unlimited | Unlimited | Unlimited |

\*The maximum number of states depends on circuit complexity and timestep constraints.

{% hint style="info" %}
The number of inputs, outputs and nonlinear / variable components is only limited by the Simulator & firmware capabilities.
{% endhint %}

{% hint style="info" %}
The raw calculation power is 102.4 GFLOPS but is limited by the time-step achievable.
{% endhint %}

{% hint style="info" %}
The Maximum number of parameter sets is

* up to 512 (From FPGA). The number of scenarios on FPGA available for a given circuit depends on the circuit complexity.
* Unlimited (From CPU). The number of scenarios on CPU available only depends on your memory allocated to MATLAB.
  {% endhint %}

### EHS High Performances

eHS comes with a performance license enabling multiple features:

* Our new generation of solver allows up to 70ns minimum time step.
* Our new generation of solver runs at least twice as fast as the previous one.
* Our new generation of solver supports decoupling blocks in the same large circuit to be able to reduce efficiently the minimum time step of large circuit by placing in a strategic manner specific decoupling blocks between subcircuits.
* Our new generation of solver supports high speed converter solver (HSCS) to be able to simulate high frequency power electronics systems with switching frequencies above 100kHz.

## Component resource usage

Apart from the license validation, your circuit is limited by the hardware and firmware capabilities. Typical resources are the following

* Number of Switches
* Number of sources
* Number of outputs
* Number of passive/non-linear components
* Number of states

{% hint style="info" %}
Total count can be found in the eHS Build report available in the right click menu on your eHS block.
{% endhint %}

{% hint style="info" %}
Some high level components, such as machines, contains sources, outputs and switches.
{% endhint %}

| Component   | Switch | Source | Output | Passive / Non-Linear | States |
| ----------- | ------ | ------ | ------ | -------------------- | ------ |
| **Sources** |        | 1      |        |                      |        |
| **Meters**  |        |        | 0 - 1  |                      |        |

| Passive Component        | Switch | Source | Output | Passive / Non-Linear | States |
| ------------------------ | ------ | ------ | ------ | -------------------- | ------ |
| **Resistor**             |        |        |        |                      |        |
| **Inductor**             |        |        | 0 - 1  |                      | 1      |
| **Capacitor**            |        |        | 0 - 1  |                      | 1      |
| **Serial RLC**           |        |        |        |                      | 2      |
| **Parallel RLC**         |        |        |        |                      | 2      |
| **Surge arrester**       |        | 1      | 0 - 2  | 1                    | 1      |
| **Saturable Inductor**   |        | 1      | 0 - 2  | 1                    | 1      |
| **Variable Serial RL**   |        | 1      | 0 - 2  | 1                    | 1      |
| **Variable Parallel RC** |        | 1      | 0 - 2  | 1                    | 1      |

| Switching Component              | Switch | Source | Output | Passive / Non-Linear | States |
| -------------------------------- | ------ | ------ | ------ | -------------------- | ------ |
| **Diode**                        | 1      |        |        |                      |        |
| **Ideal Switch**                 | 1      |        |        |                      |        |
| **Breaker**                      | 1      |        |        |                      |        |
| **IGBT**                         | 1      |        |        |                      |        |
| **Thyristor**                    | 1      |        |        |                      |        |
| **FET**                          | 1      |        |        |                      |        |
| **IGBT with Antiparallel Diode** | 1      |        |        |                      |        |
| **FET with Antiparallel Diode**  | 1      |        |        |                      |        |
| **Bidirectional switch**         | 2      |        |        |                      |        |
| **Half-Bridge converter**        | 2      |        |        |                      |        |
| **H-Bridge (HSCS specific)**     | 4      |        |        |                      |        |
| **3-Level NPC Arm**              | 6      |        |        |                      |        |
| **3-Level T-Type Arm**           | 4      |        |        |                      |        |
| **3-Level A-NPC (HSCS only)**    | 6      |        |        |                      |        |
| **Single Phase Cycloconverter**  | 8      |        |        |                      |        |

| Tranformer                                           | Switch | Source | Output  | Passive / Non-Linear | States |
| ---------------------------------------------------- | ------ | ------ | ------- | -------------------- | ------ |
| **Single Phase Ideal Two Winding Transformer**       |        |        | up to 3 |                      | 3      |
| **Single Phase Ideal Three Winding Transformer**     |        |        | up to 3 |                      | 4      |
| **Single Phase Ideal Two Winding Mutual Inductance** |        |        |         |                      | 2      |
| **Three Winding Mutual Inductance**                  |        |        |         |                      | 3      |
| **Saturable Transformer**                            |        | 1      |         | 1                    | 3      |

| Machine                                                           | Switch | Source | Output   | Passive / Non-Linear | States |
| ----------------------------------------------------------------- | ------ | ------ | -------- | -------------------- | ------ |
| **Permanent Magnet Synchronous Machine**                          |        | 2      | up to 22 |                      | 3      |
| **Brushless DC Machine**                                          |        | 2      | up to 22 |                      | 3      |
| **Squirrel-Cage Induction Machine**                               |        | 2      | up to 23 |                      | 3      |
| **Squirrel-Cage Induction Machine with Saturation**               |        | 2      | up to 29 |                      | 3      |
| **Doubly-Fed Induction Machine**                                  |        | 4      | up to 26 |                      | 6      |
| **Doubly-Fed Induction Machine with Saturation**                  |        | 4      | up to 31 |                      | 6      |
| **Permanent Magnet Synchronous Machine 3-phase Open-End Winding** |        | 3      | up to 19 |                      | 3      |
| **Permanent Magnet Synchronous Machine 6-phase**                  |        | 6      | up to 38 |                      | 6      |
| **Permanent Magnet Synchronous Machine 12-phase**                 |        | 12     | up to 76 |                      | 12     |
| **Synchronous Machine Round**                                     |        |        | up to    |                      |        |
| **Synchronous Machine Salient**                                   |        |        | up to    |                      |        |

| Lines                | Switch | Source | Output | Passive / Non-Linear | States           |
| -------------------- | ------ | ------ | ------ | -------------------- | ---------------- |
| **Pi Section Line**  |        |        |        |                      | 2 X NBSECTION +1 |
| **FD Line 1 Phase**  |        | 2      |        |                      |                  |
| **FD Line 2 Phase**  |        | 4      |        |                      |                  |
| **FD Line 3 Phase**  |        | 6      |        |                      |                  |
| **FD Line 4 Phase**  |        | 8      |        |                      |                  |
| **FD Line 6 Phase**  |        | 12     |        |                      |                  |
| **FD Line 12 Phase** |        | 24     |        |                      |                  |
| **Stubline**         |        | 1      | 1      |                      |                  |

| De-coupling blocks                           | Switch | Source | Output | Passive / Non-Linear | States |
| -------------------------------------------- | ------ | ------ | ------ | -------------------- | ------ |
| **Single phase capacitive de-coupling**      |        |        |        |                      | 2      |
| **Single phase inductive de-coupling**       |        |        |        |                      | 2      |
| **Two-phase capacitive de-coupling**         |        |        |        |                      | 4      |
| **Two-phase inductive de-coupling**          |        |        |        |                      | 4      |
| **Three-phase delta capacitive de-coupling** |        |        |        |                      | 6      |
| **Three-phase wye capacitive de-coupling**   |        |        |        |                      | 6      |
| **Three-phase inductive de-coupling**        |        |        |        |                      | 6      |


---

# 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/3.7/overview/requirements/get-a-licence.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.
