Parameter Table
This page is intended to list all of the parameters and a short description of each one.
general
This section contains options that apply to the run as a whole, where files are stored, the type of study, etc.
Name |
Type |
Units |
Default |
Description |
|---|---|---|---|---|
|
[‘string’, ‘null’] |
- |
None |
The folder name for the current run. |
|
boolean |
- |
False |
If true, the time and date will be preappened to the output folder. |
|
array |
- |
[‘solution’] |
These are the fields that can be saved during/after the simulation, one of |
|
string |
- |
output/ |
This is the root folder for all the output files. |
|
string |
- |
pvd |
This is the filetype various fields are saved in, choices |
|
boolean |
- |
False |
If true, this will import dolfin_adjoint which is required for calculating gradients. Must be true for optimizations. |
|
boolean |
- |
False |
If true, a file, tagged_output.yaml, is created in the root output folder. Used for unit and regression tests. |
domain
Here we set the properties of the computational domain, what shape it is, whether there is terrain present, how to discretize across dimensions, and how to generate the mesh.
Name |
Type |
Units |
Default |
Description |
|---|---|---|---|---|
|
[‘string’, ‘null’] |
- |
None |
The type of domain, options are |
|
[‘string’, ‘null’] |
- |
None |
The path to all domain files if using imported domain and standard naming. |
|
[‘string’, ‘null’] |
- |
None |
A specific path for the imported mesh file. |
|
[‘string’, ‘null’] |
- |
None |
A specific path for the terrain file if using complex/interpolated terrain. |
|
[‘string’, ‘null’] |
- |
None |
A specific path to a MeshFunction file that stores the boundary IDs. |
|
string |
- |
xml.gz |
The file type for imported domains, options are |
|
boolean |
- |
False |
Attempt scale the domain to km instead of m. (Extremely experimental, do not use). |
|
number |
meter |
0.0 |
The z-coordinate of the ground. |
|
boolean |
- |
False |
Sets periodic boundary conditions along the x-direction (Not yet implemented). |
|
boolean |
- |
False |
Sets periodic boundary conditions along the y-direction (Not yet implemented). |
|
[‘array’, ‘null’] |
meter |
None |
The range of the domain in the streamwise direction, e.g., [x_min, x_max]. |
|
[‘array’, ‘null’] |
meter |
None |
The range of the domain in the spanwise direction, e.g., [y_min, y_max]. |
|
[‘array’, ‘null’] |
meter |
None |
The range of the domain in the vertical direction, e.g., [z_min, z_max]. |
|
[‘integer’, ‘null’] |
dimensionless |
None |
The integer number of nodes in the streamwise (x) direction. |
|
[‘integer’, ‘null’] |
dimensionless |
None |
The integer number of nodes in the spanwise (y) direction. |
|
[‘integer’, ‘null’] |
dimensionless |
None |
The integer number of nodes in the vertical (z) direction. |
|
string |
- |
mshr |
Sets how the cylinder/circle domains are meshed, options are |
|
[‘array’, ‘null’] |
meter |
None |
Center of the cylinder/circle domains, e.g., [x_center, y_center]. |
|
[‘number’, ‘null’] |
meter |
None |
Radius for the cylinder/circle domains. |
|
[‘integer’, ‘null’] |
dimensionless |
None |
Integer number of nodes in the theta direction for cylinder/circle domains. |
|
[‘number’, ‘null’] |
meter |
None |
The characteristic cell length for cylinder/circle domains generated with the mshr mesh_type. |
|
boolean |
- |
False |
Lets you define a terrain_path to have complex domain. |
|
boolean |
- |
False |
Use an analytic function instead of a terrain_path. |
|
Create a gaussian hill analytic complex terrain. |
|||
|-- |
[‘array’, ‘null’] |
meter |
[0.0, 0.0] |
Center of the hill. |
|-- |
number |
radians |
0.0 |
Rotation of the hill. |
|-- |
[‘number’, ‘null’] |
meter |
None |
Height of the hill. |
|-- |
[‘number’, ‘null’] |
meter |
None |
Skew in x. |
|-- |
[‘number’, ‘null’] |
meter |
None |
Skew in y. |
|
Create a plane analytic complex terrain. |
|||
|-- |
array |
meter |
[0.0, 0.0, 0.0] |
Define a plane with z = mx(x-x0)+my(y-y0)+z0, where intercept = [x0, y0, z0] |
|-- |
[‘number’, ‘null’] |
meter/meter |
None |
x slope. |
|-- |
[‘number’, ‘null’] |
meter/meter |
None |
y slope. |
wind_farm
Assign the values for the wind farm, where it resides in the computational domain, how many turbines, and the turbines’ layout and arrangement.
Name |
Type |
Units |
Default |
Description |
|---|---|---|---|---|
|
[‘string’, ‘null’] |
- |
None |
Type of wind farm, options are |
|
[‘string’, ‘null’] |
- |
None |
Location of imported wind farm. |
|
boolean |
- |
False |
If true, then use matplotlib and show() the wind farm/chord profiles mid run. |
|
[‘array’, ‘null’] |
meter |
None |
Extents of the farm in the x direction, e.g., [x_min, x_max]. |
|
[‘array’, ‘null’] |
meter |
None |
Extents of the farm in the y direction, e.g., [y_min, y_max]. |
|
[‘number’, ‘null’] |
meter |
None |
x spacing between turbines. |
|
[‘number’, ‘null’] |
meter |
None |
y spacing between turbines. |
|
[‘number’, ‘null’] |
meter |
None |
x offset between rows. |
|
[‘number’, ‘null’] |
meter |
None |
y offset between columns. |
|
number |
meter |
2 |
The minimum separation distance for a random farm, expressed in units of rotor diameter, e.g., a value of 2 means a min_sep_dist of 2*RD. |
|
[‘integer’, ‘null’] |
dimensionless |
None |
Integer number of turbines in the y direction. |
|
[‘integer’, ‘null’] |
dimensionless |
None |
Integer number of turbines in the x direction. |
|
[‘number’, ‘boolean’] |
meter |
0.0 |
Magnitude of random noise added to a gridded wind farm. |
|
[‘integer’, ‘null’] |
dimensionless |
None |
Total integer number of turbines. |
|
[‘integer’, ‘null’] |
dimensionless |
None |
Seed to control/prescribe the randomness between runs. |
turbines
The properties of the turbines themselves, in contrast to wind_farm, these are principally variables that define turbine-level properties, e.g., how the force is modeled and how the turbines are operated.
Name |
Type |
Units |
Default |
Description |
|---|---|---|---|---|
|
[‘string’, ‘null’] |
- |
None |
Type of representation, options are |
|
[‘number’, ‘null’] |
meter |
None |
Hub height. |
|
[‘number’, ‘null’] |
meter |
None |
Rotor diameter. |
|
[‘number’, ‘null’] |
meter |
None |
Thickness of the actuator disk (usually 10% of RD). |
|
[‘number’, ‘null’] |
radians |
None |
Yaw of the turbine relative to inflow angle. |
|
[‘number’, ‘null’] |
dimensionless |
None |
Axial induction value for actuator disks. |
|
string |
- |
sine |
Distribution of force along the radial direction of an actuator disk, options are |
|
[‘number’, ‘null’] |
rotations/minute |
None |
Rotation specified for the alm method. |
|
[‘string’, ‘null’] |
- |
None |
Path to alm data. |
|
[‘string’, ‘integer’] |
dimensionless |
computed |
Integer number of nodes along the rotor radius. |
|
boolean |
- |
True |
Use the velocity measured in the rotor plane to compute alm forces (otherwise use inflow). |
|
number |
meter |
1000 |
Upper limit when optimizing chord. |
|
number |
dimensionless |
1.0 |
This multiplies all the chords by a constant factor, e.g., 2.0 makes a chord that is twice as thick everywhere. |
|
number |
dimensionless |
2.0 |
This is the factor that gets multiplied by the minimum mesh spacing to set the gaussian width, e.g., gaussian_width = 2.0*dx_min. |
|
boolean |
- |
True |
Determines whether or not a tip-loss model is used in the calculation of the ALM force (False means no tip loss is modeled). |
|
number |
meter |
0.0 |
The radius of the hub. If non-zero, actuator nodes will still be placed in the full range [0, rotor_radius], but the lift/drag properties in the range [0, hub_rad] will be modified to reflect the blade root. |
|
number |
meter |
0.0 |
An amount to perturb one of the chord values, used for finite difference gradient calculations. |
|
integer |
dimensionless |
0 |
The integer index of the chord to perturb, used for finite difference gradient calculations. |
|
[‘string’, ‘null’] |
- |
None |
The path to a specific chord to use in CSV format, e.g., input_data/chord_base.csv. |
|
[‘string’, ‘null’] |
- |
None |
Location to the platform motion data. |
|
[‘array’, ‘string’, ‘null’] |
- |
None |
Type of motion to apply can be single string or list of: ‘surge’, ‘sway’, ‘heave’, ‘roll’, ‘pitch’, and/or ‘yaw’. |
|
boolean |
- |
False |
Probe velocity at ALM nodes using an gaussian sphere rather than the |
|
boolean |
- |
False |
Uses linear interpolation when building the airfoil polars. |
refine
A set of options to control how the original mesh is refined, e.g., across the entire farm extent, locally around turbines, or combinations of options. See Mesh Refinement Options
Name |
Type |
Units |
Default |
Description |
|---|---|---|---|---|
|
[‘string’, ‘null’] |
- |
None |
Warping will shift the nodes along the z direction concentrating them near the ground, options are |
|
[‘number’, ‘null’] |
dimensionless |
None |
For smooth warps, how aggressively they are moved to the ground. |
|
[‘number’, ‘null’] |
dimensionless |
None |
For split warps, percentage moved below the warp_heigth. |
|
[‘number’, ‘null’] |
meter |
None |
For split warps, where the split happens. |
|
integer |
dimensionless |
0 |
Integer number of farm level refinements. |
|
string |
- |
square |
Type of farm level refinements, options are |
|
number |
dimensionless |
1.0 |
Scaling factor for the size of the refinement. |
|
integer |
dimensionless |
0 |
Integer number of turbine level refinements. |
|
string |
- |
simple |
Type of turbine refinement, options are |
|
number |
dimensionless |
1.0 |
Scaling factor for the size of the refinement. |
|
[‘object’, ‘null’] |
- |
None |
Allows for a dictionary of custom refine commands. See Custom Mesh Refinement |
|
boolean |
- |
False |
Bare minimum refinement around turbines to increase power calculation accuracy. |
function_space
The finite element function space and the associated options that will be used to solve the problem.
Name |
Type |
Units |
Default |
Description |
|---|---|---|---|---|
|
[‘string’, ‘null’] |
- |
None |
Type of function space, options are |
|
integer |
dimensionless |
6 |
Used when calculating integrals, larger values mean a more time-consuming but potentially more accurate calculation. |
|
string |
- |
Quadrature |
Used with numpy turbine_method, sets the space the turbines are calculate on. |
|
integer |
dimensionless |
6 |
Used with numpy turbine_method, sets degree. |
boundary_conditions
These options set the boundaries and velocity/pressure options that will be enforced on the walls of the computational domain.
Name |
Type |
Units |
Default |
Description |
|---|---|---|---|---|
|
[‘string’, ‘null’] |
- |
None |
Inflow velocity profile, options are |
|
number |
meter/second |
8.0 |
Velocity at hub height TODO: rename to |
|
[‘string’, ‘number’] |
meter |
HH |
Sets the location of the reference velocity, i.e., the z-level at which |
|
number |
dimensionless |
0.25 |
Exponent for the power inflow. |
|
number |
dimensionless |
0.4 |
The constant used in the log layer inflow. |
|
[‘string’, ‘null’] |
- |
None |
Location for the turbsim inflow data. |
|
[‘number’, ‘array’] |
radians |
0.0 |
Angle of the inflow velocity. |
|
Used for renaming the boundries. See Customizing Boundary Conditions |
|||
|-- |
[‘string’, ‘null’] |
- |
None |
Positive x. |
|-- |
[‘string’, ‘null’] |
- |
None |
Positive y. |
|-- |
[‘string’, ‘null’] |
- |
None |
Negative x. |
|-- |
[‘string’, ‘null’] |
- |
None |
Negative y. |
|-- |
[‘string’, ‘null’] |
- |
None |
Negative z. |
|-- |
[‘string’, ‘null’] |
- |
None |
Positive z. |
|-- |
[‘string’, ‘null’] |
- |
None |
Inflow, used in cylinder/circle. |
|-- |
[‘string’, ‘null’] |
- |
None |
Outflow, used in cylinder/circle. |
|
Used for changing the boundary types. See Customizing Boundary Conditions |
|||
|-- |
[‘array’, ‘null’] |
- |
None |
List of inflow bc names. |
|-- |
[‘array’, ‘null’] |
- |
None |
List of no_slip bc names. |
|-- |
[‘array’, ‘null’] |
- |
None |
List of free_slip bc names. |
|-- |
[‘array’, ‘null’] |
- |
None |
List of no_stress bc names. |
problem
Options to define the problem that will be solved and add/modify different models that can be included, e.g., turbulence.
Name |
Type |
Units |
Default |
Description |
|---|---|---|---|---|
|
[‘string’, ‘null’] |
- |
None |
Type of model, options are |
|
boolean |
- |
False |
Relax divergence free constraint to entrain momentum from ‘above’ and ‘below’. |
|
number |
meter^2/second |
0.1 |
Kinematic viscosity. |
|
number |
meter |
15 |
Mixing length. |
|
[‘string’, ‘null’] |
- |
mixing_length |
Turbulence model, options are |
|
integer |
dimensionless |
0 |
Debugging tool, do not use. |
|
boolean |
- |
False |
Add a force to the weak form to allow the inflow to recover. |
|
number |
dimensionless |
1.0 |
Stability term to help increase the well-posedness of the linear mixed formulation. |
|
number |
kg*meter/second^2 |
0.0 |
Set to a float to add a body force to the functional along the streamwise direction. |
solver
These options control how the solver is executed and what properties are saved during the solution.
Name |
Type |
Units |
Default |
Description |
|---|---|---|---|---|
|
string |
- |
steady |
Type of solver, options are |
|
boolean |
- |
False |
Used with unsteady solver to create an iterative steady solver. |
|
number |
second |
1.0 |
Final time of unsteady solve. |
|
number |
second |
1.0 |
How often to save during unsteady solve. |
|
integer |
dimensionless |
1 |
Integer number of wind angles to sweep through for multiangle solve. |
|
boolean |
- |
False |
Include the final wind angle in the sweep. |
|
[‘string’, ‘null’] |
- |
None |
Location of inflow velocities for multivelocity. |
|
boolean |
- |
True |
Save the power data to the data folder. |
|
string |
- |
snes |
Type of nonlinear solver, options are |
|
number |
dimensionless |
1.0 |
Relaxation parameter (0, 1] for Newton. |
|
number |
dimensionless |
0.5 |
Target CFL number for unsteady solve. |
|
integer |
dimensionless |
0 |
Debugging tool, do not use. |
|
boolean |
- |
False |
Save fields at every time step. |
optimization
These options control how the optimization is carried out, how the objective function is calculated, and what constraints are applied.
Name |
Type |
Units |
Default |
Description |
|---|---|---|---|---|
|
string |
- |
maximize |
Minimize or maximize. |
|
[‘array’, ‘null’] |
- |
None |
Controls to optimize, list of: |
|
array |
meter |
wind_farm |
Special bound for layout optimizations. |
|
[‘object’, ‘string’] |
- |
power |
Name of the function to maximize or minimize. See Defining Multiple Objective Functions |
|
Set constraints based on objective_functions. Should be a dictionary of dictionaries with additional kws: target, scale, kwargs. Default inequality c(m)-target>=0 ==> c(m)>=target. See Defining Multiple/Custom Constraints |
|||
|-- |
Default constraint for |
|||
| |-- |
number |
dimensionless |
2 |
Sets the target for given constraint, in this case sets the minimum distance between turbines to be 2 RD. |
| |-- |
number |
dimensionless |
1 |
Sets the scale for the constraint, use to match objective magnitude. Use -1 to flip constraint to target-c(m)>=0 ==> c(m) <= target. |
| |-- |
[‘string’, ‘null’] |
- |
None |
If constraint is based on an objective function with kwargs, set them here. |
|
boolean |
- |
False |
Save the objective to a file in data/. |
|
[‘string’, ‘array’, ‘integer’] |
dimensionless |
all |
Which turbines to optimize, int or list or |
|
number |
second |
0.0 |
When to start recording for unsteady objectives float or |
|
Alm_DELs:. |
|||
|-- |
number |
second |
0 |
DEL_start_time: 0. |
|
number |
second |
0 |
When to start averaging velocity for use in objective functions. |
|
string |
- |
SLSQP |
Optimization method, options are |
|
number |
same as objective |
1.0 |
Sets the value of the objective function that will be treated as 1 by the SNOPT driver. |
|
number |
same as objective |
0.0 |
Sets the value of the objective function that will be treated as 0 by the SNOPT driver. |
|
boolean |
- |
False |
Run the Taylor test. |
|
boolean |
- |
False |
Optimize the problem. |
|
boolean |
- |
False |
Output the gradient. |
|
boolean |
- |
False |
Use the SNOPT FD gradient verification. |
|
boolean |
- |
False |
Check the total derivatives of the problem; optimize must be true as well. |
|
number |
dimensionless |
1.0 |
A hard-coded scaling factor, objective_value = objective_value*hard_scaling_factor. |
|
number |
radians |
5.0 |
The envelope the twist control will be constrained to: baseline +/- twist_range. |
postprocessing
A set of options to control methods executed after the WindSE simulation completes, including formatting outputs for compatibility with downstream coupled codes.
Name |
Type |
Units |
Default |
Description |
|---|---|---|---|---|
|
[‘array’, ‘null’] |
- |
None |
Write specified output variables in a format that FLORIS can use as an input file. |
|
string |
- |
floris_input.yaml |
The filename to use when saving the FLORIS inputs. |