Skip to main content

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:

  • PyEnv for Python versioning.
  • Pipenv for dependency management.

Then clone this repo and run make setup. This will set up all dependencies and precommit hooks.

Precommit Tools:

Available CLI apps:

  • pipenv run python app/app.py for a list of Typer app commands
  • get-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 with unzip 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


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.3.tar.gz (19.6 kB view hashes)

Uploaded Source

Built Distribution

opensynth_energy-0.0.3-py3-none-any.whl (22.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page