Proposal: Factory Metrics
Posted: Mon Nov 18, 2019 10:09 am
This is an idea thread for a mod project. It's open to thoughts or contributions from everyone.
The basic premise is that most people have only a few ways to "measure" their factory's operations. Usually it's SPM or rockets or some other item production rate. If you like building megabases, then UPS is a technical benchmark.
But what about factory efficiency? Is there a way to build a factory that is lean and efficient? Here are some ideas, feel free to add more:
The basic premise is that most people have only a few ways to "measure" their factory's operations. Usually it's SPM or rockets or some other item production rate. If you like building megabases, then UPS is a technical benchmark.
But what about factory efficiency? Is there a way to build a factory that is lean and efficient? Here are some ideas, feel free to add more:
- Theoretical production capacity versus actual consumption. This would be a measure of how much excess infrastructure you dedicate to a given item production, usually ores but not limited to those.
- Train idle time as a percentage. Logistic bot idle time as a percentage. These are also "excess" measures targeted toward transport machines.
- Rail segment contention (1): for each rail segment, add any occupant train's acceleration or decelleration into an accumulator. Use a low-pass filter on that, then render accumulator values overlaid on the rail network to view which stops are causing trains to slow down / speed up.
- Rail segment contention (2): for each rail segment, if it goes from green to red, add 1 to an accumulator. Again, use a low-pass filter to get a finite score. Render accumulator values as with (1).
- Bottleneck identification: can this be done with Lua over transport belt segments, inserters, loaders, splitters, etc?
- Space efficiency(1): given for each item; take its production rate and divide by the total space occupied by all your factory's structures. This gives a vector of "spatial efficiencies" one for each item. You can also take weighted combinations of these to get a family of factory space efficiency metrics.
- Space efficiency(2): similar to the (1), but divide by the space of the convex hull of your factory. (Not for factories with numerous satellites.)