foxes.models.turbine_models.SectorManagement(data_source, range_vars, target_vars, col_tinds=None, col_tnames=None, colmap={}, var_periods={'AMB_WD': 360.0, 'WD': 360.0}, pd_file_read_pars={})[source]

Constructor.

ParametersΒΆ

data_source: str or pandas.DataFrame

The file path or data

range_vars: list of str

The variables for which (min, max) ranges are specified in the data

target_vars: list of str

The variables that change if range variables are within specified ranges

col_tinds: str, optional

The turbine index column name in the data

col_tnames: str, optional

The turbine name column name in the data

colmap: dict

Mapping from expected to existing column names

var_periods: dict

Periods for periodic variables

pd_file_read_pars: dict

Parameters for pandas file reading