Jump to content

Electrolyzer ignores air pressure when almost flooded


_Forgive_
  • Branch: Live Branch Version: Windows Known Issue

Pour a little of liquid,like water,on electrolyzer,then pour a little of other liquid (polluted water maybe) on it.The liquid may cover the hole electrolyzer without flooding it.

Then the electrolyzer can keep working with no pressure limit,since the 4 cells of liquid have covered the pressure detection cells.

This makes the overpressure mechanism of electrolyzer meaningless.

With a little help of other  structures,the hydrogen and oxygen producted could be divided automaticly by the liquids,which makes the gas filter meaningless.

The oxygen may be stored infinitely in part of the electrolyze room,preventing it from limiting the  continuous production of hydrogen.The hydrogen then,could be sufficient for 2 or 3 hydrogen generators for polluteless power generation.

This ruins the power gameplay of whole game.

Perhaps either this "trick" or the mechanism of pressure limit should be revised to uniform the gameplay.


Steps to Reproduce
The way to trigger it is up there :)



User Feedback


Changed Status to Known Issue

Hi, thanks for reporting this. This bug is due to some of the fundamental rules of the simulation and is unlikely to be resolved.

  • Thanks 1
  • Sad 1

Share this comment


Link to comment
Share on other sites

13 hours ago, Ipsquiggle said:

Changed Status to Known Issue

Hi, thanks for reporting this. This bug is due to some of the fundamental rules of the simulation and is unlikely to be resolved.

A few ways to solve this issue. I hope these could give you some hints.

 

1. High pressure liquid can break tiles, but high pressure gas can't. It's unresonable.

Suggestion: high pressure gas should also effect Grid.Damage

 

2. OverPressure funtion of electrolyzer will stop_at_solid and stop_at_liquid due to the paramaters of FloodFillFind. So if all 4 grids are occupied by liquid, no gird will be checked and OverPressure funtion will never be called. 

Suggestion: hydrogen and oxygen will be exhausted at left top grid of electrolyzer. At least this grid can't be occuied by liquid. Or electrolyzer should always be overpressured when all 4 grids are occupied by liquid/soild.

 

3. A building will be flooded when it IsSubstantialLiquid. 

element.IsLiquid && Grid.mass[cell] >= element.defaultValues.mass * threshold

Giving a threshold could avoid little mass of liqud causing buildings flooding. But it also allows building be submerged by layers of different liquids without flooding.

Suggestion

element.IsLiquid && Grid.mass[cell] >= element.defaultValues.mass * threshold && !Grid.IsLiquid(Grid.CellAbove(cell))
  • Like 1

Share this comment


Link to comment
Share on other sites

@R9MX4 Excellent feedback! I've only touched on the game code and feel that finding these calls/formulas is difficult. Question though, how would any of these suggestions impact the current exploit (good, bad, otherwise) of placing a vent in less than 2kg of liquid? Or is all of these suggestions just for the electrolyzer?

Share this comment


Link to comment
Share on other sites

2 hours ago, yoakenashi said:

Question though, how would any of these suggestions impact the current exploit (good, bad, otherwise) of placing a vent in less than 2kg of liquid

bad news. almost no influence.

maybe the first suggestion can do something, but as you know, three layers tiles even won't be destoried by high pressure liquid. i can't find a way to totally prevent high pressure liquid/gas storage.

(but at least let doors and airfolw tiles can be destoried.

Edited by R9MX4
  • Thanks 1

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...