To better explain my question, I've included a schematic below. Let's assume that the water level rises. As the water rises in the wide chamber, it displaces the volume of air and essentially pushes the air through the duct and out through the exit to turn a wind turbine. According to the modified Bernoulli's Principle accounting for frictional losses, the more bends and curves present in the duct, the greater loss in pressure the air would exhibit. However, would that have an impact on the amount of energy that the turbine would be able to generate. Based on the wind power equation:
$$P=\frac{(pAV^{3})}{2}$$
the power output is only a function of velocity and area, and velocity according to the continuity equation only changes based on changes in cross-sectional area.
Continuity Equation: $A1V1=A2V2$
There aren't any pressure terms associated with power. So does that mean that the frictional losses from bends and the pressure loss determined by the Bernoulli's Principle don't have any bearing on the final power output? If that's the case, in theory, I can have hundreds of bends, duct reductions and expansions, but what would only matter would be my starting cross-sectional area (A1), starting velocity (v1), and final exit cross-sectional area. However, this doesn't seem true because the turbine can only convert energy that the air flow provides, and there is bound to be frictional losses to heat for every bend and curve that the air faces.