GithubHelp home page GithubHelp logo

f-krause / uio-aiei-project-1 Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 10.45 MB

UiO Project 1 for AI for Energy Informatics: Deep Reinforcement Learning

License: GNU General Public License v3.0

Jupyter Notebook 97.91% Python 2.09%

uio-aiei-project-1's Introduction

Assignment 1 - IN5460

Felix Krause, Johannes Spieß, Sina Henning

Mandatory assignment 1 for Artificial Intelligence for Energy Informatics.

Assignment | Deadline 17.10.2023 kl 23:59

Setup

Environment setup

With conda

conda create --name ai4ei python=3.11
conda activate ai4ei
conda install -c conda-forge jupyter numpy pandas seaborn matplotlib
pip install gym

With venv

python -m venv venv

Activate env in bash:

source venv/bin/activate

Activate env in PowerShell (Windows)

C:\Code\in5460-mex1\venv\Scripts\Activate.ps1

Install packages in venv

pip install -r requirements.txt

Add virtual environment to kernel

python -m ipykernel install --user --name=venv

Provide Datasets

Put the following datasets into a folder "/data" in this repo

Put the "BASE" profiles in a folder "/data/residential_load_data_base"

Run training

Open the notebook "notebooks/1_training.ipynb".

Analysis of results

Open the notebook "notebooks/2_result_viz.ipynb".

Conventions

  • The main unit used for energy is kWh
  • The used time frame is an hour

RL software

  • pymgrid is discontinued, we looked at its successor python-microgrid
  • python-microgrid can be used "to generate and simulate a large number of microgrids"; according to their data section, they als use OpenEI load data and PV datasets ("Data in pymgrid are based on TMY3 (data based on representative weather)", this might be EnergyPlus)
  • easygrid: a simple version based on OpenAI gym, maybe we should use this to get started
  • example tutorial an example project that is very similar to ours
  • gym environments tutorial on how to create a RL environment
  • stable baselines3 documentary of stable baselines3

uio-aiei-project-1's People

Contributors

f-krause avatar neftlon avatar sinahenning 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.