Skip to main content

Module case_diff

Module case_diff 

Source
Expand description

Network case diff utility.

Compares two Network objects and produces a structured diff showing buses, branches, and generators that were added, removed, or modified. Useful for verifying parser round-trips and inspecting contingency effects.

Structs§

BranchDiff
Diff entry for a branch. Modified fields are Some with (old, new).
BusDiff
Diff entry for a bus. Modified fields are Some with (old, new).
CaseDiff
Structured diff between two networks.
GenDiff
Diff entry for a generator. Modified fields are Some with (old, new).
LoadDiff
Diff entry for a load. Modified fields are Some with (old, new).

Enums§

DiffKind
Kind of change detected for an element.

Functions§

diff_networks
Produce a structured diff between two Network objects.