APPLICATION OF ADAPTIVE PREDICATIVE ANALYTICS FOR FORECASTING THE LOCAL WEATHER SITUATION
Abstract
The paper considers the main aspects of the development of a basic weather station and methods of predicative forecasting of time series in case of meteorological changes.
To build the hardware complex of the station, modern components and technologies were used: a prototype of the station was assembled based on an ESP32 microcontroller using temperature and atmospheric pressure sensor BMP180 and humidity sensor HTU2X, an architectural solution based on the LoRaWAN protocol and data exchange with the IoT TTN network was chosen. Testing the operation of the created complex confirmed the correctness of data collection and their forwarding.
The method of forecasting local temperature changes is considered in detail using the ARIMA and SARIMA models as an example. The analysis of modern methods of forecasting time series made it possible to draw a conclusion about the feasibility of using mathematical models that take seasonality into account for long-term forecasts of temperature changes. However, these models perform worse for short-term forecasting (for the next 4-5 hours). In addition, it is shown that the use of some predicted parameters (humidity, atmospheric pressure) as exogenous leads to a deterioration of forecasting accuracy. In this case, it is worth using as exogenous well-known parameters in advance.
A hybrid method for half-hourly weather forecasting for the next two days is substantiated and programmatically implemented on the basis of standard libraries, which uses the method ARIMA (1, 2, 2) for the short-term (4-5 hours) forecast period, and then the Prophet model. The proposed solution provides quite satisfactory prediction accuracy.
Key words: time series, predicative analytics, microcontroller, data exchange protocol, temperature sensor, humidity sensor, atmospheric pressure sensor, mathematical model, time series stationarity, forecasting accuracy.
Full Text:
PDF (Українська)References
- Manly Bryan F.J. Statistics for Environmental Science and Management. 2nd Edition / Bryan F.J. Manly. – New York: Chapman and Hall/CRC, 2008. – 292 p.
- Вельміскін Д. І. Автоматичні системи метеорологічних вимірювань. Конспект лекцій / Д. І. Вельміскін. – Одеса: ТЕС, 2010. – 82 с.
- Whittle P. Hypothesis Testing in Time Series Analysis/ P. Whittle. – Uppsala: Almquist and Wiksells Boktryckeri AB, 1951. – 120 p.
- Box G.P.E. Time Series Analysis: Forecasting and Control / G.P.E. Box, G.M. Jenkins. – San Francisco: Holden-Day, 1970. – 575 p.
- Дзендзелюк О. Побудова ARIMA моделей часових рядів для прогнозування метеоданих на мові програмування R / О. Дзендзелюк, Л. Костів, В. Рабик // Електроніка та інформаційні технології. – 2013. – Вип. 3. – С. 211-219.
- Моделі сталого розвитку {Електронний ресурс]. – Режим доступу: http://dspace.tnpu.edu.ua/bitstream/123456789/26067/1/masliu.pdf
- Hyndman R. J. Forecasting: Principles and Practice / R.J. Hyndman, G. Athanasopoulos. – Melbourne: OTexts.org/fpp, 2013. – 242 p.
- Artley B. Time Series Forecasting with ARIMA, SARIMA and SARIMAX [Electronic resource]. – Mode of access: https://towardsdatascience.com/time-series-forecasting-with-arima-sarima-and-sarimax-ee61099e78f6
- Wei William W.S. Time Series Analysis: Univatiate and Multivariate Methods / William W.S. Wei. – New York: Addison-Wesley Publishing Company, Inc, 2006. – 614 p.
- Krieger M. Time Series Analysies with Facebook Prophet: How it works and How to use it [Electronic resource]. – Mode of access: https://towardsdatascience.com/time-series-analysis-with-facebook-prophet-how-it-works-and-how-to-use-it-f15ecf2c0e3a
- LoRaWAN. Learn [Electronic resource]. – Mode of access: https://www.thethingsnetwork.org/docs/lorawan/ ; Single Channel LoRaWAN Gateway [Electronic resource]. – Mode of access: https://github.com/things4u/ESP-1ch-Gateway
- The Things Network. Learn [Electronic resource]. – Mode of access: https://www.thethingsnetwork.org/docs/
- statsmodels.tsa.arima.model.ARIMA [Electronic resource]. – Mode of access: https://www.statsmodels.org/devel/generated/statsmodels.tsa.arima.model.ARIMA.html
- Verma Yu. Complete Guide to Dickey-Fuller Test in Time-Series Analysis [Electronic resource]. – Mode of access: https://analyticsindiamag.com/complete-guide-to-dickey-fuller-test-in-time-series-analysis/
- KPSS Test: Definition and Interpretation [Electronic resource]. – Mode of access: https://www.statisticshowto.com/kpss-test/
- NumPy [Electronic resource]. – Mode of access: https://numpy.org
- pmdarima [Electronic resource]. – Mode of access: https://pypi.org/project/pmdarima/
- What is a good MAPE score? [Electronic resource]. – Mode of access: https://stephenallwright.com/good-mape-score/
DOI: http://dx.doi.org/10.30970/eli.18.3
Refbacks
- There are currently no refbacks.