Field manual › Supply
Contents
Need and balance
A depot, a factory and a port each have a need and a balance. The network carries crates from those that hold more than they need to those that hold less, the first classes first.
To the network a depot, a factory and a port are one thing, a node: a factory is a node that makes crates, a port a node that ships reach. A node serves what is around it: the divisions and the structures its green trucks reach. Each has a need and a balance, and your logistics, the AI's unless you step in, works from them.
A node's need is made of what it serves. For all of it together it keeps what it uses in a day times the node's cover, and what it lacks now: a division its free places, a structure what it lacks to the level it keeps, less what is on its way to it. The cover is the days a crate takes to come to the node from where crates are made, and one day more. A node far from the factories keeps more than a near one, or it runs dry while its resupply travels; the one day is its only margin. A division uses 0.25 crates a day at rest, 1 marching and about 2.4 in a battle at even odds. A division with a known enemy beside it counts a battle with a chance of 25%, and for sure when the enemy's attack over its defence reaches the odds its doctrine expects an enemy to attack at. A depot that serves an engineer park counts the park's use in the class of each work it serves, and a barracks, a motor works or a rail works with an order counts at the rate its job takes crates, in its own class. A node never needs more than it stores, and one that serves nobody has no need: what it holds is offered to the others.
Its balance is its crates, what it holds, what is on its way to it and what it takes in a day, less its need. Above zero it offers the rest to the network, and below zero it asks. Once a day your logistics works out where the crates should go: it carries them from the nodes that offer to those that ask by the way that burns the least of their load, makes the links a way needs, and gives them vehicles (Links).
Classes. The need has one layer for each priority class, 1 to 5, made of the use and the lack of the divisions and structures of that class (The Logistics tab sets them). The network fills class 1 first, with every crate and vehicle it can use, then the next class with what is left, down to class 5. A node that holds crates for a layer of a late class gives them to a node that lacks a layer of an early one. Where the crates fall short in a class, the nodes that lack it each reach the same share of their layer, counting what they hold. The classes change who is served only where crates or vehicles are short, and the AI leaves every class at 3.
Vehicles. Your trucks, trains and ships are one pool for the side: the links, the green trucks of the depots and the brown trucks of the parks all draw on it. A delivery costs vehicle days by its distance. When the pool covers every want, each gets what it wants. When it does not, it goes class by class: the first class it cannot cover is shared so that each claim gets the same fraction of the crates it wants, in whole vehicles, and the classes after it get none. No claim has a vehicle of its own before the classes.
Part loads. A vehicle leaves with the whole crates its start holds, at least one and at most its load (1 crate for a truck, more for a train and most for a ship), and never waits to fill. A train that leaves with two crates still spends a whole trip, so where vehicles are short, links that carry part loads cost more than they bring. A vehicle that comes to a full end waits at its gate and unloads as room frees.
On a depot's card. A depot's card, and a factory's, has these figures in one block. Crates is what it holds, what is on its way and what it makes or takes in a day. Need is as above, and Balance is the crates less the need: green when it holds more than it needs, crimson when it lacks. Under them each class that has a part of the need shows its crates and the share its crates meet. Use is what everything it serves uses in a day, Cover the days the need covers, In and Out the crates a day the plan carries into it and out of it.Hold fixes its need by hand: the plan then keeps that many crates there, in the depot's own class, in place of the need above, and the AI leaves it as you set it. A depot's card also has a class row, and the pin on a link's card holds the link by hand (The Logistics tab).