Skip to content

Installation

pip install --pre cim-tables

cim-tables is imported as cimtables. It needs Python 3.10 or newer, and --pre is required for now: cim-tables is an alpha release and depends on pre-release versions of cim-graph and cim-profiles.

With uv:

uv add --prerelease allow cim-tables

Check it works

import cimtables
print(cimtables.__version__)

Which CIM profile

A .cimtbl file names its profile on the first line, Profile = cim18v17, and load_model activates it. The CIM 18 profile cim18v17 is the one tested in depth. Small node-breaker and bus-branch models are also built under CGMES 2.4 (cgmes_2_4_0, CIM 16) and CGMES 3.0 (cgmes_3_0_0, CIM 17). Other profiles from cim-profiles work in principle, since nothing in cimtables is profile-specific, but they are not covered by tests.

Example models

CIMTBL-Models holds grid models written in .cimtbl: several versions of the IEEE 13-bus feeder, small examples (a padmount transformer, a regulator, an open-wye/open-delta bank, a feeder boundary), and an IEEE 13 model tiered under a transmission system.