lnu.sePublications
Change search
Link to record
Permanent link

Direct link
Ahlgren, Fredrik, Senior LecturerORCID iD iconorcid.org/0000-0003-0372-7195
Biography [eng]

 

Biography [swe]

 

Publications (10 of 33) Show all publications
Maleki, N., Lundström, O., Musaddiq, A., Jeansson, J., Olsson, T. & Ahlgren, F. (2024). Future energy insights: Time-series and deep learning models for city load forecasting. Applied Energy, 374, Article ID 124067.
Open this publication in new window or tab >>Future energy insights: Time-series and deep learning models for city load forecasting
Show others...
2024 (English)In: Applied Energy, ISSN 0306-2619, E-ISSN 1872-9118, Vol. 374, article id 124067Article in journal (Refereed) Published
Abstract [en]

Most of the utility meters in Sweden are now integrated with Internet of Things (IoT) technology. This modern approach significantly enhances our understanding of energy consumption patterns and empowers consumers with detailed insights into their power usage. Additionally, it provides energy companies and grid owners with critical data to facilitate future energy production planning. However, having data at our disposal is only half the battle won. The method employed to forecast energy consumption is equally important due to the complex interplay between long-term trends, seasonal fluctuations, and other unpredictable factors. To optimally utilize this data, we analyzed several robust time-series forecasting models: Random Forest, XGBoost, SARIMAX, FB Prophet, and a Convolutional Neural Network (CNN). Each of these models was chosen for its unique strengths in capturing long-term trends and short-term variations, making them appropriate candidates for predicting power consumption. We showcase the models' performance on the energy consumption data from commercial property owners in 2021 and evaluate their performance based on key performance metrics such as mean squared error (MSE), root mean squared error (RMSE), mean absolute error (MAE), mean absolute percentage error (MAPE), Relative Root Mean Square Error (RRMSE), Coefficient of determination (R2), R 2 ), and Standard Deviation (SD). Our results demonstrate that while FB Prophet, with its ability to effectively factor in external parameters such as price and temperature, fared well in predicting aggregated consumption, it was effectively outperformed by the CNN classifier. The CNN model demonstrated exceptional prediction capabilities and flexibility in adding additional features to the model. For example, the CNN model with the highest accuracy showed the lowest MSE compared to Random Forest, XGBoost, SARIMAX, and FB Prophet with reductions of 75.70%, 69.48%, 49.45%, and 30.62%, respectively. Additionally, the CNN model showed superior R2 2 values, indicating a better fit to the data. Specifically, the R2 2 value for the CNN model was 0.93% on the training set and 0.60% on the testing set, outperforming the other models in terms of explained variance. We also utilized AutoML to analyze a 4-year dataset (2021-2023) to showcase the generalizability of the models. Using AutoML, the R2 2 value increased from 47% to 83% with an expanded dataset, indicating that other models will also achieve better results. From a qualitative perspective, contrary to the prevailing notion that deep learning models demand substantial resources, our experience revealed that training a CNN model did not pose significantly greater challenges than traditional models. This reinforces the untapped potential of deep learning in time-series forecasting, highlighting that complex problems like electricity consumption forecasts may benefit from advanced solutions like CNN.

Place, publisher, year, edition, pages
Elsevier, 2024
Keywords
Energy consumption, Energy forecasting, Internet of Things, Machine learning, Sustainability
National Category
Computer Sciences Energy Systems
Research subject
Computer and Information Sciences Computer Science, Computer Science
Identifiers
urn:nbn:se:lnu:diva-132137 (URN)10.1016/j.apenergy.2024.124067 (DOI)001288773900001 ()2-s2.0-85200382919 (Scopus ID)
Available from: 2024-08-29 Created: 2024-08-29 Last updated: 2024-09-03Bibliographically approved
Katerina, Z., Dalipi, F. & Ahlgren, F. (2024). Integration of Large Language Models into Higher Education: A Perspective from Learners. In: 2023 International Symposium on Computers in Education (SIIE), Setúbal, Portugal, 2023: . Paper presented at 25th IEEE International Symposium on Computers in Education (SIIE), Setúbal, Portugal, 16-18 November 2023 . IEEE
Open this publication in new window or tab >>Integration of Large Language Models into Higher Education: A Perspective from Learners
2024 (English)In: 2023 International Symposium on Computers in Education (SIIE), Setúbal, Portugal, 2023, IEEE, 2024Conference paper, Published paper (Refereed)
Abstract [en]

