Balanced discharge of two trains with cache
Input:
- 2x iron with stack for 6 trains
- 2x copper with stack for 6 trains
- 2x coal
- 2x oil
Output:
- 12 lanes iron
- 12 lanes copper
- 4 lanes coal
- 2 pipes crude oil

Originally shared on the public FactorioPrints / Factorio School archive (factorioprints.com · factorio.school). Authorship preserved from the public catalog.
Input:
Output: