Emoncms.org and solar type 2 system. - Solved

Hi guys

Iv been using emoncms for a few years but have never managed to get the Kwh/d function to work correctly on my type 2 system.

It works as in log data but as its a type 2 system the grid current sensor goes negitive when you export you dont seem to be able to monitor or log the usage of the house..(it would be fine for net metering) but i really want to show the same data as the GLCD as in today iv used 5.5kwh and generated 4.5kwh not 1kwh on the bar graph. See attached. As you can see iv got days of 0 or no usage as the total us a negitive number..

Please help.. Im sure its a simple option but i cant seem to work it out..

Thanks

Rob

 

 

 

Robert Wall's picture

Re: Emoncms.org and solar type 2 system. - Solved

Basically, you're feeding the wrong numbers into the graphing/logging department. On the input page, you need to do some sums with the two powers that you have and create a new feed, and that's the one you send to the bar graph.

Hint: the emonGLCD does the sum you need to be doing! Here it is lifted straight from the sketch:

gen = emontx.power2;
.....
if (SolarPV_type==2)
  {
    grid=emontx.power1;                  // for type 2 solar PV monitoring                     
    consuming=gen + emontx.power1;             // for type 2 solar PV monitoring - grid should be positive when importing and negastive when exporting. Flip round CT cable clap orientation if not
  }

The route into the sums is the spanner icon.

Have you seen this page: Solar PV Emoncms input setup ?

robw's picture

Re: Emoncms.org and solar type 2 system. - Solved

Robert

Thanks for that.. Im sure iv seen that page and have added lots of other sensors to it but i guess i was having a blond / senior moment and not even thought about the maths correctly..  Iv looked at the GLCD code lots (iv changed mine to add other sensors) and really should of thought about just coping that..  Shame i cant get it to do it for past data..

Thanks Again.

Rob.

Comment viewing options

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