foxes.core.WindFarm.get_capacity_array(algo)[source]

Gets the capacity array for all turbines (nominal power)

Parameters

algo: foxes.core.Algorithm

The algorithm

Returns

capacity_array: numpy.ndarray

The capacity array (nominal power) for all turbines, shape: (n_turbines,)