-
Notifications
You must be signed in to change notification settings - Fork 1
Model outputs
Sarah Wise edited this page Sep 12, 2019
·
1 revision
There are two raw files which are output by the model. These are:
- Driver round history: a full record of each of the drivers' rounds throughout the simulation.
- Waypoint data: a full record of the physical locations Drivers visited during their rounds.
The Driver round history is exported as a series of tab-separated values. The columns are as follow:
- Round ID
- Driver ID
- Round index
- Time since round began (units of 15 seconds)
- Time spent driving on this round (units of 15 seconds)
- Time spent walking on this round (units of 15 seconds)
- Time spent vehicle parked on this round (units of 15 seconds)
- Distance driven on round (meters)
- Distance walked on round (meters)
- Total distance covered on round (meters)
- Distance driven for stem mileage (meters) (Note: stem mileage is distance from depot to delivery area)
- Time spent driving stem (units of 15 seconds)
- Number of successful parcel deliveries
- Number of unsuccessful attempted parcel deliveries
Example output:
D-3dc97e4f-1 D-3dc97e4f 1 212.0 169.0 43.0 43.0 3001.7197470471 0.0 3001.7197470471 3001.7197470471 168.0 3 0
D-3dc97e4f-2 D-3dc97e4f 2 2846.0 968.0 1878.0 1878.0 9193.937375019352 0.0 9193.937375019352 2543.4874202967194 148.0 113 17
D-3dc97e4f-3 D-3dc97e4f 3 2690.0 884.0 1806.0 1806.0 10812.596194734742 2703.001896432349 13515.598091167092 4435.629240902522 253.0 101 16
D-3dc97e4f-4 D-3dc97e4f 4 222.0 150.0 72.0 72.0 2608.0439089734323 0.0 2608.0439089734323 2408.463310003358 131.0 4 1
D-3dc97e4f-5 D-3dc97e4f 5 2236.0 997.0 1239.0 1239.0 12498.835946187999 2456.2527860902924 14955.088732278291 5651.18014581134 320.0 65 13
The waypoint data is exported as a series of tab-separated values. The columns are as follow:
- Driver ID
- Time (units of 15 seconds)
- Easting (meters)
- Northing (meters)
Example:
D-ec4a92b3 0.0 530100.6739346742 181520.0574700188
D-ec4a92b3 1.0 530100.6739346742 181520.0574700188
D-ec4a92b3 2.0 530100.6739346742 181520.0574700188
D-ec4a92b3 3.0 530100.6739346742 181520.0574700188
D-ec4a92b3 4.0 530100.6739346742 181520.0574700188
Having extracted this information, we recommend using Python to parse the files and read them into dataframes for further analysis and visualisation. An example of the visualisation provided with this is available elsewhere on the wiki.
Make sure the boolean value writeFullModelStats
is set to true
!