From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Example Code

Simulating a Wind Turbine

Code and Documents

Attachment

Overview


This example illustrates how to use LabVIEW and the LabVIEW Control Design and Simulation Module to simulate a wind turbine.

You can use LabVIEW and the LabVIEW Control Design and Simulation Module to simulate a full wind turbine system, including the wind turbine, mechanical drive train, generator, power grid, and controller. The Control Design and Simulation Module provides a numerical simulation environment that allows you to test this system, which would otherwise be very expensive to test. You can use the Control Design and Simulation Module to analyze the interactions between hybrid mechanical-electrical systems. You also can improve the quality of existing models and explore other control strategies by simulating deep-bar induction generators and more complex drive-train models.

Instructions

Complete the following steps to run the simulation of a wind turbine.

  1. Download the attached wind_turbine_simulation.zip file.
  2. Extract the file, open the resulting folder, and double-click the Final Simulation.vi item to open the Final Simulation example VI.
  3. Press the Run button to run the Final Simulation example VI.
  4. Select Automatic from the Method drop-down menu and observe the changes on the Pictures, Power, and Turbine Parameters pages as the Wind Speed and Wind Direction change. You also can select Manual from the Method drop-down menu to modify the Wind Speed and Wind Direction manually.

 

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors