Helmod: Assistant for planning your factory

by Helfima

Assistant for planning your factory. Can calculate required ingredients, products, machines, modules, and beacons. Can also calculate power production / consumption.

Utilities
3 days ago
0.14 - 2.0
436K

b faulty calculation if recipe uses same item as ingredient and result

5 years ago

Hello, Helmod calculates wrong values for recipes where some inputs and outputs are the same.

I observed this with the 'pressure-containment-data' recipe from space exploration mod.

The recipe has this properties:
ingredients:
- 5 empty-data
- 1 storage-tank
- 10000 space-water
results:
- 5 pressure-containment-data
- 50 scrap
- 9900 space-water

Helmod does not show the space-water at all when I create a production block just asking for 5'pressure-containment-data' items (should be 10000-9900 --> 100)

When I add 200 'space-water' barreling recipe (50 water per item) it tells me I need 200 Space water overall (should be 10000-9900+10000 --> 10100).

revisions:
- factorio: 0.17.59
- helmod: 0.8.14
- space-exploration: 0.1.127

5 years ago

can you try v0.8.16

5 years ago

Well the good news is that the feature I claimed seem to work fine now. Thanks for that

But unfortunate this came at a cost:
- Minor: lots of debug output printed on the console (formerly I only observed this with the matrix solver)
- mod creates much more cpu load now and feels very sluggish with space-exploration mod recipes
- The 'production %' feature is broken now. Feels like some part work inverted (have to enter 200% instead of 50% to ask for partial production) but that does not really work either. You can simply reproduce this by creating a recipe for steel followed by iron plates set to 50%.

5 years ago
(updated 5 years ago)
  • what message in the console? if after click on refresh button there are no message it's good!
  • when have you cpu load? don't use matrix solver where you don't need :)
  • ok production % is fixed (normaly) v0.8.17
5 years ago

Hello

I looked at the diff of 0.8.15 to 0.8.17. The command-line logging is caused by 'debug = true' in Solver.lua. This spews out quite a lot of data for long chains which in turn caused the cpu load increase (the command line logging on my system may be exceptional slow...). So setting this line to false seems to bring the performance back to 0.8.15 levels.

The 'production %' feature seems to work fine again in 0.8.17

5 years ago

hello
v0.8.18 ready
I have set at false the debug, It was just for external test :)
now the solver set the production % and you can remove matrix solver after computed

New response