> 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/hypersim/library-blocks-reference/network-lines-and-cables/constant-param-3-ph.md).

# Constant Param, 3-ph

## Description

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-e2b6caf98c5d6fbf2b4ce63abdaa2150516c0fa4%2Fimage%20(425).png?alt=media" alt="" width="262"><figcaption></figcaption></figure>

The **constant parameter (CP) 3-ph line** block, located in the **Network Lines and Cables** library, models a transmission line with frequency-independent R, L, and C, ignoring skin-effect and ground-frequency dependence. L and C are distributed along the line, while R is lumped at three locations (R/4 at each end and R/2 at the middle). Shunt conductance G is zero. The CP model is robust, simple, and fast, and is suitable for first-approximation studies, although frequency dependence (as in the FD model) is required for accurate waveform and peak-value simulations.

A CP line, transposed or untransposed, can be represented by its sequence components or its propagation modes with a transformation matrix (Ti) between mode and phase currents.

The propagation delay is calculated as follows:

$$
Propagation\_delay=length\_of\_line \times \sqrt{L\[i] \times C\[i]}
$$

where i denotes each phase, and L and C are the per-unit-length inductance and capacitance.

{% hint style="danger" %}
When the propagation delay is smaller than the time step, the Constant Param block is automatically replaced by an equivalent PI line.
{% endhint %}

If the **line is transposed**, this message appears:

{% code overflow="wrap" %}

```
WARNING in line: <Name of Block>.
The propagation delay (X) is less than the sample time (Y). A PI line is automatically used.
WARNING in the model [<Name of Block>:]! The line type has changed and the results may be false. Please restart the simulation.
```

{% endcode %}

If the **line is untransposed,** this message appears:

{% code overflow="wrap" %}

```
WARNING in line: <Name of Block>.
The propagation delay (X) is less than the sample time (Y). A PI line is automatically used.
ERROR in line: <Name of Block>.
The propagation delay is less than sample time and the line is Untransposed.
A PI line cannot be automatically used. Use a PI line with matrix parameters.
```

{% endcode %}

This happens because there are three distinct modes and the PI model only supports two. Thus, if the user wants to simulate a very short untransposed line, the user needs to use a PI line with the matrix parameters.

## Mask parameters

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-c5b41039b3e06f0454c905f963d2f5faf1a4f3bc%2Fimage%20(419).png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

### General parameters

{% tabs %}
{% tab title="General" %}

| Parameter                                            | Description                                                                                                                                                                |
| ---------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Description**                                      | Use this field to add information about the component.                                                                                                                     |
| **EMTP (.pun) file for line parameters calculation** | The path to the EMTP pun file containing the line parameters.                                                                                                              |
| **L-C units in EMTP (.pun) file**                    | <p>Select the units used in the pun file.<br>- mH/km, uF/km {0}: Inductance (L), capacitance (C)<br>- Ohm/km, uS/km {1}: Inductive (Xl) and capacitive (Xc) reactances</p> |
| **Line Length**                                      | The line length in km. length \[0, 1e64]                                                                                                                                   |
| **R**                                                | Per-unit-length resistance for each phase (mode) (Ω/km0, R \[-1e64, 1e64]                                                                                                  |
| **L**                                                | Per-unit-length inductance for each phase (mode) (H/km), L \[1e64, 1e64]                                                                                                   |
| **C**                                                | Per-unit-length capacitance for each phase (mode) (F/km). C \[-1e64, 1e64]                                                                                                 |
| **Base power (perPhase)**                            | Base value for per-unit conversion (MVA) per phase, pBase \[1, 1e64]                                                                                                       |
| **Base voltage (rmsLN)**                             | Base value for per-unit conversion (kV rms LN) vBase \[1, 1e64]                                                                                                            |
| **Base frequency**                                   | Base value for per-unit conversion (Hz), fBase \[1, 1e64]                                                                                                                  |
| **Continuously transposed line**                     | <p>Transposition (Untransposed/Transposed), transp<br>- No (0): Untransposed line<br>- Yes (1): Transposed line</p>                                                        |
| **Transformation matrix**                            | <p>Transformation matrix between mode and phase currents Ti \[-1e64, 1e64]<br>\[Iphase] = \[Ti] x \[Imode]<br>not used for a transposed line.</p>                          |
| {% endtab %}                                         |                                                                                                                                                                            |

{% tab title="Line generator" %}
The electrical parameters of CP lines can be calculated using the Line Generator.\
For more information see [Line Generator](https://www.opal-rt.com/docs/hypersim/model-and-simulation/optimize-the-model/use-parameter-generators/line-parameters.md)
{% endtab %}
{% endtabs %}

## Conserving ports

| Port       | Description                              |
| ---------- | ---------------------------------------- |
| **net\_1** | Network connection of the left (+) side. |
| **net\_2** | Network connection of the right side.    |

## Inputs

This block has no inputs.

## Outputs

This block has no outputs.

## Signals available for monitoring and external I/O connections (via sensors form)

All block inputs and outputs are available as signals for monitoring and for external I/O connections.

Additional signals are also available and are listed below with their descriptions.

| Signal                                               | Description                            |
| ---------------------------------------------------- | -------------------------------------- |
| **V(a,b,c)\_Node(*****1,2,3*****)\_(*****1,2*****)** | Bus voltage (V) for each phase (1,2,3) |
| **I(*****a,b,c*****)\_Node(*****1,2*****)**          | Current (A) for each phase (1,2,3)     |

{% hint style="info" %}
(1,2) indicates the bus name at each end of the line (1 for the left (+) side and 2 for the right side).
{% endhint %}

## References

H. W. Dommel, "Digital computer solution of electromagnetic transients in single and multiphase networks," IEEE Trans. Power App. Syst., vol. pas-88, pp. 388-99, 04/ 1969.


---

# 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/hypersim/library-blocks-reference/network-lines-and-cables/constant-param-3-ph.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.
