Category Archives: Solar PV

Monitoring the HEMS

For some time now I’ve been thinking about creating a real time display which pulls together data from a variety of sources around the home to provide an overview of what’s going on without the need to visit multiple web pages or apps. Until the last 10 days or so that involved little more than thoughts of how I might evolve the existing immersun web page with more content (I don’t have the skills to write my own app), but then about 10 days ago I saw an online gauge that someone else had created to show energy price and inspiration struck. Ten days later I have my monitor working, albeit not complete:

HEMS monitor

The monitor pulls together information from:

  • My electricity tariff for p/kWh
  • My immersun for power data (to/from: grid, solar, water, house)
  • My storage battery for power in/out and state of charge
  • My HEMS for electricity cost thresholds between different battery modes.

The gauge consists of two parts: (i) an upper electricity cost part and (ii) a lower power part.

The upper electricity cost part is effectively a big price gauge from 0 p/kWh to 25 p/kWh with a needle that moves each half hour as the price changes. It has various features:

  • The outer semi-circular ring (blue here) shows today’s relationship between battery mode and electricity price. Today is very sunny, so no electricity was bought from the grid to charge the battery, and this part is all blue for normal battery operation. If the days was duller and electricity was to be bought to charge the battery, then two further sectors would appear:
    1. a dark green sector from zero upwards showing the grid prices at which the battery would be force charged from the grid, and
    2. a light green sector showing when the battery is not permitted to discharge but may continue to charge from solar.
  • In inner semi-circular ring (green / yellow / red here) currently just colour-codes increasing electricity price, but will be used to show today’s prices at which car charging and water heating are triggered from the grid.
  • The current price per kWh is taken from Octopus’s price API, while the current cost per hour is derived both from this and the grid power from the immersun.
  • The needle grows from a simple dot indicating the price per kWh only when no power is drawn from the grid to a full needle when the electricity cost is 10 pence per hour or more.

The lower power part is effectively a power meter ranging from 5,000 Watts of export to the left to 5,000 Watts of import to the right. It updates every few seconds. It has various features:

  • The outer semi-circular ring (orange /maroon / green here) shows how power is being consumed:
    • orange – shows consumption by the house less specified loads
    • maroon – shows battery charging
    • blue (not shown) – shows water heating
    • green – shows export to the grid
  • The inner semi-circular ring (yellow here) shows the source of power. The sum of the sources should equal the sum of the consumers. The sources are:
    • maroon (not shown) – shows battery discharge
    • yellow – shows solar power
    • red (not shown) – shows grid power
  • The power value shows the net import or export from / to the grid, while SoC refers to the state of charge of the battery (0-100%). The combination of import power and electricity price gives the cost per hour in the top gauge.
  • The needle position shows net import (to the right) or next export (to the left). The needle should thus be to the left of the green sector, or to the right of the (unseen) red sector. Needle length show the full power being handled and is thus proportionate to the angle of the sector including all the colours in the lower gauge and extends from 0 to 5 kW.
Monitor installed on an old phone in the kitchen.

The gauge scales to fill the smallest of screen height or width and translates to be centrally positioned regardless of screen size. My intention is to display it on an old mobile phone as an energy monitor, but I can also access it on any web browser on any device within the home.

Saving on electricity

I’ve been seeing a few online advertisements recently touting 70% savings on electricity through a combination of solar panels and battery storage. I’ve also been looking for a way to express my savings through my smart tariff so this seemed like a opportunity to try that.

My start point is a years data from my monitoring system..

Monitoring data for March 2019 to February 2020

I also went through a year of electricity bills (with slightly different start and end dates) concluding that my average purchased electricity cost was 7.08 p/kWh. Thus my average electricity costs (including solar) are on the right of the table below:

sourcequantityest unit priceEst totalmy uniT pricemY totalmy saving v. Est
Bought4,309 kWh15.75 p/kWh£678.677.08 p/kWh£305.08£373.59
Generated2,473 kWh15.75 pkWh£389.500.00 p/kWh£0.00£389.50
Total / Average6,783 kWh15.75 p/kWh£1,068.324.5 p/kWh£305.23£763.09
Comparison between my electricity cost and the UK average

