At the end of long head race tunnels it is also normally installed a gate. This makes it possible to empty the pressure shaft and penstock upstream of the turbine, for inspection and maintenance without emptying the head race tunnel. Before the water enters the pressure shaft it passes a fine trash rack. It is the last protection of the valve and the turbine against floating debris or smaller stones if the sand trap is full or omitted.