> 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/rt-lab/example-models/artemis-example-models/artemis-distributed-parameter-line-usage-to-decouple-state-space-system-equations.md).

# ARTEMiS Distributed Parameter Line Usage to Decouple State-space System Equations

## Description

The **ARTEMiS Distributed Parameter Line Usage to Decouple State-space System Equations** example can be created by starting a new RT‑LAB project. From the menu bar, select **File > New > RT‑LAB Project**. Enter a name and location for your project, then click **Next**. From the available templates list, navigate to **ARTEMiS>common>Examples** and select **ActiveDistributionGrid\_V6\_2**, then click **Finish**.

This circuit simulates the energization of a 3-phase power line model with ARTEMiS Distributed Parameter Line (ARTEMiS DPL) model and compares the responses with a pi-line model (This model is similar to the SPS demo power\_triphaseline.mdl).

The key aspect of ARTEMiS DPL model is that it causes SPS to produce a decoupled system of state-space equations for the circuits located on both sides of it. On the image below, the colored areas indicate the 3 different sets of state-space equations. The ARTEMiS DPL separated the upper circuit in 2 sets.

<figure><img src="https://96827845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNRdpSk8kjn20gXAexnt6%2Fuploads%2Fgit-blob-348b52416eee823d90ed4c11488f236a1afb6c6b%2Fartemis-activedistributiongrid-exemple.png?alt=media" alt=""><figcaption></figcaption></figure>

In offline simulations, this approach produces smaller equation sets that can be solved more quickly than a single, globally coupled model. An even greater benefit is realized in real-time applications, where the decoupled tasks can be distributed across multiple computational units (cores or CPUs) for parallel execution.

## Simulation and results

Start the simulation of the model with the ARTEMiS DPL (default). Once the simulation is completed, you can check that the 3 state-space systems have been built by looking under the **powergui** block. (Press **Ctrl-U** while the block is selected).

You can change the type of DPL directly from the ARTEMiS GUIde menu. Select **Regular SPS line** and this will be inserted in the model.

The simulation should be approximatively the same but if you check now in the **powergui** block, you will observe that only two state-space systems have been built.


---

# 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/rt-lab/example-models/artemis-example-models/artemis-distributed-parameter-line-usage-to-decouple-state-space-system-equations.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.
