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.2.tar.gz (43.1 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.2-py3-none-any.whl (51.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: des_sim-1.0.2.tar.gz
  • Upload date:
  • Size: 43.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for des_sim-1.0.2.tar.gz
Algorithm Hash digest
SHA256 d35d7070b1fb19b3707d47f19e190bf375ffe457984b3124590a666f1cea50b5
MD5 84d71a64fe2743fa358335e544c98db5
BLAKE2b-256 905db97905c7574487f7494938d664b33ff038a8c47f9fc4250efb31f352df57

See more details on using hashes here.

File details

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

File metadata

  • Download URL: des_sim-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 51.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for des_sim-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 18467b8f40ff629729d11890cc57b4511b7e36b4266611c3330aa002419a3ca7
MD5 c8603ea053ce8f1f581e5d5c04ceb2ac
BLAKE2b-256 1b182b6da5df297852810ea88a2a97630e327f144f1bade27050f1e9a1032cd9

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