Skip to content

AlphaHydrogen is an open source OpenAI Gym environment that simulates the energy system of a residential community with distributed renewable power supply, fuel-cell vehicles, hydrogen stations, and power grid.

License

Notifications You must be signed in to change notification settings

WalterZWang/AlphaHydrogen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AlphaHydrogen

AlphaHydrogen is an open source OpenAI Gym environment that simulates the energy system of a residential community with distributed renewable power supply, fuel-cell vehicles, hydrogen stations, and power grid. Its objective is to advance the control of an integrated electricity-hydrogen building-vehicle-renewable energy system.

Overview

Cleaner power production, distributed renewable generation, building-vehicle integration, hydrogen (H2) storage and associated energy infrastructures are promising candidates for transformation towards a carbon-neutrality community with district energy flexibility enhancement. AlphaHydrogen allows the easy implementation of advanced controll agents in a multi-agent setting to achieve customized goals: load shifting, CO2 emission reduction, operational cost saving, and etc.

Code Usage

Clone repository

git clone https://github.com/WalterZWang/AlphaHydrogen.git
cd AlphaHydrogen

Set up the environment

Set up the virtual environment with your preferred environment/package manager.

The instruction here is based on conda. (Install conda)

conda create --name alphaHydrogen python=3.8 -c conda-forge -f requirements.txt
conda activate alphaHydrogen

Repository structure

|
├── LICENSE
│
├── README.md
│
├── requirements.txt
│
├── gym_AlphaHydrogen
│   └── envs
│   │   ├──data
│   │   ├──inputs
│   │   ├──hydrogenCommunity.py
│   │   ├──model.py
│   │   ├──data_cleaning.ipynb
│   │   ├──test_gym.ipynb
│   │   └──test_model.ipynb
│   └── _init_.py
│
└── docs

gym_AlphaHydrogen: Code and data to develop the OpenAI Gym environment

gym_AlphaHydrogen/envs/hydrogenCommunity.py: Code of the environment

gym_AlphaHydrogen/envs/model.py: Individual models, including the model for vehicle, building, PV. grid, H2 station etc.

gym_AlphaHydrogen/envs/inputs: Input file of the environment

gym_AlphaHydrogen/envs/test_gym.ipynb: File to test the gym environment

gym_AlphaHydrogen/envs/test_model.ipynb: File to test the model

docs: documents (papers, figures) related to this environment

Running

You can test the environment using the Jupyter notebook gym_AlphaHydrogen/envs/test_gym.ipynb

Notes

Feedback

Feel free to send any questions/feedback to: Zhe Wang or Yingdong He

License

The MIT License (MIT) Copyright (c) 2019, The University of Texas at Austin

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

AlphaHydrogen is an open source OpenAI Gym environment that simulates the energy system of a residential community with distributed renewable power supply, fuel-cell vehicles, hydrogen stations, and power grid.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published