Is it possible to implement it into mod as an option for default threshold when only one item is requested? Of course there should be a setting to specify how many locomotives are expected per train so that they are not counted as cargo wagons.threshold = avg [cargo or fluid wagons count] * [40 (Cargo stacks) * stack size or 25000 for fluids].
Default thresholds formula suggestion
Moderator: Optera
Default thresholds formula suggestion
I use this formula so my trains won't run half-full:
Last edited by wvlad on Sun Jan 14, 2018 3:39 pm, edited 3 times in total.
Re: Default thresholds formula suggestion
What numbers should it use when there are multiple train lengths and/or wagon capacities?
My Mods: mods.factorio.com
Re: Default thresholds formula suggestion
I think that by default it's ok to assume that a player uses only vanilla wagons which have the same capacity unless you lock their slots.
When a station declares that it accepts trains from 2 to 4 cargo wagons (or with locomotives min=3, max=5) I would use average count 3. As I understand this doesn't limit trains with less capacity to come in but requesting shouldn't start before the threshold.
btw I use only fixed-length trains for requester stations (min=max) because otherwise less longer trains would have to wait for overfilled forward chests.
When a station declares that it accepts trains from 2 to 4 cargo wagons (or with locomotives min=3, max=5) I would use average count 3. As I understand this doesn't limit trains with less capacity to come in but requesting shouldn't start before the threshold.
btw I use only fixed-length trains for requester stations (min=max) because otherwise less longer trains would have to wait for overfilled forward chests.
Re: Default thresholds formula suggestion
Fixed numbers are more robust.
It's only a fallback for the really lazy anyway. Thresholds should always be set manually to fully utilize LTN.
It's only a fallback for the really lazy anyway. Thresholds should always be set manually to fully utilize LTN.
My Mods: mods.factorio.com