---
jupytext:
text_representation:
extension: .md
format_name: myst
format_version: 0.13
jupytext_version: 1.13.8
kernelspec:
display_name: 'Python 3'
name: python3
---
(ac_line)=
# ac_line
A power line where the flow is determined by ptdf factors.
| | |
|---|---|
|Input connections|{ref}`busbar`|
|Output connections|{ref}`busbar`|
|License|SHOP_OPEN|
|Release version|14.3.4.0|
```{contents}
:local:
:depth: 1
```
## Examples
- [](power-flow-example)
## Attributes
```{code-cell} ipython3
:tags: ['remove-input', 'full-width']
from IPython.core.display import HTML
HTML("""
""")
```
(ac_line:max_forward_flow)=
### max_forward_flow
Maximum transfer capacity in forward direction (xUnit: NO_UNIT, yUnit: MW)
(ac_line:max_backward_flow)=
### max_backward_flow
Maximum transfer capacity in backward direction (xUnit: NO_UNIT, yUnit: MW)
(ac_line:n_loss_segments)=
### n_loss_segments
Number of segments for linearization of quadratic loss (xUnit: NO_UNIT, yUnit: NO_UNIT)
(ac_line:loss_factor_linear)=
### loss_factor_linear
Loss factor multiplied with absolute value of the flow in the line (xUnit: NO_UNIT, yUnit: NO_UNIT)
(ac_line:loss_factor_quadratic)=
### loss_factor_quadratic
Loss factor multiplied with the square of the flow in the line. The calcualtion is linearized with the number of steps defined by n_loss_segments (xUnit: NO_UNIT, yUnit: NO_UNIT)
(ac_line:flow)=
### flow
Flow through the line (xUnit: NO_UNIT, yUnit: MW)
(ac_line:forward_loss)=
### forward_loss
Transmission loss for flow in forward direction of the line (xUnit: NO_UNIT, yUnit: MW)
(ac_line:backward_loss)=
### backward_loss
Transmission loss for flow in backward direction of the line (xUnit: NO_UNIT, yUnit: MW)