Documentation
Guide to cim-kit: reading and writing CGMES model sets, validating them against the profile, exporting typed RDF, and computing difference models.
cim-kit is a Rust library and command line for IEC CIM grid models in CGMES 3.0 (IEC TS 61970-600-1/-2:2021) and CGMES 2.4.15. The per-item API reference is on docs.rs.
| If you want to | Read |
|---|---|
| Load a model and look at it | Getting started |
| Understand profile sets | Concepts |
| Read files, write them back, handle archives | Reading and writing |
| Check a model against the profile | Validation |
| Hand a model to a triple store or SHACL engine | Standard RDF |
| Send only what changed | Difference models |
| Do all of that from a shell | Command line |
| Know what is verified | Conformance · Performance |
| Vintages | CGMES 3.0 (cgmes3, default), CGMES 2.4.15 (cgmes2) |
| Profiles | EQ, OP, SC, EQBD, SSH, TP, SV, DL, GL, DY, header — plus TPBD in 2.4.15 |
| Formats | CIM/XML (IEC 61970-552) read and write, dm:DifferenceModel read/apply/write/compute, N-Triples and Turtle out, zip archives |
| Dependencies | one mandatory: quick-xml. zip is optional |
| MSRV | 1.88 |
| License | MIT OR Apache-2.0 |