foxes.output.FarmResultsEval.reduce_all(states_op, turbines_op)[source]

Reduces states and turbine dimension by some operation

Parameters

states_op: dict

The states contraction operations. Key: str, the variable name. Value: str, the operation, choices are: sum, mean, min, max.

turbines_op: dict

The turbines contraction operations. Key: str, the variable name. Value: str, the operation, choices are: sum, mean, min, max.

Returns

data: dict

The fully contracted results