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

Dropoff stations get overfilled if configured with true maximum capacity #1

Open
saxbophone opened this issue Jul 7, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@saxbophone
Copy link
Owner

saxbophone commented Jul 7, 2022

Temporary workaround: set station capacity M to be the true maximum capacity minus the size of a train-load (W), as in $M = truecapacity - W$

This workaround has been thoroughly tested and shown to work. With the workaround applied, stations do not get overfilled to the point of jamming, they only get filled up in some cases to more than $M$ but always less than $truecapacity$.

Without a more reliable fix available, the simplest fix will be to amend the design slightly to make this subtraction within the circuit itself, so that users can set $M$ to $truecapacity$, with the circuit subtracting $W$ from this number to provide the capacity actually used in the internal calculations.

@saxbophone saxbophone added the bug Something isn't working label Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant