foxes_opt.constraints.AreaGeometryConstraint(problem, name, geometry, sel_turbines=None, disc_inside=False, D=None, **kwargs)[source]

Constructor.

Parameters

problemfoxes_opt.FarmOptProblem

The underlying optimization problem

namestr

The name of the constraint

geometryfoxes.utils.geom2d.AreaGeometry

The area geometry

sel_turbineslist of int, optional

The selected turbines

disc_insidebool

Ensure full rotor disc inside boundary

Dfloat, optional

Use this radius for rotor disc inside condition

kwargsdict, optional

Additional parameters for iwopy.Constraint