User guide¶
You have an OpenDSS deck and want CIM, or a CIM model and want a deck. This guide runs both directions on the IEEE 13-node deck that ships in the repository's tests.
-
Getting started
Installation, then a quick start notebook that reads the deck, imports it to CIM, looks at the
.cimtbltext and exports a deck. -
Converting
Import (deck to CIM): options, the artifact files, what raises. Export (CIM to deck): names, the circuit source, switch state, what raises. Round trip: checking a converted deck against the original.
-
What converts
What converts lists every DSS class the importer and exporter handle, and the ones they skip. The conversion reference gives each class's CIM mapping.
The pipeline¶
flowchart LR
deck[".dss deck"] -->|DssReader| model["DssModel"]
model -->|DssImporter| tbl[".cimtbl text"]
tbl -->|cimtables| cim["CIM network"]
cim -->|DssExporter| model2["DssModel"]
model2 -->|DssWriter| deck2[".dss deck"]
dss_to_cim runs the middle row (model to CIM) and cim_to_dss the last two steps. The shared parts of the
pipeline, the .cimtbl contract and the getters that read CIM, are documented in
CIMHub core.