Yet another train manager


A mod to manage a network of train and station. Some stations provide products (item or fluid) to the network, others stations request products. The mod allocate trains to carry product from provider to requester. This mod is highly inspired from the great mod LTN but with a completly different implementaton.

Content
2 months ago
2.0
520
Trains

b train blocked by provider

11 days ago

Maybe I'm doing something wrong, or maybe it's a bug.
The mod creates the route even if the supplier's warehouse doesn't have the requested item, so the train stops there and waits, preventing it from being used for anything else. Is there no way to create the route only if the request can be fulfilled?
Thank you

11 days ago

Can you provide me a saved game to reproduce the issue ? . Normally. a route is created only if the provider has the requests items, and the quantity is reserved to the delivery

11 days ago

I will add it to your github repo -> issue

11 days ago

Thanks for you help. I think i get the issue. For example in the blue potion station, you have an arithmetic combinator that connects the output of the YATN combinator to the input of the YATM [249.5, 58]. During loading, the YATM combinator output (minus the remaining quantity to load). With this loop, YATN wrongly assume that there is more blue potion than is reality. The output if the YATN combinator shoud be connected to the loaders [245.5, 60.5] with the condition (blue potion < 0)

11 days ago

First of all, thank you for your reply.
I always reply on GitHub to post and share images.

New response