Skip to content

Model Coverage

This page summarizes which CIM classes the DistOPF exporter handles and the state of the importer. The DistOPF CSV format itself is defined by the LinkML schema rendered under Schema Reference.

Export Coverage (CIM → DistOPF)

CIM class DistOPF record Notes
ConnectivityNode BusRecord one bus per node
ACLineSegment BranchRecord line branches
PowerTransformer BranchRecord transformer / tank branches
LoadBreakSwitch, Breaker, Fuse, Recloser BranchRecord switching devices as branches
RatioTapChanger RegulatorRecord voltage regulators
LinearShuntCompensator CapacitorRecord capacitor banks
BatteryUnit BatteryRecord storage
PowerElectronicsConnection GeneratorRecord PV / generation (batteries handled by BatteryUnit)

Import Coverage (DistOPF → CIM)

The reader parses all DistOPF record types (bus, branch, generator, capacitor, battery, regulator, schedule) into typed LinkML records.

CIM construction in progress

distopf_to_cim returns parsed DistOPF records; construction of CIM objects from those records (the per-type importer converters) is being wired into the importer registry. The exporter is the mature CIM ↔ DistOPF path today.

Architecture

LinkML YAML  →  distopf_schema.py  →  GraphModel  →  DistopfReader / DistopfWriter
                                  DistopfImporter / DistopfExporter