Difference between revisions of "Building monitoring"

From Earlham CS Department
Jump to navigation Jump to search
(Building IP)
(Updated)
Line 1: Line 1:
 
==Displaying Energy Scripts Outline==
 
==Displaying Energy Scripts Outline==
 
#Java scripts harvest data directly from Modbus
 
#Java scripts harvest data directly from Modbus
#Perl scripts collect this data and put it in the Postgress database "energy" under the table "electrical_energy"
+
#Perl scripts collects this data and put it in the Postgress database "energy" under the table "electrical_energy"
#::electrical_energy attributes:
+
#*electrical_energy attributes:
#:::area - what building.
+
#**area - what building.
#:::preal - kW hours for that instant.
+
#**preal - kW hours for that instant.
#:::date - date of harvest.
+
#**date - date of harvest.
#A final perl script accesses this data and generates a .png graph using the Google graph API
+
#A final perl script (display/production|development/js-file-gen.pl) accesses this data and generates a .png graph using the Google graph API
 +
#* This script takes one parameter for either the production or development branches.
 
#The images generated (day, week, month, year) are put in a html frame on a [http://proto.cs.earlham.edu/~energy/production/eDisplay/ page] to display the data.
 
#The images generated (day, week, month, year) are put in a html frame on a [http://proto.cs.earlham.edu/~energy/production/eDisplay/ page] to display the data.
 +
#*This page refreshes every 5 minutes
  
 
==Building EGX100 IPs==
 
==Building EGX100 IPs==

Revision as of 12:53, 29 April 2012

Displaying Energy Scripts Outline

  1. Java scripts harvest data directly from Modbus
  2. Perl scripts collects this data and put it in the Postgress database "energy" under the table "electrical_energy"
    • electrical_energy attributes:
      • area - what building.
      • preal - kW hours for that instant.
      • date - date of harvest.
  3. A final perl script (display/production|development/js-file-gen.pl) accesses this data and generates a .png graph using the Google graph API
    • This script takes one parameter for either the production or development branches.
  4. The images generated (day, week, month, year) are put in a html frame on a page to display the data.
    • This page refreshes every 5 minutes

Building EGX100 IPs

  • 159.28.165.100 - Bundy
  • 159.28.165.101 - Barrett
  • 159.28.165.102 - Wilson
  • 159.28.165.103 - Warren
  • 159.28.165.104 - Mills*
  • 159.28.165.105 - Olvey Andis*
  • 159.28.165.? - Main switch gear (PM8)
* - CT magnets are not installed yet, no EGX100 on network, etc.

Building Amperage Correction Factors

  • Bundy - 31.25
  • Barrett - 15.625
  • Wilson - 62.5
  • Warren - 62.5
  • Mills* - ?
  • Olvey Andis* - ?
Source: load the schneider doc, amps, reference page

Documentation