Large language models (LLMs) are being criticized for copyright infringement, inadvertent bias in training data, a danger to human innovation, the possibility of distributing incorrect or misleading information, and prejudice. Due to their popularity among students, the introduction of many comparable apps, and the inability to resist unfair and fraudulent student usage, their educational use needs to be adapted and harmonized. The incorporation of LLMs should be defined not only by pedagogues and educational institutions, but also by students who will actively utilize them to learn and prepare assignments. In order to find out what students from two universities think and suggest about LLMs use in education, they were asked to give their contribution by answering the survey that was conducted at the beginning of the spring semester of academic 2022/23. Their feedback was quantitatively and qualitatively analyzed, showing in a better light what students think about LLMs and how and why they would use them. Based on the analysis, the authors propose an original strategy for integrating LLMs into education. The proposed approach is also adapted for those students who are not interested in using LLMs and for those who prefer the hybrid mode by combining their own research with LLMs generated recommendations. The authors expect that by implementing the proposed strategy, schools will benefit from a better education in which research, creativity, academic honesty, recognition of false information, and the ability to improve knowledge will prevail.

Place, publisher, year, edition, pages
IEEE, 2024
Keywords
AI learning tool, ChatGPT, large language models, academic integrity, students’ feedback, higher education
National Category
Computer and Information Sciences
Research subject
Computer and Information Sciences Computer Science
Identifiers
urn:nbn:se:lnu:diva-127659 (URN)10.1109/SIIE59826.2023.10423681 (DOI)2-s2.0-85186112796 (Scopus ID)9798350329315 (ISBN)9798350329322 (ISBN)
Conference
25th IEEE International Symposium on Computers in Education (SIIE), Setúbal, Portugal, 16-18 November 2023 
Available from: 2024-02-09 Created: 2024-02-09 Last updated: 2024-05-22Bibliographically approved
Musaddiq, A., Mozart, D., Maleki, N., Lundström, O., Olsson, T. & Ahlgren, F. (2024). Internet of Things for Digital Transformation and Sustainable Growth of SME's. In: 2024 IEEE International Conference on Omni-layer Intelligent Systems (COINS), 29-31 July 2024: . Paper presented at 2024 IEEE International Conference on Omni-layer Intelligent Systems (COINS), 29-31 July 2024, London (pp. 1-5). Institute of Electrical and Electronics Engineers (IEEE)
Open this publication in new window or tab >>Internet of Things for Digital Transformation and Sustainable Growth of SME's
Show others...
2024 (English)In: 2024 IEEE International Conference on Omni-layer Intelligent Systems (COINS), 29-31 July 2024, Institute of Electrical and Electronics Engineers (IEEE), 2024, p. 1-5Conference paper, Published paper (Refereed)
Abstract [en]

Small and medium-sized enterprises (SMEs)can significantly enhance their efficiency and productivity with the integration of emerging technologies like the Internet of Things (IoT). However, limited resources and a lack of expertise in information and communication technologies often present challenges for SMEs in their journey towards digitalization. This paper outlines the IoT roadmap, detailing the necessary knowledge and support required to support SMEs in using IoT technologies. Drawing upon several pilot case studies as illustrative examples, the paper underscores the value that IoT and related platforms can offer SMEs within the framework of smart and sustainable development. Additionally, it highlights the challenges typically encountered in the adoption and integration of these technologies

Place, publisher, year, edition, pages
Institute of Electrical and Electronics Engineers (IEEE), 2024
Keywords
IoT, SME, Pilot Cases
National Category
Information Systems, Social aspects
Research subject
Computer and Information Sciences Computer Science, Computer Science
Identifiers
urn:nbn:se:lnu:diva-132153 (URN)10.1109/COINS61597.2024.10622155 (DOI)9798350349597 (ISBN)9798350349603 (ISBN)
Conference
2024 IEEE International Conference on Omni-layer Intelligent Systems (COINS), 29-31 July 2024, London
Available from: 2024-08-29 Created: 2024-08-29 Last updated: 2024-09-03Bibliographically approved
Lundström, O., Maleki, N. & Ahlgren, F. (2024). Online Course Improvement Through GPT-4: Monitoring Student Engagement and Dynamic FAQ Generation. In: : . Paper presented at 2024 IEEE Global Engineering Education Conference (EDUCON).
Open this publication in new window or tab >>Online Course Improvement Through GPT-4: Monitoring Student Engagement and Dynamic FAQ Generation
2024 (English)Conference paper, Published paper (Refereed)
Abstract [en]

Artificial Intelligence (AI), specifically in language processing, is increasingly recognized as an invaluable educational tool. The Large Language Model (LLM) GPT, developed by OpenAI, is an advanced machine learning tool that utilizes deep learning for human-like text comprehension and generation. This study uses OpenAI's GPT-4 to enhance an online Internet of Things (loT) course at Linnaeus University. We analyzed 12,000+ messages on an online communication platform spanning four years. We compare traditional Natural Language Processing (NLP) techniques to Generative AI for understanding student feedback and issues, inspiring project ideas, and promoting student engagement. We provide a combined approach to monitor the sentiment or mood of the students' communications over the timeline of the course. Moreover, we show how to use LLM to refine the FAQ generation and decipher student feedback for course refinement. We demonstrate how to generate optimal prompts and prepare the data to apply LLMs effectively. Our research reinforces that strategic use of LLMs, like GPT-4, can revolutionize remote learning by lessening lecturer workload and boosting student satisfaction and engagement. Our future work aims to further leverage AI models across remote engineering education. One potential direction is developing an AI-powered bot for online platforms to facilitate real-time interaction, manage queries, encourage engagement, maintain FAQs, and enhance course outcomes.

National Category
Computer Systems Educational Sciences
Identifiers
urn:nbn:se:lnu:diva-132582 (URN)10.1109/EDUCON60312.2024.10578788 (DOI)
Conference
2024 IEEE Global Engineering Education Conference (EDUCON)
Available from: 2024-09-17 Created: 2024-09-17 Last updated: 2024-09-17
Manzoni, P., Zennaro, M., Ahlgren, F., Olsson, T. & Prandi, C. (2023). Crowdsourcing Through TinyML as aWay to Engage End-Users in IoT Solutions (1ed.). In: Jie Wu, En Wang (Ed.), Mobile Crowdsourcing: From Theory to Practice (pp. 359-387). Switzerland: Springer
Open this publication in new window or tab >>Crowdsourcing Through TinyML as aWay to Engage End-Users in IoT Solutions
Show others...
2023 (English)In: Mobile Crowdsourcing: From Theory to Practice / [ed] Jie Wu, En Wang, Switzerland: Springer, 2023, 1, p. 359-387Chapter in book (Other academic)
Abstract [en]

This book offers the latest research results in recent development on the principles, techniques and applications in mobile crowdsourcing. It presents state-of-the-art content and provides an in-depth overview of the basic background in this related field. Crowdsourcing involves a large crowd of participants working together to contribute or produce goods and services for the society. The early 21st century applications of crowdsourcing can be called crowdsourcing 1.0, which includes businesses using crowdsourcing to accomplish various tasks, such as the ability to offload peak demand, access cheap labor, generate better results in a timely matter, and reach a wider array of talent outside the organization.  Mobile crowdsensing can be described as an extension of crowdsourcing to the mobile network to combine the idea of crowdsourcing with the sensing capacity of mobile devices. As a promising paradigm for completing complex sensing and computation tasks, mobile crowdsensing serves the vital purpose of exploiting the ubiquitous smart devices carried by mobile users to make conscious or unconscious collaboration through mobile networks. Considering that we are in the era of mobile internet, mobile crowdsensing is developing rapidly and has great advantages in deployment and maintenance, sensing range and granularity, reusability, and other aspects. Due to the benefits of using mobile crowdsensing, many emergent applications are now available for individuals, business enterprises, and governments. In addition, many new techniques have been developed and are being adopted.

Place, publisher, year, edition, pages
Switzerland: Springer, 2023 Edition: 1
Series
Wireless Networks, ISSN 2366-1186, E-ISSN 2366-1445
Keywords
Internet of Things, IoT, Crowd sourcing, Machine Learning, ML, TinyML
National Category
Computer Engineering
Research subject
Computer Science, Software Technology
Identifiers
urn:nbn:se:lnu:diva-123416 (URN)10.1007/978-3-031-32397-3_14 (DOI)2-s2.0-85165996934 (Scopus ID)9783031323973 (ISBN)9783031323966 (ISBN)
Available from: 2023-08-02 Created: 2023-08-02 Last updated: 2023-08-25Bibliographically approved
Maleki, N., Musaddiq, A., Mozart, D., Olsson, T., Omareen, M. & Ahlgren, F. (2023). DeltaBin: An Efficient Binary Data Format for Low Power IoT Devices. In: 2023 International Conference on Computer, Information and Telecommunication Systems (CITS), Genoa, Italy, 2023: . Paper presented at 2023 International Conference on Computer, Information and Telecommunication Systems (CITS), 10-12 July, Genoa, Italy. Genoa, Italy: IEEE Press
Open this publication in new window or tab >>DeltaBin: An Efficient Binary Data Format for Low Power IoT Devices
Show others...
2023 (English)In: 2023 International Conference on Computer, Information and Telecommunication Systems (CITS), Genoa, Italy, 2023, Genoa, Italy: IEEE Press, 2023Conference paper, Published paper (Refereed)
Abstract [en]

The Internet of Things (IoT) notion is quickly influencing t he architectures of data-driven systems d ue to the ever-increasing rapid technological progress in all sectors. The IoT involves the collection and exchange of data from a large number of interconnected devices or sensors. The collected data is structured and transmitted in a variety of different data formats such as JSON, CBOR, BSON, or simply a binary format. The data format used by an IoT device can have a significant i mpact on t he efficiency of its data transmission. In general, using a more compact and efficient data format can help to reduce t he amount of data that needs to be transmitted, which can improve the overall speed and performance of the device. For example, using a binary data format rather than a text-based format can often result in smaller data sizes and faster transmission times. Similarly, using a binary format in a more compressed form can further help to reduce the size of the data being transmitted, which can further improve the efficiency of the transmission. In this paper, we propose Delta Binary (i.e., DeltaBin) to reduce the binary data format by transmitting only changed data. We assess DeltaBin using a real IoT deployment scenario.

Place, publisher, year, edition, pages
Genoa, Italy: IEEE Press, 2023
Keywords
IoT, Data Standard, LoRa, Applied IoT
National Category
Communication Systems
Research subject
Computer and Information Sciences Computer Science
Identifiers
urn:nbn:se:lnu:diva-124089 (URN)10.1109/CITS58301.2023.10188750 (DOI)2-s2.0-85167867323 (Scopus ID)9798350336108 (ISBN)9798350336092 (ISBN)
Conference
2023 International Conference on Computer, Information and Telecommunication Systems (CITS), 10-12 July, Genoa, Italy
Available from: 2023-09-05 Created: 2023-09-05 Last updated: 2024-01-18Bibliographically approved
Xie, X., Sun, B., Li, X., Olsson, T., Maleki, N. & Ahlgren, F. (2023). Fuel Consumption Prediction Models Based on Machine Learning and Mathematical Methods. Journal of Marine Science and Engineering, 11(4), Article ID 738.
Open this publication in new window or tab >>Fuel Consumption Prediction Models Based on Machine Learning and Mathematical Methods
Show others...
2023 (English)In: Journal of Marine Science and Engineering, E-ISSN 2077-1312, Vol. 11, no 4, article id 738Article in journal (Refereed) Published
Abstract [en]

An accurate fuel consumption prediction model is the basis for ship navigation status analysis, energy conservation, and emission reduction. In this study, we develop a black-box model based on machine learning and a white-box model based on mathematical methods to predict ship fuel consumption rates. We also apply the Kwon formula as a data preprocessing cleaning method for the black-box model that can eliminate the data generated during the acceleration and deceleration process. The ship model test data and the regression methods are employed to evaluate the accuracy of the models. Furthermore, we use the predicted correlation between fuel consumption rates and speed under simulated conditions for model performance validation. We also discuss applying the data-cleaning method in the preprocessing of the black-box model. The results demonstrate that this method is feasible and can support the performance of the fuel consumption model in a broad and dense distribution of noise data in data collected from real ships. We improved the error to 4% of the white-box model and the R22 to 0.9977 and 0.9922 of the XGBoost and RF models, respectively. After applying the Kwon cleaning method, the value of R22 also can reach 0.9954, which can provide decision support for the operation of shipping companies.

