> 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-1-ph.md).

# Constant Param, 1-ph

## Description

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

The **Constant Parameter (CP) 1-ph Line** block, located in the **Network Lines and Cables** library, models a single-phase transmission line where R, L, and C are assumed independent of frequency (skin effect on phase conductors and ground is ignored). Inductance (L) and capacitance (C) are distributed (ideal line), while resistance (R) is lumped as R/4 at both ends and R/2 in the middle. Shunt conductance G is set to zero. Although frequency dependence (as in the FD model) improves waveform and peak value accuracy, the CP model is robust, simple, and fast, making it suitable for first-approximation analyses. Implementation details can be found in \[1].

## Mask parameters

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

<table><thead><tr><th width="260.39996337890625">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Description</strong></td><td>Use this field to add information about the component.</td></tr><tr><td><strong>EMTP (.pun) file for line parameters calculation</strong></td><td>Path to the EMTP pun file containing the line parameters.</td></tr><tr><td><strong>L-C units in EMTP (.pun) file</strong></td><td>The units from the pun file can be taken using two options:<br>- mH/km, uF/km (0): Inductance (L) and capacitance (C).<br>- Ohm/km, uS/km (1): Inductive reactance (Xl) and capacitive susceptance (1/Xc).</td></tr><tr><td><strong>R</strong></td><td>Per‑unit‑length resistance [Ω/km], R [-1e64, 1e64'].</td></tr><tr><td><strong>L</strong></td><td>Per‑unit‑length inductance [H/km], L [-1e64, 1e64].</td></tr><tr><td><strong>C</strong></td><td>Per‑unit‑length capacitance [F/km], C [-1e64, 1e64].</td></tr><tr><td><strong>Line Length</strong></td><td>The length of the line [km], length [0, 1e64].</td></tr><tr><td><strong>Base power (perPhase)</strong></td><td>Base value for per‑unit conversion [MVA per phase], pBase = [1, 1e64].</td></tr><tr><td><strong>Base voltage (rmsLN)</strong></td><td>Base value for per‑unit conversion [kV rms LN],vBase [1, 1e64].</td></tr><tr><td><strong>Base frequency</strong></td><td>Base value for per‑unit conversion [Hz],fBase [1, 1e64] .</td></tr></tbody></table>

## 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.

<table><thead><tr><th width="200.4000244140625">Signal</th><th>Description</th></tr></thead><tbody><tr><td><strong>I(1,2)_Node(1,2)</strong></td><td>Current (A)</td></tr><tr><td><strong>V_Node(1,2)</strong></td><td>Bus Voltage (V)</td></tr><tr><td><strong>P(1,2)_Node(1,2)</strong></td><td>Active power on bus (1,2) (W)</td></tr><tr><td><strong>Q(1,2)_Node(1,2)</strong></td><td>Reactive power on bus (1,2) (VAR)</td></tr></tbody></table>

{% 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

1. 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-1-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.
