GT Calculations: Difference between revisions
m
link
No edit summary |
m (link) |
||
(9 intermediate revisions by 5 users not shown) | |||
Line 1:
[[Category:Guides]][[Category:Automation]][[Category:Mechanics]]
'''YouTube explanation'''
https://youtu.be/L3ZtnS2gvnA
<big>'''Introduction'''</big>
Along your GT journey you'll eventually start setting up full processing setups. This might start as early as LV, if not even in steam. A key part of any GT setup is processing speed. This will dictate how many of each machine you need, how much power you will need to route to it, and most importantly, your output. While often times you can simply wing it on quantities and [[tier]], there's times you're looking for a specific output, or simply want to know how much fuel your power gen will produce. When it comes to calculations around GT, there's a few simple equations that will come in handy. Most are easy enough to derive yourself through how overclocking works, but this section is dedicated to laying them out for you to use. Most of these equations will be written in the syntax of excel, as it's a useful tool for GT math. However this can be done with anything that can handle rounding and logs.
Line 34 ⟶ 37:
==
Finding the [[tier]] of a recipe is simple enough, however it's a little more complex when you try to use equations. We all know 1-32v is LV, 33-128 is MV, and so on, but putting this in a formula is a little involved. The basic idea is to use something that equates to a base 4 log to calculate amounts of times that the voltage is 4x over 8v. Rounding this value up will give you the tier, for values 8v and above. If you are using a program with loops, you can set this up the way GT would use, however I'm not going to be explaining that here. The idea would be simply to replace logs with a loop that will determine the same value the log does.
==
The next important value to calculate will be the length of a recipe. This will be accounting overclocks, speed bonuses, and parallels. This value is equated to
It's important to keep the quantity of machines out of this calc, as we will be using the
There is however a small issue with this calculation as it is. Single recipe time before parallels can only function within ticks. As the time is defined in ticks, we can simply apply a roundup function on it to always give a full tick time, as well as cap recipes at 1t. This gives us
<math>RealRecipeTime = \frac {\left \lceil \frac {RecipeTime} {SpeedBonus \times OverclockFactor^\frac {RecipeTier} {RunningTier}} \right \rceil} {Parallels}</math>
==
Now it's time to give a start point to your processing chain. You can do this by manually setting a desired output rate, setting a specific machine quantity yourself, or accounting for a given input. For something such as ore processing, it could be easier to account for an input rate, while something like power gen would function best with setting a desired fuel output. If you have one particularly expensive machine in your chain, it could be best to set the quantity of those, in order to maximize efficiency of a set amount of that machine. If you want to put more work into it, you could give a setup a fixed power usage, and calculate everything based on that, however that is more complex. Whatever you do, you'll need to set one value in order to calculate everything else.
If you choose an output/input rate, the calculation of
If you were calculating based on an input, you would use
==
This will be almost the reverse of using a fixed output to define
==
This will be the value that tells you how many machines will be needed. The build requirement at a given tier, to reach a given output. This value is calculated with an
==
When it comes to calculating power to machines in a setup, you'll need to get a few values. First off, a general overall power usage is important. This is calculated as
However there is more to power than simply your average draw. This is where machine quantities being fractional comes in, as well as values useful for setting up power logistics. Using a rounded up calc on machine quantity, you can find the maximum draw your setup will take, which is useful for skipping battery buffer usage, and wiring for Max draw instead. This value will give you the amount of power each step will require at most, ensuring no machines get stuck/shut off.
==GTNH Overclock Calculator==
Given ''Recipe Voltage Tier'', ''Machine Voltage Tier'', ''EU/t'' and ''Recipe Time in seconds'', this Overclock Calculator application will compute the Overclock Time and Power for a recipe.
* Application: <nowiki>https://gtnh-oc.herokuapp.com/</nowiki> (no longer accessible)
* Source code: https://github.com/k3nw4y/gtnh-oc-calculator
|