Complexity analysis of factorio resources

Post all other topics which do not belong to any other category.
Post Reply
blazespinnaker
Filter Inserter
Filter Inserter
Posts: 665
Joined: Wed Sep 16, 2020 12:45 pm
Contact:

Complexity analysis of factorio resources

Post by blazespinnaker »

Was wondering if anyone has done this. Fairly easy to do, just add up complexity of the total build chain of a resource, but if someone has already got it done, nicely laid out, love to re-use it.

Dave? :)
OptimaUPS Mod, pm for info.


User avatar
NotRexButCaesar
Smart Inserter
Smart Inserter
Posts: 1120
Joined: Sun Feb 16, 2020 12:47 am
Contact:

Re: Complexity analysis of factorio resources

Post by NotRexButCaesar »

You could use an online calculator and look at the number of layers on the “visualization” (flow chart) section.
Last edited by NotRexButCaesar on Sat Apr 24, 2021 6:19 pm, edited 1 time in total.
—Crevez, chiens, si vous n'étes pas contents!

User avatar
jodokus31
Smart Inserter
Smart Inserter
Posts: 1603
Joined: Sun Feb 26, 2017 4:13 pm
Contact:

Re: Complexity analysis of factorio resources

Post by jodokus31 »

blazespinnaker wrote:
Fri Apr 23, 2021 6:00 pm
Was wondering if anyone has done this. Fairly easy to do, just add up complexity of the total build chain of a resource, but if someone has already got it done, nicely laid out, love to re-use it.

Dave? :)
Just do it yourself, i suppose :)

blazespinnaker
Filter Inserter
Filter Inserter
Posts: 665
Joined: Wed Sep 16, 2020 12:45 pm
Contact:

Re: Complexity analysis of factorio resources

Post by blazespinnaker »

There are different ways of doing the scoring I suppose.

For example, both ore and oil just take one step (miner or pumpjack), but clearly oil is harder to get. How much harder, is map dependent and subjective to skills. Advanced oil also has complexity issues with buffering and pipe layout.

Visualize on KirckMcdonald's calc is useful, but not very numerical.

https://kirkmcdonald.github.io/calc.htm ... 3:p3:p3:p3

If someone has a link to something better, that'd be great.

Simplest is just looking at the production chain.

eg, from the top of my head:

Ground = 0
Raw = 1 (ground + 1) #ore, coal
Plates = 2 (Raw + 1) #3 I guess if you don't use electric furnaces, but I use 2 here because of relative complexity to oil
BaseComponent = 3 (Plates + 1) # Base components are gear, wire, stick, steel
GC = 6 (Wire + Plate + 1)

Petro = 3 (oil + water + 1)
LightOil = 3 (oil + water + 1)
SolidFuel = 4 (Petro + 1)
Plastic = 5 (Coal + Petro + 1)
Sulfur = 5 (Petro + Raw + 1)
Acid = 9 (Sulfur + Plates + Raw + 1)

RC = 15 (Wire + GC + Plastic + 1)
BC = 31 (GC + RC + Acid + 1)

SpeedModule = 22 (GC + RC + 1)

RCU = 54 (SM + BC + 1)


Jetfuel = 8 (SolidFuel + LightOil + 1)


LDS = 11 (plastic + steel + plates + 1)


..

In this case it *sort of* helps numerically measure relative complexity for RCU versus Jetfuel versus LDS. As always: YMMV.
Last edited by blazespinnaker on Sat Apr 24, 2021 12:34 pm, edited 1 time in total.
OptimaUPS Mod, pm for info.

User avatar
jodokus31
Smart Inserter
Smart Inserter
Posts: 1603
Joined: Sun Feb 26, 2017 4:13 pm
Contact:

Re: Complexity analysis of factorio resources

Post by jodokus31 »

Maybe YAFC does want you want as it as a "YAFC cost" to each item?
yafc screenshot
https://github.com/ShadowTheAge/yafc/re ... tag/v0.5.5

blazespinnaker
Filter Inserter
Filter Inserter
Posts: 665
Joined: Wed Sep 16, 2020 12:45 pm
Contact:

Re: Complexity analysis of factorio resources

Post by blazespinnaker »

Zowie. No, not at all, but respect for the effort.

Something in browser I think would be appropriate here. There is only some small value to this list, and it's going to be rather subjective.
OptimaUPS Mod, pm for info.

Post Reply

Return to “General discussion”