This paper considers a loading facility that uses Truck Appointment System (TAS) for slot management and faces incoming truck arrival uncertainty due to traffic congestion. The researchers developed an integer mathematical model to represent the adaptive behavior that determines the optimal reschedules by minimizing the average truck waiting time. The model was aimed to emulate the adaptive system. It was created in AnyLogic simulation software based on the conceptual model.