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.py
for 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 withunzip
on 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
opensynth_energy-0.0.5.tar.gz
(24.2 kB
view details)
Built Distribution
File details
Details for the file opensynth_energy-0.0.5.tar.gz
.
File metadata
- Download URL: opensynth_energy-0.0.5.tar.gz
- Upload date:
- Size: 24.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28e5e5e72760a60ba363472e85c23a148f6a71425374077f2ee24cc428526707 |
|
MD5 | 7a03efe5d1d67aaecd169e6254a75b07 |
|
BLAKE2b-256 | 2ac28293225b2825f2d16e910ed7b8ab93abe3638b85f38ce9b93b93be7a41e1 |
File details
Details for the file opensynth_energy-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: opensynth_energy-0.0.5-py3-none-any.whl
- Upload date:
- Size: 28.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | beaa578e92eb45604012d112f43ad15bd28514abe79c91ac061c3810791a973f |
|
MD5 | 90cd76590187fdff4ea28297ecaf9076 |
|
BLAKE2b-256 | f9e47285e845c76e5cdd1730f9ce67178678cbb6f13d01ce3458fd73f41134c8 |