User guide¶
You have a PSS/E RAW v34 case and want CIM, or a CIM model and want a .raw. This guide runs both directions on the
IEEE 14-bus case that ships in the repository's tests.
-
Getting started
Installation, then a quick start notebook that reads the case, imports it to CIM, looks at the
.cimtbltext and exports a.raw. -
Converting
Import (
.rawto CIM): reader and importer options, the artifact files, the system base, what raises. Export (CIM to.raw): bus numbers and IDs, the AREA trace, ratings, what raises. Round trip: what comes back unchanged, what changes and the checks that cover it. -
What converts
What converts lists every RAW table the importer and exporter handle, and the ones they skip. The conversion reference gives each table's CIM mapping.
The pipeline¶
flowchart LR
raw[".raw"] -->|Raw34Reader| model["GraphModel"]
model -->|RawImporter| tbl[".cimtbl text"]
tbl -->|cimtables| cim["CIM network"]
cim -->|RawExporter| model2["GraphModel"]
model2 -->|Raw34Writer| raw2[".raw"]
raw_to_cim runs the middle row (records to CIM) and cim_to_raw the last two steps. The shared parts of the
pipeline, the .cimtbl contract and the getters that read CIM, are documented in
CIMHub core.