Visualizing pulse data at less than 24 hour intervals?

My system has an electric meter pulse detector, and several CT's. I'd like to be able to see the meter's opinion of real-time* power consumption that I can correlate the utility's power measurement with what I see on the CT's.

Can I do this with the emoncms UI?

It appears that I get one pulse per Wh, so something like the number of pulses in the last minute, scaled, would be the sort of value I'd like to graph.

 

*"real time" meaning with 1 minute or so resolution. Since I'm getting the power from the meter in terms of pulses per kWh, there is no way for instantaneous readings. But a graph of pulses/minute or pulses/5 minutes, properly scaled, would do the trick.

Toberwine's picture

Re: Visualizing pulse data at less than 24 hour intervals?

I am also trying to visualise pulse counter data iin this way. Because I have a 3 phase PV system it is unreliable to use CT sensors to monitor my PV output so counting pulses from my meter should be the right way. My meter also flashed at 1 pulse per Wh.

There is an input processor on www.emoncms.org called "kWh to Power" which sounds like it ought to do what I need, however I have been unable to configure it properly as it results in obviously erroneous values (eg it seems to "count" in units of 720000).

Have you had any luck with graphing power from your pulse counter?

meso's picture

Re: Visualizing pulse data at less than 24 hour intervals?

Hi,

  No, I have had no luck. I have no idea if it is even possible.

  My sensor data comes in as an increasing count - presumably it increases one count for each pulse. That would correspond to total Wh used, rather than d/dT (Wh) -> W

What would be needed is something that can subtract a count from the count N samples before.

 

Good luck!

 

Tks

Eric_AMANN's picture

Re: Visualizing pulse data at less than 24 hour intervals?

Hi,

"What would be needed is something that can subtract a count from the count N samples before."

According to me, you don't need anything much because the "kWh to power" processor converts accumulating kWh to instantaneous power.

Toberwine, I guess you're using emonpi. Looking at the emonpi sketch, it sends the accumulated number of pulses too. Before applying the kWh_to_Power processor, you must apply a 0.001 factor (using the x processor, in Calibration) as one pulse corresponds to one Wh and not to one kWh. Again in the sketch one can see that emonpi sends data every 5 seconds. That is why the power is a multiple of 1Wh/5s = 720 W

In order to monitor your PV production, you need a better resolution. And I guess you don't need an update every 5s. Just make emonpi send data every minute -> the power will be multiple of 1Wh/60s = 60 W. It means modifying the emonpi sketch (TIME_BETWEEN_READINGS constant)

 

Eric

 

 

 

 

 

Toberwine's picture

Re: Visualizing pulse data at less than 24 hour intervals?

Eric,

I think you have cracked it! What you say makes good sense. 

I will try what you suggest.

meso's picture

Re: Visualizing pulse data at less than 24 hour intervals?

Eric,

Thanks you for your comment. However, I see no kWh to Power processor, only the reverse. See image below.

I have tried using the raw pulse as a feed, but it is just an ever incrementing (mod 65536) value.

 

Thanks

 

Eric_AMANN's picture

Re: Visualizing pulse data at less than 24 hour intervals?

H,

This processor is not available on Emonpi. You have to modifiy your sketch to send pulses seen between two sents. Otherwise you can send your data to emoncms.org where this processor is available. See here.

If I understand you well, your first goal is to calibrate your CT using the reading from your meter that sends pulses. You can do that only if your CTs and your meter are measuring the same power (reel or apparent). If it is the case, you should compare energy elapsed (Wh) but you don't need power (W).

Eric

 

Toberwine's picture

Re: Visualizing pulse data at less than 24 hour intervals?

I had had the same problem. Others here had pointed to the existence of a kWh to power processor but I couldn't find it. Eventually I realised it is only on the website www.emoncms.org and I had been looking on the Emonpi software itself via http:\\Emonpi. So I had to figure out how to modify the script (a first for me!) in order to upload my data. 

That brings us to Eric's comment on this thread. In principle I should now be getting power data from my pulse sensor but the sun is only just rising as I type this so I will have to wait and see, with bated breath!

meso's picture

Re: Visualizing pulse data at less than 24 hour intervals?

Thanks for both comments.

This brings up a question: is the web software built into emonPi (or in my case, emonBase) not being updated - with the real effort aimed at the web site? I ask because it has a number of problems, and if it is more or less abandoned, then I should quite fussing with it and get my data up to the web site.

 

 

Eric_AMANN's picture

Re: Visualizing pulse data at less than 24 hour intervals?

Hi,

is the web software built into emonPi (or in my case, emonBase) not being updated - with the real effort aimed at the web site?

It's not the same software branch. Emonpi includes a light version of EmonCMS  in order to preserve the SD card life. If you need a full version of EmonCMS, you have to send your data to EmonCMS.org or to your own EmonCMS server. It requires a safe and stable connection.

Eric

 

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.