matsim-libs icon indicating copy to clipboard operation
matsim-libs copied to clipboard

Freight: introduce freight events

Open kt86 opened this issue 2 years ago • 0 comments

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

kt86 avatar Aug 03 '22 11:08 kt86