Factory solver based on IPMs for LP

by B_head

The Factorio calculator. Calculate quantities of machine and ingredient required in a factory to achieve materials production speed.

Utilities
4 months ago
2.0
1.75K

g Wrong Results

5 months ago

I feel like I must be missing something fundamental here. To start I selected electromagnetic science pack and configured it to use 5 prod2 modules and a constraint of 64.8 per minute. This requires exactly 6 machines, but the mod is telling me it needs 8.308. No matter how I fiddle with it I keep getting nonsensical results.

5 months ago
(updated 5 months ago)

I missed that because I was avoiding spoilers. Fixed in version 0.3.5.

The recycler's calculation is wrong and will be fixed tomorrow.

5 months ago

Wrong calculations when using receiver recipes were fixed version in 0.3.6.

5 months ago

Thank you, and sorry about bringing up a spoiler. I didn't know! :(

5 months ago

I've continued working on this production line, and it got confused when I started using recycling recipes. This goes deeper into spoiler territory so I understand if you want to delay looking into this, but if/when you would like to let me know how you'd like to. I can send a save, or I can send a string export of the same configuration in Factory Planner using its matrix solver.

Ultimately I'm hoping to find a tool that can work with these recursive recycling chains to make byproducts go away and tell how many recyclers and in what configuration is needed to do so.

5 months ago
(updated 5 months ago)

Thank you, and sorry about bringing up a spoiler. I didn't know! :(

That was spoiled before your post so it's ok! (Youtube thumbnails are s**t)

I've continued working on this production line, and it got confused when I started using recycling recipes.

That may be an issue I am already aware of. What happened that caused the calculation to fail like in the image?

https://imgur.com/a/4nBWGBe

5 months ago

This is what I'm trying to do: https://i.imgur.com/ev0eBKx.png

It's very likely I just don't understand some aspect of what makes this tool different.

5 months ago

I tried to reproduce that. It seems to be the same issue.

I am working on resolving the issue, but it is also the issue that has existed since the time of pull requests in Factory Planner and is difficult to resolve. If it works, version 0.4.0 will resolve the issue, but if it doesn't work, ...but I don't want to think about what happens if it doesn't work out.

5 months ago

First aid was provided in version 0.3.7. This does not resolve the issue, but by removing recycle recipes, you will get a better solution than before.

5 months ago

Best of luck! I hope it works out. :)

New response