Place, publisher, year, edition, pages
MDPI, 2023
Keywords
machine learning, ship fuel consumption prediction, black-box model, white-box model, data cleaning method, acceleration and deceleration process
National Category
Energy Engineering
Research subject
Computer and Information Sciences Computer Science, Computer Science; Technology (byts ev till Engineering), Bioenergy Technology; Shipping, Maritime Science
Identifiers
urn:nbn:se:lnu:diva-120026 (URN)10.3390/jmse11040738 (DOI)000980843800001 ()2-s2.0-85154596894 (Scopus ID)
Available from: 2023-03-31 Created: 2023-03-31 Last updated: 2023-11-02Bibliographically approved
Musaddiq, A., Maleki, N., Palma, F., Olsson, T., Toll, D., Mozart, D., . . . Ahlgren, F. (2023). Industry-Academia Cooperation: Applied IoT Research for SMEs in South-East Sweden. In: González-Vidal, A., Mohamed Abdelgawad, A., Sabir, E., Ziegler, S., Ladid, L (Ed.), Internet of Things. GIoTS 2022: . Paper presented at 5th The Global IoT Summit, GIoTS 2022, Dublin, Ireland, June 20–23, 2022, Revised Selected Papers (pp. 397-410). Springer
Open this publication in new window or tab >>Industry-Academia Cooperation: Applied IoT Research for SMEs in South-East Sweden
Show others...
2023 (English)In: Internet of Things. GIoTS 2022 / [ed] González-Vidal, A., Mohamed Abdelgawad, A., Sabir, E., Ziegler, S., Ladid, L, Springer, 2023, p. 397-410Conference paper, Published paper (Refereed)
Abstract [en]

This paper presents the activities of the Applied IoT Lab at the Department of Computer Science and Media Technology, Linnaeus University (LNU), Kalmar, Sweden. The lab is actively engaged in IoT-based educational programs, including a series of workshops and pilot cases. The lab is funded by the European Union and two Swedish counties – Kalmar and Kronoberg. The workshops and pilot cases are part of the research project named IoT Lab for Small and Medium-sized Enterprises (SMEs). One of the lab’s main objectives is to strengthen and support local companies with IoT. The project IoT Lab for SMEs also aims to spread knowledge and inspire the local community about the possibilities of using IoT technologies by organizing open lab days, in-depth lectures, and seminars. This paper introduces Applied IoT Lab at LNU, its educational programs, and industry-academic cooperation, including workshops and a number of ongoing pilot cases.

Place, publisher, year, edition, pages
Springer, 2023
Series
Lecture Notes in Computer Science ; 13533
Keywords
IoT, SME, Pilot cases
National Category
Electrical Engineering, Electronic Engineering, Information Engineering
Research subject
Computer and Information Sciences Computer Science
Identifiers
urn:nbn:se:lnu:diva-118208 (URN)10.1007/978-3-031-20936-9_32 (DOI)2-s2.0-85147856168 (Scopus ID)9783031209352 (ISBN)9783031209369 (ISBN)
Conference
5th The Global IoT Summit, GIoTS 2022, Dublin, Ireland, June 20–23, 2022, Revised Selected Papers
Projects
IoT lab for SME
Available from: 2023-01-10 Created: 2023-01-10 Last updated: 2023-11-02Bibliographically approved
Musaddiq, A., Mozart, D., Maleki, N., Olsson, T. & Ahlgren, F. (2023). Integrating Object Detection and Wide Area Network Infrastructure for Sustainable Ferry Operation. In: 2023 IEEE International Conference on Imaging Systems and Techniques (IST), Copenhagen, Denmark: . Paper presented at 2023 IEEE International Conference on Imaging Systems and Techniques (IST), Copenhagen, Denmark, 17-19 October, 2023. IEEE
Open this publication in new window or tab >>Integrating Object Detection and Wide Area Network Infrastructure for Sustainable Ferry Operation
Show others...
2023 (English)In: 2023 IEEE International Conference on Imaging Systems and Techniques (IST), Copenhagen, Denmark, IEEE, 2023Conference paper, Published paper (Refereed)
Abstract [en]

