Hi,
I’m fairly new to HA - I can create entities, write basic automations etc - for example, turn things on and off based on basic power calculations (usage V production etc).
I also am an Amber customer and on variable feed in and out tariffs.
I’m trying to set my system up similar to you - where I can stop exporting power when it’s costing to do so.
My set up is a little complicated - so I’ll give you a basic image of how it all hangs together and then see if you can offer me any help or advice.
Firstly I have 2 fronius invertors (gen 24) one that is connected to phase 1 of my house and the other one connected to phase 2. This second Fronius also is connected to a battery (BYD).
Due to limits on export, neither of these two Fronius are allowed to export to the grid.
Sitting above these two is a Enphase system that is connected to both phases and this one CAN export to the grid. This Enphase is a 8kW system.
I’m in Melbourne and as such, at the moment, the sun is shining - meaning I’m generating on all three invertors.
What tends to happen is that the first Fronius (F1 no battery) runs phase 1 of the house during the day and “self limits” - if the draw from the house on that phase is lower than the capacity of the array, it just produces what that phase needs.
The second Fronius (F2 with Battery) runs phase 2 of the house and fills the battery with any excess that the inverter can supply. I’ve also set up the battery to drag in as much power as possible between 0900 and 1500 as after this time is when the spikes in power can occur and I want the battery to be full at this time.
Whilst the above is happening, the envoy from the Enphase system just bangs out as much as it can produce - meaning if there is no load from the house (as the Fronius 1 and 2 are happily coping or the battery is already full for example and it’s sunny) then it will export 8kW to the grid - regardless of price positive or negative.
I’ve been told by Enphase that their system cannot be dynamically controlled - I can’t dial back the solar production to stop it producing more than the net load on the house.
So the only option I’ve got is to somehow control the Fronius (F1 and F2) solar production to drop them down so the Enphase has to shove the solar it is exporting to the grid into the house - as the sun gets sunnier - back off F1 and F2 more and if the clouds come in ramp them up - the idea being that if price is below zero - don’t export - but equally manage the inverters so I don’t end up importing from the grid to top up the house……
The Fronius 1 inverter sees “Grid power” but this is actually the power that is coming to it from the Envoy - it could be grid power, (at night for example) or it could be solar that the envoy is passing through to support the demand that the phase is calling for.
For example, if phase 1 from the house is drawing 4kW and F1 array is producing 3kW, the app shows F1 as drawing 1kW from the grid. However, if the envoy is producing 4kW then this 1kW that F1 is “importing” is actually coming from solar not the grid - the Fronius cannot differentiate.
But I have all the sensors etc and have set up a dashboard to monitor what is going on - it appears that the F1 and F2 invertors will supply their phases first (F2 will supply battery first) then the envoy will top up either phase with the gap and if there is not enough to cope it draws from the grid and if there is more than enough the envoy exports. I want to see if I can somehow, using the draw from the house and battery, and comparing it with total solar, I can limit each fronius to make sure all the envoy generated power is fed into the house to fill the gap rather than export IF amber price is below zero….
I know that’s probably all very complicated - but you seem to (1) have a good understanding of yaml code (2) have a similar desire to me in terms of not paying to export (3) have a layered system (4) and have said you are happy to help !!! (or you were when you wrote this last year!!!
Would love to hear any suggestions you have and snippets of code that might help…
Thanks for reading this so far.
Andy