Accurate ultra-short-term wind speed forecasting is great significance to ensure large scale integration of wind power into the power grid, but the randomness, instability, and non-linear nature of wind speed make it very difficult to be predicted accurately. To solve this problem, shifted window stationary attention transformer (SWSA transformer) is proposed based on a global attention mechanism for ultra-short-term forecasting of wind speed. SWSA transformer can sufficiently extract these complicated features of wind speed to improve the prediction accuracy of wind speed. First, positional embedding and temporal embedding are added at the bottom of the proposed method structure to mark wind speed series, which enables complicated global features of wind speed to be more effectively extracted by attention. Second, a shifted window is utilized to enhance the ability of attention to capture features from the edge sequences. Third, a stationary attention mechanism is applied to not only extract features of wind speed but also optimize the encoder-decoder network for smoothing wind speed sequences. Finally, the predicted values of wind speed are obtained using the calculation in the decoder network. To verify the proposed method, tests are performed utilizing data from an real offshore wind farm. The results show that the proposed method outperforms many popular models evaluated by many indexes including gated recurrent unit, Gaussian process regression, long-short term memory, shared weight long short-term memory network, and shared weight long short-term memory network -Gaussian process regression, in terms of mean absolute error, mean square error (MSE), root mean square error, mean absolute percentage error, mean square percentage error, and coefficient of determination (R2).
Skip Nav Destination
SWSA transformer: A forecasting method of ultra-short-term wind speed from an offshore wind farm using global attention mechanism
Article navigation
July 2023
Research Article|
July 20 2023
SWSA transformer: A forecasting method of ultra-short-term wind speed from an offshore wind farm using global attention mechanism
Shengmao Lin
;
Shengmao Lin
(Conceptualization, Methodology, Software)
1
School of Electrical Engineering, Yanshan University
, Qinhuangdao, Hebei 066004, People's Republic of China
Search for other works by this author on:
Jing Wang;
Jing Wang
(Data curation, Validation)
1
School of Electrical Engineering, Yanshan University
, Qinhuangdao, Hebei 066004, People's Republic of China
Search for other works by this author on:
Xuefang Xu
;
Xuefang Xu
a)
(Data curation, Funding acquisition, Writing – original draft)
1
School of Electrical Engineering, Yanshan University
, Qinhuangdao, Hebei 066004, People's Republic of China
a)Author to whom correspondence should be addressed: xuefangxu@ysu.edu.cn
Search for other works by this author on:
Hang Tan
;
Hang Tan
(Supervision)
2
College of Physics and Engineering, Chengdu Normal University
, Chengdu 611130, China
Search for other works by this author on:
Peiming Shi
;
Peiming Shi
(Funding acquisition, Software, Validation)
1
School of Electrical Engineering, Yanshan University
, Qinhuangdao, Hebei 066004, People's Republic of China
Search for other works by this author on:
Ruixiong Li
Ruixiong Li
(Writing – review & editing)
3
School of Energy and Power Engineering, Xi'an Jiaotong University
, Xi'an 710049, China
Search for other works by this author on:
a)Author to whom correspondence should be addressed: xuefangxu@ysu.edu.cn
J. Renewable Sustainable Energy 15, 046101 (2023)
Article history
Received:
April 09 2023
Accepted:
July 04 2023
Citation
Shengmao Lin, Jing Wang, Xuefang Xu, Hang Tan, Peiming Shi, Ruixiong Li; SWSA transformer: A forecasting method of ultra-short-term wind speed from an offshore wind farm using global attention mechanism. J. Renewable Sustainable Energy 1 July 2023; 15 (4): 046101. https://doi.org/10.1063/5.0153511
Download citation file:
Sign in
Don't already have an account? Register
Sign In
You could not be signed in. Please check your credentials and make sure you have an active account and try again.
Sign in via your Institution
Sign in via your InstitutionPay-Per-View Access
$40.00
269
Views
Citing articles via
Related Content
A source impedance compensated artificial voice for mask speech intelligibility testing: Thevenin model
J Acoust Soc Am (November 1996)
Killer whale (Orcinus orca) behavioral audiograms
J. Acoust. Soc. Am. (April 2017)
The stability of a sheared density interface
Physics of Fluids A: Fluid Dynamics (October 1991)
Efficiencies of single and graded gap solar cells at terrestrial solar spectra
Journal of Applied Physics (June 1992)
Axial‐Convective‐Loss in Ion Bernstein Wave Heating
AIP Conference Proceedings (January 1992)