Skip to main content

No project description provided

Project description

District Energy System(DES)

This project uses the mosaik package to simulate heat pump in conjuction with a CHP unit to meet the heat and electricity demand of a housing district.

Installation

To get started first create a new conda env with: conda create --name myenv python=3.10.13

Second, activate the environment and install the package: conda activate myenv pip install .

(If you plan to modify the core models in the src/ folder, install in editable mode instead using pip install -e .)

After that you can run the simulation script from the project root with: python main_sim.py

Note: Configuration is pulled from data/inputs/input_params.json, and outputs are saved to data/outputs/.

Installing dependencies

Install the recommended dependencies with:

pip install . docs

Documentation

The documentation for the individual models is available here

Recommended vscode-extensions

  • GitLens -Git supercharged: Nice graphical git support
  • autopep8: Autoformatting in pep8. Install and press (strg+alt+F)
  • Better Comments: Highlighting of comments syntax
  • Code Spell Checker: Spelling checker
  • Drawio.io Integration: UML-Diagrams, etc. in vs-code
  • Edit csv: Editing csv files like tables in excel
  • Rainbow CSV: Color highlighting in csv files
  • autoDocstring: Python Docstring generator (Generates Docstrings in different styles (Google, sphinx, etc...))

Note:

src Folder:

  • Do not rename it to "code". It will cause name clashes with the internal python module "code".

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

des_sim-1.0.1.tar.gz (43.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

des_sim-1.0.1-py3-none-any.whl (52.0 kB view details)

Uploaded Python 3

File details

Details for the file des_sim-1.0.1.tar.gz.

File metadata

  • Download URL: des_sim-1.0.1.tar.gz
  • Upload date:
  • Size: 43.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for des_sim-1.0.1.tar.gz
Algorithm Hash digest
SHA256 51d307bf009b851195f6c06dd1aa64b35f0d6a36f8405342610dd8a8ee33115a
MD5 bb8010c65d2dfae1ca90d89302df364e
BLAKE2b-256 a175177783ab165ab42c7db447a457b8ea13094fcbed18d60ec4b4b62589a8a7

See more details on using hashes here.

File details

Details for the file des_sim-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: des_sim-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 52.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for des_sim-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 66f99d382e3bf4f7f59491a16c376837192e8b970211ac2d078c316a4e97e366
MD5 d1437ad39c50ba6a811669dc9a17ad60
BLAKE2b-256 8c2290ecfe87678d0915c678d81b9111b377690b4634705c6747f178c3e30c25

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page