User guide¶
.cimtbl is CIM written as tables. This guide covers writing a model and loading it from Python. To change
cimtables itself, see the developer docs.
-
Getting started
Installation and a quick start notebook that loads a small feeder and looks inside it.
-
Writing a model
The format: statements, cells, references and
Import. Then connectivity and phases, units and impedance bases, and error messages. -
Using it from Python
The Python API:
load_model,load,to_documents,documentanddiff_models. CIM XML to .cimtbl converts an existing CIM model and loads it back.
The idea in four lines¶
- Every table is a CIM class:
Table ACLineSegment:. - Every column header is a CIM attribute or association name:
length,BaseVoltage,PerLengthImpedance. - Every row is one CIM object.
- Units are written once, on the column header (
length (ft),p (kW),r0 (pu)), and converted for you.
There is no mapping from a native format to CIM, because the vocabulary is CIM. If the profile has a class or attribute you can write it; if it doesn't, the error points at the line.