Opensynth is a library forsynthetic energy demand generation.
Project description
OpenSynth
OpenSynth Model Repository.
💻 Development Set up
To set up environment for local development, you will need to set up PyEnv and Pipenv:
Then clone this repo and run make setup. This will set up all dependencies and precommit hooks.
Precommit Tools:
- Pytest for testing
- Mypy for type checking
- Flake8 for linting
- isort for sorting imports
- black for formatting
Available CLI apps:
pipenv run python app/app.pyfor a list of Typer app commandsget-lcl-data: Downloads, Split, Preprocesses LCL dataset.
💽 Downloading Low Carbon London dataset [1]
- The compressed version of the data from data.london.gov.uk is ~ 700Mb. The full decompressed data is about 8Gb.
- Note: LCL data was compressed with compression algorithm that doesn't work with Python's
zipfile. You'll need to manually unzip it via command line withunzipon Linux systems, or other equivalent on Windows machine. - You can also download the low carbon london dataset using the typer app command
pipenv run python app/app.py --download. This will use the subprocess module to unzip the file (for linux machines). - If you're on windows, you'll need to manually download and unzip to the folder:
data/raw
ℹ️ About Low Carbon London Dataset
- Low Carbon London dataset was from a trial conducted by UK Power Networks on a representative sample of London households from 2011 to 2014.
- The dataset contains half-hourly smart meter readings of 5,567 households.
- All timestamps are given in UTC so there's no time-zone conversation needed (i.e. 48 half-hourly data a day per household)
📕 Tutorials
For tutorials on algorithms in this repository, please refer to notebooks in the notebooks folder.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file opensynth_energy-0.0.1a0.tar.gz.
File metadata
- Download URL: opensynth_energy-0.0.1a0.tar.gz
- Upload date:
- Size: 18.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6958b0aaa8ce06e82b2332787a8e046e69a7433d48adda95c6a86d610e2da5b
|
|
| MD5 |
88aa7e5c6198a46080573a84f0fce7b0
|
|
| BLAKE2b-256 |
d10a9dd66d71dcb30554ea749cc585862af3c5b74ad8eca2fecc54fecf8f1001
|
File details
Details for the file opensynth_energy-0.0.1a0-py3-none-any.whl.
File metadata
- Download URL: opensynth_energy-0.0.1a0-py3-none-any.whl
- Upload date:
- Size: 20.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28fe06f1d7057fa8a709c3a653d26a9e01af50de216cc4f1b7de09a054366d30
|
|
| MD5 |
5676ee0d385316bd8bb95afa8e98c9b4
|
|
| BLAKE2b-256 |
be4539eee41ba5d3dd06ec854322713b1ffbc36d17d79c39a7cec42be3d5ec43
|