GregTech 5/Electricity/ru

С версии 5.0 (для Minecraft 1.7.2) GregTech имеет свою собственную Энергетическую Систему, поскольку GregoriusT не удовлетворен Энергетической Системой.

Напряжение(V) и Сила Тока(A)
GregTech использует понятия Напряжение (V) и Сила Тока (A) для описания своей Энергосистемы. Один Ампер грубо говоря, тоже самое что один Пакет UE из IC2, и Напряжение это размер этого пакета.

EU/t это полное получаемое EU. Например, если машина получила один 32V пакет и другой 24V пакет, полное EU/t будет: 32+24 = 56 EU/t

В отличии от IC2 энергосистемы, все GregTech энерговзаимодействующие блоки имеют лимит по Напряжению и Силе Тока, тока с которыми они могут работать.

Разные машины принимают и выдают разную Силу Тока
 * GregTech выдают 1А в повышаюжем режиме и 4A в понижающем.
 * принимают/выдают 1A за каждую Батарейку внутри.
 * принимающие машины могут принимать 2A или 3A.
 * Генераторы выдают 1A.

Вам следует быть осторожным, когда запитываете машины:
 * Машины, запитаные Напряжением выше, чем они могут принять взрываются.
 * Избыток Силы Тока поданной в машину не имеет эффекта, пока напряжение не выше лимита машины.

Машины и рецепты каждая имеют уровни напряжения. Уровень Мультиблоковой Машины определяется его. Уровни машин и рецепты постоянно пересекаются, так что вам следует обращать на них внимание.

Рецепты можно разгонять несколько раз, если есть машины более высокого уровня чем требует рецепт.
 * Если рецепт требует минимальное напряжение выше уровня машины, то крафт произведен не будет.
 * Если рецепт требует минимальное напряжение такого же уровня машины, крафт будет произведен обычном образом.
 * Если рецепт требует минимальное напряжение ниже уровня машины, то рецепт разгоняется. Разогнанные рецепты, потребляют в 2 раза больше энергии, в 4 раза больше за тик и крафтятся в 2 раза быстрей.

GregTech имеет 10 Уровней Напряжения в версии 5.0

Запомните: ULV уровень считается как Уровень 0

Cables and Loss
Given that GregTech has its own power system now, you will need to use GT cables for powering GT machines. Do note that the only machine capable of accepting IC2 EU in GT is the  (Not to be confused with the IC2 Transformer).

All GT Cables have a max Voltage, max Amperage and a Loss: Do note that packets can rebound. Even if the logical path that a packet dictates that EU should not travel in that direction, you should not take for granted that your cables will not have some stray EU packets travelling through them. For example a 32V package is sent trough a Tin Cable which has a loss of 1EU per block to a machine 8 blocks away. After 8 blocks of cables the 32V Package is down to 24V when it arrives at the machine. Should the machine need for example 30EU/t to operate. A second package sent in the same tick is needed every 4 Ticks. Thus a 2A supply is needed for the machine with this setup. Cable losses are applied to each EU Package, netting you a 2x power loss.
 * Cables that get packets higher than their maximum Voltage will catch fire and melt.
 * Cables that have more Amperes travelling through them than their maximum Amperage limit will catch fire and melt.
 * The loss of a cable is per Block a EU package travels.

Each Material has 1x, 2x, 4x, 8x 12x and 16x uninsulated Wires and 1x, 2x, 4x, 8x and 12x Insulated Cables.

Do note that Uninsulated Wires have 2x the loss as Insulated Cables.

Here is an example:
 * A 1x Tin Cable can handle 1A and 32V at a loss of 1V/m. This means that the EU packet can travel 32 blocks before it dies.
 * A 1x Tin Wire can handle 1A and 32V at a loss of 2V/m. In this case, the EU can travel 18 blocks only.

Below is a table of the current properties of various types of cables in GregTech:

(*No insulated Cable version) (**No crafting recipe yet)

Also any GT Block and Battery outputting Energy has an energy loss on output. This means there is no such thing as lossless cables in GregTech.

A power outputting machine will take (8 * 4 ^ Tier) + (2 ^ Tier) EU from its storage and output only (8 * 4 ^ Tier) EU. The energy lost is therefore (2 ^ Tier).

An example: Say a turbine is supposed to output 32V.

output = 32 = (8 * 4 ^ Tier).

Solving for Tier gives you 1. The energy loss will then be (2 ^ Tier). In this case it is 2.

So the turbine takes 34 EU from its storage, outputs 32 and then voids 2 EU per packet output.

Here is a table documenting some of the cable properties in GregTech:

Optimal Cable length between Batteries for maximum efficiency.

The EU loss of GregTech Cables and Batteries scales linearly with the number of sequential Cables and the number of Batteries, but since voltage is topped up at every battery there will be a loss that is increasing exponentially for every identical segment of a Battery and x-number of Cable links. This exponential loss from more batteries also reduces the impact of the linear loss, but this ofc comes at the cost of more exponential loss. This means that there must exist a sweet spot, because with short segments the extra exponential loss of more segments will be more detrimental to the efficiency than the linear loss from making each segment longer, for long segments this will be reversed. So lets do the math!

Lets first define our terms, a segment is the length of a Battery plus a number of sequential Cables. The efficiency of such a segment will be (8 * 4^T - (D - 1)L) / (8 * 4^T + 2^T). T is the tier (ULV is tier 0, LV is tier 1 and so on). L is the loss of the cable in voltage/meter/ampere. D is the distance of the segment, so the length of the Cables plus the battery.

But this is no good since we want to figure out the optimal length when there is an element of exponential decline that we haven't accounted for. We do this by making an expression of how much efficiency we get in each single block if there was a uniform exponential decline over the whole segment. This turns out to be ((8 * 4^T - (D - 1)L) / (8 * 4^T + 2^T))^(1 / D).

We now take the derivative of that expression with respect to D to get how the efficiency changes when we change the length of the segments, when we do this we get such a ghastly monstrosity that not even WolframAlpha can deal with it algebraically. But this wont stop us on our quest for efficiency! Lets solve it numerically!

Step 1: go to http://www.wolframalpha.com/ because we are lazy. Step 2: Enter "(d/dD) ((8 * 4^T - (D - 1)L) / (8 * 4^T + 2^T))^(1 / D) = 0, T=, L=". It will solve the problem numerically for each separate case. So if you want to know the optimal length of Annealed Copper Cable between your MV Batteries, you enter T=2, L=1 and it will give you the optimal length of each segment (This includes the battery!). In the case of Annealed Copper Cable this turns out to be about 24.1, so 23 cables between each battery is optimal. For more information on other cables, see the table above.

Machine explosions
Using GregTech machines without thought and care can be fairly unsafe. If a machine gets contact with rain on any of the 6 sides of the block, it can catch fire. If a machine gets lit on fire, it can explode.

Energy conversions
GregTech machines does not accept EU from IndustrialCraft² cables and some other mods EU powered blocks does not accept GregTech cables, thus there is the need to convert IC2 EU and GT5 EU back and forth.

To convert IC2 EU into GT5 EU, simply connect (read put directly adjacent) a GT transformer input to an IC2 Energy Source output side. This means connecting the output dot of a IC2 transformer/storage block to the input dot of a GT transformer.

To convert GT5 EU into IC2 EU, simply connect GT cables to IC2 blocks.

Example screenshots of IC2 and GT5 EU conversions: