PV Smart Grid Monitoring System Based on Hybrid Telepot and Web Server

ABSTRACT


INTRODUCTION
Utilization of renewable energy resources can be conducted using smart grid to provide renewable energy in Indonesia utilizing solar energy converted [1]- [5] into electrical energy to improve the efficiency of electricity use and build a micro-scale generator system.Indonesia has abundant renewable energy, but its utilization is relative small.In addition solar cells implementation, to build micro-scale systems can also combine wind turbines.The solar cell module is combined with a wind turbine generator and each section or node consists of generator, storage, control, and load elements supported by converter or inverter [6].Interconnected nodes are connected to build DC power buses and equipped with communication lines to transmit monitored data directly or using smart control devices applied [7]- [8].The use of electric energy continues to increase every year.This is due to inefficient use of electrical energy, especially in the household sector.This is shown in the data of sales of the largest electricity energy in Indonesia in 2014 occurred in the household sector which amounted to 42.34% of the total electricity sales.The growing demand for electrical energy is not proportional to the availability of electrical energy in Indonesia.Therefore, it takes a solution by utilizing renewable energy using hybrid experimental approximation [9].Smart grid is a computerized and automated power grid.In the smart grid, it allows two-way communication between users and energy providers.In addition, transfer of electrical energy that occurs not only from the manufacturer to the user, but also vice versa [10].Smart grid is one solution that uses renewable electrical energy.The use of smart grid as a renewable energy source needs a way to monitor the smart grid of each node to find out whether the smart grid is installed properly or not.Real time monitoring and display of power system components and performance, along the connection and in large geographic areas, helps operators to understand and optimize the behavior and performance of smart grid system components [11]- [16].Smart grid monitoring process can be accessed wirelessly by using internet, so electrical parameters value can be monitored remotely through social media.This system is designed using smart grid monitoring system internet-based and application of the IoT for the smart grid system [17]- [19].
The aim of this paper is to provide a technical overview of realizable techniques for monitoring and control of smart grids based on real time information, actions and monitoring for efficient, applied design and information access easier.These techniques are analyzed in detail and their effectiveness has been demonstrated with internet based via web service and telepot bot api.This system requires a server that role to receive and process data sensors installed on each node, so the data can be sent to the user through social media especially Telegram and through a web page.Smart grid monitoring via Telegram social media and the web employ a server run by Raspberry Pi 3 to make cheaper one.The data from the sensor module will be stored in the MySQL database through the PHP program and will be presented in graphical form through a website page.Meanwhile, the server in charge of receiving command from user and sending file (*.csv) via Telegram will be run by Python program.The file sent will contain all the information stored in the database.It is expected that this study will provide an improvement in the problems found in the design of smart grid monitoring systems that can be done remotely through Telegram's social media and websites.

RESEARCH METHOD 2.1. System Block Diagram
The wireless smart grid monitoring system active when the sensor module on each smart grid node receive the data of voltage and current values in which the data will be sent to the server via internet.The internet connection is used as a transfer media for smart grid monitoring data.By using the internet, monitoring process can be done remotely.in other hand, the server acts as a center to process data received from each sensor module on the smart grid.Processed data will be displayed on the website and can be accessed through social media telegram.Users can perform smart grid monitoring through social media Telegram by sending certain commands so the data received in accordance with the orders sent message.In general, the overall system design block diagram is shown in Figure 1.

System Specification
Device specification consist of Raspberry Pi 3 which used as a server that receives and processes data readings of sensors.

Software Design
The design of the software is used to control and manage the work of the tool as a whole.Server is designed by Phyton and Bot Api Telegram.Phyton software design works to run programs that are able to read the database, receive the command from the user, create a * .csvfile, and send it to the user.The design of PHP software is used to receive data from the smart grid sensor module and put it into the MySQL database.In addition, the PHP program is used to create graphical views of data stored in the MySQL database.Data delivery process of each block is done wirelessly.The proposed smart grid monitoring system is used 3 sensor nodes and the data transmit wirelessly.Each node will transmit data of measured voltage, current, and power in the tables in the database that have been created.Smart grid monitoring is done through social media Telegram through Python program.Python will send files that can be opened with android applications such as Excel or WPS Office.Block diagram of transmitting data to MySQL database shown in Figure 2. The database is created to hold all data of sensor readings on each node-1, node-2, node-3.The database for each node is constructed with a 5 column structure that will contain the information id, voltage, current, power, and time as shown in Table 1.

