Skip to content

Commit 2749dc1

Browse files
committed
Add more code explanation, p execution details, paper reference, support for virtual environment, and errors are fixed.
1 parent 9042193 commit 2749dc1

11 files changed

Lines changed: 61 additions & 29 deletions

README.md

Lines changed: 27 additions & 23 deletions
Large diffs are not rendered by default.

skyfall/aggregated_deployment_circle.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/usr/bin/python
22
# -*- coding: UTF-8 -*-
33

4+
# In this code, we assume the malicious terminals are positioned in certain regions
5+
# as described in Section IV.A
6+
47
import numpy as np
58
import math
69
import json

skyfall/aggregated_deployment_grid.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/usr/bin/python
22
# -*- coding: UTF-8 -*-
33

4+
# In this code, we assume the malicious terminals are positioned in certain regions
5+
# as described in Section IV.A
6+
47
import numpy as np
58
import math
69
import json

skyfall/bottleneck_GS_rank.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# In this code, the vital GSes are ranked based on the three metrics from the paper ()
2+
# as described in the Analysis Stage (Section IV.C)
3+
14
import json
25
import heapq
36
import sys

skyfall/generate_flow_circle.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1+
# At a specific moment, analyze the traffic throughput of each link (ISLs and GSLs) under the network topology and traffic conditions.
2+
# Network Topology: User blocks connect to a satellite, and satellites forms Circles.
3+
# Traffic: Based on the Starlink traffic of each block from CloudFlare, flows probabilistically increasing by 0.5M each sampling time (ISL capacity 20Gbps; GSL Uplink/Downlink: 4Gbps).
4+
# as described in the experimental setting (Section V.A)
5+
16
import math
27
import sys
38
import numpy as np
49
import random, json
510
import os
6-
# At a specific moment, analyze the traffic throughput of each link (ISLs and GSLs) under the network topology and traffic conditions.
7-
# Network Topology: User blocks connect to a satellite, and satellites forms Circles.
8-
# Traffic: Based on the Starlink traffic of each block from CloudFlare, flows probabilistically increasing by 0.5M each sampling time (ISL capacity 20Gbps; GSL Uplink/Downlink: 4Gbps).
911

1012
# Constants
1113
RADIUS = 6371

skyfall/generate_flow_grid.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1+
# At a specific moment, analyze the traffic throughput of each link (ISLs and GSLs) under the network topology and traffic conditions.
2+
# Network Topology: User blocks connect to a satellite, and satellites forms +Grid.
3+
# Traffic: Based on the Starlink traffic of each block from CloudFlare, flows probabilistically increasing by 0.5M each sampling time (ISL capacity 20Gbps; GSL Uplink/Downlink: 4Gbps).
4+
# as described in the experimental setting (Section V.A)
5+
16
import math
27
import sys
38
import numpy as np
49
import random, json
510
import os
6-
# At a specific moment, analyze the traffic throughput of each link (ISLs and GSLs) under the network topology and traffic conditions.
7-
# Network Topology: User blocks connect to a satellite, and satellites forms +Grid.
8-
# Traffic: Based on the Starlink traffic of each block from CloudFlare, flows probabilistically increasing by 0.5M each sampling time (ISL capacity 20Gbps; GSL Uplink/Downlink: 4Gbps).
911

1012
# Constants
1113
RADIUS = 6371

skyfall/generate_lla.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# In this code, latitude, longitude and altitude of each satellite is generated for each time slot
2+
# as described in the experimental setting (Section V.A)
3+
14
from skyfield.api import load, wgs84, EarthSatellite
25
from datetime import datetime
36
from sgp4.api import Satrec, WGS84

skyfall/time_slot_analysis_circle.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/usr/bin/python
22
# -*- coding: UTF-8 -*-
33

4+
# In this code, we analyze the risks and the variabilities, as described in the Analysis Stage (Section IV.C)
5+
# Specifically, the worst case under the Circular Structure is analyzed in this code.
6+
47
import numpy as np
58
import math
69
import os

skyfall/time_slot_analysis_circle_comparison.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/usr/bin/python
22
# -*- coding: UTF-8 -*-
33

4+
# In this code, we analyze the risks and the variabilities, as described in the Analysis Stage (Section IV.C)
5+
# Specifically, the comparison under the Circular Structure is analyzed in this code.
6+
47
import numpy as np
58
import math
69
import os

skyfall/time_slot_analysis_grid.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/usr/bin/python
22
# -*- coding: UTF-8 -*-
33

4+
# In this code, we analyze the risks and the variabilities, as described in the Analysis Stage (Section IV.C)
5+
# Specifically, the worst case under the +Grid Structure is analyzed in this code.
6+
47
import numpy as np
58
import math
69
import os

0 commit comments

Comments
 (0)