Transformer (GregTech 6)

The Transformer is a machine added by GregTech 6 that converts voltage or Energy Units (EU).

Usage
The Transformer has 1 input side and 5 output sides. The input side is defined as the side that interacts with a higher voltage while the output sides are the sides that interact with a lower voltage. It has two operational modes: Normal and Reversed. The mode can be changed by right-clicking it with a Monkey Wrench. Transformers in normal mode emit lower EU voltage, and in reversed mode emit higher EU voltage.

Behavior
The Transformer has a small internal EU buffer, whose size equals to their maximum input voltage; i.e., LV-MV transformers accepting up to 128 EU/t have an internal buffer of 128 EU. In normal mode, the Transformer will try to emit up to 4 EU packets (i.e., 4 amperes) per tick through its output sides whose voltage equals to a quarter of the amount of EU stored internally. For example, when an LV-MV Transformer is fully charged, it is capable of emitting up to 4 packets of 32 EU. Transformers in this mode can accept up to 1 EU packet (i.e., 1 ampere) through their input side every tick, and packets they receive will be used for charging their internal buffer.

When the Transformer is in reversed mode, it will try to emit up to 1 EU packet through their input side whose voltage equals to the amount of EU stored internally. For example, when an LV-MV Transformer is fully charged, it is capable of emitting up to 1 packet of 128 EU. A Transformer in this mode can accept up to 4 EU packets (i.e., 4 amperes) through its output sides every tick.