abstract foxes.core.Engine.run_calculation(algo, model, model_data, farm_data, point_data=None)[source]

Runs the model calculation

Parameters

algo: foxes.core.Algorithm

The algorithm object

model: foxes.core.DataCalcModel

The model that whose calculate function should be run

model_data: xarray.Dataset

The initial model data

farm_data: xarray.Dataset

The initial farm data

point_data: xarray.Dataset, optional

The initial point data

Returns

results: xarray.Dataset

The model results