-
foxes.models.farm_controllers.OpFlagController(data_source, non_op_values=
None, var2ncvar={}, **kwargs)[source] Constructor.
ParametersΒΆ
- data_source: numpy.ndarray or str
The operating flag data, shape: (n_states, n_turbines), or path to a NetCDF file
- non_op_values: dict, optional
The non-operational values for variables, keys: variable str, values: float
- var2ncvar: dict
The mapping of variable names to NetCDF variable names, only needed if data_source is a path to a NetCDF file
- kwargs: dict, optional
Additional keyword arguments for the base class constructor