Forecasting Production and Demand for PV-Integrated System with LSTM and Comparison with ANN Model: A case Study at KTH Live-In Lab
2024 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE credits
Student thesis
Abstract [en]
A growing population requires efficient usage of energy systems to achieve a sustainable path moving forward. With the increasing implementation of renewable energy sources, modeling their production becomes imperative. To maintain a balanced network, the forecast of demand becomes equally important for the system. The improvement of production and load demand forecasting is key for optimization models and can lead to efficient use of energy. This study analyses the use of LSTM to make predictions about PV-production and demand.
Furthermore, the model is compared with an ANN model with the same goal for forecasting. Both models are investigated to see which method yield more accurate results and what their respective advantages and disadvantages are for this case.
The main finding from the compared models is a higher accuracy for the LSTM model, both with respect to production and demand of the building. On average, the model performs more precise than the ANN model in most metrics used to evaluate the models. Although the LSTM model achieved good performances compared to the ANN model, the hyperparameters could be further adjusted. It could therefore be beneficial to investigate other, more extensive, methods for hyperparameter tuning.
Abstract [sv]
En växande befolkning kräver effektiv användning av energisystem för att uppnå en hållbar väg framåt. Med den ökande implementeringen av förnybara energikällor blir modellering av deras produktion avgörande. För att bibehålla ett balanserat nätverk blir prognosen för efterfrågan lika viktig för systemet. Förbättringen av produktion och lastefterfrågan prognos är nyckeln för optimeringsmodeller och kan leda till effektiv användning av energi.
Denna studie analyserar användningen av LSTM för att göra förutsägelser om PV-produktion och efterfrågan. Vidare jämförs modellen med en ANN-modell med samma mål för prognos. Båda modellerna undersöks för att se vilken metod som ger mer exakta resultat och vilka deras respektive fördelar och nackdelar är för detta fall.
Den främsta slutsatsen från de jämförda modellerna är en högre noggrannhet för LSTM-modellen, både med avseende på produktionen och efterfrågan på byggnaden. I genomsnitt presterar modellen mer precist än ANN-modellen i de flesta metrikerna som används för att utvärdera modellerna. Även om LSTM-modellen uppnådde goda prestationer jämfört med ANN-modellen, kunde hyperparametrarna ytterligare anpassas. Det skulle därför kunna vara fördelaktigt att undersöka andra, mer omfattande, metoder för optimering av dessa parametrar.
Abstract [es]
Una población en crecimiento requiere el uso eficiente de los sistemas energéticos para lograr un camino sostenible hacia adelante. Con la creciente implementación de fuentes de energía renovable, se vuelve imperativo modelar su producción. Para mantener una red equilibrada, la predicción de la demanda se vuelve igualmente importante para el sistema. La mejora de las predicciones de producción y demanda de carga es clave para los modelos de optimización y puede conducir a un uso eficiente de la energía.
Este estudio analiza el uso de LSTM para hacer predicciones sobre la producción de energía solar fotovoltaica (PV) y la demanda. Además, el modelo se compara con un modelo ANN con el mismo objetivo de pronóstico. Se investigan ambos modelos para ver qué método produce resultados más precisos y cuáles son sus respectivas ventajas y desventajas para este caso.
El hallazgo principal de los modelos comparados es una mayor precisión para el modelo LSTM, tanto en lo que respecta a la producción como a la demanda del edificio. En promedio, el modelo es más preciso que el modelo ANN en la mayoría de las métricas utilizadas para evaluar los modelos. Aunque el modelo LSTM ha logrado buenas actuaciones en comparación con el modelo ANN, los hiperparámetros podrían ajustarse aún más. Por lo tanto, podría ser beneficioso investigar otros métodos más extensos para la optimización de los hiperparámetros.
Abstract [de]
Eine wachsende Bevölkerung erfordert eine effiziente Nutzung von Energiesystemen, um einen nachhaltigen Weg in die Zukunft einzuschlagen. Mit der zunehmenden Implementierung erneuerbarer Energiequellen wird die Modellierung ihrer Produktion unerlässlich. Um ein ausgeglichenes Netzwerk aufrechtzuerhalten, wird die Prognose der Nachfrage für das System gleichermaßen wichtig. Die Verbesserung der Produktions- und Lastnachfrageprognosen ist entscheidend für Optimierungsmodelle und kann zu einer effizienten Nutzung von Energie führen.
Diese Studie analysiert die Verwendung von LSTM zur Vorhersage der PV-Produktion und der Nachfrage. Darüber hinaus wird das Modell mit einem ANN-Modell mit dem gleichen Ziel für die Vorhersage verglichen. Beide Modelle werden untersucht, um zu sehen, welche Methode genauere Ergebnisse liefert und welche jeweiligen Vor- und Nachteile sie für diesen Fall haben.
Das wichtigste Ergebnis der verglichenen Modelle ist eine höhere Genauigkeit für das LSTM-Modell, sowohl in Bezug auf die Produktion als auch auf die Nachfrage des Gebäudes. Im Durchschnitt liefert das Modell präzisere Ergebnisse als das ANN-Modell in den meisten Metriken, die zur Bewertung der Modelle verwendet werden. Obwohl das LSTM-Modell gute Leistungen im Vergleich zum ANN-Modell erzielt hat, könnten die Konfiguration des Startparameter weiter angepasst werden. Es könnte daher vorteilhaft sein, andere, umfassendere Methoden für das Optimierung dieser Parameter zu untersuchen.
Place, publisher, year, edition, pages
2024. , p. 32
Series
TRITA-ITM-EX ; 2024:174
Keywords [en]
Artificial Intelligence, Artificial neural network, LSTM, Photovoltaics, Hyperparameter-Tuning
Keywords [de]
Künstliche Intelligenz, Künstliches neuronales Netz, LSTM, Photovoltaik, Hyperparameter-Tuning
Keywords [sv]
Artificiell intelligens, artificiellt neuralt nätverk, LSTM, solceller, hyperparameter-optimering
Keywords [es]
Inteligencia artificial, Red neuronal artificial, LSTM, Fotovoltaica, Ajuste de hiperparámetros
National Category
Engineering and Technology
Identifiers
URN: urn:nbn:se:kth:diva-353101OAI: oai:DiVA.org:kth-353101DiVA, id: diva2:1897175
Supervisors
Examiners
2024-09-122024-09-122024-09-12Bibliographically approved