Using Matlab and Modbus TCP/IP connection for real-time monitoring of a demonstration microgrid
Autor(a) principal: | |
---|---|
Data de Publicação: | 2016 |
Tipo de documento: | Relatório |
Idioma: | eng |
Título da fonte: | Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos) |
Texto Completo: | http://hdl.handle.net/10400.22/9308 |
Resumo: | In cooperation with the research facility GECAD (Research Group on Intelligent Engineering and Computing for Advanced Innovation and Development (http://www.gecad.isep.ipp.pt/GECAD/ Pages/Presentation/Home.aspx)) located next to ISEP (Instituto Superior de Engenharia do Porto), a project was made to retrieve electrical data from the research lab at the facility. This lab is able to simulate small electrical grids (also called micro-grids). Since electrical energy monitoring has become more important due to environmental and economical causes in the last decades, this has become an interesting subject for studies. Not only quantity, but nowadays also quality (power quality) becomes more important for consumers as well as producers. A good monitoring system is needed in order reach these goals. However, in this paper, only a little part of monitoring will be discussed: the actual retrieving of the data. Complete monitoring holds more content as explained further in the paper. The main goal is to establish a MODBUS TCP/IP connection between Matlab and 9 Janitza Power Analyzers (UMG96RM-EL) located in the main distribution board of the lab. The retrieved data can be visualised in Matlab or can be exported to Excel for further analysis or manipulation. Also a real-time solution will be provided in the end. In this way the user is able to analyze the different power flows trough the buses connected with the loads making it possible to measure exact energy consumption and losses when simulating a costum-made grid. 2 different approaches were used in Matlab and subjected to speedtests under the same circumstances. Next to speed, another important factor is simplicity and flexibility for future adjustments by others that are not the authors of the code. For this reason regular comments where implemented to facilitate comprehensive reading. This project was made as an alternative version to a similar project that uses Simulink to get the same results as stated above. In the last chapter, a case-study is done to verify the correct working of the program and to visualize the results of the simulation. As a student in electrical engineering, programming is not a big part of the curriculum. Since the project mainly consists of coding, a few weeks where needed in the beginning to understand the Matlab environment. Once this was done, the actual code was written in the following months. The final step was the case study. The results of this were achieved in the final week of the project. The total amount of time spent on the project is 4 months. |
id |
RCAP_cbec46545956782baea24843c81ac2c6 |
---|---|
oai_identifier_str |
oai:recipp.ipp.pt:10400.22/9308 |
network_acronym_str |
RCAP |
network_name_str |
Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos) |
repository_id_str |
7160 |
spelling |
Using Matlab and Modbus TCP/IP connection for real-time monitoring of a demonstration microgridMatlabJanitza PowerAnalyzersMODBUS TCP/IPPowerflow simulationEnergy MonitoringReal-Time SimulationIn cooperation with the research facility GECAD (Research Group on Intelligent Engineering and Computing for Advanced Innovation and Development (http://www.gecad.isep.ipp.pt/GECAD/ Pages/Presentation/Home.aspx)) located next to ISEP (Instituto Superior de Engenharia do Porto), a project was made to retrieve electrical data from the research lab at the facility. This lab is able to simulate small electrical grids (also called micro-grids). Since electrical energy monitoring has become more important due to environmental and economical causes in the last decades, this has become an interesting subject for studies. Not only quantity, but nowadays also quality (power quality) becomes more important for consumers as well as producers. A good monitoring system is needed in order reach these goals. However, in this paper, only a little part of monitoring will be discussed: the actual retrieving of the data. Complete monitoring holds more content as explained further in the paper. The main goal is to establish a MODBUS TCP/IP connection between Matlab and 9 Janitza Power Analyzers (UMG96RM-EL) located in the main distribution board of the lab. The retrieved data can be visualised in Matlab or can be exported to Excel for further analysis or manipulation. Also a real-time solution will be provided in the end. In this way the user is able to analyze the different power flows trough the buses connected with the loads making it possible to measure exact energy consumption and losses when simulating a costum-made grid. 2 different approaches were used in Matlab and subjected to speedtests under the same circumstances. Next to speed, another important factor is simplicity and flexibility for future adjustments by others that are not the authors of the code. For this reason regular comments where implemented to facilitate comprehensive reading. This project was made as an alternative version to a similar project that uses Simulink to get the same results as stated above. In the last chapter, a case-study is done to verify the correct working of the program and to visualize the results of the simulation. As a student in electrical engineering, programming is not a big part of the curriculum. Since the project mainly consists of coding, a few weeks where needed in the beginning to understand the Matlab environment. Once this was done, the actual code was written in the following months. The final step was the case study. The results of this were achieved in the final week of the project. The total amount of time spent on the project is 4 months.Vale, Zita Maria Almeida doRepositório Científico do Instituto Politécnico do PortoCasteleyn, Louis2017-01-18T16:03:27Z20162016-01-01T00:00:00Zinfo:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/reportapplication/pdfhttp://hdl.handle.net/10400.22/9308enginfo:eu-repo/semantics/openAccessreponame:Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)instname:Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informaçãoinstacron:RCAAP2023-03-13T12:50:36Zoai:recipp.ipp.pt:10400.22/9308Portal AgregadorONGhttps://www.rcaap.pt/oai/openaireopendoar:71602024-03-19T17:29:55.500540Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos) - Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informaçãofalse |
dc.title.none.fl_str_mv |
Using Matlab and Modbus TCP/IP connection for real-time monitoring of a demonstration microgrid |
title |
Using Matlab and Modbus TCP/IP connection for real-time monitoring of a demonstration microgrid |
spellingShingle |
Using Matlab and Modbus TCP/IP connection for real-time monitoring of a demonstration microgrid Casteleyn, Louis Matlab Janitza Power Analyzers MODBUS TCP/IP Powerflow simulation Energy Monitoring Real-Time Simulation |
title_short |
Using Matlab and Modbus TCP/IP connection for real-time monitoring of a demonstration microgrid |
title_full |
Using Matlab and Modbus TCP/IP connection for real-time monitoring of a demonstration microgrid |
title_fullStr |
Using Matlab and Modbus TCP/IP connection for real-time monitoring of a demonstration microgrid |
title_full_unstemmed |
Using Matlab and Modbus TCP/IP connection for real-time monitoring of a demonstration microgrid |
title_sort |
Using Matlab and Modbus TCP/IP connection for real-time monitoring of a demonstration microgrid |
author |
Casteleyn, Louis |
author_facet |
Casteleyn, Louis |
author_role |
author |
dc.contributor.none.fl_str_mv |
Vale, Zita Maria Almeida do Repositório Científico do Instituto Politécnico do Porto |
dc.contributor.author.fl_str_mv |
Casteleyn, Louis |
dc.subject.por.fl_str_mv |
Matlab Janitza Power Analyzers MODBUS TCP/IP Powerflow simulation Energy Monitoring Real-Time Simulation |
topic |
Matlab Janitza Power Analyzers MODBUS TCP/IP Powerflow simulation Energy Monitoring Real-Time Simulation |
description |
In cooperation with the research facility GECAD (Research Group on Intelligent Engineering and Computing for Advanced Innovation and Development (http://www.gecad.isep.ipp.pt/GECAD/ Pages/Presentation/Home.aspx)) located next to ISEP (Instituto Superior de Engenharia do Porto), a project was made to retrieve electrical data from the research lab at the facility. This lab is able to simulate small electrical grids (also called micro-grids). Since electrical energy monitoring has become more important due to environmental and economical causes in the last decades, this has become an interesting subject for studies. Not only quantity, but nowadays also quality (power quality) becomes more important for consumers as well as producers. A good monitoring system is needed in order reach these goals. However, in this paper, only a little part of monitoring will be discussed: the actual retrieving of the data. Complete monitoring holds more content as explained further in the paper. The main goal is to establish a MODBUS TCP/IP connection between Matlab and 9 Janitza Power Analyzers (UMG96RM-EL) located in the main distribution board of the lab. The retrieved data can be visualised in Matlab or can be exported to Excel for further analysis or manipulation. Also a real-time solution will be provided in the end. In this way the user is able to analyze the different power flows trough the buses connected with the loads making it possible to measure exact energy consumption and losses when simulating a costum-made grid. 2 different approaches were used in Matlab and subjected to speedtests under the same circumstances. Next to speed, another important factor is simplicity and flexibility for future adjustments by others that are not the authors of the code. For this reason regular comments where implemented to facilitate comprehensive reading. This project was made as an alternative version to a similar project that uses Simulink to get the same results as stated above. In the last chapter, a case-study is done to verify the correct working of the program and to visualize the results of the simulation. As a student in electrical engineering, programming is not a big part of the curriculum. Since the project mainly consists of coding, a few weeks where needed in the beginning to understand the Matlab environment. Once this was done, the actual code was written in the following months. The final step was the case study. The results of this were achieved in the final week of the project. The total amount of time spent on the project is 4 months. |
publishDate |
2016 |
dc.date.none.fl_str_mv |
2016 2016-01-01T00:00:00Z 2017-01-18T16:03:27Z |
dc.type.status.fl_str_mv |
info:eu-repo/semantics/publishedVersion |
dc.type.driver.fl_str_mv |
info:eu-repo/semantics/report |
format |
report |
status_str |
publishedVersion |
dc.identifier.uri.fl_str_mv |
http://hdl.handle.net/10400.22/9308 |
url |
http://hdl.handle.net/10400.22/9308 |
dc.language.iso.fl_str_mv |
eng |
language |
eng |
dc.rights.driver.fl_str_mv |
info:eu-repo/semantics/openAccess |
eu_rights_str_mv |
openAccess |
dc.format.none.fl_str_mv |
application/pdf |
dc.source.none.fl_str_mv |
reponame:Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos) instname:Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informação instacron:RCAAP |
instname_str |
Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informação |
instacron_str |
RCAAP |
institution |
RCAAP |
reponame_str |
Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos) |
collection |
Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos) |
repository.name.fl_str_mv |
Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos) - Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informação |
repository.mail.fl_str_mv |
|
_version_ |
1799131394826305536 |