Program 02 · Line & Transformer Data
One completed line record.
Three sources brought together.
Completing a line requires both terminal IDs, a matching conductor parameter record, and calculations for the full line length. Similar names alone are not enough.
Fully synthetic data · Illustrates the processing approach
Source 1: line worksheet
| Start | End | Voltage (kV) | Conductor specification | Length (km) |
|---|---|---|---|---|
| Qinghe | Yunling | 220 | Synthetic Spec A | 20 |
Source 2: 03 Bus Data
Look up the connection IDs required by the output template. Check station name, voltage, and candidate uniqueness for each terminal separately.
| Station | Voltage (kV) | Bus ID |
|---|---|---|
| Qinghe | 220 | B-201 |
| Yunling | 220 | B-202 |
Source 3: conductor parameters
Both specification and voltage must match before a parameter row can be used. The specification and values here are independently invented.
| Specification | Voltage (kV) | Per-unit resistance per km |
|---|---|---|
| Synthetic Spec A | 220 | 0.0002 p.u./km |
Combine into one line record
Multiply resistance per kilometre by line length to obtain the full line's positive-sequence resistance. This example covers that field only; other parameters follow their own rules. A per-unit value is a quantity expressed relative to a chosen base, allowing comparison on a common scale.
| Start ID | End ID | Length (km) | Positive-sequence resistance (p.u.) |
|---|---|---|---|
| B-201Qinghe · 220 kV | B-202Yunling · 220 kV | 20Source line worksheet | 0.0040.0002 × 20 |
Exception: same station name, different voltage
For a source terminal Xingchuan / 220 kV, a candidate Xingchuan / 500 kV is ineligible. Leave that ID empty and flag it for review. The other terminal is assessed independently; one successful match does not validate the whole line.
Program 02 also handles transformers
Match each transformer side to its bus and parse capacity fields under the agreed rules. Transformers share reference data with lines but have their own field rules and produce 05 Transformer Parameters. The line formula shown here does not apply to transformer parameters.