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): Hub events: Calculation of expected handling time? #3608

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

Freight (logistics): Hub events: Calculation of expected handling time? #3608

kt86 opened this issue Nov 29, 2024 · 0 comments

Comments

@kt86
Copy link
Contributor

kt86 commented Nov 29, 2024

There are in theory different approaches to calculate the expected handling time (and also the logic, when everything is handled and can continue with the next carrier):

After a vehicle arrives at the hub (and unloads its goods) one could assume, that

  1. all goods are handled in parallel, so for each shipment we have that handling time as t_fix + t_var_shipment
  2. all goods can only be handled one by one. Since we do not know in which sequence they are handled, we had to sum up the times: but do we need to have i) the fix_time per shipment, and thus sum them also hub: -> n*t_fix + sum(t_var), or is it ii) a fix time per delivery -> t_fix * sum(t_var).

in case of 2: What do we write into the event: The same exp. handling duration for all shipments or the individual one (which is easier for i) instead for ii).

t_fix: fix time needed per handling at hub
t_var: a variable time, depending on the size of the shipment.

One additional remark: It is important, that the handling starts event is thrown at the same time step as its triggering event. Currently, it is triggered by a CarrierTourEndEvent... it may change, once we have CarrierShipments and can use CarrierShipmentDeliveryEndEvent as a trigger. -> see e.g. matsim-vsp/logistics#44 or matsim-vsp/logistics#174.

((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#175 ))

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

No branches or pull requests

1 participant