Trending

World technology news

→
Switchgear and a transformer at an electrical substation.
PyPIIn-depth report

CIM Topology Processor packages Python tools for electrical grid topology in a new alpha

The 0.1.2a3 distribution includes code for connected areas, topological nodes and islands in CIM18 grid models.

·PyPI
Reading progress0%

From an equipment model to a connectivity view

CIM Topology Processor 0.1.2a3 appeared on PyPI at 01:51:01 on November 29 in Istanbul. The version also appears in Open Source Insights. The downloaded wheel matched the registry digest and contains a common network layer and separate CIM17 and CIM18 modules. The software derives connectivity information from a supplied grid model. An analysis can use that view to interpret how equipment would be grouped under the modeled switch states. Model quality and the choice of CIM profile still matter. This is an alpha package intended for evaluation.

A transition between two model profiles

The project metadata describes a transition from CIM17 to CIM18 for distribution topology. It keeps older CIM17 code as a reference against which the new behaviour can be compared. The wheel includes CIM18 modules for connected areas, topological nodes, bus numbering and islands. A migration can record the input profile and the software version beside each result. The ability to load a file is only the first check. Verify that the expected equipment belongs to the same electrical grouping and that modelling assumptions are equivalent.

What an open switch represents

Imagine two buses that share a closed connection. Opening that connection can separate their electrical areas if there is no alternate path. The model supplies the switch state and the connection endpoints. The output describes connectivity under those inputs. It does not add independent observations from an operating grid. Test fixtures can compare a single-path network with one that also has a second connection. Both cases can verify which pieces stay grouped when a switch is changed. The expected members of each group offer more detail than an island count alone.

Keep equipment identifiers in the comparison

A topology result can assign new bus numbers or derived node identifiers. Preserve the source equipment identifiers when comparing two runs. Renumbered buses can still represent the same underlying grouping. Conversely, the same equipment can move to another grouping when switch states change. Record the equipment membership and the modeled conditions. A small regression fixture can prove both the separation case and the alternate-path case. The package inspection established which modules were shipped. It did not run a grid model or analyze operational data.

Treat alpha dependencies as part of the fixture

The package metadata specifies a Python requirement beginning at 3.10 and constraints for related model libraries. Record those versions with the chosen CIM profile and source fixture. An output can be evaluated by comparing the expected equipment groups and noting where a change in switch state changes membership. Reusing the fixture under a later alpha separates a software change from a revision to the input network. The accompanying archive photograph shows substation equipment and illustrates the engineering domain.

Photo · Bob Harvey / Wikimedia Commons. Resized and converted to WebP. ↗ · CC BY-SA 2.0

Sources and verification
Be the first reader ✎ Write a comment

Reader discussion

Discussion prompt

Which alternative architecture would you try for the same problem?

No comments yet. Be the first to contribute.

Write a comment

Comments are real visitor contributions. Repeated, link-heavy or abusive submissions may be limited.