Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Cimhub OpenDSS

Bidirectional converter between OpenDSS and CIM (IEC 61968/61970) using the cimhub_2026 profile.

Usage

DSS to CIM (Import)

import os
os.environ['CIMG_USE_UNITS'] = 'TRUE'
os.environ['CIMG_CIM_PROFILE'] = 'cimhub_2026'

from cimhub_opendss.importer.dss_to_cim import dss_to_cim

feeder = dss_to_cim("/path/to/Master.dss")

CIM to DSS (Export)

from cimhub_opendss.exporter.cim_to_dss import cim_to_dss

cim_to_dss(feeder, "/path/to/output_dir")
# Writes Master.dss + per-component .dss files

Roundtrip Validation

A full DSS -> CIM -> DSS roundtrip integration test is provided for the IEEE 13-bus feeder:

uv run python cimhub_opendss/tests/test_ieee13_roundtrip.py
# or via pytest:
uv run pytest cimhub_opendss/tests/test_ieee13_roundtrip.py -vs

The roundtrip parses the IEEE 13-bus DSS model, imports to CIM, exports back to DSS, solves both models with OpenDSS, and compares total power and bus voltages. Current accuracy is within 0.14% on active power (4.4 kW on a 3230 kW system).

Models

Mandatory

  • Power Transformer
  • Transformers
  • Regulator Controls
  • Line Code
  • Line
  • Capacitor
  • Load
  • PV System
  • Storage
  • Switch
  • Fuse
  • Recloser
  • Breaker
  • Generator
  • CNData (importer only)
  • TSData (importer only)
  • Line Geometry (importer only)
  • Line Spacing (importer only)
  • Wire Data
  • XY Curve

As Needed

  • GIC Transformer
  • GIC Line
  • Induction Machine
  • UPFC Device
  • Wind Generator
  • Capacitor Control
  • Inverter Control
  • Storage Control
  • Switch Control
  • UPFC Control

Metadata

Release files for cimhub_opendss 2.0.0a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cimhub_opendss 2.0.0a1
File Size Uploaded Provenance Actions
cimhub_opendss-2.0.0a1.tar.gz 317.9 kB With provenance Details for cimhub_opendss-2.0.0a1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cimhub_opendss 2.0.0a1
File Interpreter ABI Platform Actions
cimhub_opendss-2.0.0a1-py3-none-any.whl Python 3 none any Details for cimhub_opendss-2.0.0a1-py3-none-any.whl

Total release size: 662.7 kB

Release files / cimhub_opendss-2.0.0a1.tar.gz

Download URL cimhub_opendss-2.0.0a1.tar.gz
Size 317.9 kB
Tags Source
SHA-256 checksum
How to use checksums
142a452fae3646a498c769a0e638f7345b10c61798bf24bcc860ebf5035adeb5
BLAKE2b-256 checksum
How to use checksums
f42f7f1511eea479446d7e2d88acefe11990e3157f37538719fbd71e1afe75c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 17, 2026.

Transparency log

Release files / cimhub_opendss-2.0.0a1-py3-none-any.whl

Download URL cimhub_opendss-2.0.0a1-py3-none-any.whl
Size 344.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d75fbd9b7a37e463918e6caa3bbc15f931a3214f5d0ca60809df910532917c7f
BLAKE2b-256 checksum
How to use checksums
444cd6b109f885b821fe4e02535b1d4ac2a838d284340a6b26f5223c6c0841e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 17, 2026.

Transparency log

Security for cimhub_opendss 2.0.0a1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for cimhub_opendss-2.0.0a1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 17, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page