rename the member to PlannedArrivalTime for better readability
This commit is contained in:
@@ -105,19 +105,19 @@ class Worker(Thread):
|
||||
print('FCFS run:')
|
||||
for window in self.RecedingHorizonControl.Windows:
|
||||
for inbound in window.Inbounds:
|
||||
print(' ' + inbound.Report.aircraft.callsign + ': ' + str(inbound.EstimatedArrivalTime) + '; ' + str(inbound.EarliestArrivalTime))
|
||||
|
||||
# get the last landing aircrafts per runway before the RHC stage to check for constraints
|
||||
# this is required to handle the overlap between windows
|
||||
preceedingInbounds = {}
|
||||
for runway in self.sequencingConfiguration.ActiveArrivalRunways:
|
||||
inbound = self.RecedingHorizonControl.lastFixedInboundOnRunway(runway.Runway.Name)
|
||||
if None != inbound:
|
||||
preceedingInbounds[runway.Runway.Name] = inbound
|
||||
print(' ' + inbound.Report.aircraft.callsign + ': ' + str(inbound.InitialArrivalTime) + '; ' + str(inbound.EarliestArrivalTime))
|
||||
|
||||
# search the ACO relevant aircrafts
|
||||
relevantInbounds = self.RecedingHorizonControl.optimizationRelevantInbounds()
|
||||
relevantInbounds, earliestArrivalTime = self.RecedingHorizonControl.optimizationRelevantInbounds()
|
||||
if None != relevantInbounds:
|
||||
# get the last landing aircrafts per runway before the RHC stage to check for constraints
|
||||
# this is required to handle the overlap between windows
|
||||
preceedingInbounds = {}
|
||||
for runway in self.sequencingConfiguration.ActiveArrivalRunways:
|
||||
inbound = self.RecedingHorizonControl.lastFixedInboundOnRunway(runway.Runway.Name)
|
||||
if None != inbound:
|
||||
preceedingInbounds[runway.Runway.Name] = inbound
|
||||
|
||||
print('Relevant inbounds: ' + str(len(relevantInbounds)))
|
||||
|
||||
# configure the ACO run
|
||||
|
||||
Reference in New Issue
Block a user