CIM IEC 61968-13 Reader#
The CIM reader parses an IEC 61968-13 CIM/XML file into a GDM
DistributionSystem. It uses rdflib to query
the RDF graph embedded in the XML and maps CIM classes to GDM components.
Parsed Component Coverage#
The reader currently maps CIM data into these primary GDM components:
DistributionBusDistributionLoadDistributionCapacitorDistributionVoltageSourceDistributionBatteryMatrixImpedanceBranchDistributionTransformerDistributionRegulatorMatrixImpedanceSwitch
Battery support is provided through CIM BatteryUnit and
PowerElectronicsConnection data.
Reader Interface#
- class ditto.readers.cim_iec_61968_13.reader.Reader(cim_file: str | Path)#
Bases:
AbstractReader- get_system() DistributionSystem#
Parse the source model and return the built system.
- Returns:
- A fully-populated
infrasys.System(or subclass) containing all parsed distribution components.
- A fully-populated
- Return type:
System
SPARQL Queries#
CIM-to-GDM Mapper#
- class ditto.readers.cim_iec_61968_13.cim_mapper.CimMapper(system: DistributionSystem)#