floris.optimization.layout_optimization.layout_optimization_boundary_grid#

Classes

class floris.optimization.layout_optimization.layout_optimization_boundary_grid.LayoutOptimizationBoundaryGrid(fmodel, boundaries, start, x_spacing, y_spacing, shear, rotation, center_x, center_y, boundary_setback, n_boundary_turbines=None, boundary_spacing=None)[source]#
find_lengths(x, y, npoints)[source]#
boundary_grid(start, x_spacing, y_spacing, shear, rotation, center_x, center_y, boundary_setback, n_boundary_turbines=None, boundary_spacing=None)[source]#

Place turbines equally spaced traversing the perimiter if the wind farm along the boundary

Args: n_boundary_turbs,start: boundary variables nrows,ncols,farm_width,farm_height,shear,

rotation,center_x,center_y,shrink_boundary,eps: grid variables

boundary_x,boundary_y: boundary points

Returns layout_x (Array(Float)): turbine x locations layout_y (Array(Float)): turbine y locations

reinitialize_bg(n_boundary_turbines=None, start=None, x_spacing=None, y_spacing=None, shear=None, rotation=None, center_x=None, center_y=None, boundary_setback=None, boundary_x=None, boundary_y=None, boundary_spacing=None)[source]#
reinitialize_xy()[source]#
plot_layout()[source]#
space_constraint(x, y, min_dist, rho=500)[source]#