Data Collection: Difference between revisions

From C-Aware Project Wiki
Jump to navigationJump to search
No edit summary
Line 9: Line 9:


These meters are connected via MODBUS over RS485, to the storage hardware.
These meters are connected via MODBUS over RS485, to the storage hardware.


===USB Current Clamps===
===USB Current Clamps===
Line 20: Line 21:


We also use the outside temperature provided from the [http://www.cl.cam.ac.uk/research/dtg/weather/ weather station] at the building.
We also use the outside temperature provided from the [http://www.cl.cam.ac.uk/research/dtg/weather/ weather station] at the building.


==Data Processing and Storage==
==Data Processing and Storage==

Revision as of 16:55, 29 January 2013

To capture electricity use within the Computer Laboratory, we have installed a range of hardware and software to monitor, capture and record the electricity consumption of various circuits within the building.


Electricity Monitoring Hardware

Main Meters

We have installed high accuracy electricty monitors on main circuits within the building. These meters are Autometers' IC995, and provide overall power usage data, as well as the ability to measure additional data such as powerfactor and harmonics. These provide power information for the main circuits of the lab, such as electricity use per corridor.

These meters are connected via MODBUS over RS485, to the storage hardware.


USB Current Clamps

We have created a USB Current Monitor that interfaces a Current Transformer to a machine through USB serial commands, and developed a Python interface to access data available as high-level python objects. We use this as a less accurate but much cheaper monitor for circuits such as those feeding racks within server rooms.


Additional Data

In addition to the data we collect from our own sensor deployments within the building, we have access to data from the utility company on overall total power use for the entire building as a whole. This is reported and stored, and made avalible at the top level of the meter tree.

We also use the outside temperature provided from the weather station at the building.

Data Processing and Storage

The main meters are connected over RS485 to a machine that collects and processes the raw data, and stores it in a CSV file, which also includes data from the utility company.

The USB current meters are connected to local machines to the sensor deployments which capture the raw data and process it.

Both these machines are accessed by another machine that reads in the data and generates the JSON files which are then served to the web application via a standard web server.


The web app itself accesses the temperature data needed for the current time period it is displaying.

Data Access

The raw data used by the web app is directly available for download at http://www.cl.cam.ac.uk/meters/elec/. For more information regarding the data format, please see the Raw Data Format page.