<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>International Conference on Emerging Technologies: AI, IoT, and CPS for Science &amp; Technology Applications, September</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Smart Energy Monitoring and Its Future Prospects</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Divij Madan</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Palanisamy K</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Sr. Associate Professor, School of Electrical Engineering</institution>
          ,
          <addr-line>VIT, Vellore, Tamil Nadu</addr-line>
          ,
          <country country="IN">India -</country>
          <addr-line>632014</addr-line>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Student, EEE, School of Electrical Engineering</institution>
          ,
          <addr-line>VIT, Vellore, Tamil Nadu</addr-line>
          ,
          <country country="IN">India -</country>
          <addr-line>632014</addr-line>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2021</year>
      </pub-date>
      <volume>0</volume>
      <fpage>6</fpage>
      <lpage>07</lpage>
      <abstract>
        <p>In this paper, Smart Real-Time Energy Monitoring System (EMS) has been built, incorporated and designed using concepts of IoT, which is a modern framework for controlling, observing, and dealing with the electrical burden frameworks. Today, this has become a need for present day mechanical activities. Not just that, Smart Energy Monitoring frameworks likewise give a way to check if every one of the heaps and meters are working as indicated by the normal usefulness and help in clearing a path for the smooth and blunder free working of the whole burden framework. To satisfy all the above models just as for making a whole structure that can yield every one of the normal outcomes, a UI has been made, joined with application improvement utilizing front-end and back-end alongside a functioning site so that constant checking should be possible to obtain every one of the normal logical instruments to screen the meters and loads at the back-end.</p>
      </abstract>
      <kwd-group>
        <kwd>1 API</kwd>
        <kwd>IoT</kwd>
        <kwd>Database</kwd>
        <kwd>XAMPP</kwd>
        <kwd>MySQL</kwd>
        <kwd>Frontend</kwd>
        <kwd>Backend</kwd>
        <kwd>Python</kwd>
        <kwd>Real - Time Monitoring system</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1.INTRODUCTION</title>
      <p>The entire project is based on a very clear approach. It is based on the principle that irrespective of the
date and time of the day, real time monitoring shouldn’t stop and keep on getting refreshed as and
when the data at the backend is refreshed. Also, the approach adopted for the entire process is based
on communication between the frontend and the backend which has been set up with the intervention
of APIs. Following this approach, APIs play an extremely crucial role in this project in a way that not
only do they help in mapping the user command to the required pathway at the backend, but they also
process the data through the intermediate channel connecting the two soft wares. Android Studio and
Boot-Strap have been used in this project for the establishment of the app and website interface such
that everything can be appropriately queried and translated towards the backend. For real time trend
analysis, graphs that can display the trends of the average values of the number of values depending
upon the user’s choice have been used.</p>
    </sec>
    <sec id="sec-2">
      <title>2.TECHNICAL SPECIFICATION</title>
      <p>
        In this project, fetching of the desired results and the establishment of a connection between the
