foxes.output.FarmResultsEval.calc_turbine_yield(algo=None, annual=False, ambient=False, hours=None, delta_t=None, P_unit_W=None)[source]

Calculates the yield per turbine

Parameters

algo: foxes.core.Algorithm, optional

The algorithm, for P_nominal lookup

annual: bool, optional

Flag for returning annual results, by default False

ambient: bool, optional

Flag for ambient power, by default False

hours: int, optional

The duration time in hours, if not timeseries states

delta_t: np.datetime64, optional

The time delta step in case of time series data, by default automatically determined

P_unit_W: float

The power unit in Watts, 1000 for kW. Looked up in algorithm if not given

Returns

pandas.DataFrame

A dataframe of yield values by turbine in GWh