XY scatter chart

Does anybody has an idea, how to draw XY scatter chart in EMONCMS - very useful kind of chart for showing for example relation between heating energy consumption (kwh/d) and outer temperature. In ideal way there would be drawn trend line to show characteristic of building energy losses. I have implemented this kind of chart at my private webpage, based on Google charts engine, but currently Im not capable enough to implement it into EMONCMS engine. Anyone has a hint?

Eric_AMANN's picture

Re: XY scatter chart

Hi,

I have the same needs to analyze co-heating tests. I am currently drawing XY charts in OpenOffice ...

You may try to develop a specific module as the openBEM module developed by Tristan. It is a great start.

Eric

rbreuss's picture

Re: XY scatter chart

Im drawing my XY chart using Google charts engine as a part of PHP script at my website. Problem for me is lack of information where and how to connect to dataflow in EMONCMS engine standard way to stay aligned with EMONCMS architecture. I agree openBEM looks like agood start point, but does anybody know, where to find some documentation regarding EMONCMS architecture and how to integrate new module?

ukmoose's picture

Re: XY scatter chart

Theres a develop emoncms section on this page:

 http://emoncms.org/site/docs/architecture

 

There a tutorial on how to develop an emoncms module on the blog:

http://openenergymonitor.blogspot.co.uk/2013/12/tutorial-on-how-to-creat...

 

and there's details on how to get feed data from emoncms at:

http://emoncms.org/feed/api

john.b's picture

Re: XY scatter chart

Its worth looking at the compare function under visualisations.  Although this is for Power calibration the bottom graph is actually an X-Y scatter graph with linear regression trend line.

With a little modification this tool could be used for Heating Degree Day analysis

rbreuss's picture

Re: XY scatter chart

Im trying to get feed date from emoncms for further processing as you recommended me. But I met interesting issue. Im using command:

http://192.168.0.50/emoncms/feed/data.json?id=14&start=1396137600000&end...

(to get 24 hourly values from last 24 hours period). I would expect to get 24 datapoints as system reply. But even if I try anything, I get just 21 datapoints. Is there anything wrong in my command or am I wrong in understanding this concept of data stream?

rbreuss's picture

Re: XY scatter chart

Good point ! I didnt recognised that bottom graph before. I will check it in detail. Thanks for valuable hint !

ukmoose's picture

Re: XY scatter chart

I'm guessing the 21 data points might be caused by this bug, that Tristan identified today.

http://openenergymonitor.org/emon/node/4635

EmilianoM's picture

Re: XY scatter chart

Any progress here ?

Building your home thermal model would be really fantastic !

X axis => Daily Average (Outside temperature - Inside temperature)
Y axis => Daily Energy consumed by heath pump

Eric_AMANN's picture

Re: XY scatter chart

Hello,

I'm developing a module that plots such graph to do coheating tests in occupied building.

I will publish it soon.

Eric

Comment viewing options

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