software and the electrical domain has been established through the use of APIs. Following is the
workflow of how the whole connection has been established:
Once the communication channel has been set up using the APIs, the above tables lend their data
according to the demand of the user that comes through the frontend and paased onto the backend
after which this data, after getting processed by the rsepective method to which the function call has
been mapped, gets transferred onto the frontenf for display [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. In this way, the entire system helps in
real time monitoring of the entire electrical system.
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. DESIGN APPROACH AND DETAILS</title>
      <p>The entire design approach is based on the principle of collaborating the electrical domain with the
software domain so that both can work synchronously and complement each other’s respective
functionality. Following is a schematic briefing of the design approach:
• Firstly, the database is set up according to the desired needs on a given server, which in this case
is the XAMPP server. This is done using the XAMPP control panel and PHP Local Admin.
• Secondly, the connection of the server is established with the Python code designed at the
backend using appropriate libraries provided by Python editors.</p>
      <p>
        Units Utilized/day = Number of Units at present – Number of units at starting of the day
The APIs are designed to set up a communication channel between the server and the code at the
frontend and the backend [
        <xref ref-type="bibr" rid="ref2 ref3">2,3</xref>
        ].
• Once the backend is appropriately set up, the frontend of both, app and website using Boot-Strap
and Visual Studio is designed and interactively set up with all error codes embedded.
• Lastly, the frontend and the backend are combined with each other using appropriate embodiment
of code structures into proper URL set up.
      </p>
      <p>
        Following are the Python libraries that have been extensively deployed for the development of the
API set up, connection with XAMPP server and development of backend [
        <xref ref-type="bibr" rid="ref4 ref5 ref6">4,5,6</xref>
        ].
• Flask - Flask is a web framework which means that flask provides with tools, libraries as well as
technologies that allow to build a web application.
•
•
•
•
      </p>
      <p>PyMySQL – It helps in connecting to MySQL. The exact way to get an instance of this class is to
call connect() method.</p>
      <p>JSON - JavaScript Object Notation (JSON) is a conceptualized format usually used to transfer
data as text that can be sent across a network.</p>
      <p>Jsonify - Jsonify is a function in Flask's flask library. Json module establishes Jsonify to serialize
data and wrap it in a Response object with the application or json mime-type.</p>
      <p>Datetime - Datetime module comes built along with Python, so that there is no need to install it
externally.</p>
    </sec>
    <sec id="sec-4">
      <title>4. DEMONSTRATION</title>
    </sec>
    <sec id="sec-5">
      <title>5. FUTURE PROSPECTS</title>
      <p>
        This project is extremely oriented towards establishing a channel that paves a way for soothing the
analytical measurement and study of electrical systems using software mechanisms and tools [
        <xref ref-type="bibr" rid="ref7 ref8">7,8</xref>
        ].
Following are the key futuristic aspects of this project:
1) Automatic fetching of the data at backend without any manual intervention and thus reducing the
scope of error unlike the present state whereby manual input of data at some sites is necessary.
2) Being able to develop a mechanism to automatically fetch and analyze power usage trends results
in a set-up whereby one can develop realistic targets in order to meet and fulfil future energy
management and thus work towards managing the energy such that it is not wasted and fruitfully
used unlike the manual reading and analysis making which attracts scope of error.
3) Not only this, but it can also help in decreasing the downtime involved in the maintenance of the
electrical systems unlike present-day scenarios. This would not only ensure consistency for long
durations of time but would also help in comforting the lives of individuals.
4) Also, this project can save loads of money and enhance cost effectiveness of energy and software
systems as regular monitoring can help in catching faults at early stages, thereby decreasing costs
to rectify those faults and enable a much more efficient mechanism for dealing with systems at
backend.
5) And most importantly, real time monitoring helps in thinking of new strategies and plans that can
yield more amount of fruitful benefits from the system at backend as far as energy efficiency
enhancement and energy conservation issues are concerned, thus leading to enhancing
energy conservation and maintenance [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ].
      </p>
    </sec>
    <sec id="sec-6">
      <title>6. RESULTS AND CONCLUSION</title>
      <p>Today, smart energy monitoring system has become a necessity for modern industrial operations. Not
only that, Smart Energy Monitoring systems also provide a means to check if all the loads and meters
are working according to the expected functionality and help in paving a way for the smooth and
error-free functioning of the entire load system.</p>
      <p>Through Flask, APIs have been developed which extract the required data from the backend and pass
it on to the frontend which has been developed using Boot-Strap. Based on the user requirement, the
data can either be fetched from the backend side where the data is retrieved into the database using the
provided server, through the application or the website and app, both of whose functionality
ultimately leads to real-time monitoring and analyses.</p>
      <p>Thus, the entire set-up not only aids in monitoring and analyses but also helps in drawing
manipulative conclusions so as to maintain the harmonious and synchronous functionality of the
system at the back-end, viz., the loads and the meters. All-in-all, through this endeavor, a pathway for
energy conservation and maintenance gets a pathway that can be tiptoed upon and achieve milestones
thereafter.</p>
    </sec>
    <sec id="sec-7">
      <title>7. ACKNOWLEDGEMENTS</title>
      <p>First of all, I would like to thank God for establishing me to do this project. I would like to take this
