Rotor-Averaging Methods
- class MITWake.REWS.Area(r_disc=10, theta_disc=10)
- grid_points(X_t: ndarray, Y_t: ndarray) Tuple[ndarray, ndarray, ndarray]
Returns the grid points to be sampled given the turbine locations, X_t, Y_t
- Parameters:
X_t (List[float]) – Streamwise locations of turbines.
Y_t (List[float]) – Lateral locations of turbines.
- Returns:
X, Y, Z coordinates of grid points.
- Return type:
(ndarray, ndarray, ndarray)
- integrate(U: ndarray) ndarray
Numerically integrate wind speeds sampled at grid point locations defined by Point.grid_points.
- Parameters:
U (np.ndarray) – Streamwise wind speeds.
- Returns:
Array of Rotor-averaged wind speeds for each rotor.
- Return type:
np.ndarray
- class MITWake.REWS.Line(disc=100)
- grid_points(X_t: ndarray, Y_t: ndarray) Tuple[ndarray, ndarray, ndarray]
Returns the grid points to be sampled given the turbine locations, X_t, Y_t
- Parameters:
X_t (List[float]) – Streamwise locations of turbines.
Y_t (List[float]) – Lateral locations of turbines.
- Returns:
X, Y, Z coordinates of grid points.
- Return type:
(ndarray, ndarray, ndarray)
- integrate(U: ndarray) ndarray
Numerically integrate wind speeds sampled at grid point locations defined by Point.grid_points.
- Parameters:
U (np.ndarray) – Streamwise wind speeds.
- Returns:
Array of Rotor-averaged wind speeds for each rotor.
- Return type:
np.ndarray
- class MITWake.REWS.Point
- grid_points(X_t: ndarray, Y_t: ndarray) Tuple[ndarray, ndarray, ndarray]
Returns the grid points to be sampled given the turbine locations, X_t, Y_t
- Parameters:
X_t (ndarray) – Streamwise locations of turbines.
Y_t (ndarray) – Lateral locations of turbines.
- Returns:
X, Y, Z coordinates of grid points.
- Return type:
(ndarray, ndarray, ndarray)
- integrate(U: ndarray) ndarray
Numerically integrate wind speeds sampled at grid point locations defined by Point.grid_points.
- Parameters:
U (np.ndarray) – Streamwise wind speeds.
- Returns:
Array of Rotor-averaged wind speeds for each rotor.
- Return type:
np.ndarray