- class foxes_opt.objectives.MinimalMaxTI(foxes_opt.objectives.FarmVarObjective)[source]
Minimize the maximal turbine TI
Parameters¶
- problem: foxes_opt.FarmOptProblem
The underlying optimization problem
- name: str
The name of the objective function
- kwargs: dict, optional
Additional parameters for FarmVarObjective
Public members¶
-
MinimalMaxTI(problem, name=
'minimize_TI'
, **kwargs)[source] Constructor.
-
initialize(verbosity=
0
)[source] Initialize the object.
- n_components()[source]
Returns the number of components of the function.
- vardeps_float()[source]
Gets the dependencies of all components on the function float variables
- calc_individual(vars_int, vars_float, problem_results, ...)[source]
Calculate values for a single individual of the underlying problem.
- calc_population(vars_int, vars_float, problem_results, ...)[source]
Calculate values for all individuals of a population.
- finalize_individual(vars_int, vars_float, problem_results, ...)[source]
Finalization, given the champion data.
- property farm
The wind farm
- property sel_turbines
The list of selected turbines
- property n_sel_turbines
The numer of selected turbines
- add_to_layout_figure(ax, **kwargs)[source]
Add to a layout figure
- classmethod print_models()[source]
Prints all model names.
- property component_names
The names of the components
- property var_names_int
The names of the integer variables
- property n_vars_int
The number of int variables
- property var_names_float
The names of the float variables
- property n_vars_float
The number of float variables
- vardeps_int()
Gets the dependencies of all components on the function int variables
- rename_vars_int(varmap)
Rename integer variables.
- rename_vars_float(varmap)
Rename float variables.
- finalize_population(vars_int, vars_float, problem_results, ...)
Finalization, given the final population data.
-
ana_deriv(vars_int, vars_float, var, components=
None
) Calculates the analytic derivative, if possible.
- __str__()
Get info string
- property initialized
Flag for finished initialization