Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Line

Input for defining an AC transmission line in the detailed grid model.

A line is a detailed grid object connecting two busbars and allows power flow between them. The electrical characteristics of the line are defined through resistance, reactance and voltage level.

If the busbars in attributes from_busbar_id and to_busbar_id are not already defined in separate busbar objects they are automatically added with default values.

Input

The line object must include the following required input in bold:

Required input

ParameterTypeDescription
namestringObject name
from_busbar_idintBusbar identifier for the line’s start node
to_busbar_idintBusbar identifier for the line’s end node
resistancedoubleLine resistance [Ohm]
reactancedoubleLine reactance [Ohm]
base_voltagedoubleBase voltage level [kV]
#commentstringUser comment

Minimal example JSON

Minimal example JSON

Minimal example

{
    "name": "Line_101_102",
    "from_busbar_id": 101,
    "to_busbar_id": 102,
    "resistance": 0.15,
    "reactance": 1.20,
    "base_voltage": 420.0
}

Notes

The values of from_busbar_id and to_busbar_id define both the connection points and the positive flow direction of the line.

Lineoutages may be specified separately using Line outage. When a lineoutage is activated, new load-flow calculations and PTDFs are generated for the affected period.