Usual Operation Above is how I envisage my solar/battery system to be functioning in normal operation.

So I've recently had a Powerwall 2 battery installed into my home. It comes with the gateway device that allows for mechanical disconnection from the grid. Therefore in the event of grid power loss, my home can be safely disconnected from the grid, and I can continue operating from the power available in the PW2.

Just last night I decided to try this off-grid functionality and turned off the electricity from the power box outside. I heard the mechanical "thonk" in the gateway device, as my connection was severed from the grid, and the house continued to run on the powerwall... super cool! The next day, my solar generation began (wonderful sunny day), and the battery charged up from 61% through to 98%, when I suddenly noticed that my solar generation went down to zero. I went into my loft to have a look at the inverter and noticed there was an error code on the display (see below).

Inverter Error Code

Digging deeper it seems like my inverter has an AC frequency set range of 49.5 to 50.5Hz (UK grid frequency is ~50Hz), so this made sense as far as the error code was concerned. I also found out that I can adjust this range via an RS232 terminal on the inverter to increase this operating range should I so desire (can be adjusted anywhere from 40 through to 60Hz).

So my questions are:

  1. Why does my inverter show a frequency fault ONLY when the battery reaches near full charge?
  2. In the scenario where the grid is not available, where does the excess energy that isn't currently being used by the home, go? I was thinking that the inverter now needs to dump any excess electrical energy that my house isn't using at the time, but finds the external grid closed and therefore causes some kind of internal fault?
  3. If I were to change the acceptable frequency range on the inverter on the upper end, would there be any negative ramifications in doing so?
  4. What causes my PV meter to actually detect solar production? Does it require current draw of some form? So either the draw of my home, or the draw of the external grid "taking" my excess energy from me? Without these 2 draws... would the energy need to be dumped to some kind of heat sink and dissipated as heat energy, or would the inverter detect the required draw, and only "pull" electrical energy required from the panels?

Apologies for all the non-technical speak above. I'd appreciate any light that could be shed.

Scenario where house is severed from the grid Scenario where house is severed from the grid

EDIT1: Inverter is a GroWatt 3600MTL - Manual here

EDIT2: It appears from the manual, that the default country when the inverter would have first been setup is Italy. There's a good chance the installers didn't change it from its default. Looking at this firmware software manual for the inverter, it shows that the range (R2 fac High) is 50.5Hz, whereas UK should be 52Hz... that would at least explain the error message.

enter image description here

EDIT 3: According to this chap, the raised frequency may actually be a feature of the Tesla Powerwall2! Looks like it somehow detects the maximum frequency of the inverter sensors, and then raises it's internal frequency to cause grid-tie inverter shutdown. In the video linked, it shows that his frequency went from 50 to 54, whereas mine only jumped to 50.7. Might be that Tesla isn't able to "know" what this upper limit frequency actually is, so it probably begins "probing" around 98% battery full, by incrementally increasing the frequency until it detects an inbound AC shutdown. It might remember that value for next time and allow itself to charge all the way to 100%, knowing it has an proven frequency target for inverter shutdown. Very clever!

EDIT 4: For anyone wondering how the PW2 Gateway works: I've just received a schematic of the work conducted by my installer. Hopefully it's a bit more meaningful to others, than it was to me!

PW2 Installation Schematic

  • 1
    Is it just a grid tie inverter or is it designed for off-grid applications too? Can you link to its manual in the question? Jun 22, 2020 at 18:51
  • @BrianDrummond Done. It is a grid-tie inverter.
    – ProxyTech
    Jun 22, 2020 at 20:21
  • Then it is supposed to shut down when disconnected from the grid. That's a fundamental safety requirement of grid tie inverters called "anti-islanding". The Powerwall fooled it - until the battery was full. Then like any grid with too much capacity and not enough load, its frequency rose until the inverter shut down. This is quite alarming : if you have a Grid Tie Inverter and a Tesla in charging mode, and the grid fails, do you power the local grid segment and electrocute the poor lineman sent out to fix it? Jun 22, 2020 at 21:37
  • This looks like a bug in either Tesla or inverter : I would report it to both suppliers, and check if both components are approved to G83/2. If not, this installation may not be technically legal in the UK. Jun 22, 2020 at 21:46
  • @BrianDrummond: Please read the opening lines of the question regarding the gateway device that provides a physical disconnection from the grid in the event of external power loss. It's DNO approved (I had to go through a multi week application process). You can read more here: westernpower.co.uk/connecting-energy-storage
    – ProxyTech
    Jun 22, 2020 at 23:22

1 Answer 1


Answer collated from comments...

Looks like there are three separate things going on here, with an interesting interaction...

  1. a Grid Tie inverter

This is supposed to shut down when disconnected from the grid. That's a fundamental safety requirement of grid tie inverters called "anti-islanding". When the grid fails, does your inverter power the local grid segment and electrocute the poor lineman sent out to fix it?

No, because the inverter senses the incoming mains voltage, and shuts itself down when the voltage disappears or the frequency is out of range. This is the fundamental feature of a grid tie inverter as opposed to an off-grid inverter.

  1. A battery storage system, the Tesla Powerwall. This charges itself when there is excess power available, and discharges when there is a power shortage. The question is, how does it know the state of the grid?

The power grid consists grid mainly of rotating machinery, which speeds up a little when lightly loaded (like a car rolling downhill). This means there is a good correlation between high demand and low frequency (and vice versa) which can be observed here

So we can speculate the Powerwall monitors frequency (as well as voltage) to supply power when frequency or voltage are low.

Fine, but what happens when the grid is disconnected? To charge, the Powerwall must generate AC voltage, both convincing the inverter to start up, and to power the house. Then it indicates its need for charge by keeping the frequency low, and when full, convinces the inverter to stop charging by raising the frequency.

When in this mode, turn on a decent load like a kettle. Watch the frequency fall, and the inverter re-start.

So the house is now an island with its own AC supply. But what about the poor lineman?

  1. The gateway.

If external AC mains is disconnected, the gateway provides further isolation, disconnecting your island from the external wiring, and won't re-connect until external power is re-established. (It must provide some way of synchronising the two grids in the process. I don't know how).

Now I think we can answer your questions...

  1. The Tesla signals it's full by increasing the frequency until the inverter stops generating excess power. Adding a load should reduce the frequency again.

  2. If there's excess energy (sunshine), no grid, and full batteries, the inverter simply doesn't draw current from the solar cells, which dissipate the excess power as heat, getting slightly warmer.

You can add a load dump (like a water heater) connected when the frequency rises, to capture this energy.

  1. the inverter SHOULD legally be set to UK (G83/2) standard if you're using it in the UK. Parameters like freq range, response time to faults, etc will then comply with UK rules.

  2. If the PV meter is in the inverter, it must measure power exported by the inverter (= power harvested from the solar cells) whether you use that internally, charge the battery, or export it.

To measure power exported to the grid, you need a smart meter that reads import and export power separately.

  • I do indeed have a water heater connected to the system to help "dump" some of the excess generation into... but with all the sun this week in the UK midlands, it's still been generating excess solar. Disconnecting myself from the grid was more of a test to see if the system was working as expected, and it appears to do so. Thank you for your answer on some of the other questions, they've proved very useful, and hopefully will to others also.
    – ProxyTech
    Jun 23, 2020 at 15:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.