From a2ea26ab5d07c42d960f5a121ba7db3961da8b05 Mon Sep 17 00:00:00 2001 From: Sven Czarnian Date: Tue, 21 Dec 2021 10:42:16 +0100 Subject: [PATCH] introduce the configuration for the IAF spacing --- aman/config/Airport.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/aman/config/Airport.py b/aman/config/Airport.py index c196d38..6158aea 100644 --- a/aman/config/Airport.py +++ b/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()