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

gradual loading doesn't work as expected with reservation #8

Closed
fonsinchen opened this issue Aug 27, 2012 · 1 comment
Closed

gradual loading doesn't work as expected with reservation #8

fonsinchen opened this issue Aug 27, 2012 · 1 comment

Comments

@fonsinchen
Copy link
Contributor

Cargo is always reserved so that each vehicle is filled up in the order they're processed. So the first vehicles in a consist are reserved up to their capacity while the last ones may be left empty. If cargo is loaded from reservations then there is no "gradual loading". This might be fixed by restricting the amount of cargo reserved in ReserveConsist in economy.cpp.

@fonsinchen
Copy link
Contributor Author

I won't fix this one as the difference in loading speed will only be noticable in the most extreme corner cases where new cargo appears just at the rate the consist is able to load with all vehicles in parallel. If cargo appears at a slower rate the consist will be able to load it without using all vehicles in parallel. If it appears at a faster rate the cargo will pile up and in the next round all vehicles will reserve cargo which leads to parallel loading.

One can argue it's even better to leave vehicles empty and load others fully in order to have free wagons for refitting at a later station.

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