Acceleration4TrackProcess Description
This process computes the mean acceleration for a track.
Algorithm Description
The different steps are as follows:
- process iterates over all pairs of consecutive measurements
- travel distance
- computes the distance between consecutive measurements and sums it up to the total distance per track
- travel time
- stores first and last time stamp and then computes the travel time (in minutes)
- mean speed
- computes the average of all speed values
- mean acceleration:
- computes the duration (delta_time) and difference in speed (delta_speed)
- computes the acceleration (ratio between delta_speed and delta_time; currently only positive values, which means an increase in speed, are considered
Process Parameters
Identifier
org.envirocar.wps.Statistics4TrackProcess
- trackID
- Type: String
- Description: ID of track for which mean acceleration should be computed
Outputs
- meanAcceleration:
- Type: double
- Description: Mean acceleration of track.
-
- meanSpeed:
- Type: double
- Description: Mean speed of track in km/h.
- travelDistance:
- Type: double
- Description: Distance of a track in meters.
- travelTime:
- Type: double
- Description: total time traveled in minutes.