ClaudeMetz / FactoryPlanner

A mod for Factorio. Allows you to plan out your production in detail.
https://mods.factorio.com/mod/factoryplanner
MIT License
81 stars 40 forks source link

Feature request: Add support for always rounding UP #306

Open rpdelaney opened 1 week ago

rpdelaney commented 1 week ago

As an engineer using Factory Planner for capacity planning, I want to find out if I have more machines than I can supply with the given logistics (whether it's belts, wagons per minute, etc).

It appears that Factory Planner rounds down to the nearest integer, which is problematic. Consider the following factory plan, a sub-floor for LDS to hit an arbitrary target of yellow science packs:

image

Since Factory Planner reports that I need 0.5 belts of copper ore, I might think that a half-belt of ore would be sufficient. But if I hover the cursor, I see that I actually need 0.567 belts of copper ore. If I hadn't checked, I might have continued with a design that didn't meet the requirements.

To address this problem, Factory Planner should either round up to the nearest integer, or it should provide an option to configure rounding behavior.