If I look at the Energy Saving Trust’s assumptions as a baseline, they have the average UK cost of electricity as 15.75 p/kWh. If I’m paying an average 4.5 p/kWh for each kWh used with my combination of solar PV, storage battery and smart tariff then I’m paying 28.6% of the cost of someone who used the same amount of electricity bought at the average UK rate or saving 71.4% of electricity cost. To put it another way, I’m paying £305.23 for electricity that would have cost the average UK consumer £1,068.32 (on the left of the table above) – a saving of £763.09.

(The baseline assumption that someone would have used the same amount of electricity as me without my level of technology is a slight over-estimate as I flex water heating between gas and electricity since my bought electricity price is sometimes lower than my bought gas price causing me to substitute electricity for gas. Someone on a conventional electricity tariff and gas would never make that substitution as their gas would always be cheaper than their electricity, hence my electricity consumption is a little higher than someone who would be on a conventional electricity tariff.)

I’m also generating feed-in tariff due to the age of my system (approximately 4.5 years old) which would be £714.59 per annum at current rates, and making 1,075 kWh of hot water from surplus solar electricity which saves £38.22 in gas (the diverted / hot water saving in the screenshot above is based on a notional electricity price, not a gas price). Unless I’ve missed something that’s an annual return of £1,515.90 (£763.09 + £714.59 + £38.22).

In my previous post I estimated my investment at £8,670 so with an combined annual savings and revenue of £1,515.90 that’s a 17.5% return or a payback of 5.7 years. Previously I’d estimated 9 years including the battery, but this was without the benefit of the smart tariff. As we’ve now had the solar PV for 4.5 years that’s very promising, although as my return seems to be accelerating it will take more than 4.5 past years + 1.2 future years (total 5.7 years) to achieve payback.

The current 5.7 years to payback would have achieved payback in spring 2021 as the near bookend, while the prior 9 years would have been autumn 2024 as the far bookend. In practice I could not have achieved the lower bookend of 5.7 years, even had I invested in all the supporting technologies simultaneously, because I’m combining the legacy Feed-in Tariff (FiT) scheme for my solar PV with the Octopus Agile dynamic smart electricity tariff which started in February 2018,

How green was my xxxxxx solar?

One question that gets asked periodically is how green are technologies like solar panels given that there much be some emissions created in their manufacture and ultimate disposal.

Lifetime gCO2/ kWh for various generation sources

It’s probably no surprise that the rooftop solar PV is considerably less carbon-intensive than any fossil fuel (1/20th of coal for example) but that it beats biomass or even utility scale solar (I.e. solar farms) may be a surprise. My understanding is that the recent switch of emphasis in the UK from rooftop solar (with elimination of FiTs) to solar farms is driven more by investment costs than ultimate carbon-intensity.

Source: Intergovernmental Panel on Climate Change (IPCC) as quoted by Spirit Energy

The Big Picture

After a series of quite detailed posts, I think that the time has come for an updated high level overview of what we have.

Heat loss from the home

We moved to our early 1970s house almost 4 years ago bringing with us our electric vehicle. The house had already been refurbished with new double-glazed windows, had cavity insulation (although that wasn’t recorded on EPC so must have predated the prior owners), and a token level of loft insulation. The existing gas boiler was arthritic, couldn’t heat the whole house, but was quite good at heating the header tanks in the loft! We had gravity-fed gas hot water (i.e. no thermostat or pump on the cylinder) which was completely obsolete, the cylinder dated back to the building of the house and had no immersion heater (although we had the wiring for one). So what did we do?

Space heating:

Eve Thermo eTRV
  • We substantially increased the loft insulation to reduce heat loss.
  • We had a modern condensing gas boiler installed to improve efficiency.
  • We updated to smart controls using eTRVs to set both temperature set points and schedules at room level. I built a smart interface to the boiler so that heating can be enabled remotely. I programmed a series of rules into Apple Home allowing the smart thermostats to enable the boiler when any thermostat wants heat and disable it when no thermostat wants heat. Some rooms also have additional rules linking heating to open windows or movement sensors. All of this reduces heat losses by only heating rooms that are (or will be shortly be) in use.

Electricity supply:

