your current location:首页 > news>Interpretation of Steam Production Equipment Source Code [Gregtech Community Edition) Minecraft Game

Interpretation of Steam Production Equipment Source Code [Gregtech Community Edition) Minecraft Game

2024-12-10 17:45:09|Myriagame |source:minecraft skins

This tutorial is set by the author to use the CC By-NC-SA protocol.

This article only puts the source code of GTCE (it is estimated that the code of the GT body should be used, but it is not turned over)

The text mainly refers to the contents of the `Gregtech/Common/MetativeILEENTIES/STEAM/BOILER/` folder.

1. Temperature model

GTCE's steam equipment is classified according to high and low pressure, the temperature limit and heating rate of high pressure and standard pressure are different, but the temperature temperature rate is consistent.

The temperature of the steam equipment increases when the fuel burning time is sufficient, and the fuel is insufficient and the fuel will begin to decrease every T after a period of time.

High -pressure equipment consumes two units per 12T and consumes two units, with a maximum temperature of 1000, and the standard pressure equipment is heated every 24T. One unit is consumed per 12T, with a maximum temperature of 500;

(For solid fuel, each "unit" is available for burning in the furnace 1T)

After the fuel is insufficient for 40t, the temperature decreases by 1.

2. Production cycle

The steam equipment only generates the steam when the temperature reaches a certain threshold; the frequency of the steam by the high -pressure equipment is higher than that of the standard pressure equipment.

The steam production of steam equipment is proportional to the current temperature.

Only when the temperature is higher than 100 ° C, the boiler will produce gas.

Each gas production consumes 1MB of water, and when you try to consume water, you find that water dehydration causes explosion.

The high -voltage equipment generates steam every 10t, and the standard pressure equipment generates steam every 25T.

If the water is dried, add water, create an explosion with power 2 in (x+0.5, y+0.5, z+0.5).

After cooling to 100 ° C, water can be added safely.

Third, fuel consumption and ash divide

-In coal -fired boilers, each fuel will have a 50%probability of ash after consumption.

-In the magma boiler, 100MB of magma is consumed each time, providing 100 units of fuel.Note believes that it can be burned for 60 seconds and 30 seconds at high pressure.

-The solar boiler can add the sun at a time that is equivalent to the heating up of 5, and the upper above cannot see the sunlight, non -day, and rainy days.

Fourth, large boiler

The difference between GTCE and large boilers- [GT5] is not the same, here is a re -introduction.

The corresponding source code lies in the `Gregtech/Common/MetativeIEENTITIES/MULTI/METATILEENTITYLGEBOILER.JAVA`.

Material production capacity Fuel consumption of heat dissipation efficiency The highest temperature of the temperature of the temperature of the temperature of the temperature 9001.0x28x500 steel 16001.6X30X800 titanium 37003.0x31x2000 tungsten steel 78005.4x32x4000

The temperature change logic of the large boiler is not consistent with the unilateral boiler. This is to avoid a bug, see the post.

The temperature logic is very simple and rude: the fuel rises by 1 degree per second, and the fuel is reduced by 1 degree per second.

The temperature of the large boiler generates steam is consistent with ordinary boilers: 100 ° C, consumes 1MB of water per second, and effectively consume non -distilled water.

Unlike a unilateral boiler, the power and temperature of the large boiler's lack of water explosion are proportional: power is equivalent to the current temperature divide by 100.

In other words, the power of the tungsten steel boiler with the temperature is 80, which is comparable to nuclear bombs.

The gas production of the boiler is: production capacity*"current temperature/maximum temperature" (hereinafter referred to as proportional temperature)*over heat*overheating efficiency

Excessive heating rate is a value that can be adjusted manually, with a range of 20%-100%.Reducing this parameter can reduce fuel consumption and steam output.

The overheating efficiency decreases with the heating rate. The calculation formula is 1-0.3*ln (1/overvaning multiple). The minimum value of the lowest heating multiple is about 52%.

The high temperature fuel consumption rate increases with the current proportion temperature. The formula is: 1/(1+ (1+ ratio temperature*thermal efficiency), that is, the higher the temperature, the slower the fuel consumption. For tungsten steel, the minimum can be reduced to 3% at the initial temperature of 3%.about.

The amount of fuel consumption of a single consumption is: the basic consumption (in JEI)*high -temperature fuel consumption multiplier*overheating multiplier, take it up.

For the time that can be provided by fuel, see Jei.The efficiency of diesel is halved, the semi -current efficiency doubles, the calculation of the basic combustion time of solid fuel, and finally considering the calculation time of the high temperature fuel consumption rate and the fuel consumption rate of the boiler.

At present, the code of solid fuel is suspected to have bugs, and the last fuel in the grid cannot be consumed.

5. Some discussions based on numerical values

For the benchmarking boiler, 0.8L of water is consumed per second, and one unit consumes every 0.6 seconds. After 120 seconds of fire, start at a rate of 24L/s to produce steam.After 2S, the output is reduced to 24 within 20 seconds;

Each coal burning time is 8min, and Ideally can provide 57600L steam. If the coal block is synthesized, 64000L can be provided.Note that there is no bonus for lignal block.

L.The amount of steam loss at each ceasefire is: 120L/S*120S+(120L/S+24L/S)*480S/2-120L/S*2s- (120L/S+24L/S)*20s/2 = 47280LAccording to the calculation of 600s per day, the daily production capacity of the solar furnace is (480+20)*(120+24)/2+120*2 = 36240L, which is equivalent to one -five -fifth of the dayA low -pressure boiler.

For high -pressure boilers, consume 2L water per second, consumes a unit of fuel every 0.3 seconds. After 60 seconds of fire, start at a rate of 30L/s.The linear linear in seconds is reduced to 30

6. Use the cooling mechanism to improve the fuel utilization rate

As mentioned earlier, the fuel consumers 40T (= 2s) before it starts to cool down.In fact, the coal stove accepts 1/9 coal powder as a fuel!

Of course, even if it is a high -pressure coal stove, a 1/9 coal can be burned for more than 26 seconds, but if you use a large boiler ................

It is a pity that CTCE fixes this bug, but it can be applied in the GT5U. At a rate of 3 seconds, it will burn a large bronze furnace carbon with 1 second.

In fact, theoretically, it is not necessary to be inorganic, because the boiler determination whether the fuel is calculated throughout the second. If at the right time, even if only 1T is judged by 1T in the boiler 20T, it may continue to work, but I want to know that it is so complete that it is so complete that it is so complete.Rubustness is poor.