Low-Power Wide-Area Network (LPWAN) technologies offer new opportunities for data collection, transmission, and decision-making optimization. Similarly, a wide range of use cases of computer vision and object detection algorithms can be found across different industries. This paper presents a case study focusing on the utilization of LPWAN infrastructure, specifically the Helium network, coupled with computer vision and object detection algorithms, to optimize passenger ferry operation. The passenger ferry called M/S Dessi operates between Kalmar and Färjestaden in Sweden during the summer season. By implementing an Edge-computing solution, real-time data collection and communication are achieved, enabling accurate measurement of passenger flow. This approach is superior to traditional methods of collecting passenger data, such as manual counting or CCTV surveillance. Real-time passenger data is invaluable for traffic planning, crowd prediction, revenue enhancement, and speed and fuel optimization. The utilization of the Helium network ensures reliable and long-distance data transmission, extending the system’s applicability to multiple ferries and distant locations. The proposed approach can be utilized to integrate passenger ferries that operate in close proximity to urban areas into society’s digital transformation efforts. This study highlights the potential of LPWAN, computer vision, and object detection in enhancing passenger ferry operations, contributing to enhanced efficiency and sustainability.

Place, publisher, year, edition, pages
IEEE, 2023
Keywords
Object detection, LPWAN, LoRa, Helium network
National Category
Communication Systems Computer Sciences
Research subject
Computer and Information Sciences Computer Science, Computer Science
Identifiers
urn:nbn:se:lnu:diva-126115 (URN)10.1109/IST59124.2023.10355690 (DOI)2-s2.0-85182737382 (Scopus ID)9798350330830 (ISBN)9798350330847 (ISBN)
Conference
2023 IEEE International Conference on Imaging Systems and Techniques (IST), Copenhagen, Denmark, 17-19 October, 2023
Available from: 2023-12-21 Created: 2023-12-21 Last updated: 2024-02-15Bibliographically approved
Hedayati, S., Maleki, N., Olsson, T., Ahlgren, F., Seyednezhad, M. & Berahmand, K. (2023). MapReduce scheduling algorithms in Hadoop: a systematic study. Journal of Cloud Computing: Advances, Systems and Applications, 12, Article ID 143.
Open this publication in new window or tab >>MapReduce scheduling algorithms in Hadoop: a systematic study
Show others...
2023 (English)In: Journal of Cloud Computing: Advances, Systems and Applications, E-ISSN 2192-113X, Vol. 12, article id 143Article in journal (Refereed) Published
Abstract [en]

Hadoop is a framework for storing and processing huge volumes of data on clusters. It uses Hadoop Distributed File System (HDFS) for storing data and uses MapReduce to process that data. MapReduce is a parallel computing framework for processing large amounts of data on clusters. Scheduling is one of the most critical aspects of MapReduce. Scheduling in MapReduce is critical because it can have a significant impact on the performance and efficiency of the overall system. The goal of scheduling is to improve performance, minimize response times, and utilize resources efficiently. A systematic study of the existing scheduling algorithms is provided in this paper. Also, we provide a new classification of such schedulers and a review of each category. In addition, scheduling algorithms have been examined in terms of their main ideas, main objectives, advantages, and disadvantages.

Place, publisher, year, edition, pages
Springer, 2023
Keywords
Distributed systems, Resource allocation, Scheduling algorithms, Hadoop, MapReduce, Fair scheduling
National Category
Computer Systems
Research subject
Computer and Information Sciences Computer Science
Identifiers
urn:nbn:se:lnu:diva-124925 (URN)10.1186/s13677-023-00520-9 (DOI)001081361800001 ()2-s2.0-85173613674 (Scopus ID)
Available from: 2023-09-27 Created: 2023-09-27 Last updated: 2023-11-15Bibliographically approved
Organisations
Identifiers
ORCID iD: ORCID iD iconorcid.org/0000-0003-0372-7195

Search in DiVA

Show all publications