How do I create a load duration curve for a wind turbine from a timeseries?
13 views (last 30 days)
Show older comments
I modelled a WT system in Simulink, and now I want to model a load duration curve similar to the picture below:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1267120/image.jpeg)
The data is a timeseries extracted from Simulink. Can someone help me with this problem? To make it easier for you guys I added an excel file with a similar timeseries and a line of code that extracts the data.
Windspeed_hourly_mean = xlsread('Windspeed_hourly.xlsx','B2:B8763');
2 Comments
dpb
on 17 Jan 2023
The file makes no sense and if whatever is in column B is the mean hourly windspeed, that's insufficient information from which to deduce power.
The first column looks like a sequence from 1:300-something, the second is a set of small integers the third is some floating point number but no idea what.
Answers (1)
Nehemiae
on 9 Mar 2023
Hello,
To plot the timeseries data of windspeed, the “plot” function can be used. Since the exported data contains the windspeed for every hour in the year, it can be simply plot in the Y-axis, with the X-axis being the vector of all hours in the year. If you have data across multiple years, then take the average windspeed across all years and use the same commands below, but on the average data. The similar workflow can be done on your wind power data.
Windspeed_hourly_mean = readtable('Windspeed_hourly.xlsx', 'Range', 'B3:B8762');
plot(1 : length(Windspeed_hourly_mean.Var1), Windspeed_hourly_mean.Var1, 'LineStyle', '-', 'LineWidth', 3);
title('Predicted Power/Duration Graph, Vesta 1650kW, North Sea');
xlabel('Hours / year');
ylabel('Power (kW)');
The documentation on the “plot” function (https://www.mathworks.com/help/matlab/ref/plot.html) can be helpful in this regard.
0 Comments
See Also
Categories
Find more on Wind Power in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!