ard.wind_query#

Classes

WindQuery([directions, speeds, TIs])

A class that manages sets of wind conditions to query that can operate for different types and fidelities of aerodynamic solvers without loss of generality.

class ard.wind_query.WindQuery(directions=None, speeds=None, TIs=None)[source]#

A class that manages sets of wind conditions to query that can operate for different types and fidelities of aerodynamic solvers without loss of generality.

Parameters:
  • directions (ndarray)

  • speeds (ndarray)

  • TIs (ndarray)

set_directions(directions)[source]#

Set the directions on a WindQuery object.

Parameters:

directions (np.ndarray) -- the directions of the wind resource to be assigned, in degrees

set_speeds(speeds)[source]#

Set the wind speeds on a WindQuery object.

Parameters:

speeds (np.ndarray) -- the speeds of the wind resource to be assigned, in meters/second

set_TIs(TIs)[source]#

Set the turbulence intensities on a WindQuery object.

Parameters:

TIs (float or np.ndarray) -- the turbulence intensity value or values of the wind resource to be assigned, non-dimensionally

set_TI_using_IEC_method()[source]#

Re-set the turbulence intensities using the FLORIS IEC method interface.

get_directions()[source]#

Get the directions from the wind query object.

get_speeds()[source]#

Get the wind speeds from the wind query object.

get_TIs()[source]#

Get the turbulence intensities from the wind query object.

is_valid()[source]#

Ensure that the specified wind conditions are valid.

from_FLORIS_WindData()[source]#

Turn a FLORIS WindData object into a (more general) WindQuery object.

Parameters:

winddata_FLORIS (floris.wind_data.WindDataBase) -- A FLORIS wind data object derived from the WindDataBase base class.

Returns:

A WindQuery object that represents that same wind data as the FLORIS wind data object.

Return type:

WindQuery