How do I create a load duration curve for a wind turbine from a timeseries?
14 次查看(过去 30 天)
显示 更早的评论
I modelled a WT system in Simulink, and now I want to model a load duration curve similar to the picture below:
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 个评论
dpb
2023-1-17
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.
回答(1 个)
Nehemiae
2023-3-9
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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!