Browse Source

introduce the configuration for the IAF spacing

Sven Czarnian 3 years ago
parent
commit
a2ea26ab5d
1 changed files with 7 additions and 0 deletions
  1. 7 0
      aman/config/Airport.py

+ 7 - 0
aman/config/Airport.py

@@ -108,6 +108,13 @@ class Airport:
     def parseConstraints(self, planning):
         self.ArrivalRouteConstraints = {}
 
+        # check if the IAF sequence constraint is defined
+        if 'iafsequence' in planning:
+            self.IafSpacing = float(planning['iafsequence'])
+        else:
+            self.IafSpacing = 10.0
+
+        # parse the arrival constraints
         for key in planning:
             if True == key.startswith('constraints'):
                 star = key.replace('constraints', '').upper()