Download LabVIEW Simulation Module User Manual

Transcript
Chapter 6
Optimizing Design Parameters
Figure 6-12 shows the initial parameter values this example uses. Each
element of this array corresponds to same element of the Parameter
Bounds array.
Figure 6-12. Initializing the Values of the PID Controller Parameters
This example uses an initial parameters mesh to generate two additional
search locations quasirandomly. Figure 6-13 shows this Initial
Parameters Mesh.
Figure 6-13. Specifying the Initial Parameters Mesh
When you run this VI, the SQP algorithm executes once using the values
from the Initial Parameters parameter. The algorithm then executes two
more times, using the Initial Parameters Mesh parameter to generate two
sets of initial parameter values.
© National Instruments Corporation
6-19
LabVIEW Simulation Module User Manual