Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

District Energy Model (DEM)

District Energy Model (DEM) is a Python-based multi-energy system model for simulating energy demand, generation, storage, and optimisation at the district and municipal scale with a focus on decentralised renewable energy technologies. The model is developed at HSLU CC TES in the framework of the SWEET EDGE project.


Documentation

Documentation is available on Read The Docs.

Short Description

The District Energy Model (DEM) is a Python-based linear multi-energy system model designed to simulate energy flows at the district scale with hourly resolution. A “district” in this context can refer to anything from a small group of buildings to an entire municipality or city.

DEM combines building-level heat and electricity demand with aggregated energy generation, conversion, and storage technologies at the district level. Unlike many other tools, it does not rely on manual parameterization. Instead, the model automatically configures itself using publicly available data on buildings, energy resources, and existing energy systems. This allows simulations to be performed for any Swiss municipality without requiring additional local data.

The typical workflow consists of:

  1. Automatic collection of climate, building, and technology data for the selected district or buildings.

  2. User specification of the technology scope (e.g., generation, conversion, storage) and adjustment of key parameters such as efficiency or capacity.

  3. Scenario definition.

  4. Simulation of energy balances.

  5. Generation of outputs for analysis.

In addition to simulation, DEM also supports MILP optimization of design and operation.

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Metadata

Release files for district-energy-model 0.1.0rc2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for district-energy-model 0.1.0rc2
File Size Uploaded
district_energy_model-0.1.0rc2.tar.gz 465.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for district-energy-model 0.1.0rc2
File Interpreter ABI Platform
district_energy_model-0.1.0rc2-py3-none-any.whl Python 3 none any Details

Total release size: 709.2 kB

Release files / district_energy_model-0.1.0rc2.tar.gz

Download URL district_energy_model-0.1.0rc2.tar.gz
Size 465.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f6cccf872f73224f5e323b1b0929cdda662785c89e0f31554c766829187ebcfd
BLAKE2b-256 checksum
How to use checksums
d4d675cdca243c5afe60a59114052a125c922d5e773f3268c657df1ae7555904
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.16

Release files / district_energy_model-0.1.0rc2-py3-none-any.whl

Download URL district_energy_model-0.1.0rc2-py3-none-any.whl
Size 244.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77253ecfd8b27054ca738c91c343df8233ea2eb4bf5b2f600e46723406f305ab
BLAKE2b-256 checksum
How to use checksums
c07822c47f2ea16e49b3e5151c815eed9565aae80b3dba698c26f001909dd73f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.16
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page