Source code for opentidalfarm.turbines.implicit_thrust_turbine

from .base_turbine import BaseTurbine
from .controls import Controls

[docs]class ImplicitThrustTurbine(BaseTurbine): def __init__(self, friction=12.0, diameter=20., minimum_distance=None, controls=Controls(position=True)): # Check for a given minimum distance. if minimum_distance is None: minimum_distance=diameter*1.5 # Initialize the base class. super(ImplicitThrustTurbine, self).__init__( friction=friction, diameter=diameter, minimum_distance=minimum_distance, controls=controls, implicit_thrust=True)