Destroy: Chemistry and Carnage

Destroy: Chemistry and Carnage

71 Downloads

Placing mixture of two liquid in vat and boiling one creates strange change of mols.

Penta0308 opened this issue ยท 0 comments

commented

Describe the bug

At 373K water boiling, Mercury amount changes.
Water shows irrational behavior too.
Hard to describe, please see the video.
Demonstrated at 13sec, 35sec and 62sec.

Minecraft_.Forge.1.20.1.-.Singleplayer.2024-09-30.23-30-36.mp4

To Reproduce

Put a little two liquid mixture in a vat and boil one of them.
In my case, Mercury and water is used.

Expected Behavior

Smooth curve of mol.
Mercury Concentration shouldn't be changed in NBT.

I think some amount of vat code should be reworked to solve this issue.
When we boil fluid, liquid mixture mB wants to decrease, but they can't because they're discrete.

System Information

Commit fb076b5 (Latest at the time i writing)

Additional context

Continuous block NBT during heating:

{Owner: [I; 940439953, -167562164, -1601161573, -1389718966], Temperature: 372.99948f, Tanks: [{Level: {Speed: 0.25f, Target: 0.008f, Value: 0.008f}, TankContent: {FluidName: "destroy:mixture", Amount: 16, Tag: {Mixture: {Temperature: 372.99948f, Contents: [{Molecule: "destroy:mercury", Concentration: 43.744225f}, {Molecule: "destroy:water", Concentration: 19.514765f}, {Molecule: "destroy:proton", Concentration: 1.21027755E-4f}, {Molecule: "destroy:hydroxide", Concentration: 1.21027755E-4f}], AtEquilibrium: 1b}}}}, {Level: {Speed: 0.25f, Target: 0.992f, Value: 0.992f}, TankContent: {FluidName: "destroy:mixture", Amount: 1984, Tag: {Mixture: {Temperature: 372.99948f, Contents: [{Molecule: "destroy:nitrogen", Concentration: 0.026225017f}, {Molecule: "destroy:water", Concentration: 0.06515894f}, {Molecule: "destroy:oxygen", Concentration: 0.0073606307f}], AtEquilibrium: 1b}}}}], AnythingBoiling: 1b, Vat: {UpperCorner: {X: 2, Y: 1, Z: 2}, LastKnownControllerPos: {X: 726, Y: 63, Z: 1564}, LowerCorner: {X: 0, Y: -1, Z: -1}, Conductance: 135.0f, WeakestBlock: {Name: "destroy:borosilicate_glass"}}, UVPower: 20.0f, UnderDeconstruction: 0b, Pressure: 205237.0f, Full: 0b, x: 726, y: 63, z: 1564, id: "destroy:vat_controller", AnythingReacting: 0b, HeatingPower: 100000.0f, Inventory: {Size: 9, Items: []}}

{Owner: [I; 940439953, -167562164, -1601161573, -1389718966], Temperature: 372.99948f, Tanks: [{Level: {Speed: 0.25f, Target: 0.008f, Value: 0.008f}, TankContent: {FluidName: "destroy:mixture", Amount: 16, Tag: {Mixture: {Temperature: 372.99948f, Contents: [{Molecule: "destroy:mercury", Concentration: 44.108463f}, {Molecule: "destroy:water", Concentration: 19.215183f}, {Molecule: "destroy:proton", Concentration: 1.220355E-4f}, {Molecule: "destroy:hydroxide", Concentration: 1.220355E-4f}], AtEquilibrium: 1b}}}}, {Level: {Speed: 0.25f, Target: 0.992f, Value: 0.992f}, TankContent: {FluidName: "destroy:mixture", Amount: 1984, Tag: {Mixture: {Temperature: 372.99948f, Contents: [{Molecule: "destroy:nitrogen", Concentration: 0.026225017f}, {Molecule: "destroy:water", Concentration: 0.06877846f}, {Molecule: "destroy:oxygen", Concentration: 0.0073606307f}], AtEquilibrium: 1b}}}}], AnythingBoiling: 1b, Vat: {UpperCorner: {X: 2, Y: 1, Z: 2}, LastKnownControllerPos: {X: 726, Y: 63, Z: 1564}, LowerCorner: {X: 0, Y: -1, Z: -1}, Conductance: 135.0f, WeakestBlock: {Name: "destroy:borosilicate_glass"}}, UVPower: 20.0f, UnderDeconstruction: 0b, Pressure: 216462.25f, Full: 0b, x: 726, y: 63, z: 1564, id: "destroy:vat_controller", AnythingReacting: 0b, HeatingPower: 100000.0f, Inventory: {Size: 9, Items: []}}

