Вы же не думали, что я играю только в Stellaris? Еще я люблю играть в Factorio, особенно придумывать что-то интересное и самому искать способ реализации.You didn't think I only played Stellaris, did you? I also love playing Factorio, especially when I'm designing interesting things and finding ways to implement them myself.
Например, счетчик нагрузки на электрическую сеть завода при использовании АЭС. Странно, но подобной реализации я не видел ни у кого, хотя это довольно просто сделать!
For example, a load meter on the electrical network of a plant when using a nuclear power plant. It's strange, but I haven't seen anyone implement something like this, even though it's pretty simple!
Для тех кто сразу хочет чертеж, держите:
For those who want the blueprint right away, here it is:
https://factorioprints.com/view/-OE_edayOHJd2E7cOIb9https://www.factorio.school/view/-OE_edayOHJd2E7cOIb9
Дальше я постараюсь объяснить как все устроено.
Next I will try to explain how everything works.
Чертеж состоит из двух частей: небольшой атомной электростанции (слева) и большого индикатора, который отображает полученное число нагрузки (справа).
The blueprint consists of two parts: a small nuclear power plant (left) and a large indicator that displays the received load figure (right).
Суть работы очень проста: все атомные электростанции и турбины при них нагружаются одинаково. Это значит, что турбины на этой маленькой АЭС будут работать с той же нагрузкой, что и на других АЭС. При этом, при работе турбины расходуют пар. Зная количество пара, которое расходует турбина, можно вычислить на сколько процентов эта турбина нагружена!
The principle is very simple: all nuclear power plants and their turbines are loaded equally. This means that the turbines at this small nuclear power plant will operate at the same load as those at other nuclear power plants. Moreover, during operation, the turbines consume steam. Knowing the amount of steam consumed by a turbine, we can calculate the percentage of load at which that turbine is operating!
Используя комбинаторы, насосы и логические вычисления, в чертеже формируется определенное число, которое затем передается на индикатор и отображается путем включения определенных ламп.
Using combinators, pumps and logical calculations, a certain number is formed in the drawing, which is then transmitted to the indicator and displayed by turning on certain lamps.
И... это всё! Никаких сложных вычислений с многотысячными комбинаторами. Единственный минус - нагрузка на электрическую сеть может сильно меняться за короткое время. Для индикации значения с приемлимой точностью, минимальное время обновления значения 5 секунд. Соответственно, индикация показывает среднее значение нагрузки за это время. Кратковременные скачки высокой нагрузки не будут показаны. С другой стороны, для отслеживания нагрузкb на электрическую сеть, данный чертеж подходит идеально.
And... that's it! No complex calculations with thousands of combinators. The only drawback is that the load on the electrical network can change significantly in a short period of time. To display the value with acceptable accuracy, the minimum update time is 5 seconds. Accordingly, the display shows the average load value over this time. Short-term high load surges will not be shown. On the other hand, this blueprint is ideal for monitoring when the load on the electrical network.
Это только один чертеж из множества, что я создал во время игры (играю я со времен раннего доступа). Если будут подписчики, которым это интересно - продолжу выкладывать чертежи и описаниями к ним.
This is just one blueprint of many I've created while playing (I've been playing since Early Access). If I get any subscribers interested, I'll continue posting blueprints and descriptions.
factorio
blueprint
powerplant
indicator