class foxes.models.wake_frames.Timelines(foxes.core.WakeFrame)[source]

Dynamic wakes for spatially uniform timeseries states.

Attributes

max_wake_length: float

The maximal wake length

cl_ipars: dict

Interpolation parameters for centre line point interpolation

dt_min: float, optional

The delta t value in minutes, if not from timeseries data

Public members

Timelines(max_wake_length=20000.0, cl_ipars={}, dt_min=None)[source]

Constructor.

__repr__()[source]

Return repr(self).

initialize(algo, verbosity=0)[source]

Initializes the model.

calc_order(algo, mdata, fdata)[source]

” Calculates the order of turbine evaluation.

get_wake_coos(algo, mdata, fdata, tdata, downwind_index)[source]

Calculate wake coordinates of rotor points.

get_centreline_points(algo, mdata, fdata, downwind_index, x)[source]

Gets the points along the centreline for given values of x.

get_wake_modelling_data(algo, variable, downwind_index, fdata, ...)[source]

Return data that is required for computing the wake from source turbines to evaluation points.

calc_centreline_integral(algo, mdata, fdata, downwind_index, ...)[source]

Integrates variables along the centreline.

classmethod new(wframe_type, *args, **kwargs)[source]

Run-time wake frame factory.

property model_id

Unique id based on the model type.

var(v)[source]

Creates a model specific variable name.

property initialized

Initialization flag.

sub_models()[source]

List of all sub-models

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