matsim-libs
matsim-libs copied to clipboard
Freight: introduce freight events
With this PR, some freight contrib related events were introduced. They include e.g. information of the start/end of a freight tour as well as of Service/Pickup/Delivery activities. They base on the LSP<..>Events originally designed by Tilman Matteis.
It is the first version and subject to change due to further ongoing development. Nevertheless, I would like to merge this in soon, to continue the work in the project-related repository
There are still some parts to do/decide, like
- adding tests
- for
Services
currently, events were thrown when activity starts and ends for (Shipment
) Pickup/Dropoff only on actEnd. -> Do we need both? - maybe adapting /renaming/adding/deleting some attributes, e.g serviceDuration, which only comes from the service/shipment settings and has nothing todo with the real duration.
- see, if we can simplify them even more: e.g, do we really need
activityCounter
passed through the chain - ...?
Afterwards:
- adapting freight scoring
- updating the freight analysis in vsp-contrib