Skip to content

Program 03 · Bus Load Data

Find the connection ID.
Preserve every original load record.

Two load records may connect at the same location. Look up the ID, fill each row, and verify that names, active load values, and row order stay unchanged.

Fully synthetic data · Illustrates the processing approach

Source: both rows must be preserved

Source load worksheet · Key fields
Load IDOriginal nameActive load (MW)
L-017Yunling130
L-018Yunling245

Lookup source: generated 03 Bus Data

03 Bus Data provides the connection IDs required by the output template. Try the full name first. Only when that name is absent may a controlled fallback be used.

Yunling1, Yunling2 → Yunling

Neither full name exists in this example's bus data. The lookup falls back to Yunling while the original names remain unchanged.

03 Bus Data · Example fields
Reference nameBus IDEligibility check
YunlingB-202Meets matching conditions

Output: two rows share one connection ID

07 Bus Load Data · Key fields
Load IDOriginal nameActive load (MW)Connection ID
L-017Yunling130B-202Bus data: Yunling
L-018Yunling245B-202Bus data: Yunling

Verified: 2 input rows → 2 output rows. Original load IDs, names, values, and order are preserved. No rows are merged and no load values are converted.

Exception: more than one eligible ID

In a separate synthetic scenario, Songyuan has two eligible candidates, B-801 and B-802. This candidate set is independent of the main example. The program leaves the connection ID empty and flags it for review. If a full-name match exists but is ambiguous, it does not bypass the ambiguity by trying a fallback.