I dont quite understand your problem, but I will add this maybe it will help. HGL isnt your actual water surface elevation, but a head representive only, since it includes velocity. It can exceed your top of pipe, just not your top of the inlet castings. I havent encountered a flat HGL before...