This automation will react on changes of energy imported or exported from the grid.
It will control the Photovoltaic power generation by setting the limit to a value avoiding exporting to the grid
Required sensors / entities
GridPowerMeters:
Sensors measuring Grid import or export e.g. all 3 phases in W.
All power meters will be summed up to define the total grid import or export.
PVPowerMeters:
Sensors measuring PV Generation in W
If sevaral Sensors are selected, those will be summed up.
NonPersistantLimit:
Entity to set the non persistant absolut limit in W. It should be the non persistant limit to avoid too many writes towards the flash memory.
InverterOnlineStatus:
Entity indicating if the inverter is available (‘On’ → available)
Kudos for the simple algorithm and idea go to:
Change log
Version: 0.0.3 - Add parameter to define, at which feed in power the controller will get active. Also add parameter to select the control mode Version: 0.0.2 - Improve Error handling in case sensors are unavailable Version: 0.0.1 - Initial commit
I meant free from the perspective of the electricity company.
So in the end you don’t want to make someone a good profit. Fair enough! I would probably do the same or even buy a small battery.
Currently you are allowed in Germany to install a PV system with up to 600 W AC generation power with hardly any requirments and registration efforts towards the grid operators.
If you want to install systems with higher power you need to ensure by technical means, that you will not feed into the grid. (If you want to avoid the registration efforts)
This works great with a wallbox that also collects the data (Zappi) and a Hoymiles 600
It would be great if this would be an accepted way in germany to avoid the bureaucracy when you just want to add two panels to your roof installation to cover you winter usage better.
If your system costs is what you payed to install the installation.
Then you do not have any “running” costs.
So if you diminish your generation you get nothing.
if you put it to the grid you get 4cent.
I think you are better of getting 4cent.
BTW i think you calculated your “cost” of running your installation wrong.
Because otherwise you better be stopping your installation completely. As your cost of “running” is higher than what you pay your electricity company.
A correct way to calculate the cost of each kWh you generate is called LCOE (Levelized Cost of Energy)
Its the installation cost / amount of energy generated over its lifetime
Assuming your installation costs 5000€
it will probably last for 25years
And produce 4500kwh/y
The LCOE will be 5000€/ (25y*4500kWh/y) = 0.044€/kWh
(please insert your own assumptions)
so if i’m not mistaken you will produce at “Break Even” when you send it to the grid
And lose money if you reduce your generation to not go to the grid.
You will also increase the marginal “cost” of running your installation less.
The best way YOU win money. is to increase your own usage of your own produced energy by utilizing it immediately.
That way you avoid the 0.31-0.45 € another time (which is higher than the LCOE)