%0 Generic %A Morfin Veytia, Andres %D 2023 %T Code and Data for "Availability and utilisation of airspace structure in a U-space traffic management system" %U %R 10.4121/980484ec-5187-4f73-9e57-2e0dcd1330cc.v1 %K BlueSky %K UTM %K Urban Air Mobility %K drones %K U-Space %K Conflict Prevention %X
This contains the code and output logs to run the BlueSky simulator for "Availability and utilisation of airspace structure in a U-space traffic management system". The code provided here is a modified version of the main fork of BlueSky (https://github.com/TUDelft-CNS-ATM/bluesky).
The first step is to install the correct environment. Refer to `condaenv.txt` for the list of packages needed to run the simulator.
After setting up the environment, we then need to save all of the potential paths of drones in `bluesky/plugins/streets/path_plan_dills`. Note that this takes about 180GB of storage so make sure to have enough available. The paths can be downloaded from https://surfdrive.surf.nl/files/index.php/s/makXrEfPtrtdzaO. There are some example paths saved in this dataset but it will not be possible to run all of the experiment without downloading the paths.
The scenarios for sub-experiment 1 are saved in `bluesky/scenario/subexperiment1`.
The scenarios for sub-experiment 2 are saved in `bluesky/scenario/subexperiment2`.
To run the scenarios we first need to start a bluesky server by running the following code inside `bluesky`:
`python BlueSky.py --headless`
In another terminal we can start a bluesky client by running:
`python BlueSky.py --client`
In the bluesky console we can now run each batch scenario by typing and entering:
`batch batch_subexperiment_1.scn` or
`batch batch_subexperiment_2.scn`
The logs of the scenarios are saved in `bluesky/output`.
Without the paths, it will not possible to run the simulations. However, this code currently has some paths so that it is possible to run some example scenarios. The zeroth repetition for the low imposed traffic demand case can be run without all of the paths. For example, `bluesky/scenario/subexperiment1/Flight_intention_low_40_0_1to1.scn` and `bluesky/scenario/subexperiment2/Flight_intention_low_40_0_baseline.scn` can be run directly with this dataset.
First start bluesky by running:
`python BlueSky.py`
In the console, type.
`ic subexperiment2/Flight_intention_low_40_0_baseline.scn`
Please do not hesistate to contact me with any questions.
-Andres
%I 4TU.ResearchData