ard.wind_query#
Classes
|
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.
- 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: