Giter Site home page Giter Site logo

netzerotc's Introduction

RangL Pathways to Net Zero challenge

Welcome to the RangL Pathways to Net Zero challenge repository!

To get started, read the challenge overview.

The RangL environment

RangL uses the Openai Gym framework. To install the RangL environment on your local machine,

  1. If necessary, install the pip package manager (you can do this by running the get-pip.py Python script)

  2. Run pip install -e .

Then head into the rangl/env_open_loop folder and check out the README there.

Developing your agent

Write Python code which returns your desired action at each timestep. The performance of this code (your agent) will determine your score in the challenge.

Design freely: you might use explicit rules, reinforcement learning, or some combination of these. The helper class Evaluate in meaningful_agent_training/util.py illustrates some basic approaches:

  • the min_agent method gives your actions the smallest possible value at each step
  • max_agent: largest possible actions at each step
  • random_agent: random actions at each step
  • RL_agent: actions are provided by a previously trained RL agent

The Evaluate class also provides benchmark agents drawn from the Integrated Energy Vision study, which your agent should aim to beat:

  • breeze_agent: implements actions corresponding to the Emerging scenario in the IEV study. These actions focus on deploying offshore wind
  • gale_agent: implements the Progressive IEV scenario: Higher offshore wind and a mix of blue and green hydrogen
  • storm_agent: implements the Transformational IEV scenario: Highest offshore wind, paired with green hydrogen

Self-evaluation

At each step, the RangL environment uses random noise to model real-world uncertainty. To evaluate an agent yourself, simply average its performance over multiple random seeds. To do this:

  • Add your agent to the Evaluate helper class (the agents above are examples)
  • Evaluate it just as in meaningful_agent_training/evaluate.py or meaningful_agent_training/evaluate_standard_agents.py

Training

To get started with training RL agents, head to the meaningful_agent_training folder and check out the README.

Submission

First test submission of a random agent to the competition by heading to the random_agent_submission folder and checking out its README. Then head to the meaningful_agent_submission folder to submit your competition entry.

Note

The evaluation folder is used to generate the challenge's web front-end and is not relevant to agent development.

netzerotc's People

Contributors

jia-chenhua avatar masonlr avatar moriartyjm avatar tomaszkosmala 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.