RESULTS AND ANALYSIS 3.1. Sensor Data Transmitting
The purpose of testing is to know the data received MySQL database is the same as that sent by the sensor module installed on the smart grid node.Transmitted data were constructed through PHP programming is shown in Table 2.The data delivery is sent by node-1 to the server directly.In this test, a packed of data was sent to the database that has been provided through the web by determining local IP address in Rapberry Pi 3.

Database Test
The purpose of testing is to determine the duration of data transmission from the smart grid sensor module to the MySQL database.Testing the speed of delivery is done by providing a delay (delay time) that varies on the sensor module to send data to the MySQL database.Delay given is 5 seconds, 8 seconds, 10 seconds, and 15 seconds.Obtained a stable delay is 10 seconds.Table 3

Graph Display
The purpose of this test is to determine whether the data presented on the graph in accordance with the data stored on the database.The test displays the graph shown in Figure 3

Command Testing
Testing the delivery of commands from social media Telegram is to determine whether the messages sent users through social media Telegram can be accepted by Python program.Testing is conducted by typing messages through social media Telegram and sending to the server run by Python program.4, it can be concluded that the process of sending messages from social media Telegram can run well.All messages can be received in accordance with the sent by the user is shown in Figure 4. Messages sent by the user will get a response from the server if the message is defined in the Python program.If the message sent is not in the program definision then the server will not respond or reply.

Testing of Data
This test aims to determine whether the file (*.csv) can be sent by the server to the user or not.This test is performed with the user sending messages with a specific format that contains date and time information.So the Python program will execute the function to read the data in the database in accordance with the desired time range.The data transmission tests are shown in Figure 5.The overall test is performed to determine the performance of the system that has been designed.Tests conducted include: 1. Deliver messages from the user to the server to send * .csvfiles.The result of sending message and files are shown if Table 6.
Testing file size * .csvand long delivery time.The result of testing file zise and delivery time are shown in Table 7.According to the Table 6, it is obtained the test results sending *.csv file to the user that the largest file size that is 39.0 KB with 30.12 seconds of delivery time.The transmitted file contains 1000 lines of smart grid sensor reading module data.As for the file containing 100 rows of data has a size of 3.8 KB and the required delivery time is 5.18 seconds.This is proportional to the amount of data read by the server and stored in the file.The result of sending * .csvfile to user can be opened with android application such as MS Excel or WPS Office.

CONCLUSION
According to the design on PV smart grid monitoring system, all of the parts have been successfully implementated and characterized.The designed PHP program successfully receives data from the sensor module and stores it into the table of each node in the MySQL database.The time required by the sensor module to send data to the database wirelessly requires a 10 second with an average time of 10.3 seconds.MySQL database reading through Python program works well.The database read has 3 tables which each has 5 columns.Smart grid monitoring graphs successfully display data in accordance with the data stored in the database.The message delivery and file delivery *.csv are working with 100% success rate.

Figure 1 .
Figure 1.Block Diagram of Smart Grid Monitoring System

Figure 2 .
Figure 2. Block Diagram of data transmission from sensor nodes and users to the database

Figure 5 .
Figure 5. Telegram Message and File Delivery *.csv to User on Telegram


ISSN: 2502-4752 Indonesian J Elec Eng & Comp Sci, Vol. 10, No. 3, June 2018: 1061 -1069 1068 Monitoring system using social media Telegram and website are combined to access The process of sending data to social media Telegram is done by sending certain commands to the Python server.The bandwidth used is 15 Mbps of internet connection and the system send to the user (smartphone) in *.csv format by request automaticaly.
PV Smart Grid Monitoring System Based on Hybrid Telepot and Web Server (Eka Maulana) 1063 the information.

Table 1 .
Smart grid database table structure

Table 2 .
Data transmission sensor node 1 to the database shows the most stable delay is 10 seconds with an average of 10.3 seconds.
PV Smart Grid Monitoring System Based on Hybrid Telepot and Web Server (Eka Maulana) 1065

Table 5 .
Memory size on database

Table 6 .
Testing the sending of commands and files

Table 7 .
File size * .csvand long delivery time