-
foxes.core.FarmDataModel.ensure_output_vars(algo, fdata, defaults=
None)[source] Ensures that the output variables are present in the farm data.
ParametersΒΆ
- algo: foxes.core.Algorithm
The calculation algorithm
- fdata: foxes.core.FData
The farm data
- defaults: dict, optional
Default values for the output variables, keys: variable str, values: scalar or array-like with shape (n_states, n_turbines)