The Energy Detective Forums

General Category => Developer Support => Topic started by: mohsin_2011 on July 01, 2011, 12:01:11 PM

Title: How Do We Convert Data Coming From History Reading into KW??
Post by: mohsin_2011 on July 01, 2011, 12:01:11 PM
Hi all,

i am getting history data of my TED 5000 but i am getting only 4 fields that are

1.MTU
2.DATE
3.POWER
4.VOLTAGE
5.COST

if i want to show the power use in a day in KW then how would i convert it as i am using formula (Voltage*power)/1000 but i do not have "Power Factor" how do i get it???

  and one more thing that History data only gives me data for just past 4 to 5 days while the device is installed for more then a month ???

Hopes for your suggestions

Regards,
-Mohsin
Title: Re: How Do We Convert Data Coming From History Reading into KW??
Post by: rotus8 on July 01, 2011, 06:43:49 PM
The POWER item is in watts, already power factor corrected. Simply divide by 1000 to get KW.

There are four different history files. If you get the dailyhistory.xml file, you will get the totals for each day reaching back a long ways. You can control the amount of data you get by specifying the COUNT parameter.

Title: Re: How Do We Convert Data Coming From History Reading into KW??
Post by: mohsin_2011 on July 04, 2011, 08:31:11 AM
Hi Rotus,


Thanks for your reply actually i am getting minute history file and you told that there are four history file can you please specify the name of those files.. .
Hopes for your reply

Regards,
Mohsin
Title: Re: How Do We Convert Data Coming From History Reading into KW??
Post by: rotus8 on July 04, 2011, 05:45:12 PM
The files are:

/history/secondhistory.xml
/history/minutehistory.xml
/history/hourlyhistory.xml
/history/dailyhistory.xml

There is a description of the files and formats here: http://files.theenergydetective.com/docs/TED5000-API-R330.pdf (http://files.theenergydetective.com/docs/TED5000-API-R330.pdf)
Title: Re: How Do We Convert Data Coming From History Reading into KW??
Post by: GAR on August 03, 2011, 08:31:05 PM
110803-1219 EDT

mohsin_2011:

I believe you are confused about the units WATTS and WATT-HOURS. The watt is a measure of power and watt-hours is a measure of energy. A gallon of gasoline is indirectly a measure of the energy in a gallon of gasoline. How fast you use the gasoline is a measure of the power of what is using the gasoline.

I discussed power and energy somewhat for you at http://www.theenergydetectiveforums.com/index.php/topic,471.msg1856.html#msg1856

If you do not understand this, then ask questions about the basics.

If you simply collected power every second and post processed this data, then you could get energy consumption over any period of time you chose.

.