{Owner: [I; 940439953, -167562164, -1601161573, -1389718966], Temperature: 372.99948f, Tanks: [{Level: {Speed: 0.25f, Target: 0.0075f, Value: 0.007658203f}, TankContent: {FluidName: "destroy:mixture", Amount: 15, Tag: {Mixture: {Temperature: 372.99948f, Contents: [{Molecule: "destroy:mercury", Concentration: 44.2813f}, {Molecule: "destroy:water", Concentration: 19.073029f}, {Molecule: "destroy:proton", Concentration: 1.2251368E-4f}, {Molecule: "destroy:hydroxide", Concentration: 1.2251368E-4f}], AtEquilibrium: 1b}}}}, {Level: {Speed: 0.25f, Target: 0.9925f, Value: 0.9923418f}, TankContent: {FluidName: "destroy:mixture", Amount: 1985, Tag: {Mixture: {Temperature: 372.99948f, Contents: [{Molecule: "destroy:nitrogen", Concentration: 0.026211806f}, {Molecule: "destroy:water", Concentration: 0.0704396f}, {Molecule: "destroy:oxygen", Concentration: 0.007356922f}], AtEquilibrium: 1b}}}}], AnythingBoiling: 1b, Vat: {UpperCorner: {X: 2, Y: 1, Z: 2}, LastKnownControllerPos: {X: 726, Y: 63, Z: 1564}, LowerCorner: {X: 0, Y: -1, Z: -1}, Conductance: 135.0f, WeakestBlock: {Name: "destroy:borosilicate_glass"}}, UVPower: 20.0f, UnderDeconstruction: 0b, Pressure: 221561.47f, Full: 0b, x: 726, y: 63, z: 1564, id: "destroy:vat_controller", AnythingReacting: 0b, HeatingPower: 100000.0f, Inventory: {Size: 9, Items: []}}

{Owner: [I; 940439953, -167562164, -1601161573, -1389718966], Temperature: 372.99948f, Tanks: [{Level: {Speed: 0.25f, Target: 0.0075f, Value: 0.0075f}, TankContent: {FluidName: "destroy:mixture", Amount: 15, Tag: {Mixture: {Temperature: 372.99948f, Contents: [{Molecule: "destroy:mercury", Concentration: 44.47882f}, {Molecule: "destroy:water", Concentration: 18.910568f}, {Molecule: "destroy:proton", Concentration: 1.2306016E-4f}, {Molecule: "destroy:hydroxide", Concentration: 1.2306016E-4f}], AtEquilibrium: 1b}}}}, {Level: {Speed: 0.25f, Target: 0.9925f, Value: 0.9925f}, TankContent: {FluidName: "destroy:mixture", Amount: 1985, Tag: {Mixture: {Temperature: 372.99948f, Contents: [{Molecule: "destroy:nitrogen", Concentration: 0.026211806f}, {Molecule: "destroy:water", Concentration: 0.0723615f}, {Molecule: "destroy:oxygen", Concentration: 0.007356922f}], AtEquilibrium: 1b}}}}], AnythingBoiling: 1b, Vat: {UpperCorner: {X: 2, Y: 1, Z: 2}, LastKnownControllerPos: {X: 726, Y: 63, Z: 1564}, LowerCorner: {X: 0, Y: -1, Z: -1}, Conductance: 135.0f, WeakestBlock: {Name: "destroy:borosilicate_glass"}}, UVPower: 20.0f, UnderDeconstruction: 0b, Pressure: 227521.84f, Full: 0b, x: 726, y: 63, z: 1564, id: "destroy:vat_controller", AnythingReacting: 0b, HeatingPower: 100000.0f, Inventory: {Size: 9, Items: []}}