Solar panels
  • We installed our own solar panels given 4 kWp generation. (I also own a small share of a solar farm although there’s no contract that I’m aware of between that farm and my home energy supplier)
  • I invested in an immerSUN to maximise self-use of our own solar by enabling loads when surplus solar is available.
  • We switched to a green electricity supplier so when we need to buy electricity it comes from renewable sources.
  • We bought a small storage battery 4 kWh to store some of our solar production for use later in the day. Subsequently I can also use it in winter to buy when the electricity price is relatively low to avoid buying when the price is relatively high.
  • We chose a dynamic smart tariff to buy electricity at the lowest price based on market prices established the day before. The prices change each half hour and are established in the late afternoon on the day before.

Water heating:

Hot water cylinder
  • We replaced the old hot water cylinder with a modern insulated one (to reduce heat loss) with a low immersion heater (to allow more of the water volume to be heated).
  • Our principal water heating is now by diverting surplus solar electricity proportionately to the immersion heater, that’s backed up by the gas boiler which is enabled briefly in the evening for water heating in case the water isn’t yet up to temperature, and when the electricity price falls below the gas price I can enable the immersion heater on full power.
  • All accessible hot water pipes are insulated.

Electric car charger:

Electric car charger.
  • I built my own electric car charger that takes an external radio signal to switch between four settings 0, 6, 10 and 16 Amps to help me adjust consumption to match to availability of output from my solar panels. (Subsequently such products were developed commercially with continuously variable current limits, but the limitations of my immersun and on/off radio signal don’t allow me to go quite that far. Having said that my car only does 0, 6, 10 and 14 Amps so I would gain no benefit from a continuously-variable charger paired with a 4-level car).

Smart electricity controls:

Smart controls
top: HEMS (to manage bought electricity) and junction box
mid: radio transmitter (to car charger)
bottom: immersun (to manage self-consumption)
  • We have two systems for smart control of electricity:
    1. The immersun to maximise self-use of our solar electricity by proportional control of loads.
    2. A HEMS to manage the purchase of electricity (when necessary) at the lowest price by maximising consumption when the price is lowest.
  • When both systems want to enable loads (because the bought price is low and we have a surplus from our own panels) then cost is prioritised, so we’ll buy from the grid any demand not being met from our own panels.
  • Both systems are linked to 3 devices:
    1. Battery storage. The immersun is configured to work alongside the battery storage with the battery storage as the top priority to receive surplus solar PV. The HEMS can switch the status of the battery as required to charge from the grid when the price is lowest, or to discharge when the price is highest, or indeed to revert to default behaviour.
    2. Car charger. Second priority for the immersun after battery storage.
    3. Immersion heater. Third priority for the immersun after car charging.

The future

I have no firm plans for the future. I’m toying with adding to the HEMS various features including:

  • Making the display switch between GMS and BST as appropriate (it’s all UTC at the moment).
  • Edit configuration via the web interface rather than a virtual terminal.
  • Control a domestic appliance. Our washing machine was replaced relatively recently, but the dishwasher is playing up a little and may be a candiadte for HEMS integration where the optimum start time is selected to deliver lowest energy price.

Different perspectives

The above images show four different perspectives on the same day of data (April 24th) from different sources within the home.

Smart Meter HAN

Firstly, the Smart Meter HAN image shows bought electricity to the home. Each smart meter sits on a Home Area Network (HAN) which is how the In-home display provided with the meter gets its data. The in-home display is an example of a Consumer Access Device (CAD). In my case I also have a Hildebrand Glow Stick as a CAD. The Glow Stick, which looks something like an oversized USB stick, also connects as a CAD to the smart meter allowing the meter to be read. An associated app, Hildebrand’s Bright, allows the Glow Stick to be read via the cloud. In principle the Bright app can display either energy in kWh or cost, but in my case can only display energy in kWh as Octopus don’t push the price data into the smart meter so energy cost always reports as zero. The data is presented by the minute.

Smart Meter WAN

Secondly, the Smart Meter WAN image shows the same data but from the perspective of the Wide Area Network (WAN) whch connects the smart meter to the energy retailer (Octopus for me). This half-hourly data is reported via the Octo Watchdog app. The data reported is cost per kWh (the blue line) and energy consumer / kWh (the red columns). The energy data in the red columns follows that of the red line in the prior illustration but in lower resolution (half-hourly versus minute-by-minute). You can clearly see most energy being bought when the price is lowest.

Powervault

Thirdly, the Powervault image shows grid in/out and battery in/out. The green grid-in line mimics the red data from the above images. The battery in/out data is solely visible in this image. The resolution is good enough to see shorter events like kettle boil cycles.

Immersun

The final image, from the Immerun, is probably the most useful although it lacks energy price and hides battery in/out within the House data (hence ‘House’ being zero at times). The immersun alone reports output data from the solar panels and diversion to the immersion heater. It also lumps the car charger energy within ‘House’, indeed none of these views can directly report the car charger behaviour although its the dominant energy consumer here.

I’m planning to construct my own view showing all the different prices of data together in one place. I already have access to:

  1. The Immersun data via the same API called by their app. I came across a blog post that described how to do this.
  2. The Powervault data API (I only have a control API at the moment) which should give me battery in/out (at least I’m on a promise of the API at the moment).
  3. The Hilbebrand data which duplicates the Powervault Import/Export at the moment, but has the potential to provide independent monitoring of my car charger.

In principle then that would leave me able to report 3 x energy sources (grid, panels and battery; of which grid and battery would be bi-directional) and report 3 x energy consumers (car, water heating and home).

Solar PV Generation to July 2018

What contrasts 2018 has been so far for solar PV!

As ever, my graph shows the maximum, average, and minimum daily output for each calendar month of each year since the system was installed in late September 2015 (approaching 3 years ago).  As can be seen from the middle group (the daily average) 2018 has produced a run of 3 months May to July with the best daily average outputs for their respective months since installation.  February 2018 was also the best ever February; although January, April and May managed to be the worst examples of their respective months.  Hence certainly a year of contrasts as every month is either the best or worst for its respective month since installation.

At the level of the best day in any calendar month (the blue line), May is remarkably stable with the best daily output for May for each of the last three years being almost identical, while new monthly records were set for February, June and July.

July 2018 was also a record-breaker for another reason – it was the first month in which our earnings from the feed-in tariff (which in the UK has both generation and export components) exceeded £100.  That achievement is helped by the index-linking of the feed-in rates which rise every year, and by July having 31 days which gives a slight edge over June’s 30 days.

Electricity use 2017

The image above shows my solar electricity generation and usage in 2017 by calendar month.

  • The purple line shows the use of electricity (excluding gas replacement) by month. It’s relatively stable through the year, although it does rise in the autumn as my daughter started school and so my electric car mileage increased.
  • The green line shows the output from the solar panels.  From April to August (5 months) solar panel output exceeded usage giving the potential not to buy electricity with sufficient smart capability – be that electricity storage or alignment of consumption with availability.
  • The red line shows import of electricity from the mains.  It tends to be the reverse of the solar panel output.  It’s never zero indicating potential (at cost) to improve smart usage.  Solar power is a more significant energy source than imported power from March to September (7 months).
  • The blue line shows diversion of surplus electricity to water heating as gas replacement.
  • The turquoise line shows export of electricity to the grid.  This occurs when there is insufficient energy smart resource available to store or self-use the surplus power.  Export amounts to about 12% of total solar panel output.  While this potentially free energy, the economics of storage or smart controls make using this remainder increasingly costly from an investment perspective.  In my case this surplus occurs on particularly sunny summer days when the electric car is not at home or is already fully charged – which might be vacation periods when the house is unoccupied for example.

Solar PV Installation – 2 years on

The end of 2017 sees 2 full calendar years of output completed (plus a few months at the end of the prior year) so it seemed like a good time to assess performance and return.  Return comprises two parts – firstly the payments received for electricity generation (and export) the so-called feed-in tariff or FiT and secondly the savings obtained from using that free energy myself instead of buying it from the grid.  In my case I can use and store my solar electricity directly, or use it to heat water via the immersion heater thus replacing gas.

I’ve summarised the status in the following table:

 Nominal20162017 
Generated366840564033kWh
FIT£629.36£639.61
Electricity self-use50%41%64%of Generated
183416632596kWh
£159.65£251.12
Gas replacement27%23%of Generated
1095941kWh
£41.20£27.66
Export50%32%12%of Generated
Return in calendar year£830.46£918.40
13.6%15.1%of PV cost
Return cumulative£830.46£1748.86
13.6%28.7%of PV cost

Summary:

  • Output from the panels was slightly reduced in 2017 versus 2016, but still significantly above the performance projected in the quotation.  I put the slight reduction down to year-to-year differences in the weather.  Over time I would expect panel output to decline, but I think it’s too soon to attribute any decline to this.
  • Income from FIT was slightly higher as inflation on the price / kWh has overcome the slight output reduction.
  • Electricity self-use is up considerably from 41% to 64% due to my 4 kWh storage battery.  The costs of that battery are not reflected in the table.  Return would have been 8.8% in 2017 (rather than 15.1%) if the cost of the battery was included.
  • Gas replacement is down from 27 to 23% versus 2016 as more of the electricity from the panels is used for high value activities like charging the storage battery or my electric car, and less is left over for water heating.  The low price of gas per kWh makes gas replacement my lowest priority for self-use.
  • Exported electricity (i.e. what’s left-over that I cannot use myself) is considerably reduced from 32 to 12% largely as a result of increased electricity self-use.
  • Financial return in calendar year 2017 is improved from 13.6 to 15.1% neglecting the costs of the battery, or reduced from 15.1 to 8.8% taking into account capital costs of the battery.
  • It will take approximately 7 years (i.e. 2 past + 5 future years) for the combination of the solar panels and battery storage to pay for the solar panels (neglecting the battery costs), and a further 2 years of system savings to pay for the storage battery.

Here’s a little Tonik..


Today my energy supplier Tonik wrote to me inviting me to consider solar panels, a car charger, or a storage battery – all of which I already have.  However on their website I found a wider vision of the future home which they thought could halve energy consumption. I thought it would be interesting to compare their vision with my status.

As you can see from the table below the content is quite similar, although I have more ambitious use of solar and more sophisticated smart heating management.

Tonik's VisionMy Q3 2017 statusMy Q3 2019 status
Switch to Tonik for lowest cost renewable electricity.Done.Now with Octopus
Smart meterWaiting on TonikSupplied via Octopus
Connected thermostat (whole of house device)Connected thermostats (individual room temperatures and schedules)
LED bulbsDone.
Smart tariffWithout a smart meter on nearest equivalent (Economy 7)Agile Octopus dynamic smart tariff.
Solar PV Done.
Battery storage.Done.
-Surplus solar electricity diverted to charge electric car.
-Surplus solar electricity diverted to heat water.

Solar output – 2017 Jan – Jun

2017 H1

Now that we’re half way through 2017 it seemed appropriate to have a look at energy usage from the solar panels – especially as those six months reflect the first six months with the battery storage system.

The graph is taken from my ImmerSUN smart controller which automatically diverts surplus solar electricity to the car charger or immersion heater.  The battery storage system has independent controls but its benefits can be seen via the ImmerSUN.

The purple line shows the consumption of electricity (excluding the immersion heater) and is relatively stable month by month.  Consumption is relatively large due to my electric car and cooking with electricity.

The green line shows the generation of electricity from my solar panels.  Not surprisingly output is lower in the winter, but from April we generate more electricity than we use despite our relatively high consumption.  In principle we could be electricity independent during those months but for the time of consumption not matching the time of generation.

The red line complements the green line as it shows the import or purchase of electricity from the grid, and thus reduces as the generation rises.

The blue line shows the diversion  of electricity to heat water via the immersion heater when neither the battery storage system nor the car charger can absorb the available electricity.

Finally on the graph the turquoise line shows export of electricity to the grid when all smart capability within the house to use electricity is exhausted i.e. battery storage system at maximum power or full, electric car battery full or absent, and water in cylinder is hot.

Among the numbers:

‘Savings” at £80 refer only to the value of the water heating achieved from solar electricity versus buying electricity (although our backup is mains gas).

“Self consumption” at 86% refers to the proportion of solar panel output used i.e. not exported to the grid.

“Green contribution” at 59% refers to the proportion of total electricity consumption (excluding water heating) derived from the panels rather than from the grid.