floris.optimization.layout_optimization.layout_optimization_base#
Classes
|
Base class for layout optimization. |
- class floris.optimization.layout_optimization.layout_optimization_base.LayoutOptimization(fmodel, boundaries, min_dist=None, enable_geometric_yaw=False, use_value=False)[source]#
Base class for layout optimization. This class should not be used directly but should be subclassed by a specific optimization method.
- Args:
fmodel (FlorisModel): A FlorisModel object. boundaries (iterable(float, float)): Pairs of x- and y-coordinates
that represent the boundary's vertices (m).
- min_dist (float, optional): The minimum distance to be maintained
between turbines during the optimization (m). If not specified, initializes to 2 rotor diameters. Defaults to None.
- enable_geometric_yaw (bool, optional): If True, enables geometric yaw
optimization. Defaults to False.
- use_value (bool, optional): If True, the layout optimization objective
is to maximize annual value production using the value array in the FLORIS model's WindData object. If False, the optimization objective is to maximize AEP. Defaults to False.
- property nturbs#
This property returns the number of turbines in the FLORIS object.
- Returns:
nturbs (int): The number of turbines in the FLORIS object.
- property rotor_diameter#