> 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/efpgasim-library/simulink-sps-workflow/frequency-dependent-line.md).

# 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-405579bb91eadcf90c8f5fe3bcc25e2988af322f%2Fehs-frequency-dependent-line-block.png?alt=media" alt="" width="243"><figcaption></figcaption></figure>

The **Frequency Dependent Line** block, located in the **eFPGAsim/External circuit editor workflow/Lines and Loads** library, is used to configure a frequency-dependent line in the eHS solver. It requires a firmware compiled with the XSG frequencyDependentLine block.

## Mask parameters

<figure><img src="https://96827845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNRdpSk8kjn20gXAexnt6%2Fuploads%2Fgit-blob-e583939395c045aa9982137953e15a0681506494%2Fehs-frequency-dependent-line-mask.png?alt=media" alt="" width="392"><figcaption></figcaption></figure>

| Parameter              | Description                                                                                                                                                                                                                                                                                                                                                                        |
| ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **FD Line Desc. File** | This parameter displays the selected file with the line dynamic. The file can be chosen using the button on the right.                                                                                                                                                                                                                                                             |
| **Line Length (km)**   | Line length that will be simulated. This should match the information found in the file with the line dynamic selected above.                                                                                                                                                                                                                                                      |
| **Sample Time**        | This parameter allows you to do offline simulation. This parameter should match the time-step set in SPS Software Power GUI. During real-time simulation, the sample time might be changed automatically to match the parameter set in the [eHS CPU block.](https://www.opal-rt.com/docs/rt-lab/simulink-blocks-reference/efpgasim-library/simulink-sps-workflow/ehs-cpu-block.md) |

## Inputs

This block only has SPS Software power ports that need to be connected to the rest of the model.

## Outputs

This block only has SPS Software power ports that need to be connected to the rest of the model.

## Characteristics and limitations

| Direct Feedthrough   | NO  |
| -------------------- | --- |
| Discrete sample time | YES |
| XHP support          | N/A |
| 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/efpgasim-library/simulink-sps-workflow/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.