{Owner: [I; 940439953, -167562164, -1601161573, -1389718966], Temperature: 372.99948f, Tanks: [{Level: {Speed: 0.25f, Target: 0.0075f, Value: 0.0075f}, TankContent: {FluidName: "destroy:mixture", Amount: 15, Tag: {Mixture: {Temperature: 372.99948f, Contents: [{Molecule: "destroy:mercury", Concentration: 44.760696f}, {Molecule: "destroy:water", Concentration: 18.67873f}, {Molecule: "destroy:proton", Concentration: 1.2384003E-4f}, {Molecule: "destroy:hydroxide", Concentration: 1.2384003E-4f}], AtEquilibrium: 1b}}}}, {Level: {Speed: 0.25f, Target: 0.9925f, Value: 0.9925f}, TankContent: {FluidName: "destroy:mixture", Amount: 1985, Tag: {Mixture: {Temperature: 372.99948f, Contents: [{Molecule: "destroy:nitrogen", Concentration: 0.026211806f}, {Molecule: "destroy:water", Concentration: 0.075074755f}, {Molecule: "destroy:oxygen", Concentration: 0.007356922f}], AtEquilibrium: 1b}}}}], AnythingBoiling: 1b, Vat: {UpperCorner: {X: 2, Y: 1, Z: 2}, LastKnownControllerPos: {X: 726, Y: 63, Z: 1564}, LowerCorner: {X: 0, Y: -1, Z: -1}, Conductance: 135.0f, WeakestBlock: {Name: "destroy:borosilicate_glass"}}, UVPower: 20.0f, UnderDeconstruction: 0b, Pressure: 235936.5f, Full: 0b, x: 726, y: 63, z: 1564, id: "destroy:vat_controller", AnythingReacting: 0b, HeatingPower: 100000.0f, Inventory: {Size: 9, Items: []}}

{Owner: [I; 940439953, -167562164, -1601161573, -1389718966], Temperature: 372.99948f, Tanks: [{Level: {Speed: 0.25f, Target: 0.0075f, Value: 0.0075f}, TankContent: {FluidName: "destroy:mixture", Amount: 15, Tag: {Mixture: {Temperature: 372.99948f, Contents: [{Molecule: "destroy:mercury", Concentration: 44.96253f}, {Molecule: "destroy:water", Concentration: 18.512726f}, {Molecule: "destroy:proton", Concentration: 1.2439844E-4f}, {Molecule: "destroy:hydroxide", Concentration: 1.2439844E-4f}], AtEquilibrium: 1b}}}}, {Level: {Speed: 0.25f, Target: 0.9925f, Value: 0.9925f}, TankContent: {FluidName: "destroy:mixture", Amount: 1985, Tag: {Mixture: {Temperature: 372.99948f, Contents: [{Molecule: "destroy:nitrogen", Concentration: 0.026211806f}, {Molecule: "destroy:water", Concentration: 0.076996654f}, {Molecule: "destroy:oxygen", Concentration: 0.007356922f}], AtEquilibrium: 1b}}}}], AnythingBoiling: 1b, Vat: {UpperCorner: {X: 2, Y: 1, Z: 2}, LastKnownControllerPos: {X: 726, Y: 63, Z: 1564}, LowerCorner: {X: 0, Y: -1, Z: -1}, Conductance: 135.0f, WeakestBlock: {Name: "destroy:borosilicate_glass"}}, UVPower: 20.0f, UnderDeconstruction: 0b, Pressure: 241896.88f, Full: 0b, x: 726, y: 63, z: 1564, id: "destroy:vat_controller", AnythingReacting: 0b, HeatingPower: 100000.0f, Inventory: {Size: 9, Items: []}}

Minecraft Username

Penta0308