opportunity to thank VIT University for encouraging and giving me this opportunity to do this project.
I also take this opportunity to extend my heartfelt gratitude to respected Dean, Dr.Sivabalan S and
respected HOD, Dr. Jacob Raglend I, to establish me to undertake this venture. The School of
Electrical Engineering had supplied me with all the necessary guidance, motivation and means to
furnish this project. I could never have proceeded with this venture had these means not been
provided. I would like to express my sincere gratitude to my project guide, Dr.Palanisamy K, for
guiding me through every step of this project. Last, but not the least, I would like to thank my family
and friends for their constant support and encouragement.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Q. M.</given-names>
            ,
            <surname>Ashraf</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. I. M.</given-names>
            ,
            <surname>Yusoff</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. A.</given-names>
            ,
            <surname>Azman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N. M.</given-names>
            ,
            <surname>Nor</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N. A. A.</given-names>
            ,
            <surname>Fuzi</surname>
          </string-name>
          ,
          <string-name>
            <surname>M. S.</surname>
          </string-name>
          , Saharedan,
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>&amp;N. A.</given-names>
            <surname>Omar</surname>
          </string-name>
          , “
          <article-title>Energy monitoring prototype for Internet of Things: Preliminary results”</article-title>
          ,
          <source>In 2015 IEEE 2nd World Forum on Internet of Things (WF-IoT)</source>
          , IEEE, pp.
          <fpage>1</fpage>
          -
          <lpage>5</lpage>
          , Dec.
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>D.</given-names>
            ,
            <surname>Alahakoon</surname>
          </string-name>
          , &amp; X.,
          <string-name>
            <surname>Yu</surname>
          </string-name>
          , “
          <article-title>Smart electricity meter data intelligence for future energy systems: A survey”</article-title>
          ,
          <source>IEEE Transactions on Industrial Informatics</source>
          ,
          <volume>12</volume>
          (
          <issue>1</issue>
          ), pp.
          <fpage>425</fpage>
          -
          <lpage>436</lpage>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Karthikeyan</surname>
          </string-name>
          , &amp; P. T. V.,
          <string-name>
            <surname>Bhuvaneswari</surname>
          </string-name>
          , “
          <article-title>IoT based real-time residential energy meter monitoring system”, In 2017 Trends in Industrial Measurement and Automation (TIMA)</article-title>
          , IEEE, pp.
          <fpage>1</fpage>
          -
          <lpage>5</lpage>
          , Jan.
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>M.</given-names>
            <surname>Zeifman</surname>
          </string-name>
          and
          <string-name>
            <given-names>K.</given-names>
            <surname>Roth</surname>
          </string-name>
          , “
          <article-title>Nonintrusive Appliance Load Monitoring: Review and outlook</article-title>
          ,
          <source>” IEEE Transactions on Consumer Electronics</source>
          , vol/issue:
          <volume>57</volume>
          (
          <issue>1</issue>
          ),
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Andrew D.</given-names>
            <surname>Birrell</surname>
          </string-name>
          and Bruce Jay Nelson.
          <article-title>Implementing remote procedure calls</article-title>
          .
          <source>ACM Transactions on Computer Systems</source>
          ,
          <volume>2</volume>
          (
          <issue>1</issue>
          ):
          <fpage>39</fpage>
          -
          <lpage>59</lpage>
          ,
          <year>February 1984</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>M.</given-names>
            <surname>Vega</surname>
          </string-name>
          , et al.,
          <article-title>“Modelling for home electric energy management: a review,” Renewable and Sustainable Energy Reviews</article-title>
          , vol.
          <volume>52</volume>
          , pp.
          <fpage>948</fpage>
          -
          <lpage>959</lpage>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Kin</given-names>
            <surname>Lane</surname>
          </string-name>
          . History of APIs. Available at http: //history.apievangelist.com/,
          <year>June 2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>F.</given-names>
            <surname>Benzi</surname>
          </string-name>
          , et al., “
          <article-title>Electricity smart meters interfacing the households</article-title>
          ,
          <source>” IEEE Transactions on Industrial Electronics</source>
          , vol/issue:
          <volume>58</volume>
          (
          <issue>10</issue>
          ), pp.
          <fpage>4487</fpage>
          -
          <lpage>4494</lpage>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>D. M.</given-names>
            <surname>Han</surname>
          </string-name>
          and
          <string-name>
            <given-names>J. H.</given-names>
            <surname>Lim</surname>
          </string-name>
          , “
          <article-title>Smart home energy management system using IEEE 802.15.4</article-title>
          and Zigbee,
          <source>” IEEE Transactions on Consumer Electronics</source>
          , vol/issue:
          <volume>56</volume>
          (
          <issue>3</issue>
          ), pp.
          <fpage>1403</fpage>
          -
          <lpage>1410</lpage>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>