Skip to main content

A gymnasium style environment for standardized Reinforcement Learning research in Air Traffic Management.

Project description

BlueSky-Gym

A gymnasium style library for standardized Reinforcement Learning research in Air Traffic Management developed in Python. Build on BlueSky and The Farama Foundation's Gymnasium


An example trained agent attempting the merge environment available in BlueSky-Gym.

For a complete list of the currently available environments click here

Installation

pip install bluesky_gym

Usage

Using the environments follows the standard API from Gymnasium, an example of which is given below:

import gymnasium as gym
import bluesky_gym
bluesky_gym.register_envs()

env = gym.make('MergeEnv-v0', render_mode='human')

obs, info = env.reset()
done = truncated = False
while not (done or truncated):
    action = ... # Your agent code here
    obs, reward, done, truncated, info = env.step(action)

Additionally you can directly use algorithms from standardized libraries such as Stable-Baselines3 or RLlib to train a model:

import gymnasium as gym
import bluesky_gym
from stable_baselines3 import DDPG
bluesky_gym.register_envs()

env = gym.make('MergeEnv-v0', render_mode=None)
model = DDPG("MultiInputPolicy",env)
model.learn(total_timesteps=2e6)
model.save()

Citing

If you use BlueSky-Gym in your work, please cite it using:

@misc{bluesky-gym,
  author = {Groot, DJ and Leto, G and Vlaskin, A and Moec, A and Ellerbroek, J},
  title = {BlueSky-Gym: Reinforcement Learning Environments for Air Traffic Applications},
  year = {2024},
  journal = {SESAR Innovation Days 2024},
}

List of publications & preprints using BlueSky-Gym (please open a pull request to add missing entries):

  • missing entry

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bluesky_gym-0.1.0.tar.gz (35.4 kB view details)

Uploaded Source

Built Distribution

bluesky_gym-0.1.0-py3-none-any.whl (49.1 kB view details)

Uploaded Python 3

File details

Details for the file bluesky_gym-0.1.0.tar.gz.

File metadata

  • Download URL: bluesky_gym-0.1.0.tar.gz
  • Upload date:
  • Size: 35.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.3

File hashes

Hashes for bluesky_gym-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c2f11b6b80025a1a00f82b610beb458ab3d4d2cb41c371b9da993ffc061435a2
MD5 29ea223ce6e418ac2501f6d9d784c846
BLAKE2b-256 25793d0dde6c4791c481303b8e280a2f03bc002d1fa3afa1c9e4d953c064954e

See more details on using hashes here.

File details

Details for the file bluesky_gym-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: bluesky_gym-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 49.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.3

File hashes

Hashes for bluesky_gym-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eb560e5c6e4f811392e1a00b09bb2c74b078c541437766613945add0804cb30a
MD5 c607c1151440d36a45e5a223ebadf419
BLAKE2b-256 94a68162906f64595588d22c1b8403f756211e442d4f5a5b3d5bbb3ecf27fe4e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page