Complex sentence: Water is allowed into or out of the flotation chamber to adjust the dam's crest height.
Split into simpler sentences: Water is allowed into or out of their flotation chamber. This is to adjust the dam's crest height.