class foxes.models.partial_wakes.RotorPoints(foxes.core.PartialWakesModel)[source]

Partial wakes calculation directly by the rotor model.

Public members

RotorPoints(wake_models=None, wake_frame=None)[source]

Constructor.

get_wake_points(algo, mdata, fdata)[source]

Get the wake calculation points.

new_wake_deltas(algo, mdata, fdata)[source]

Creates new initial wake deltas, filled with zeros.

contribute_to_wake_deltas(algo, mdata, fdata, pdata, ...)[source]

Modifies wake deltas by contributions from the specified wake source turbines.

evaluate_results(algo, mdata, fdata, pdata, wake_deltas, ...)[source]

Updates the farm data according to the wake deltas.

sub_models()[source]

List of all sub-models

initialize(algo, verbosity=0)[source]

Initializes the model.

classmethod new(pwake_type, **kwargs)[source]

Run-time partial wakes factory.

__repr__()[source]

Return repr(self).

property model_id

Unique id based on the model type.

var(v)[source]

Creates a model specific variable name.

property initialized

Initialization flag.

load_data(algo, verbosity=0)[source]

Load and/or create all model data that is subject to chunking.

finalize(algo, verbosity=0)[source]

Finalizes the model.

get_data(variable, target, lookup='smfp', mdata=None, ...)[source]

Getter for a data entry in the model object or provided data sources

data_to_store(name, algo, data)[source]

Adds data from mdata to the local store, intended for iterative runs.

from_data_or_store(name, algo, data, ret_dims=False, safe=False)[source]

Get data from mdata or local store