class foxes.core.Turbine[source]

An individual wind turbine.

The turbine is merely a defined by basic data entries and a choice of turbine models.

Attributes

xy: array_like

The turbine ground position, shape: (2,)

models: list of str

The turbine model names, as they appear in the model book

index: int, optional

The index in the wind farm

name: str, optional

The turbine name/label

mstates_sel: list of numpy.ndarray, optional

For each turbine model, the state selection boolean array with shape (n_states,)

D: float, optional

The rotor diameter. Overwrites turbine type settings if given

H: float, optional

The hub height. Overwrites turbine type settings if given

Public members

Turbine(xy, turbine_models=[], index=None, name=None, ...)[source]

Constructor.

add_model(model, states_sel=None)[source]

Add a turbine model to the list.

insert_model(index, model, states_sel=None)[source]

Insert a turbine model into the list of models.