Characterization and control of cross-flow turbines in shear flow