Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Create hub handling events #178

Merged
merged 55 commits into from
Nov 20, 2023
Merged

Create hub handling events #178

merged 55 commits into from
Nov 20, 2023

Conversation

kt86
Copy link
Contributor

@kt86 kt86 commented Nov 20, 2023

This PR is an updated version of #103.
It adds a new type of Event: "Hub handling Started", which notifies when the handling of a shipment in an hub starts.
This event is triggered, once a CarrierTour ends.
It also includes the expected duration of the handling process.
There will be NO event, once the handling is finished. The next relevant event is, the loading of the shipment into the next vehicle.

In further PRs there will be some further refinements, e.g. that the logging of a shipments plan will use this new event, or reducing the number of EventHandler classes.

kt86 and others added 30 commits December 16, 2022 14:13
…gEvents

# Conflicts:
#	src/main/java/lsp/usecase/TransshipmentHubTourEndEventHandler.java
…gEvents

# Conflicts:
#	src/main/java/lsp/usecase/TransshipmentHubTourEndEventHandler.java
…gEvents

# Conflicts:
#	pom.xml
#	src/main/java/lsp/resourceImplementations/transshipmentHub/TransshipmentHubTourEndEventHandler.java
#	src/main/java/lsp/usecase/UsecaseUtils.java
kt86 added 21 commits September 25, 2023 15:15
…gEvents

# Conflicts:
#	src/main/java/lsp/resourceImplementations/transshipmentHub/TransshipmentHubTourEndEventHandler.java
FIXME: Looks like the handling at the hub after collectionRun is NOT included currently. This needs to get fixed -> see #170.
…gEvents

# Conflicts:
#	src/main/java/org/matsim/freight/logistics/HasLspShipmentId.java
#	src/main/java/org/matsim/freight/logistics/LSPControlerListener.java
#	src/main/java/org/matsim/freight/logistics/LSPRescheduler.java
#	src/main/java/org/matsim/freight/logistics/events/AbstractLspEvent.java
#	src/main/java/org/matsim/freight/logistics/events/HandlingInHubStartsEvent.java
#	src/main/java/org/matsim/freight/logistics/events/HandlingInHubStartsEventCreator.java
#	src/main/java/org/matsim/freight/logistics/events/LspEventAttributes.java
#	src/main/java/org/matsim/freight/logistics/events/LspEventCreator.java
#	src/main/java/org/matsim/freight/logistics/events/LspEventCreatorUtils.java
#	src/main/java/org/matsim/freight/logistics/example/lsp/multipleChains/ExampleThreeChains.java
#	src/main/java/org/matsim/freight/logistics/resourceImplementations/transshipmentHub/TransshipmentHubTourEndEventHandler.java
#	src/test/java/lspMobsimTests/SecondReloadLSPMobsimTest.java
#	src/test/java/org/matsim/freight/logistics/lspMobsimTests/FirstAndSecondReloadLSPMobsimTest.java
#	src/test/java/org/matsim/freight/logistics/lspMobsimTests/SecondReloadLSPMobsimTest.java
#	test/input/example/lsp/initialPlans/ExampleSchedulingOfTransportChainHubsVsDirectTest/testMain1/output_events.xml.gz
#	test/input/lspMobsimTests/CompleteLSPMobsimTest/output_events.xml.gz
#	test/input/lspMobsimTests/MultipleIterationsCompleteLSPMobsimTest/output_events.xml.gz
#	test/input/lspMobsimTests/MultipleShipmentsCompleteLSPMobsimTest/output_events.xml.gz
#	test/input/lspMobsimTests/RepeatedMultipleShipmentsCompleteLSPMobsimTest/output_events.xml.gz
#	test/input/org/matsim/freight/logistics/lspMobsimTests/SecondReloadLSPMobsimTest/output_events.xml.gz
…gEvents

# Conflicts:
#	src/main/java/org/matsim/freight/logistics/example/lsp/multipleChains/ExampleMultipleOneEchelonChains.java
#	src/main/java/org/matsim/freight/logistics/example/lsp/multipleChains/LSPWorstPlanForRemovalSelector.java
…seperate method for throwing the handling event from shipment logging
@kt86 kt86 mentioned this pull request Nov 20, 2023
@kt86
Copy link
Contributor Author

kt86 commented Nov 20, 2023

This PR closes #48 and #171 .

@kt86 kt86 merged commit 84a417f into main Nov 20, 2023
1 check passed
@kt86 kt86 deleted the kmt_create_HubHandlingEvents2 branch November 20, 2023 13:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Re-enable buffer times? add Events for handling of shipments in hubs
2 participants