Skip to content

Commit

Permalink
Merge pull request #75 from esa/featureNotebook
Browse files Browse the repository at this point in the history
Feature notebook
  • Loading branch information
albertNos authored Apr 19, 2022
2 parents 6d68328 + aba726a commit 617713d
Show file tree
Hide file tree
Showing 46 changed files with 318 additions and 238 deletions.
39 changes: 39 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,44 @@ For this set the CMake variables: `AUTOPAS_LOG_TUNINGDATA=ON` and `AUTOPAS_LOG_
## Processing TLE Input
Data on current satellites etc. is often found [online](https://www.space-track.org/) in the [TLE format](https://en.wikipedia.org/wiki/Two-line_element_set). We include a Jupyter notebook which can be used to process TLE data with pykep to create and analyze suitable datasets. Detailed instructions can be found in the notebook in `notebooks/Data Processing.ipynb`.

## Generating and including Constellations
Satellite constellations (e.g. Starlink, OneWeb) are usually described by a list of orbital shells.
An orbital shell is described by a 4-tuple with information about `altitude`, `inclination`, `number of
planes`, and `number of satellites` per plane. We provide a notebook
`notebooks/ConstellationGeneration/ConstellationGeneration.ipynb` that can be used
to generate constellation data from orbital shell parameters.

### Generating a constellation (quick guide):
* Initialize the constellation by executing the first cell and providing metadata in the second cell (1)
* Create a shell by providing the 4 shell arguments, and further parameters (extra params) if necessary (2.1).
Store the temporary shell data by executing the cell (2.2)
* Turn satellites into position and velocity vectors by executing cell (3)
* Write the files by executing cell (4) and save them by executing cell (5)

A more detailed guide is included in the notebook.

### Including the constellation data in simulation (`io` section):

* In the configuration file for the simulation, include the constellation(s) by
defining `constellationList` and assigning the constellation name(s); Syntax:
{name;}name ; e.g. Astra;Starlink;OneWeb
* `constellationFrequency` (=interval for constellation insertion)
* `constellationCutoff` (satellites are inserted with a delay, if there is an object within this range)
* `altitudeSpread` ([km] ~99.74% of satellites with normally distributed altitude deviate
by less than this value from the mean altitude [altitudeSpread = 3*sigma])

### How constellation satellites are inserted to the simulation

The insertion of a constellation takes as long as specified by the `duration`
parameter in the respective .yaml file. The time it takes to insert one shell of
a constellation depends on the percentage of satellites the shell contributes to
the constellation. Satellites of each orbital shell are inserted plane by plane
and linearly over time.





## Output

LADDS has multiple options for output that can be (de)activated mostly independent of each other via YAML. See [`cfg/default_cfg.yaml`](cfg/default_cfg.yaml) for relevant options.
Expand Down Expand Up @@ -145,3 +183,4 @@ To keep file size reasonable compression is supported.
### CSV
If HDF5 output is disabled entirely, collision data is written in a `.csv` file in ASCII layout.


2 changes: 1 addition & 1 deletion cfg/default_cfg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ io:
writeFrequency: 1000 # Frequency of writing to the hdf5 file [iterations]
compressionLevel: 4 # Valid Levels: 0 (no compression) - 9 (max compression)

#constellationList: AstraPhase2,100,7200 # ';'-seperated constellations consisting of path (to constellation directory), start time, duration
#constellationList: AstraPhase2 # ';'-seperated constellations consisting of path (to constellation directory), start time, duration
constellationFrequency: 10 # Frequency of adding satellites to simulation [iterations]
constellationCutoff: 0.1 # satellites of constellations are only inserted when there is no object within constellationCutoff range
altitudeSpread: 1.0 # [km] normal distributed altitude deviations are usually smaller than this value (~99.74% chance)
Expand Down
4 changes: 2 additions & 2 deletions data/Amazon/pos_Amazon.csv
Git LFS file not shown
3 changes: 0 additions & 3 deletions data/Amazon/shells_Amazon.txt

This file was deleted.

2 changes: 1 addition & 1 deletion data/Amazon/v_Amazon.csv
Git LFS file not shown
3 changes: 0 additions & 3 deletions data/Amazon/xparams_Amazon.txt

This file was deleted.

4 changes: 2 additions & 2 deletions data/AstraPhase1/pos_AstraPhase1.csv
Git LFS file not shown
3 changes: 0 additions & 3 deletions data/AstraPhase1/shells_AstraPhase1.txt

This file was deleted.

2 changes: 1 addition & 1 deletion data/AstraPhase1/v_AstraPhase1.csv
Git LFS file not shown
3 changes: 0 additions & 3 deletions data/AstraPhase1/xparams_AstraPhase1.txt

This file was deleted.

4 changes: 2 additions & 2 deletions data/AstraPhase2/pos_AstraPhase2.csv
Git LFS file not shown
3 changes: 0 additions & 3 deletions data/AstraPhase2/shells_AstraPhase2.txt

This file was deleted.

4 changes: 2 additions & 2 deletions data/AstraPhase2/v_AstraPhase2.csv
Git LFS file not shown
3 changes: 0 additions & 3 deletions data/AstraPhase2/xparams_AstraPhase2.txt

This file was deleted.

4 changes: 2 additions & 2 deletions data/AstraPhase3/pos_AstraPhase3.csv
Git LFS file not shown
3 changes: 0 additions & 3 deletions data/AstraPhase3/shells_AstraPhase3.txt

This file was deleted.

4 changes: 2 additions & 2 deletions data/AstraPhase3/v_AstraPhase3.csv
Git LFS file not shown
3 changes: 0 additions & 3 deletions data/AstraPhase3/xparams_AstraPhase3.txt

This file was deleted.

4 changes: 2 additions & 2 deletions data/GuoWang/pos_GuoWang.csv
Git LFS file not shown
3 changes: 0 additions & 3 deletions data/GuoWang/shells_GuoWang.txt

This file was deleted.

4 changes: 2 additions & 2 deletions data/GuoWang/v_GuoWang.csv
Git LFS file not shown
3 changes: 0 additions & 3 deletions data/GuoWang/xparams_GuoWang.txt

This file was deleted.

4 changes: 2 additions & 2 deletions data/OneWebPhase1/pos_OneWebPhase1.csv
Git LFS file not shown
3 changes: 0 additions & 3 deletions data/OneWebPhase1/shells_OneWebPhase1.txt

This file was deleted.

4 changes: 2 additions & 2 deletions data/OneWebPhase1/v_OneWebPhase1.csv
Git LFS file not shown
3 changes: 0 additions & 3 deletions data/OneWebPhase1/xparams_OneWebPhase1.txt

This file was deleted.

4 changes: 2 additions & 2 deletions data/OneWebPhase2/pos_OneWebPhase2.csv
Git LFS file not shown
3 changes: 0 additions & 3 deletions data/OneWebPhase2/shells_OneWebPhase2.txt

This file was deleted.

4 changes: 2 additions & 2 deletions data/OneWebPhase2/v_OneWebPhase2.csv
Git LFS file not shown
3 changes: 0 additions & 3 deletions data/OneWebPhase2/xparams_OneWebPhase2.txt

This file was deleted.

4 changes: 2 additions & 2 deletions data/StarlinkGen1/pos_StarlinkGen1.csv
Git LFS file not shown
3 changes: 0 additions & 3 deletions data/StarlinkGen1/shells_StarlinkGen1.txt

This file was deleted.

2 changes: 1 addition & 1 deletion data/StarlinkGen1/v_StarlinkGen1.csv
Git LFS file not shown
3 changes: 0 additions & 3 deletions data/StarlinkGen1/xparams_StarlinkGen1.txt

This file was deleted.

4 changes: 2 additions & 2 deletions data/StarlinkGen2/pos_StarlinkGen2.csv
Git LFS file not shown
3 changes: 0 additions & 3 deletions data/StarlinkGen2/shells_StarlinkGen2.txt

This file was deleted.

4 changes: 2 additions & 2 deletions data/StarlinkGen2/v_StarlinkGen2.csv
Git LFS file not shown
3 changes: 0 additions & 3 deletions data/StarlinkGen2/xparams_StarlinkGen2.txt

This file was deleted.

4 changes: 2 additions & 2 deletions data/Telesat/pos_Telesat.csv
Git LFS file not shown
3 changes: 0 additions & 3 deletions data/Telesat/shells_Telesat.txt

This file was deleted.

4 changes: 2 additions & 2 deletions data/Telesat/v_Telesat.csv
Git LFS file not shown
3 changes: 0 additions & 3 deletions data/Telesat/xparams_Telesat.txt

This file was deleted.

Loading

0 comments on commit 617713d

Please sign in to comment.