ThermalNetwork
A library for sizing multiple ground heat exchangers distributed around a single-pipe thermal network.
https://github.com/NatLabRockies/ThermalNetwork
Category: Renewable Energy
Sub Category: Geothermal Energy
Keywords from Contributors
buildings energyplus urban-energy-modeling
Last synced: about 20 hours ago
JSON representation
Repository metadata
- Host: GitHub
- URL: https://github.com/NatLabRockies/ThermalNetwork
- Owner: NatLabRockies
- License: bsd-3-clause
- Created: 2023-07-13T19:16:05.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2026-01-27T20:14:18.000Z (19 days ago)
- Last Synced: 2026-02-08T06:28:22.208Z (8 days ago)
- Language: Python
- Size: 33.2 MB
- Stars: 5
- Watchers: 5
- Forks: 9
- Open Issues: 1
- Releases: 20
-
Metadata Files:
- Readme: README.md
- License: LICENSE
README.md
ThermalNetwork
A library for sizing multiple ground heat exchangers distributed around a single-pipe thermal network.
Installation
pip install ThermalNetwork
Documentation
Available at https://nrel.github.io/ThermalNetwork/
Usage
This package has a command-line interface, intended to be used via URBANopt. To access the CLI directly, after installing call thermalnetwork --help for all the commands.
Developer installation
- Clone the repository:
git clone https://github.com/NREL/ThermalNetwork.git - Change directories into the repository:
cd ThermalNetwork - 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:
- Update pip and setuptools:
pip install -U pip setuptools - Install the repository with developer dependencies:
pip install -e .[dev] - Activate pre-commit (only once, after making a new venv):
pre-commit install- Runs automatically on your staged changes before every commit
- Includes linting and formatting via ruff
- To check the whole repo, 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
Once you are set up as a developer, run pytest from the root dir. Increase verbosity with -v and -vv.
Test coverage results will be saved to htmlcov/index.html.
Test files are in tests/
Test output will be written to tests/test_output/
Releasing
Versioning is done by GitHub tag, thanks to SetupTools-SCM. Use semantic versioning when tagging. When a new release is made in GitHub, a workflow automatically publishes to PyPI.
Owner metadata
- Name: National Laboratory of the Rockies
- Login: NatLabRockies
- Email:
- Kind: organization
- Description:
- Website: http://www.nrel.gov
- Location: Golden, CO
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/1906800?v=4
- Repositories: 599
- Last ynced at: 2026-01-22T09:57:55.744Z
- Profile URL: https://github.com/NatLabRockies
GitHub Events
Total
- Pull request event: 2
- Push event: 1
Last Year
- Pull request event: 2
- Push event: 1
Committers metadata
Last synced: 3 days ago
Total Commits: 273
Total Committers: 8
Avg Commits per committer: 34.125
Development Distribution Score (DDS): 0.575
Commits in past year: 88
Committers in past year: 6
Avg Commits per committer in past year: 14.667
Development Distribution Score (DDS) in past year: 0.42
| Name | Commits | |
|---|---|---|
| Nathan Moore | n****e@n****v | 116 |
| Matt Mitchell | m****l@n****v | 67 |
| brianlball | b****l@n****v | 45 |
| kflemin | 2****n | 27 |
| Tanushree | t****n@n****v | 7 |
| Chris Mackey | c****s@l****s | 5 |
| dependabot[bot] | 4****] | 3 |
| Nicholas Long | n****g@n****v | 3 |
Committer domains:
- nrel.gov: 5
- ladybug.tools: 1
Issue and Pull Request metadata
Last synced: 18 days ago
Total issues: 0
Total pull requests: 2
Average time to close issues: N/A
Average time to close pull requests: about 18 hours
Total issue authors: 0
Total pull request authors: 2
Average comments per issue: 0
Average comments per pull request: 0.0
Merged pull request: 2
Bot issues: 0
Bot pull requests: 1
Past year issues: 0
Past year pull requests: 2
Past year average time to close issues: N/A
Past year average time to close pull requests: about 18 hours
Past year issue authors: 0
Past year pull request authors: 2
Past year average comments per issue: 0
Past year average comments per pull request: 0.0
Past year merged pull request: 2
Past year bot issues: 0
Past year bot pull requests: 1
Top Issue Authors
Top Pull Request Authors
- kflemin (1)
- dependabot[bot] (1)
Top Issue Labels
Top Pull Request Labels
- dependencies (1)
- python (1)
Package metadata
- Total packages: 1
-
Total downloads:
- pypi: 472 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 17
- Total maintainers: 3
pypi.org: thermalnetwork
A thermal network solver for GHE sizing.
- Homepage: https://github.com/NatLabRockies/ThermalNetwork
- Documentation: https://thermalnetwork.readthedocs.io/
- Licenses: bsd-3-clause
- Latest release: 0.5.0 (published 19 days ago)
- Last Synced: 2026-02-13T01:01:21.451Z (3 days ago)
- Versions: 17
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 472 Last month
-
Rankings:
- Dependent packages count: 7.519%
- Average: 31.408%
- Dependent repos count: 55.297%
- Maintainers (3)
Score: 10.034515814942532