No project description provided
Project description
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.
- Some popular alternatives are:
- pyenv and the virtualenv plugin work together nicely for Linux/Mac machines
- virtualenv
- miniconda
- uv
- Some popular alternatives are:
Once you have set up your environment:
pip install -U pip setuptools poetry- This will update pip & setuptools, and install Poetry to manage the project
poetry install- This installs the project and all dependencies
- 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
- Create a branch named
Release 0.x. - Update version in pyproject.toml
- Update CHANGELOG using GitHub's "Autogenerate Change Log" feature, using
developas the target - After tests pass, squash merge branch into develop
- From local command line, merge develop into main with:
git checkout main; git pull; git merge --ff-only origin develop; git push - In GitHub, tag the release against main. 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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file urbanopt_des-0.1.1.tar.gz.
File metadata
- Download URL: urbanopt_des-0.1.1.tar.gz
- Upload date:
- Size: 10.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ecd77ccc5a958c4b3868a8bec64a821564c130c40fc1894c860bfbcf0ecd8ea
|
|
| MD5 |
16f4d8897d6ce72658490c3b7eaf4697
|
|
| BLAKE2b-256 |
937c0215235f4202c99ad0d08ce54db3e127156be844d8b1f7d00182a41428fd
|
Provenance
The following attestation bundles were made for urbanopt_des-0.1.1.tar.gz:
Publisher:
pypi_release.yml on urbanopt/urbanopt-des
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
urbanopt_des-0.1.1.tar.gz -
Subject digest:
3ecd77ccc5a958c4b3868a8bec64a821564c130c40fc1894c860bfbcf0ecd8ea - Sigstore transparency entry: 260529854
- Sigstore integration time:
-
Permalink:
urbanopt/urbanopt-des@044b984607f882ed4bb1b3a4e8f7b4aef629fad8 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/urbanopt
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi_release.yml@044b984607f882ed4bb1b3a4e8f7b4aef629fad8 -
Trigger Event:
release
-
Statement type:
File details
Details for the file urbanopt_des-0.1.1-py3-none-any.whl.
File metadata
- Download URL: urbanopt_des-0.1.1-py3-none-any.whl
- Upload date:
- Size: 10.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
132e95019d1e89560ca2f056833515717667894bc8e40af45c233204d67d2fe6
|
|
| MD5 |
8630ee4e63d00da92f3a172dc36cd6fb
|
|
| BLAKE2b-256 |
dc520486ac9c0a3a518fcf955efdcb4dfb4cf6ccc534ba44bda4cb4630c1f62f
|
Provenance
The following attestation bundles were made for urbanopt_des-0.1.1-py3-none-any.whl:
Publisher:
pypi_release.yml on urbanopt/urbanopt-des
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
urbanopt_des-0.1.1-py3-none-any.whl -
Subject digest:
132e95019d1e89560ca2f056833515717667894bc8e40af45c233204d67d2fe6 - Sigstore transparency entry: 260529862
- Sigstore integration time:
-
Permalink:
urbanopt/urbanopt-des@044b984607f882ed4bb1b3a4e8f7b4aef629fad8 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/urbanopt
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi_release.yml@044b984607f882ed4bb1b3a4e8f7b4aef629fad8 -
Trigger Event:
release
-
Statement type: