This package provides an open toolbox for district heating and cooling network optimization and simulation models.
The aim of DHNx is to provide a toolbox for building models of district heating/cooling systems.
If you have a working Python3 environment, use pypi to install the latest DHNx version:
pip install dhnx
Install the developer version of DHNx by cloning DHNx to your computer and running
pip install -e <path to DHNx>
in your virtualenv.
Check out the examples to get started.
The documentation (work in progress) can be found here https://dhnx.readthedocs.io/en/latest/. To build the docs locally using sphinx-build run the following in a terminal.
sphinx-build docs <build-dir>
Everybody is welcome to contribute to the development of DHNx. The developer guidelines of oemof are in most parts equally applicable to DHNx.
We use the zenodo project to get a DOI for each version. Search zenodo for the right citation of your DHNx version.
If you want to refer specifically to the district heating network optimization part of DHNx, you can also cite https://doi.org/10.5278/ijsepm.6248.
Copyright (c) 2020 oemof developing group
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.