> 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/smart-power-simulation-software-sps/blocks-functions-tools/power-transmission-and-distribution/specify-decoupling-lines.md).

# Specify Decoupling Lines

## Description

The **Specify Decoupling Lines app** allows you to replace the single-phase and three-phase Distributed Parameters Line blocks in your model with Decoupling Line blocks.

You can select one or several blocks in the list and apply the changes in one step. The app automatically sets all the parameters of the Decoupling Line blocks to match those of the replaced blocks. When done, you can run the simulation with no additional steps.

For more information on why, how, and when you should use [Decoupling Line](https://www.opal-rt.com/docs/smart-power-simulation-software-sps/blocks-functions-tools/power-transmission-and-distribution/lines/decoupling-line.md) block.

<figure><img src="https://799605156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdlNg8IbOdahCpFCyzxSN%2Fuploads%2Fgit-blob-ebaea11d545de4374daef21633f7db0ad837efc5%2Fspecify_decoupling_lines_app_mask.png?alt=media" alt=""><figcaption></figcaption></figure>

## Syntax

Open the Specify Decoupling Lines App

* From the powergui Block Parameters dialog box: On the **Tools** tab, click **Line Decoupler** (**Specify Decoupling Lines**, in earlier versions).
* From the MATLAB® command prompt:

  <pre class="language-matlab" data-line-numbers><code class="lang-matlab">DecouplingLineReplace(Model)
  </code></pre>

Model is the name of a model that is loaded in memory.

## Parameters

<table data-header-hidden><thead><tr><th width="199.51116943359375">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Select all</strong> — Select all blocks button</td><td>Select all the Distributed Parameters Line blocks listed in the app.</td></tr><tr><td><strong>Replace</strong> — Replace selected blocks button</td><td><p>Replace the selected Distributed Parameters Line blocks with Decoupling Line blocks.</p><p>The app sets the parameters of the Decoupling Line blocks with the parameters of the Distributed Parameters Line blocks.</p><p>After the conversion, the list of blocks is automatically updated in the app. The update requires no additional modifications and provides the same simulation results as the original model.</p></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/smart-power-simulation-software-sps/blocks-functions-tools/power-transmission-and-distribution/specify-decoupling-lines.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.
