Skip to main content

URBANopt District Energy Systems (DES)

Overview

The URBANopt District Energy Systems (DES) Package is an extension of the URBANopt SDK designed to analyze the results of URBANopt simulated district energy systems. This package combines results from OpenStudio/EnergyPlus with results from Modelica/Buildings Library to provide detailed thermal and energy performance analysis at a district scale.

This project pulls in the GeoJSON to Modelica Translator (and required dependencies).

Installation

pip install urbanopt-des

Developer installation

  • Clone the repository: git clone https://github.com/urbanopt/urbanopt-des.git
  • Change directories into the repository: cd urbanopt-des
  • We recommend using virtual environments on principle to avoid dependencies colliding between your Python projects. venv is the Python native solution that will work everywhere, though other options may be more user-friendly.

Once you have set up your environment:

  1. pip install -U pip setuptools poetry
    • This will update pip & setuptools, and install Poetry to manage the project
  2. poetry install
    • This installs the project and all dependencies
  3. Activate pre-commit (only once, after making a new venv): poetry run pre-commit install
    • Runs automatically on your staged changes before every commit
    • Includes linting and formatting via ruff
    • To check the whole repo, run poetry run pre-commit run --all-files
      • Settings and documentation links for pre-commit and ruff are in .pre-commit-config.yaml and ruff.toml
      • Pre-commit will run automatically during CI, linting and formatting the entire repository.

Testing

Tests are run with poetry run pytest

Test output will be in tests/test_output/

Example Projects

Example projects leveraging this library will be shared shortly.

Release Instructions

  1. Create a branch named Release 0.x.y
  2. Update version in pyproject.toml
  3. Update CHANGELOG using GitHub's "Autogenerate Change Log" feature, using develop as the target
  4. After tests pass, squash merge branch into develop
  5. From local command line, merge develop into main with: git switch main; git pull; git merge --ff-only origin develop; git push
  6. In GitHub, tag the release. Copy and paste the changelog entry into the notes. Verify the release is posted to PyPI.

License

This package is released under the BSD-3-Clause License. See the LICENSE file for details.

Contact

For questions or issues on the URBANopt DES project, please open a GitHub Issue or reach out to the URBANopt DES team at URBANopt DES Support. General URBANopt documentation can be found at https://docs.urbanopt.net.

Metadata

Release files for urbanopt-des 0.3.0

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

Source distribution (sdist)

Source distribution for urbanopt-des 0.3.0
File Size Uploaded
urbanopt_des-0.3.0.tar.gz 10.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for urbanopt-des 0.3.0
File Interpreter ABI Platform
urbanopt_des-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 20.3 MB

Release files / urbanopt_des-0.3.0.tar.gz

Download URL urbanopt_des-0.3.0.tar.gz
Size 10.0 MB
Tags Source
SHA-256 checksum
How to use checksums
f4fefab19dcddfd121bf3beb1da5c702a0302dff115fd2923d114801c69a63a6
BLAKE2b-256 checksum
How to use checksums
0de1788c27bd2de11033e77293e30198b8d25838246d99570305f50199bbf2b6
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 16, 2026.

Transparency log

Release files / urbanopt_des-0.3.0-py3-none-any.whl

Download URL urbanopt_des-0.3.0-py3-none-any.whl
Size 10.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
1e5fba67c95c80c7b0c4f00337235e17024bb4737d31b63c5bd3392b9662a288
BLAKE2b-256 checksum
How to use checksums
0e7bc714137bdc663216442c0c57737e0a17bd82564919fa86b4342e012175be
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 16, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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