plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

Get the book!

If you're really looking to learn about PLCs, you NEED our book...

"Your Personal PLC Tutor - A Guide to Understanding PLCs"

Easy to read and uses 'plain' language!
Get $$FREE$$ priority mail shipping too!!!
You WILL be glad you did!!

Click Here now to order

Reply
 
Thread Tools Display Modes
Old August 9th, 2006, 01:49 AM   #1
rPraveenkum
Member
India

rPraveenkum is offline
 
rPraveenkum's Avatar
 
Join Date: Aug 2006
Location: Chennai
Posts: 876
How to Calculate KWH from instananeous KW

HI any one tell me how to How to Calculate KWH from instananeous KW
thanks in advance
  Reply With Quote
Old August 9th, 2006, 06:06 AM   #2
Steve Bailey
Member
United States

Steve Bailey is offline
 
Steve Bailey's Avatar
 
Join Date: Apr 2002
Location: The boondocks of Western Massachusetts USA
Posts: 3,800
Accumulate the instantaneous kW readings over time.

If you sample the kW value once per second and add the sampled value to a running total, you're accumulating kW-seconds. There are 3600 kW-seconds per kW-hour.
  Reply With Quote
Old August 9th, 2006, 06:13 AM   #3
rPraveenkum
Member
India

rPraveenkum is offline
 
rPraveenkum's Avatar
 
Join Date: Aug 2006
Location: Chennai
Posts: 876
I have to Multiply with 3600 with accumulated value to find KWH?
  Reply With Quote
Old August 9th, 2006, 06:19 AM   #4
SimonGoldsworthy
Member
United Kingdom

SimonGoldsworthy is offline
 
SimonGoldsworthy's Avatar
 
Join Date: Mar 2005
Location: England
Posts: 1,079
No, you have to divide the KWSeconds by 3600 to get KWHours.
  Reply With Quote
Old August 9th, 2006, 06:24 AM   #5
rPraveenkum
Member
India

rPraveenkum is offline
 
rPraveenkum's Avatar
 
Join Date: Aug 2006
Location: Chennai
Posts: 876
Thank you everybody!!!!!!!!!!!!!!
  Reply With Quote
Old August 9th, 2006, 07:54 AM   #6
bob1371
Member
United States

bob1371 is offline
 
bob1371's Avatar
 
Join Date: Mar 2003
Location: Southern Indiana
Posts: 204
Here is a little usefull online power consumption calculator.

http://www.cactus2000.de/uk/unit/massstr.shtml
  Reply With Quote
Old August 9th, 2006, 08:12 AM   #7
TJS
Member
United States

TJS is offline
 
TJS's Avatar
 
Join Date: Oct 2004
Location: Ohio, US
Posts: 23
You can't get an immediate calculation result. You have to integrate over time.

Make a 1 minute clock in logic (or use plc clock SEC=0 to get minute pulses).

On every Minute pulse, add KW value to a memory.
Keep track of how many pulses youve added (index a counter)

After 60 minutes (60 additions), Take the memory KW summation and divide by the counter (60). This will give you the average KWH over the last hour. The user has to wait a whole hour to get an updated KWH value.

You can instead add for 5 minutes (5 counts) then divide the sum by the counter, then multiply by 12 (12- 5 minute periods in an hour). This will give you an 5 minute KWH average that they only have to wait 5 minutes to see a change.


Better yet buy a KWH instrument that does all this for you and delivers a 4-20mA signal or Modbus data. Get it all PF KW KVA KWH continuoulsy.

Last edited by TJS; August 9th, 2006 at 08:31 AM.
  Reply With Quote
Old August 9th, 2006, 08:17 AM   #8
rPraveenkum
Member
India

rPraveenkum is offline
 
rPraveenkum's Avatar
 
Join Date: Aug 2006
Location: Chennai
Posts: 876
HI TJS

this to display in RSView
  Reply With Quote
Old August 9th, 2006, 08:34 AM   #9
DJM
Member
United States

DJM is offline
 
Join Date: Aug 2006
Location: Georgia
Posts: 111
I sum my kw value every .5 seconds to my accumulated value and divide the accumulated by 7200, also at .5 second intervals to provide a dynamic KWH display. This is done for batching and is cleared at the end of each batch. The batch interval is several minutes. This can also be accomplished by doing it every second and dividing by 3600. You will probably have to use double precision registers to accomplish this.
  Reply With Quote
Old August 9th, 2006, 10:18 AM   #10
russrmartin
Member
United States

russrmartin is offline
 
Join Date: Aug 2002
Location: Eastman, Wisconsin
Posts: 706
I just did this exact same thing. Check out my thread on this topic. What I finally ended up doing is in the final post.

Russ
  Reply With Quote
Old August 9th, 2006, 10:26 AM   #11
Alaric
Member
United States

Alaric is offline
 
Alaric's Avatar
 
Join Date: Apr 2005
Posts: 3,979
Quote:
Originally Posted by TJS
The user has to wait a whole hour to get an updated KWH value.
Why?

A 1KW motor running for 30 seconds will use 8.3wH of electricity. You should be able to integrate this and display real time results.

kWH is not a time domain unit, despite the presence of the word "hour" in the term. It is a measurement of a quantity of energy and time is irrelevant to the unit itself. OTOH Watts is a time domain unit because it is not a unit of energy, it is a rate of energy usage. The water analogy would be kWH is like a bucket of a specific quantity of water, while kW is like GPM or LPM.

1 kWH = 3,600,000 joules.
1 KW = 1,000 joules/second.

For a 1kW motor running 30 seconds:
1000 joule/s * 30s = 30,000 joule.

Notice how the time units algebraically cancel. They are no longer a part of the unit.

Since seconds and hours are both time units then multiplying the instantaneous kW by a totalizing period in hours gives us a unit of kW * H, or kwH, but time is not a part of the unit. Thus for a 1kW motor we would add .00833kWH to the energy consumption total every 30 seconds.

There is also apparently some confusion over whether to multiply or divide. Technically, you are multiplying by hours, HOWEVER, there are 3600 seconds in a hour, so the 1 second fraction of an hour is 1/3600, or in other words, dividing by 3600. When working with integers in a PLC, division is prefered and 1/3600 is an exact value while .003333333 is not.

I used a 30 second example, but I recommend totalizing at a faster rate than than.

Last edited by Alaric; August 9th, 2006 at 10:29 AM.
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Calculate an average value with an s7-300 plc c.g.freitas LIVE PLC Questions And Answers 7 July 12th, 2006 04:28 AM
Calculate RPM from pulse briana banks LIVE PLC Questions And Answers 17 April 25th, 2006 03:28 PM
Totalizing power using a KW transducer Matthias von Zorn LIVE PLC Questions And Answers 6 October 22nd, 2005 06:36 PM
Power Savings RSVIEWRULZ LIVE PLC Questions And Answers 6 January 24th, 2004 12:00 PM


All times are GMT -5. The time now is 12:06 AM.


.