Giter Site home page Giter Site logo

mzy2240 / l2rpn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shidi1985/l2rpn

0.0 1.0 1.0 107.08 MB

CodaLab L2RPN: Learning to Run a Power Network

Home Page: https://competitions.codalab.org/competitions/22845#learn_the_details-overview

License: GNU Lesser General Public License v3.0

Dockerfile 0.19% Python 99.81%

l2rpn's Introduction

Learning to Run a Power Network

https://competitions.codalab.org/competitions/22845#learn_the_details-overview

Pypownet Installation

Requirements:

  • Python >= 3.6
  • Virtual Environment Recommended
cd L2RPN/
python setup.py install

Pypownet Introduction: https://github.com/MarvinLer/pypownet

Basic Usage

Runing Test

python Run_and_Submit_agent.py

You can modify the testing number of chronics and timesteps in the 'Run_and_Submit_agent.py' file.

Train Your Model

python -m pypownet.main -f train

To see all the options:

python -m pypownet.main --help

Key Files and Features

  • data
    • Saved numpy files of action_space and generated train/val data
    • Trained model
  • example_submission
    • Sample submission to the L2RPN competition
  • parameters
    • reward_signal, configuration, and training chronics of different power grids
  • public_data
    • Extra data for IEEE-14 bus
  • pypownet
    • agent.py: Defines the Dueling DQN agent
    • analyze_action.py: Analyze the simulation results
    • generate_action_space.py: Generate action space
    • main.py: Main run file, including imitation, training, and test
    • prepare_data.py: prepare data for imitation learning
    • runner.py: key file controling the training process
  • Run_and_Submit_agent.py
    • Test the trained model

License information

Copyright 2017-2019 GEIRINA, RTE, and INRIA (France)

GEIRINA: https://www.geirina.net/
RTE: http://www.rte-france.com
INRIA: https://www.inria.fr/

This Source Code is subject to the terms of the GNU Lesser General Public License v3.0. If a copy of the LGPL-v3 was not distributed with this file, You can obtain one at https://www.gnu.org/licenses/lgpl-3.0.fr.html.

l2rpn's People

Contributors

lantusky avatar shidi1985 avatar

Watchers

 avatar

Forkers

abhijeet1990

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.