foxes.models.turbine_types.WsTI2PCtFromTwo(data_source_P, data_source_ct, rho=None, p_ct=1.0, p_P=1.88, var_ws_ct='REWS2', var_ws_P='REWS3', pd_file_read_pars_P={}, pd_file_read_pars_ct={}, interpn_pars_P=None, interpn_pars_ct=None, **parameters)[source]

Constructor.

ParametersΒΆ

data_source_P: str or pandas.DataFrame

The file path for the power curve, static name, or data

data_source_ct: str or pandas.DataFrame

The file path for the ct curve, static name, or data

rho: float, optional

The air densitiy for which the data is valid or None for no correction

p_ct: float

The exponent for yaw dependency of ct

p_P: float

The exponent for yaw dependency of P

var_ws_ct: str

The wind speed variable for ct lookup

var_ws_P: str

The wind speed variable for power lookup

pd_file_read_pars_P: dict

Parameters for pandas power file reading

pd_file_read_pars_ct: dict

Parameters for pandas ct file reading

interpn_pars_P: dict, optional

Parameters for scipy.interpolate.interpn()

interpn_pars_ct: dict, optional

Parameters for scipy.interpolate.interpn()

parameters: dict, optional

Additional parameters for TurbineType class