A BEM-Based Model of a Horizontal Axis Tidal Turbine in the 3D Shallow Water Code SHYFEM