The power generation of WP&PV in microgrid is random,
prediction of it can simplify the calculation, reduce operating
costs. Nowadays, WP&PV prediction technology has a lot of
mature algorithm which can predict WP&PV power under a
certain accuracy. Commonly used prediction algorithms are
sustained method, time series, neural networks, etc.
Autoregressive Moving Average model(ARMA) was used to
predict the WP. Multiple linear regression prediction algorithm
was used to predict the PV here.