Deconstructing Power in prerelease 200.251

    Joined
    Sep 11, 2013
    Messages
    348
    Reaction score
    147
    • Community Content - Bronze 1
    • Purchased!
    • Legacy Citizen 4
    With the new power update just over the horizon, I took some time to do some experimenting in the latest pre-release (200.251), to see if I could deconstruct how the new power system works.

    I haven't played much of the dev builds, but from the forums I gathered that long thin reactors seemed to be the best. I used that as a good place to start and try and figure out how power is generated through reactor design. The first question I had was where is the best place to put stabilizers to maximize power output. I built a 3x3x95 long reactor first. Then I placed a few 100x100 stabilizer planes through the xz and xy planes. This allowed me to see where placing my stabilizers would gain me the most stability.
    Screenshot (1).png
    What I noticed was that the amount of stabilization gained depended on the distance from the surface of the reactor not the center of the reactor. I can place a stabilizer 8 blocks away along the z axis and 8 blocks away along the x axis and gain the same amount of stability. I also tested this with a 5x5x5 reactor just to make sure and found a similar result.

    Next I wanted to know how stability is gained as a function of distance from the reactor. Is the gain linear as a function of distance, or does it follow a power law with decreasing gains as a function of distance? I built a 1x1x27 reactor. Then perpendicular to the long axis, in the exact center of the reactor rod, I placed one stabilizer block next to the reactor and recorded the percent gain in stability. That is the difference between the stability with the one stabilizer block and without any stabilizer blocks. I then repeated the measurement increasing the distance of the stabilizer block from the reactor one meter at a time. The first 8 meters did not yield an increase in stability. After 8 meters stability grew linearly with distance. After 37 meters no more stability was gained by placing stabilizers further from the reactor. Stability per reactor block is gained linearly until it plateaus at a maximum stability distance, where the maximum stability gained is constant.
    SM_dist_yeild.png
    I also tested this along the long axis of the reactor and found the same results.

    Next I wanted to know where the maximum gain was for different reactor sizes. I started with a long 1x1x11 sized reactor. Below this size there is no need for stabilizers. I placed 1 stabilizer block perpendicular to the long axis and noted the increase in stability. I increased the distance from the reactor until I saw a plateau as in the section above. I recorded the distance in blocks where the plateau occurred. I then increased the reactor size by 2 (1x1x11+2) and repeated the experiment. After a reactor size of 73 blocks gains were slow so I increased the step size by 4 reactor blocks, and at 85 blocks I increased the step size to 10 reactor blocks.

    I found that the maximum stability distance best fit a logarithmic function [A*ln(reactor size) + B] where A=27.978 and B =-56.498.
    SM_size_stabdist.png

    I also recorded the maximum stability gained per stabilizer block above the maximum stability distance. It roughly follows a power law [C *(reactor size)^D] where C=99.527 and D=-1.000.
    SM_Size_stabblock.png

    From this it was easy to calculate the number of stabilizer blocks needed outside the maximum stability distance to achieve 100% stability. The function is roughly linear [E*x+F] where E=1.003 and F=-9.897. It is not necessary to have the same amount of stabilizer and reactor blocks.
    SM_size_100.png
    There is a bit of a discontinuity at a 85 block sized reactor. This is about where I changed step size so the sampling might not be super accurate. I tested this for a 100 block reactor and found that the prediction to be good to about 1-2 stabilizer blocks.

    To summarize the reactor stabilizer relationship I find:
    • Stabilizer placement depends on the distance from the surface of the reactor not the center of the reactor.
    • Stabilizers placed further away from the reactor than the maximum stability distance all contribute the same gain to stabilization.
    • The maximum stability distance depends on the reactor size. It follows a logarithmic function.
    • The maximum stability gained per stabilizer block above the maximum stability distance follows a power law with an index of about -1.
    • It is not necessary to place the same amount of reactors and stabilizers for 100% stabilization. This value depends linearly on reactor size.
    I hope you all find this useful. I make no claims about the best reactor design here. I hope that you all will take this information and use it to build more awesome ships. Versions of the equations with more significant figures are shown in the figures.

    Have fun!
     
    • Like
    Reactions: Keptick and Lancake

    Ithirahad

    Arana'Aethi
    Joined
    Nov 14, 2013
    Messages
    4,150
    Reaction score
    1,330
    • Purchased!
    • Top Forum Contributor
    • Legacy Citizen 8
    Nobody ever said anything about long and thin reactors, I don't believe. Just long and thin ships, with a reactor on one side, and a stabilizer blob on the other side.
     

    Ithirahad

    Arana'Aethi
    Joined
    Nov 14, 2013
    Messages
    4,150
    Reaction score
    1,330
    • Purchased!
    • Top Forum Contributor
    • Legacy Citizen 8
    I disagree. In your thread here:
    Just gonna leave this here...
    You clearly make the case for longer reactor setups instead of short squat ones.
    No. I was just filling in the hull space I had. I made the case for longer and thinner ships, not reactors. I didn't mention it, but there's a point at which you're so long and thin that your reactor starts getting long, which is not a good thing because it means much of your hull length is being used for reactor and isn't space to allow the stabilizers good stabilization %.
     
    Joined
    Sep 11, 2013
    Messages
    348
    Reaction score
    147
    • Community Content - Bronze 1
    • Purchased!
    • Legacy Citizen 4
    No. I was just filling in the hull space I had. I made the case for longer and thinner ships, not reactors. I didn't mention it, but there's a point at which you're so long and thin that your reactor starts getting long, which is not a good thing because it means much of your hull length is being used for reactor and isn't space to allow the stabilizers good stabilization %.
    oh well. It is pointless anyway. From my study above it doesn't matter what shape the reactor is. Just that you place stabilizers outside the maximum stability distance.
     
    Joined
    Aug 3, 2016
    Messages
    187
    Reaction score
    96
    The stab.distance is actually calculated off the convex hull of the reactor, rather than it's "surface".

    Also I found that the number of stabilizers required is essentially reactor block count minus 10, with 10 being the biggest reactor size that doesn't need stabilizers. Source: my ass.

    Now we just have to wait for someone, who obviously has nothing better to do, to make a spreadsheet for the rest of us.
     

    Jarraff

    filthy neutral
    Joined
    Aug 28, 2015
    Messages
    111
    Reaction score
    61
    • Community Content - Bronze 1
    Yes consult the config and block files they hold much information.
     
    Joined
    Aug 3, 2016
    Messages
    187
    Reaction score
    96
    Funny thing, seems like configs are of no help when it comes to ACTUALLY CALCULATING the stabilizer distance.
    Between DistanceExpMult and DistanceTotalMult I have no idea what goes where.
    Whatever values I plug into
    StartingDistance + (blocks ^ DistanceExp) * DistanceExp
    it gives something completely unrelated to the ingame values.
    DistanceExpMult = 10.0
    DistanceExp = 0.333
    StartingDistance = -7.5
    FreeMainReactorBlocks = 10
    DistanceTotalMult = 2.0
    Feel free to call me an idiоt and point out my undoubtedly numerous mistakes.
     
    Joined
    Aug 14, 2017
    Messages
    353
    Reaction score
    162
    DistanceExpMult = 10.0
    DistanceExp = 0.333
    StartingDistance = -7.5
    FreeMainReactorBlocks = 10
    DistanceTotalMult = 2.0
    Seems like it is pretty straightforward.

    2*(-7.5 + (Blocks^0.333)*10) = Distance

    Let's check it out - for 1000 blocks you'll have 184.54. Or something like this if I calculated right.

    EDIT: Well the game gives me 183.9, probably due to some rounding.
     
    Last edited:
    Joined
    Aug 3, 2016
    Messages
    187
    Reaction score
    96
    brain problems.png
    In my defense, the config says:
    Code:
    ReactorStabilizerStartingDistance + (blocks ^ ReactorStabilizerDistanceExp) * ReactorStabilizerDistanceExp
    I guess we can blame the rеtard that made the mistake here.