Hi everyone,
I am trying to replicate Vasile's setup, and under his guidance I am able to replicate his results. Having looked around a bit, I can provide answers to questions Sean asked earlier, plus add some extra details.
1. the auto-assigned feature is enabled, per instructions given on March 22nd
2. the file core.log is continuously updated with entries like `Assigning vehicleId=X to blockId=Y but vehicleId=Z already assigned to that block so removing assignment from vehicleId=Z. Making vehicleId=Z unpredictable.` [1]
3. the database is continuously written to, for example if I run `select count(*) from avlreports;` I see that the number of records is getting bigger and bigger. The table `predictions` also grows continuously, while the number of records in `predictionevents` is constant (or it is updated very infrequently).
The GTFS feed itself seems to be right, as I used this tool [2] to visualize it, and I was able to observe that the dots are moving in the expected directions at every tick of the feed.
At this point, I'd like to ask for advice with respect to the error in #2, and a clarification - what to look for in the database, and in which table?
I thank you forward for your feedback,
Alex
[1] here's a full excerpt with actual values:
====================================================AvlProcessor processing AvlReport [vehicleId=0001028, time=04-12-2021 20:34:08.000 EEST, location=[47.02140, 28.83720], speed=2.8m/s, heading=314.0 deg, source=GTFS-rt, assignmentId=8, assignmentType=ROUTE_ID, licensePlate=2171]
Assigning vehicleId=0001028 to blockId=bd. Traian - Parcul 'La Izvor' but vehicleId=0000328 already assigned to that block so removing assignment from vehicleId=0000328.
Making vehicleId=0000328 unpredictable. Assigning vehicleId=0001028 to blockId=bd. Traian - Parcul 'La Izvor' but vehicleId=0000328 already assigned to that block so removing assignment from vehicleId=0000328.
vehicleId=0001028 matched to routeId=8. Vehicle is now predictable. Match=TemporalMatch [temporalDifference=-114.4 sec (late), avlTime=04-12-2021 20:34:08.000 EEST, blockId=bd. Traian - Parcul 'La Izvor', tripIndex=273, gtfsStopSeq=11, stopPathIndex=11, segmentIndex=0, isLayover=false, distanceToSegment=12.16m, distanceAlongSegment=202.67m, distanceAlongStopPath=202.67m, atStop=null, trip=Trip [tripId=8_0_back_138, tripShortName=bd. Traian - Parcul 'La Izvor', tripPatternId=1363586642_to_461062058_999a9748, tripIndexInBlock=273, startTime=19:12:00, endTime=20:47:00, headsign="Loop to Bariera Sculeni", directionId=1, routeId=8, routeShortName=8, serviceId=WORKWEEK, blockId=bd. Traian - Parcul 'La Izvor', shapeId=null]]
For vehicleId=0001028 There was no previous match so in theory could estimate arrivals/departures for the beginning of the assignment. But the vehicle is being reassigned to blockId=bd. Traian - Parcul 'La Izvor' which probably means that vehicle already had arrivals/departures for the stops. Therefore not estimating arrivals/departures for the early stops.