Skip to main content

SustainGym: Reinforcement Learning Environments for Sustainable Energy Systems

The lack of standardized benchmarks for reinforcement learning (RL) in sustainability applications has made it difficult to both track progress on specific domains and identify bottlenecks for researchers to focus their efforts on. We present SustainGym, a suite of environments designed to test the performance of RL algorithms on realistic sustainability tasks. These environments highlight challenges in introducing RL to real-world sustainability tasks, including physical constraints and distribution shift.

Paper | Website

SustainGym contains both single-agent and multi-agent RL environments.

Please see the SustainGym website for a getting started guide and complete documentation.

Folder structure

docs/                   # website and documentation
examples/               # example code for running each environment
sustaingym/             # main Python package
    algorithms/
        {env}/          # per-env algorithms
    data/
        moer/           # marginal carbon emission rates
        {env}/          # per-env data files
    envs/
        {env}/          # per-env modules
tests/                  # unit tests

Contributing

If you would like to add a new environment, propose bug fixes, or otherwise contribute to SustainGym, please see the Contributing Guide.

License

SustainGym is released under a Creative Commons Attribution 4.0 International Public License (CC BY 4.0). See the LICENSE file for the full terms.

Citation

Please cite SustainGym as

C. Yeh, V. Li, R. Datta, J. Arroyo, N. Christianson, C. Zhang, Y. Chen, M. Hosseini, A. Golmohammadi, Y. Shi, Y. Yue, and A. Wierman, "SustainGym: A Benchmark Suite of Reinforcement Learning for Sustainability Applications," in Thirty-seventh Conference on Neural Information Processing Systems Datasets and Benchmarks Track, New Orleans, LA, USA, Dec. 2023. [Online]. Available: https://openreview.net/forum?id=vZ9tA3o3hr.

BibTeX
@inproceedings{yeh2023sustaingym,
    title = {{SustainGym}: Reinforcement Learning Environments for Sustainable Energy Systems},
    author = {Yeh, Christopher and Li, Victor and Datta, Rajeev and Arroyo, Julio and Zhang, Chi and Chen, Yize and Hosseini, Mehdi and Golmohammadi, Azarang and Shi, Yuanyuan and Yue, Yisong and Wierman, Adam},
    year = 2023,
    month = 12,
    booktitle = {Thirty-seventh Conference on Neural Information Processing Systems Datasets and Benchmarks Track},
    address = {New Orleans, LA, USA},
    url = {https://openreview.net/forum?id=vZ9tA3o3hr}
}

An earlier version of this work was published as a workshop paper:

C. Yeh, V. Li, R. Datta, Y. Yue, and A. Wierman, "SustainGym: A Benchmark Suite of Reinforcement Learning for Sustainability Applications," in NeurIPS 2022 Workshop on Tackling Climate Change with Machine Learning, Dec. 2022. [Online]. Available: https://www.climatechange.ai/papers/neurips2022/38.

BibTeX
@inproceedings{yeh2022sustaingym,
    title = {{SustainGym}: A Benchmark Suite of Reinforcement Learning for Sustainability Applications},
    author = {Yeh, Christopher and Li, Victor and Datta, Rajeev and Yue, Yisong and Wierman, Adam},
    year = 2022,
    month = 12,
    booktitle = {NeurIPS 2022 Workshop on Tackling Climate Change with Machine Learning},
    address = {New Orleans, LA, USA},
    url = {https://www.climatechange.ai/papers/neurips2022/38}
}

Metadata

Release files for sustaingym 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sustaingym 0.1.7
File Size Uploaded
sustaingym-0.1.7.tar.gz 78.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for sustaingym 0.1.7
File Interpreter ABI Platform
sustaingym-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 157.7 MB

Release files / sustaingym-0.1.7.tar.gz

Download URL sustaingym-0.1.7.tar.gz
Size 78.4 MB
Tags Source
SHA-256 checksum
How to use checksums
d7cf2baa53e98cfb32cef13dfb4e192509fc71459a9637e45054fc4d305b0522
BLAKE2b-256 checksum
How to use checksums
841f5429a29883c8d67b24c341e6b2fca5d00cceebaf513b9ba63d7507d0d0ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / sustaingym-0.1.7-py3-none-any.whl

Download URL sustaingym-0.1.7-py3-none-any.whl
Size 79.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
a791cea8b3bf226056e185cf26be6aae552799325b4a8a7c876e0509ce53f0a0
BLAKE2b-256 checksum
How to use checksums
1fff6b35da904fbba595da2219a938f3c929d079ab740312c96e435acc08b2df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page