foxes.algorithms.Downwind.calc_farm(outputs=None, calc_parameters={}, finalize=True, ambient=False, **kwargs)[source]

Calculate farm data.

Parameters

calc_parameters: dict

Parameters for model calculation. Key: model name str, value: parameter dict

outputs: list of str, optional

The output variables, or None for defaults

finalize: bool

Flag for finalization after calculation

ambient: bool

Flag for ambient instead of waked calculation

kwargs: dict, optional

Additional parameters for run_calculation

Returns

farm_results: xarray.Dataset

The farm results. The calculated variables have dimensions (state, turbine)