Home
Google PowerMeter Emulator Documentation
Contents
1. View data of Last 24 hours Today Last days This week Last 30 days This month Last 365 days This year All history Choose Datastream 1 0 Interval Energy Average Power Accumulated Energy Chart Properties Point Graph Fill Previous period Viewing Next period Compare Base Period starting from 01 01 2011 with Comparison Period starting from 02 01 2011 for Days Weeks Energy Power Energy per head comparisons Comparison Stats Bar Chart comparing Lith Figure 1 The application at the beginning It is my intention to use the upper rectangular plot window in black outline for navigation of data through different periods and the lower rectangular plot window in black outline again for comparison of data of different periods For a new user it would make sense to navigate data first before comparing So let s try to understand the upper part of the application first shown below PowerMeter Emulator C Qd dropbox com u 15970748 work 3 20end powerboard htm Google PowerMeter Emulator View data of Last 24 hours Today Last days This week Last 30 days This month Last 365 days This year All history Choose Datastream 1 0 Interval Energy Average Power Accumulated Energy Chart Properties Point Graph Fill Previous period Figure 2 The upper part of application window 3 First the user can click on the links named Last 24 hours
2. Google PowerMeter Emulator View data of Last 24 hours Today Last days This week Last 30 days This month Last 365 days This year All history M sa 5267 Choose Datastream EE a Interval Energy 5266 Average Power 9265 Accumulated Ener 5264 5263 5262 Chart Properties Point Graph 5261 Fill 5260 No Legend 5259 No Grid 5258 12 00am 2 00am 4 00am 6 00am 8 00am 10 00am 12 00pm 2 00PM 4 00pm JuL 01 JuL 01 JuL 01 JuL 01 JuL 01 JuL 01 JuL 01 JuL 01 JuL 01 Previous period Viewing FROM FRI 2011 07 01 00 00 To Fri 2011 07 01 16 10 Next period i Figure 6 Green for Accumulated energy The second of the three options mentioned in step 4 above is to go to the previous period or the next period if it exists Since I had clicked Today can now click Previous period to see yesterday s data for the three datastreams If I click Previous period three times I can view the plot from three days ago which is also reflected in the Viewing bar just below the plot Below is the page obtained by clicking the Previous button four times after clicking today PowerMeter Emulator C di dropbox com u 15970748 work 9 20end powerboard htm Google PowerMeter Emulator View data of Last 24 hours Today Last 7 days This week Last 30 days This month Last 365 days This year All history Choose Datastream 009 Interval Energy 0 40 Average Power 0 35 Accutnulated Ener 0 30 0 25 Char
3. on top of the bar can be made If the Energy Power option is clicked before the Days Weeks option in the beginning before any plot has been shown on the comparison plot area then no plot will be displayed Hence the existence of the sign between the two options means that the daily or weekly comparison has to be selected before the energy or power comparison in the beginning However afterwards any of the two options can be chosen to get a bar graph comparison and stats of desired kind Finally the Energy per head link which is not related to the base or the comparison periods or the energy or power options shows the per head energy consumption for all the months from November 2010 till June 2011 due to the availability of number of employee data and the energy consumption 10 date overlapping for that period This data will not change when any other link is clicked in the application The statistics for the monthly per head energy usage at ITST can be seen in the second section of the blue Comparison Stats box to the right The lower part of the application looks like below when the Energy per head option is clicked gt PowerMeter Emulator d dropbox com u 15970748 work 3 20end powerboard htm Compare Base Period starting from 01 01 2011 with Comparison Period starting from 02 01 2011 for Days Weeks Energy Power Energy per head comparisons 4 0 Comparison Stats 3 5 Monthly values o
4. plot titled Choose Datastream Choose Datastream Interval Energy Average Power Accumulated Energy Figure 4 Different types of data stored on pachube com The 3 quantities are explained in a different section of this document For now we will just change the plot One important thing to notice is that the datastream type or the quantity being plotted on the upper plot area is reflected on the color of the plot and is also mentioned on the legend of the plot For instance when I click the link Average Power the plot changes accordingly Ds P PowerMeter Emulator amp CQ d dropbox com u 15970748 work 20end powerboard htm Google PowerMeter Emulator View data of Last 24 hours Today Last 7 days This week Last 30 days This month Last 365 days This year All history p 1 75 Choose Datastream MB average power Interval Energy 1 50 Average Power 1 25 Accumulated Energy 1 00 Chart Properties 0 75 Point Graph 0 50 Fill 0 25 0 00 12 00am 2 00am 4 00am 6 00am 8 00am 10 00am 12 00pm 2 00PM 4 00PM JuL 01 JuL 01 JuL 01 JuL 01 JuL 01 JuL 01 JuL 01 JuL 01 JuL 01 Previous period Viewing FROM FRI 2011 07 01 00 00 To Fri 2011 07 01 16 10 Next period ili Figure 5 Blue plot represents the Average Power datastream Or you can also view the data of Accumulated Energy datastream on the browser PowerMeter Emulator GC O d dropbox com u 15970748 work 9 20end powerboard htm
5. A Kod I Ferien Project Google PowerMeter Emulator Documentation includes user manual Surendra B Kunwar Acknowledgement am deeply thankful to Morten who masterminded the open source programming project Kod I Ferien opening the door to an interesting and fruitful summer for many students studying in Danish universities It wouldn t have been possible for me apply to this program in the first place if Morten had not connected me to S ren Peter who conceived the main idea behind my project am very grateful to S ren Peter for his ideas about the Google PowerMeter Emulator for my project After was selected to participate in the program late in June met Carsten my Project Manager He has been absolutely helpful in giving me right directions in every step of the project His idea of familiarizing me with Per s work was a brilliant idea Moreover he continued to guide and observe my progress even during vacation for which am indeed very thankful Without Per s code would have been easily confused and lost while writing code However Per showed me the important aspects of his code and even gave me a tutorial on Javascript My first meeting with Per and S ren Peter that Carsten had arranged was indeed the stepping stone for my entire project would like to thank Brian for sparing some of his time on the GUI aspects of my application and giving me t
6. Today Last 7 days This week etc on the lightly colored bar just below the title View data of Last 24 hours f Today Last days This week Last 50 days r This month Last 365 days Thos year Al history For instance when the Today is clicked we get the following plot PowerMeter Emulator di dropbox com u 15970748 work 20end powerboard htm Google PowerMeter Emulator View data of Last 24 hours Today Last 7 days This week Last 30 days This month Last 365 days This year All history Choose Datastream Interval Energy Average Power Accumulated Energy Chart Properties Point Graph Fil 0 00 12 00am 2 00am 4 00am 6 00am 8 00am 10 00am 12 00pm 2 00pm 4 00pm JuL 01 JuL 01 JuL 01 JuL 01 JuL 01 JuL 01 JuL 01 JuL 01 JuL 01 Previous period Viewing FROM FRI 2011 07 01 00 00 To Fri 2011 07 01 16 10 Next period dl dropbox com u 15970748 work end powerboard htm Figure 3 Plot obtained from clicking Today We can see that the quantity interval energy was plotted in red for the period FROM FRI 2011 07 01 00 00 TO FRI 2011 07 01 16 10 as shown on the lightly colored bar just below the plot window This means at the time of writing the code only data up to Friday July 1 2011 4 10pm was available Now the user has 3 options in general One of them is to change the quantity being plotted by clicking one of the three options of the top red box on the left of the
7. eriod Values Plot Value 67 43 Average 0 16 Maxunum 0 79 Mmnimum 0 00 Comparison Period Values Plot Value 22 60 Average 0 16 Maximum 0 57 Minimum 0 04 Base PERIOD COMPARISON PERIOD Wen 2011 01 25 00 00 Wen 2011 02 01 00 00 TO TO Wen 2011 01 25 23 40 Wen 2011 02 01 23 40 Bar Chart comparing Total Energy consumed kWh for two Days Figure 12 Comparison of energy consumption for two days By default the Energy button is chosen so when Days link is clicked the statistics related to energy are displayed on both the plot window and the statistics box It is important to know however that the bar charts are showing quantities slightly different from the Comparison Stats box When the Energy option is clicked then the bar charts show the total energy consumed during the base and comparison periods This can be seen on the lightly colored bar at the bottom of the page see Figure 12 At that point the statistics box in blue outline will show the average maximum and the minimum of the 10 minute interval energy consumption The top section of the Comparison Stats box shows this interval energy quantity and its unit along with Day or Week However the Plot value quantity in the second and the third sections of the stats box show the values of the two bars in the graph This could be a source of confusion and with some time and effort a better depiction of the bar values for example showing values
8. es 0 20 Point Graph 0 15 No Fill 0 10 No Legend 0 05 No Grid 0 00 12 00am Jun 4 00am Jun 27 8 00am Jun 27 12 00pm Jun 4 00pm Jun 27 8 00pm Jun 27 12 00am Jun 27 27 28 Previous period Viewing FROM Mon 2011 06 27 00 00 To Tue 2011 06 28 00 00 Next period ill i Figure 9 Fill option adds colors under the line graph also notice that the Fill link now becomes No Fill after one click This should include most of the functionalities of the upper plot which is intended for navigation Now let s turn our attention to the lower plot where we will compare several quantities of interest for two different periods So we scroll the browser window to the lower part 7 In the compare region of the PowerMeter emulator as shown in figure 10 below PowerMeter Emulator C didropbox com u 15970748 work 20end powerboard htm Compare Base Period starting from 01 01 2011 with Comparison Period starting from 02 01 2011 for Days Weeks Energy Power Energy per head comparisons Comparison Stats Bar Chart comparing Ulf Figure 10 The lower part of the application in the beginning we have to pick the two dates in the small rectangular date field on the first line 8 10 Compare Base Period starting from 01 01 2011 with Comparison Period starting from 02 01 2011 When you click one of the dates say the base period date then you will see a calenda
9. f Energy consumption per employee at 30 ITST kWh person Nov 10 1 10 2 5 Dec 10 3 73 Jan 11 3 19 2 0 Feb 11 2 36 Mar 11 2 30 15 Apr 11 2 16 May 11 2 18 1 0 Jun 11 1 92 0 5 0 0 Nov 10 Dec 10 Jan 11 Fes 11 Mar 11 Apr 11 May 11 Jun 11 Bar Chart comparing Monthly energy consumption per employee at ITST kWlvperson m Figure 13 Energy per head data for ITST for several months 11 About the Code Inspiration Studying the code that Per de Place Bj rn wrote for his own ITST project is the first thing that I did for my project The web page and the code is available at http dl dropbox com u 4591719 power powerboard htm A screenshot of the page is below kW pr time Elforbrug pr m2 Seneste d gn 47 kWh m2 08 00 12 00 16 00 20 00 00 00 04 00 08 00 12 00 16 00 20 00 08 00 12 00 Seneste m ned Tirsdag 12 9 lt gt Onsdag 13 9 Torsdag 14 9 Tidspunkt Data Fold ud for at se originaldata Figure 14 ITST dashboard programmed by Per The code was written in Javascript besides the HTML and CSS files that any webpage has The data was accessed from Pachube com where the data can be stored for an account The charts were drawn using Google Charts Google PowerMeter If we log on to http www google com powermeter about then it is not difficult to see that Google PowerMeter is a free energy monitoring tool that allows you to view your home s e
10. he idea for using datepickers Throughout the summer Morten has endeavored to run the entire program smoothly Interestingly he has also managed to give attention to individual projects of the students sincerely appreciate Morten s help in clearing some of the most difficult problems facing my code Finally would like to express my gratitude to everyone at ITST for being kind and helpful and flexible during the project Surendra Kunwar September 2 2011 Table of Contents MTP NNN 1 Fl 3 PDO GE ECOG EEE SEE 12 Falk ee ERE EEE EE NS 12 EPP NNN NN 12 ML SJ hr 13 BES the EMULO EE ERE EE 14 Contact With the KIF STUDENT ssccceesedosnuscamnomivaranteseneonnionsduseanvanonareaasestanynautennsEedandeannsesyacoabereaneueiavetatosianees 15 User Manual User Requirements The code was checked on a Windows Xp platform with Google Chrome as the browser There might be problems with the plot and the links in other browsers especially Windows Explorer Steps 1 Toaccess the latest version of the web application Google PowerMeter Emulator that I wrote the code for go to the link http dl dropbox com u 15970748 work 20end powerboard htm This will take somewhere around 30 seconds to load due to data being accessed from another site at a slow rate 2 You should be able to see the following on the browser PowerMeter Emulator Se d dropbox com u 15970748 work 20end powerboard htm Google PowerMeter Emulator
11. nergy consumption from anywhere online Consumers can either use a meter at home or contact the utility company to store all their consumption data and display and analyze them However Google is retiring the PowerMeter project on 16 September 2011 and users are asked to export the data somewhere else Fortunately the site Pachube com has agreed to host Google PowerMeter data However consumers still need a tool that 12 does what Google PowerMeter did Thus we decided to work on Google PowerMeter Emulator The aim is not to copy everything Google PowerMeter did but to write an open source code that can be easily modified or extended to suit the needs of different types of users and analysts HTML CSS Javascript files The files with code that have been used for this application are all available at https svn softwareborsen dk energymanagement The HTML file is powerboard htm while the corresponding CSS file is styles css The Javascript code is in powerboard js The only two other files that are included with the application are calendar css and calendar js which are the CSS and Javascript files for the datepicker used in the application These two files are slightly modified versions of the files that are made available to users for use or modification by the site http teddevito com demos calendar php There would have been more files but many of the JQuery plugins including the JQuery Flot library itself are accessible thr
12. ough a URL These files are jquery js jquery flot js jquery flot symbol js and are available at people iola dk olau flot filename The code has been commented and hopefully the explanation of each function variable or statement is easy to grasp from the comments Although it is possible to see what sections of the application the different elements of the HTML file represent in a browser like Chrome a simple diagram with labels has been drawn in figure 15 13 e 1 Gmail OfficeBox C didropbox com u 15970748 work 3 20end bowerboard htm Yew data of Last 24 hour Today hoose Datastream 4 PowerMeter Fmuatar Google PowerMeter Emulator Last 7 days This week 1 0 Lasi 50 days Thi month Last 355 days This year wi All history TitleBox IPeriodLinkRow Previous period PreviousBox 0 75 1 0 0 25 0 00 Days Weeks 0 25 Viewing NavigateBox Compare Base Period Starting from 104201 1 with Comparison Period starting fram et 2091 far Energy Power 0 5 CompareTitleBox 1 00 Hert period Energy per head comparisons Comparison Stats aa CompPIlotBox ie statsBox 10 25 0 25 0 50 0 75 Bar Chart comparing PlotTitleBox 1 00 Figure 15 Different Elements of the HTML file Issues with the Emulator Some issues remain to be solved at the end of the summer of 2011 Towards the end holes in the plot 14 were disc
13. overed in the upper plot Hence sometimes a small gap was detected in the timeseries data plotted for longer periods like the weeks months years Such missing data could be minimized when the data was read at the rate of a day per loop step as compared to the two weekly rate of accessing data from Pachube Also all data once every ten minutes could only be obtained if data was read in six hour at most slots Otherwise there would data for every 20 30 40 and 60 minute of an hour However reading data in 6 hour slots would make the program very slow in the beginning when data is being read Also there are many tools that can be added for analysis At least one technical statistical tool was planned to be included in the app but due to some unforeseen issues with the datepicker and the plot data this could not be accomplished Contact with the KIF student Any questions regarding Google PowerMeter Emulator code can be directed to kunwarsb gmail com 15
14. r where you can click the starting date for base period PowerMeter Emulator C didropbox com u 15970748 work 20end powerboard htm Compare Base Period starting rom one rison Period starting from 02 01 2011 for Days Weeks as per head comparisons Comparison Stats 0 25 0 00 0 25 Bar Chart comparing LL Figure 11 Selecting dates for comparison using a JQuery plugin datepicker Once you click a day of a month belonging to a particular year then the calendar closes and shows the clicked date on the date field area To keep the default date you can just click Close The same applies to the comparison period date Now that we have chosen the starting dates for comparison we can choose whether to compare days or weeks by clicking one of the two links Days Weeks on the second line of Figure 11 for Days Weeks Energy Power Energy per head comparisons Figure 11 Options for the comparison plot Say you choose Days then you will see a bar graph on the plot area and some statistics on the Comparison Stats box to the right 11 12 PowerMeter Emulator C QOad dropbox com u 15970748 work 20end powerboard htm Compare Base Period starting from 01 25 2011 with Comparison Period starting from 02 01 2011 for Days Weeks Energy Power Energy per head comparisons Comparison Stats Day comparison of Interval 10min Energy kWh Base P
15. t Properties 0 20 0 15 0 10 0 05 0 00 12 00am Jun 4 00am Jun 27 8 00am Jun 27 12 00pm Jun 4 00pm Jun 27 8 00pm Jun 27 12 00am Jun 27 Previous period Viewing FROM Mon 2011 06 27 00 00 To Tue 2011 06 28 00 00 Next period ti Figure 7 Going back to data from 4 days ago using Previous period button on the bottom left 6 The last of the three options after clicking Today or any other period is changing the Chart Properties which is the red outline just below the Choose Datastream box on the right of the screen Chart Properties Point Graph Fill No Legend No Grid Figure 8 Some plot features can be changed through this box The options or the links of the Chart Properties box are intuitive and two of them are used to either turn on or turn off the Legend and Grid features Point Graph feature converts the line plot into point scatter plot The Fill feature is used to decide whether to fill the area below the line graph with color or not The plot in figure 7 changes to the plot in Figure 8 when the Fill link is clicked gt PowerMeter Emulator Q didropbox com u 15970748 work 96 20end powerboard htm Google PowerMeter Emulator View data of Last 24 hours Today Last 7 days This week Last 30 days This month Last 365 days This year All history 0 45 Choose Datastream MM interval energy Interval Energy 0 40 Average Power 0 35 Accumulated Ener 0 30 0 25 Chart Properti
Download Pdf Manuals
Related Search
Related Contents
KV-32V68 - Diagramasde.com - Diagramas electronicos y Manutenção preventiva em instalações de edifícios gray copy.eps PDF3.67MB - NEC mobile Chief PDR2025B flat panel wall mount N° P01_2001 Manuale d`installazione uso e manutenzione dei Desa VSGF36PR User's Manual Copyright © All rights reserved.
Failed to retrieve file