To calculate the Annual Energy Production (AEP) of a wind turbine in Matlab, you will need to follow these steps:
Define the wind speed data: You can use wind speed data measured at the site, or use available data from sources such as wind atlases or CFD simulations. The wind speed data should be in m/s, and should cover a 8760-hour period.
Create a wind speed frequency distribution: Use the wind speed data to create a wind speed frequency distribution. This can be done by counting the number of hours that wind speed values fall within specific wind speed bins. You can choose the size of wind speed bins depending on the level of detail you require.
Calculate the wind power output: Use the wind turbine's power curve to calculate the power output corresponding to each wind speed bin.
Calculate the energy output: Multiply the wind power output by the number of hours in each wind speed bin, and sum the results for all bins. This will give you the energy output of the turbine over the 8760-hour period.
Calculate the AEP: Multiply the energy output with the capacity factor to obtain the AEP.
The following code snippet shows an example implementation of this process in Matlab:
main.m947 chars27 lines
Note that the capacity factor used in this example is assumed to be 0.35, which is typical for onshore wind turbines. However, the actual capacity factor will depend on factors such as the site location, wind resource, and turbine performance.
gistlibby LogSnag