Skip to content

Any power-system model, through CIM

CIMHub converts native power-system formats to and from the IEC Common Information Model (CIM 18, profile cim18v17). Each format is its own package, a spoke; CIM is the hub, so any two formats convert through it. Every package has its own documentation.

  • cimhub-core


    The shared layer: the export getters that read CIM in the unit you ask for, the .cimtbl import contract, the canonical table shapes and the test harness. Start here to write a converter or read CIM from Python.

    Core docs

  • cimhub-opendss


    OpenDSS decks (.dss) to and from CIM, geometry kept as geometry.

    OpenDSS docs

  • cimhub-gridlabd


    GridLAB-D models (.glm) to and from CIM, players and schedules included.

    GridLAB-D docs

  • cimhub-raw


    PSS/E RAW v34 transmission cases to CIM, bus-branch.

    PSS/E RAW docs

  • cimhub-gdm


    grid-data-models DistributionSystem objects to and from CIM, time series included.

    Source and README

How a conversion works

flowchart LR
    dss[OpenDSS] <--> cim(("CIM<br/>cim18v17"))
    glm[GridLAB-D] <--> cim
    raw[PSS/E RAW] --> cim
    gdm[GDM] <--> cim
  • Import. A spoke reads its native file, maps every record to .cimtbl text (values verbatim, the source unit on each column header), and cimtables builds the CIM model from that text. The .cimtbl files are a reviewable record of exactly what was mapped.
  • Export. A spoke reads the CIM model through the core getters, which return plain numbers in the unit the caller asks for, and writes native records.
pip install --pre cimhub-opendss      # each spoke installs cimhub-core