`Demonstrates using GHS to figure out where a drydock will sink down to.
`When the flood valves are left open the tanks will load to the
`bottom of the air vents in each ballast tank.
`Make a simple hull with tanks:
ends 0 100
ends 30 50
ends 50 70
`Establish light ship:
solve weight, lcg
tank * `<-- selects all tanks
`The point of flooding/venting is represented by the reference point:
ref top `Reference points at top
ref * * 6 `Now lower the vertical coordinate to vent bottom.
`Since the tanks will not flood until the water level is at or above the
`reference points, we have to load them to that point explicitly. This
`also establishes the 1-atmosphere air volume:
`Now solve for equilibrium and report the status: