Friday, 12 May 2023

Very happy with the on-grid electricity being generated

So I'm now generating between 2.5 and 4 units per day depending on how sunny the day is around noon. And to date I've generated around 62 units of electricity most of which is being used by the house.




If I download my 30 minute usage values form Community Power and just looked at the daily and weekly totals for the last year using the Python program listed below:


That was daily for the last year. And this is weekly


Sadly no massive decrease yest even though I'm generating a few units each day. Maybe it's being exported?




# Program to read 30 min energy usage figures downloaded
# in a .CSV fril from Community Power web portal and
# display energy (KWh) used per day

import csv

with open('usage.csv') as csv_file:
    with open('dailyUsage.csv', 'w') as outFile:
        with open('weeklyUsage.csv', 'w') as weekOutFile:

            csv_reader = csv.reader(csv_file, delimiter=',')
            line_count = 0
            out_count = 0
            dailyUsage = 0
            mprnNumber = 0
            serialNumber = 0
            lastDate = ""
            weekCounter = 0
            weeklyUsage = 0

            for row in csv_reader:
                if line_count == 0:
                    if row[0] != "MPRN":
                        print( "ERROR: First colum of first row not 'MPRN'")
                        break
                    if row[1] != "Serial No":
                        print( "ERROR: Second colum of first row not 'Serial No'")
                        break
                    if row[2] != "Date":
                        print( "ERROR: Third colum of first row not 'Date'")
                        break
                    if row[3] != "Time":
                        print( "ERROR: Fourth colum of first row not 'Time'")
                        break          
                    if row[4] != "Usage kWh":
                        print( "ERROR: Fifth colum of first row not 'Usage kWh'")
                        break                              
                    print(f'Column names are {", ".join(row)}')
                    line_count += 1
                else:
                    # We want to accumulate the usage until the day changes
                    # then print it out.
                    # We will also ensure the MPRN and Serial No. does change
                    if mprnNumber == 0:
                        mprnNumber = row[0]
                    if serialNumber == 0:
                        serialNumber = row[1]
                    date = row[2]
                    time = row[3]
                    usage = row[4]

                    dailyUsage = dailyUsage + float(usage);
                    if lastDate == "":
                        lastDate = date

                    if date != lastDate:
                        lastDate = date
                        weeklyUsage = weeklyUsage + dailyUsage
                        # Let's print out our dailyUsage..
                        dailyUsagex10 = int(dailyUsage * 10.0)
                        dailyUsage = float(dailyUsagex10/10.0)

                        dateDay = date.split(' ')[0] # Just get the date part of "30/04/2023 00:00:00"
                        print( dateDay, ",", dailyUsage )
                        lines = [dateDay, ",", str(dailyUsage), "\n" ]
                        outFile.writelines(lines)  
                        out_count = out_count + 1
                        # ..and then reset it to zero
                        # .. write it to a new .CSV file dailyUsage.csv

                        weekCounter = weekCounter + 1
                        if weekCounter == 7:
                            weekCounter = 0
                            weeklyUsagex10 = int(weeklyUsage * 10.0)
                            weeklyUsage = float(weeklyUsagex10/10.0)                            
                            lines = [dateDay, ",", str(weeklyUsage), "\n" ]
                            weekOutFile.writelines(lines)                              
                            weeklyUsage = 0

                        dailyUsage = 0

                    line_count += 1
                    #if line_count > 10:
                    #    break
            print(f'{line_count} lines read and {out_count} line written.')

#f = open("usage.csv", "r")
#lineNumber = 0
#for x in f:
  #lineNumber = lineNumber + 1
  # Expect datas in the format: 18385 10009732581,32467430,02/05/2023 00:00:00,23:30:00,0.06500
  #print(lineNumber, x)
  # So if seperatured by a comma can w

#print(f.readline())
#f.close()
outFile.close()
weekOutFile.close()
csv_file.close()



Monday, 24 April 2023

First on-grid experience. 3.5 units (KWh) generated. 2 units exported to the grid.

 While in Mayo I will continue to experiment with off-grid systems in Shannon it makes less sense. Especially with two lodgers.

I had bought two grid-tied 1.5KW PV inverters some time ago (Hypontech) and finally got round to finding an electrician who would sign-off my ESB Networks FC6 form. After submitting it (4 pages) by e-mail (along with the conformity document) to ESB Networks on Tues 4th April. Then on Thurs 13th April I got a terse e-mail reply from ESB Networks stating "the details provided have been noted and updated on our records.". I was going to wait the mandatory working 20 before connecting up my system.

This is explained in their document on page 13: https://www.esbnetworks.ie/docs/default-source/publications/conditions-governing-the-connection-and-operation-of-micro-generation-policy.pdf

"If ESB Networks determines that for a given Type-Test /Confirmation of Table 3 Settings certificates, further clarification or information is required, then ESB Networks shall: 

1. Instruct the customer within 20 working days from receipt of both the Type-Test certification & Confirmation of Table 3 Settings, to refrain from installation or suspend installation and commissioning if already begun. 

2. Require that the customer contact the installer/equipment supplier or test laboratory as appropriate to obtain any additional information or clarification"

But after e-mailing my electricity supplier Community Power they informed me on Tues 18th April that "On 13-April, ESBN sent us notification that you are set to a MaximumExportCapacity="2". So from this it appears I was good to go, After accepting the T&C document from Community Power about generation payments.

So starting on Friday 21st April 2023 I connected my unit to the 4x 230 Wp PV panels and the mains in the kitchen and started to generate grid tied power.







As of last night Sun 23rd April 2023 I had generated 2.3 KWh that day (5 KWh accumulated) and to date have exported 2 KWh to the grid.






So overall I'm very impressed by the performance of the grid-tied inverter and have decided to remove my off grid system form my kitchen at Tola!

Less impressed with the Hypontech website and lack of functioning WiFi dongle for cloud monitoring.

But my Sonoff mains WiFi switch provides power monitoring instead.


Which via MQTT feeds into my Smart Home app: