veden / rampantEvolution

GNU General Public License v3.0
1 stars 2 forks source link

Evolution does not decrease as expected #4

Closed totobest closed 2 years ago

totobest commented 2 years ago

Factorio 1.1.50 RampantEvolution_1.3.0

With these settings: 2022-01-06 20_52_58-Factorio 1 1 50 The result of the command /rampantEvolution gives: 2022-01-06 21_11_50-Factorio 1 1 50

I would like that the evolution decreases more by the time so I changed the setting "Evolution per second elapsed" to -10: 2022-01-06 20_52_32-Factorio 1 1 50 and it gives (I waited for the recalculation to be finished): 2022-01-06 21_09_33-Factorio 1 1 50

I'm surprised that it did not affect that much the global evolution the others factors increased like the Absorbed pollution by spawner. Is it normal?

totobest commented 2 years ago

I tried with changing the same setting to -100 and used gvv to watch the global values. Here the result: image

Evolution is still above 0.9. I would expect evolution to decrease drastically.

veden commented 2 years ago

Without a save, this is much harder to answer. Something to keep in mind is that the contributions are absolute contributions to the evolution and that the effects are not linear they are (1 - evo)^2. Also all numbers are scaled by 1e-7 but it is easier to talk in whole units. Each mod setting corresponds to either 1 kill, 1 pollution, or 1 second and is applied to the current evolution using (1-evo)^2.

So a killed spawner is worth 1000 in the mod settings. At 0% evolution, the killed spawner contributes the full 1000. At 50% evolution that contribution is 250. At 94.84% your 1000 per spawner kill is now only worth 2.66256

When you have negative numbers, they make the contributions larger because (1-evo)^2 is getting bigger as you reduce the evolution.

Some quick math. If you have -100 per time which is -100 per second. A boiler creates pollution at 30/min, so to talk about equal units we multiply -100 by 60 to get evolution reduction per minute with respect to the time. So at -6000 minute that is roughly equivalent to 200 boilers and the reduction is completely counter. Or if you want to talk about spawners, that same -6000 reduction is completely countered by 380 pollution absorbed by spawners in a minute at 15.75. This calculation isn't perfect, but should give some idea of the numbers involved.

If none of this answered your question or you still think something is wrong, please ask additional questions and/or post your save.

totobest commented 2 years ago

Thank you for the detailed explaination. It makes sense in general though I think the behavior in game could be more predictable : If I decrease the evolution per second ellapsed; the evolution should decrease right?

Here the (big) save : https://www.dropbox.com/s/wzyk1wxrasktxn7/ks2sett.zip?dl=0

I'll play more with the config in the meantime.

veden commented 2 years ago

yes to evolution should decrease. Do you have any suggestions on how to make the behavior more predictable?