classmethod foxes_opt.core.FarmOptProblem.parse_tvar(tvr)[source]

Parse foxes variable name and turbine index from turbine variable

Parameters

tvr: str

The turbine variable name

Returns

var: str

The foxes variable name

turbine_i: int

The turbine index