For outlet control flow, the required upstream energy to pass the given flow must be computed considering several conditions within the culvert and downstream of the culvert. The figure below illustrates the logic of the outlet control computations. HEC-RAS use's Bernoulli's equation in order to compute the change in energy through the culvert under outlet control conditions. The outlet control computations are energy based. The equation used by the program is the following: