Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freight (logistics): Use Shipments instead of Services for Distribution? #3611

Open
kt86 opened this issue Nov 29, 2024 · 0 comments
Open

Freight (logistics): Use Shipments instead of Services for Distribution? #3611

kt86 opened this issue Nov 29, 2024 · 0 comments
Assignees

Comments

@kt86
Copy link
Contributor

kt86 commented Nov 29, 2024

Currently, the DistributionCarrierScheduler creates one or more* carrier_s_ to distribute the incoming LSPShipments.

IMO this does not make sence, because it should be only one carrier, which can decide on its one, which LSPShipments were put in which tour. --> Need for an pickupTimeWindow, with earliest pickuptime = arrivalAtHub + handlingDuration in hub.
This is only possible with CarrierShipments, which has TimeWindows for Pickup and Delivery.

This will have consequences in the whole setup, because also the ScheduledShipmentLoad, ScheduledShipmentTransport, ScheduledShipmentUnload must accept CarrierServices (as is) OR CarrierShipments (missing).

Going from there, I expect the need for follow-up adaptions... argh :(


Re-start working on this now....
As a first step, a new configGroup is added, allowing to set desired behavior. Default setting is "serviceBased" (see matsim-vsp/logistics#261 )

To reduce the complexity, I am now checking, where the CarrierService is really needed (and why) in: ScheduledShipmentLoad, ScheduledShipmentTransport, ScheduledShipmentUnload. If I can rid of it there, it gets at least a bit less complex...

((The logistics repo goes into archive mode, code is not on matims-libs. So the issue is moved from - see there for more information: matsim-vsp/logistics#44 ))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant