Skip to main content

DAVE_core

DAVE is an softwaretool for a automatic generation of region-specific energy grid models. The resulting grid models are based on open data from different sources.

This code ist based on and explained in the following publicationat :

More on DAVE is published on the webside http://databutler.energy

Installation

pip install dave_core

You can also install the in-development version with:

pip install https://github.com/DaveFoss/DAVE_core/archive/main.zip

Documentation

https://dave-core.readthedocs.io

Development

To run all the tests run:

tox

Note, to combine the coverage data from all the tox environments run:

Windows

set PYTEST_ADDOPTS=--cov-append
tox

Other

PYTEST_ADDOPTS=--cov-append tox

What’s new in DAVE_core

These are new features and improvements of note in each release.

1.3.0 (August 23, 2024)

Added

  • Consider case sensitivity at geodata parameter

  • Return plotting and converting functions from DAVE_client

  • Tutorial for creating a grid model with DAVE_core main function

Changed

  • Changelog style

  • Authors list to DAVE_core constributers

Removed

  • building hight, heat demand and census popolation

Fixed

  • Problem with multilinestrings at medium voltage topology

Event

1.2.0 (November 20, 2023)

Added

  • Building height based on raster data

  • Extend api with functions for database managment

  • Environment files for the possibility to install DAVE via mamba

  • Converter for the multiphysical network simulator MYNTS

  • Population data from census and the possibility to request the raster data

  • Importer for data from the gassimulation softwaretool SIMONE

  • Api restriction by user role

  • Option to choose year for nuts regions (2013, 2016, 2021)

  • Geopackage as possible output format

  • Extend geographical data with more landuse information and data for waterways

Changed

  • Archiv i/o function in seperated file

  • Input parameters for geographical objects reduced to one parameter “geodata”

Removed

  • Moved dave structure functions to DAVE client

  • Moved read simone function to DAVE client

  • Moved read gaslib function to DAVE client

  • Moved io module to DAVE client

  • Moved plotting module to DAVE client

1.1.0 (November 03, 2022)

Added

  • Algorithm for automated deployment

  • Geography module and separated geographical data from grid model generation

  • Restructured target area functions

  • Different years as option for nuts regions

  • Function for intersection with considering mixed geometries

  • Topology cleanup for power and gas models

  • Gaslib converter

  • Gas component: source, sink, compressor

  • Pandapipes converter

  • Function to transform address into coordinates

Changed

  • Renamed building category from “for_living” to “residential”

  • Power components script splitted to separate scripts according to the components

  • Bus naming in ehv and hv models from “bus0/bus1” to “from/to_bus”

  • Channel for required packages to only “conda forge” because of anaconda terms changes

Fixed

  • Osm gateway timeout

  • Stack overflow error

  • Duplicate naming

Event

  • First open accessible “software as a service” platform version

  • DAVE licensed under a three clause bsd license

1.0.6 (October 20, 2021)

Added

  • Option for output folder path

  • Functions for serialization

  • Basic test structure

  • setup file

  • Uniform code style (with black) via pre-commit hooks

  • Uniform import order (with isort) via pre-commit hooks

Changed

  • Build seperated io modul, changed structure and moved existing io functions to that

  • Rebuild from/to hdf functions and merged with from/to archiv

  • Moved dave dir paths to settings file

Fixed

  • Wrong/missing types at pandapower converter

  • Missing crs definitions

1.0.5 (March 21, 2021)

Added

  • Substations for other voltage levels

Changed

  • Move ehv substations to components power

Fixed

  • Missing line and trafo data within pandapower converting

1.0.4 (March 18, 2021)

Changed

  • Pandapower converter function restructured

  • Condition deleted that more than one bus must exist for transformers

1.0.3 (March 04, 2021)

Added

  • Description in install tutorial for using DaVe in PyCharm

  • Runtime count

1.0.2 (February 10, 2021)

Added

  • Progress bars

Fixed

  • Overwriting points in voronoi calculation

1.0.1 (January 26, 2021)

Added

  • Json to pp converting function with considering geometries

  • pp to json converting function with considering geometries

  • Nuts regions as input option for grid area

  • Possibility to choose components individually

Changed

  • Voronoi function expanded with dynamic corner points

  • Use scigridgas igginl dataset instead of lkd_eu dataset for high pressure gas level

Fixed

  • Replaced deprecated shapely “cascaded union” function with “unary_union” function

1.0.0 (December 21, 2020)

Event

  • First usable DaVe version

0.0.0 (February 05, 2020)

Event

  • Started DaVe development

Metadata

Release files for dave-core 1.3.0

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

Source distribution (sdist)

Source distribution for dave-core 1.3.0
File Size Uploaded Provenance Actions
dave_core-1.3.0.tar.gz 220.8 kB Without provenance Details for dave_core-1.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dave-core 1.3.0
File Interpreter ABI Platform Actions
dave_core-1.3.0-py3-none-any.whl Python 3 none any Details for dave_core-1.3.0-py3-none-any.whl

Total release size: 470.2 kB

Release files / dave_core-1.3.0.tar.gz

Download URL dave_core-1.3.0.tar.gz
Size 220.8 kB
Tags Source
SHA-256 checksum
How to use checksums
806e4ae2b97f79c4d7435e1e9b10bf5c16f144164a1113090817375d894dd783
BLAKE2b-256 checksum
How to use checksums
61c22414753a2bd00f053ee44bc0f45556e8cc8e8e7ec360c14a005f8085a28d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release files / dave_core-1.3.0-py3-none-any.whl

Download URL dave_core-1.3.0-py3-none-any.whl
Size 249.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
86a65e9ee866d8d6a09a3950aa996422e3e5a206780924aed5eda5439201572e
BLAKE2b-256 checksum
How to use checksums
8c6332ebc111115efae33bb7f467b744b475a95eef1a47094463540d20050260
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Security for dave-core 1.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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