ard.layout.templates#
Classes
|
A template class for landuse computations. |
|
A template class for layout parametrizations. |
- class ard.layout.templates.LayoutTemplate(**kwargs)[source]#
A template class for layout parametrizations.
This is a template class that represents the fundamental input/output flow for a layout parametrization. This means outputting $(x,y)$ tuples (via x_turbines and y_turbines) for the `N_turbines in the farm, and outputting effective spacing metrics (for, e.g., simple BOS tools).
Options#
- modeling_optionsdict
a modeling options dictionary
- N_turbinesint
the number of turbines that should be in the farm layout
Inputs#
None
Outputs#
- x_turbinesnp.ndarray
a 1-D numpy array that represents that x (i.e. Easting) coordinate of the location of each of the turbines in the farm in meters
- y_turbinesnp.ndarray
a 1-D numpy array that represents that y (i.e. Northing) coordinate of the location of each of the turbines in the farm in meters
- spacing_effective_primaryfloat
a measure of the spacing on a primary axis of a rectangular farm that would be equivalent to this one for the purposes of computing BOS costs measured in rotor diameters
- spacing_effective_secondaryfloat
a measure of the spacing on a secondary axis of a rectangular farm that would be equivalent to this one for the purposes of computing BOS costs measured in rotor diameters
- class ard.layout.templates.LanduseTemplate(**kwargs)[source]#
A template class for landuse computations.
This is a template class that represents the fundamental input/output flow for a landuse calculation. Most details will be specialized based on use case, but most fundamentally it will intake a layback distance and output a simple area computation.
Options#
- modeling_optionsdict
a modeling options dictionary
- N_turbinesint
the number of turbines that should be in the farm layout
Inputs#
- distance_layback_diametersfloat
the number of diameters of layback desired for the landuse calculation
Outputs#
- area_tightfloat
the area in square kilometers that the farm occupies based on the circumscribing geometry with a specified (default zero) layback buffer