Coder Social home page Coder Social logo

pp1-energy-forecasting's Introduction

Residential home energy load forecasting

This repository contains datasets and models for energy forecasting experiments. Each model can be evaluated by running the following experiments:

  1. univariate energy consumption forecasting
    • this can be evaluated on the test part of the given dataset, or on the test part of the other dataset, to check, if the model is transferable
  2. multivariate energy consumption forecasting
    • A combination of the following exogenous variables can be tested: temperature, humidity, wind speed

Environment variables

Before running any experiment, make sure the appropriate environment variables are available:

variable name value purpose
KERAS_BACKEND "torch" Sets keras backend, required for any training or inference.
OPEN_WEATHER_MAP YOUR_API_KEY Downloading weather history data. Required when creating a new dataset.

Usage

This project uses two datasets with residential house energy consumption data. To get started, download the raw data into data/nist and data/frhouse respectively:

To setup an isolated environment, you can run:

python -m venv venv
source venv/bin/activate

Install dependencies:

pip install -r requirements.txt

Then transform the raw data into a dataset with added weather variables:

python src/construct_datasets.py

Experiments can be specified from the CLI by running:

python src/main.py -f history -f temperature --network tcn -e 1

To see all the various options, you can run:

python src/main.py --help

Weather data

Weather history data is downloaded for each datapoint.

Contains information from OpenWeather, which is made available here under the Open Database License (ODbL).

![openweathermap logo](./images/OpenWeather-Master-Logo RGB.png)

pp1-energy-forecasting's People

Contributors

shtolfensie avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.