> 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/simulink-blocks-reference/artemis-library/artemis-ssn-frequency-dependent-line.md).

# ARTEMiS SSN Frequency Dependent Line

## Description

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

The **ARTEMiS SSN Frequency Dependent Line** block, located in the **ARTEMiS/SSN/Lines** library, implements an N-phase distributed-parameter transmission line model with frequency-dependent line parameters. The model is based on **Marti’s formulation** used in EMTP-RV . It is optimized for discrete real-time simulation, supports network decoupling, and enables multi-CPU simulation on an RT-LAB simulator.

{% hint style="info" %}
The SSN solver of the ARTEMiS Guide block must be ’Trapezoidal’ when using a ARTEMiS-SSN Frequency Dependent Line block. This is because the Trapezoidal solver is used internally by the ARTEMiS-SSN Frequency Dependent Line block.
{% endhint %}

{% hint style="danger" %}
This block requires a valid RT-LAB license on the simulator with the feature ARTEMiS enabled. Refer to[ ARTEMiS Requirements](https://www.opal-rt.com/docs/rt-lab/model-and-simulation/power-systems-with-artemis/artemis-requirements.md) for details.
{% endhint %}

## Mask parameters

<figure><img src="https://96827845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNRdpSk8kjn20gXAexnt6%2Fuploads%2Fgit-blob-88d63ac4932c74f94d411763bf67bcf0d476ebd6%2FArtemis_SSN_FDLine_mask.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

{% tabs %}
{% tab title="FD Param" %}

<table><thead><tr><th width="248.20001220703125">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Number of phases</strong></td><td>Number of phases of the model (1-2-3-6).</td></tr><tr><td><strong>Line data variable</strong></td><td>Name of a MATLAB workspace variable containing the FD_line parameter.<br>The variable fdfit is a structure holding the model parameters</td></tr><tr><td><strong>Unique Tag Identifier</strong></td><td>User-defined string that must be unique for each instance of this block in a Simulink model. Note: In future releases, this parameter will be set automatically and will not be visible to the user.</td></tr></tbody></table>
{% endtab %}

{% tab title="Measurements param" %}

<table><thead><tr><th width="249.79998779296875">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Voltage measurement and Current Measurement choice</strong></td><td>Enable measurement of additional line quantities such as phase voltage and phase current. Note: Voltage is measured phase-to-ground.</td></tr><tr><td><strong>Voltage and Current Label</strong></td><td>Optional labels for voltage and current measurements. When measurement is enabled, use the provided labels to retrieve values: use ‘label_’ for the sending side (connected to the source) and ‘label_r’ for the receiving side.</td></tr></tbody></table>
{% endtab %}
{% endtabs %}

<details>

<summary>Structure containing the parameters of the model fd<strong>fi</strong></summary>

* **Nph**: \[1x1 struct] number of phase
* **NpolY**: \[1x1 struct] number of poles for Yc(s) (Yc=1/Zc)
* **Ypol**: \[1x1 struct] poles of Yc(s)
* **Yres**: \[1x1 struct] residues of Yc(s)
* **YDmat**: \[1x1 struct] constant residues of Yc(s)
* **NpolH**: \[1x1 struct] number of poles of H(s)
* **Hpol**: \[1x1 struct] poles of H(s) (propagation function)
* **Hres**: \[1x1 struct] residue of H(s)
* **HDmat**: \[1x1 struct] minimum propagation delays
* **Ti**: \[1x1 struct] current transformation matrix
* **Tv**: \[1x1 struct] voltage transformation matrix

Each component is a structure with Data and Name fields.\
For example:

**fdfit.NpolY\*\*\*\*Data**: \[3x1 double]**Name**: Number of poles for each mode in Ycm

{% hint style="info" %}
For instructions to obtain these parameters from EMTP-RV fitting routines, consult the document *Obtaining\_FDline\_model\_parameters\_from\_EMTP\_RV.pdf*
{% endhint %}

</details>

## Conserving ports

| Port                                | Description                           |
| ----------------------------------- | ------------------------------------- |
| **N-phase voltage-current signals** | Per-phase voltage and current inputs. |

## Inputs

This block has no inputs.

## Outputs

This block has no outputs.

## Characteristics and limitations

| Characteristic                        | Value                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Usage in RT-LAB for task decoupling   | <p>Place the ARTEMiS-SSN Frequency Dependent Line block at the top level of the RT-LAB–compatible Simulink model.</p><p>Each ARTEMiS-SSN Frequency Dependent Line output can connect only to Simscape Electrical Specialized Power Systems (SPS) components located inside RT-LAB top-level subsystems (names beginning with ‘SS’ or ‘SM’).</p><p>Do not connect ARTEMiS-SSN Frequency Dependent Line blocks together at the top level. If required, route their connection lines into subsystems first, then connect the ports inside the subsystem.</p> |
| SSN solver in the ARTEMiS Guide block | Select the Trapezoidal SSN solver when using the ARTEMiS-SSN Frequency Dependent Line block. The block internally uses the Trapezoidal solver.                                                                                                                                                                                                                                                                                                                                                                                                            |
| Initialization                        | The block does not initialize in steady-state; transients may occur at the start of the simulation.                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| Direct feedthrough                    | No                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| Discrete sample time                  | Yes, defined in the ARTEMiS Guide block                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| XHP support                           | Yes                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| Work offline                          | Yes                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |


---

# 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/simulink-blocks-reference/artemis-library/artemis-ssn-frequency-dependent-line.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.
