our solor production feed is direct information from the inverters. they are some losses in the inverter and when the calculation is performed its showing export to the grid. is they anyway around this or a calculation on feed?
Hello @Pukka you could apply a loss factor to the input from the inverter, e.g multiply by 0.95 before recording it to a feed? Is it the solar production on the DC side and the inverter doesnt give AC output?
Hi @TrystanLea We have a hybrid inverter and data is being collected via ModBus. so we get lots of information about the solar including temps. I will have a look at creating a feed with a loss just need to have a look and workout the factor.
PYTHONHTTPSVERIFY=0 python getsoc.py
5.91907514451
Traceback (most recent call last):
File “getsoc.py”, line 9, in
response = urllib2.urlopen(‘http://192.168.2.22/input/post?node=powerwall&data=soc:’+str(soc)+’&apikey=cf146a3b6a83a71fd93a1f5daa598f88’)
File “/usr/lib/python2.7/urllib2.py”, line 154, in urlopen
return opener.open(url, data, timeout)
File “/usr/lib/python2.7/urllib2.py”, line 435, in open
response = meth(req, response)
File “/usr/lib/python2.7/urllib2.py”, line 548, in http_response
‘http’, request, response, code, msg, hdrs)
File “/usr/lib/python2.7/urllib2.py”, line 473, in error
return self._call_chain(*args)
File “/usr/lib/python2.7/urllib2.py”, line 407, in _call_chain
result = func(*args)
File “/usr/lib/python2.7/urllib2.py”, line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found
pi@emonpi:~ $
Emoncms is running on a Rpi on its own being fed by Iotawatt.
To get My Solar PV Battery app going I have substituted different feed that is usually zero.
Did you look at limit by feed?
I think I will need this as well as I have solar coming in on 2 separate inputs as the PV installations are on 2 different outbuildings. I am also on 3 phase which really means all feeds have to be created using multiple inputs and can get complicated.
Hello John @Wirrunna. 404: Not Found means the url is incorrect. Maybe the IP address is wrong?
However, the new method that @TrystanLea mentioned above is working, I would recommend waiting a short while until it is formally released and using that, as it is much neater and will be supported by Open Energy Monitor
@ian@pepso I’ve added limit by feed max and min processes as well. Currently in the emoncms master branch for testing, these are the command line steps to test these processes.
cd /var/www/emoncms
git checkout master
git pull origin master
Again, sorry for the delay in getting back to you. Love the direction that this is going in, but (once again) I had tied myself up in knots / overcomplicated things, so have cleared out old Inputs & Feeds and would like to start again.
Based on the following screenshots, what processes should I add in order to include …
Use: Building Consumption in watts (not including battery charging):
would this be house:Meter_INplusPV Generation ?
Solar_Direct_kWh: Cumulative solar generation used directly in kWh:
this will presumably be your three lines quoted above, but not sure where I should include them
Meter_nett means the power coming in from the road less any exported (so won’t actually agree with the physical meter as it doesn’t go backwards).
Meter_IN is imported power
Meter_OUT is exported power
I also need to review values produced to check if I need to x1 or x-1 etc to get them in the correct sense, but it will be easier to do that when I have the structure correct.
@TrystanLea - I made some progress yesterday with my Inputs & Feeds, but whilst the numbers in the top section of the App are correct (inasmuch as they agree with the Tesla Powerwall app), I can’t get some of the lower half to display what I would expect.
The 1.1 kWh flow from Battery to House is most likely correct, & the values circled in pink could be rounding errors.
But the values circled in green & orange are odd, and I can’t work out how changing positive / negative in flow directions would sot them out.