classes

class albatross.WindTurbine(wind_speed_class, turbulence_class)

Represents a wind turbine that follows classification guidelines for IEC-61400, Section 6.2.

Turbines are classified in terms of both wind speed and turbulence. Wind speed categories are I, II, III; and turbulence categories are A+, A, B, C. Each category has associated reference values that may be used in calculations. Custom implementations (Class S) are not yet supported.

_images/turbine_classification.png
Parameters
  • wind_speed_class (str) – A wind speed classification.

  • turbulence_class (str) – A turbulence classification.

class albatross.RequestParams

Streamlines request parameter formation.

classmethod get_fields()

Returns a list of fields that can be used as parameters.

Returns

A list of valid parameters:

  • wind_speed (height required when registering)

  • wind_direction (height required when registering)

  • pressure (height required when registering)

  • temperature (height required when registering)

  • time_index (timescale information)

  • meta (metadata information)

  • coordinates (a list of all lat/lon coordinates for this dataset)

  • inverse_monin_obukhov_length

  • relative_humidity

  • precipitation_rate

Return type

list

register(field, heights=None)

Registers a new request field.

Parameters
  • field (str) – A field name. Must be a valid field name (see RequestParams.get_fields)

  • height (int) –

    A height (m). Must fall into the following ranges (inclusive):

    • wind_speed: 10-200

    • wind_direction: 10-200

    • pressure: 0-200

    • temperature: 2-200