As mentioned previously, the program is capable of modeling radial gates (often called tainter gates), vertical lift gates (sluice gates), and overflow gates. The equations used to model the gate openings can handle both submerged and unsubmerged conditions at the inlet and the outlet of the gates. When the gates are opened to an elevation greater than the upstream water surface elevation, the program automatically switches to modeling the flow through the gates as weir flow. When the upstream water surface is greater than or equal to 1.25 times the height of the gate opening (with respect to the gate's spillway crest), the gate flow equations are applied. When the upstream water surface is between 1.0 and 1.25 times the gate opening, the flow is in a zone of transition between weir flow and gate flow. The program computes the upstream head with both equations and then calculates a linear weighted average of the two values (this is an iterative process to obtain the final headwater elevation for a flow in the transition range). When the upstream water surface is equal to or less than 1.0 times the gate opening, then the flow through the gate opening is calculated as weir flow.