Giter Club home page Giter Club logo

energy-trading's Introduction

An Efficient Stochastic Game Framework for Energy Management in Microgrid Networks

This repository contains all the code for the paper "An Efficient Stochastic Game Framework for Energy Management in Microgrid Networks". The code is organized as follows:

  • The 3-agents folder contains all the code and analysis files for Setup1 (both normal and stochastic ADL).
  • The 8-agents folder contains all the code and analysis files for Setup2 and Setup3 (both normal and stochastic ADL).

The file requirements.txt contains all the requirements needed to run the code. You can also use install.sh to set up a virtual environment and install all the dependencies automatically.

To install all the dependencies follow the following steps:

pip install -r requirements.txt

or for creating a virtual environment and then installing the dependencies:

chmod +x install.sh
./install.sh

Make sure you have virtualenv package installed. Check this guide to install virtualenv.

Steps to run the code

  • Go to any folder which contains code. Each of the folders will contain:
    • main.py (contains all the code to run the experiment).
    • DQN_agent.py (contains classes and functions for the agents).
    • analysis notebook (analysis of all the results).
  • Create two folders, 'logs' and 'saved', where all the results of the experiments and the trained models will be saved
  • In the terminal type the following to run the code:
python main.py
  • All the results will be stored in the 'logs' folder and all the trained models will be stored in the 'saved' folder.
  • All the logs and saved models for all the experiments that we have performed can be found in this link.

energy-trading's People

Contributors

marl-smart-grids 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.