Energy into battery does not count as selfconsumption

I have a home battery from witch i live autonomously from march to September.
However the engergy dashbord does not count KWh into the battery as self consumption

i would expect self-consumption solar to be ~75 %

What goes from your solarp to your battery, is storage, Not consumption
What goes from your battery is either consumption Or Net-exp.-to grid

PS: Maybe the new update to sankey-charts fix that , that is if you have a sensor, from Battery to Consumption/Grid

Solar Self Consumption is all the solar that is produced and used by the home rather than being returned to the grid.

This is a simple calculation where there are no batteries involved.

Where there is a battery, any solar that goes to the battery is regarded as not consumed, and also not returned to the grid, just stored. When this stored energy is returned (later) if it is consumed then that is added to the ‘solar consumed’ figure.

Since there are seven different energy pathways:

grid → consumption
grid → battery
battery → grid
battery → consumption
solar → consumption
solar → grid
solar → battery

the energy dashboard attempts to compute each pathway, for each hour. The data coming from the long-term hourly statistics.

There is not enough information to work all of this out exactly, so the calculations use a priority rule. Any grid import is first assumed to go to consumption, then to charge the battery [which is not regarded as solar generation].
Any battery discharge is first assumed to go to the grid, then consumption, and so on.

This is quite complicated, as for example battery discharge for each hour, where there is any, will be assigned first to grid export, but only if there was grid export during that hour. This means that, if there is battery discharge to run the consumption for the first half-hour, then in the second half of the hour there is excess solar generation that gets exported to grid, when the calculations are done the ‘seen battery discharge’ will be allocated to the ‘grid export’ and the solar to the consumption.

The 53% is correct, but the only way to check this is to download the data for the day into a spreadsheet and go through it carefully.

So for my data, for today so far, the solar production is 18.37 kWh.
The “calculated-total-consumption” is 11.33 kWh, so clearly I have not used all my solar. Most of this has gone to charge the battery

The sum of the hourly “calculated-consumed-solar” is 8.39 kWh
The sum of the hourly “calculated-solar-to-battery” is 9.86 kWh, which means I have ‘not sent to grid’ 18.25 kWh, which makes my self consumption 99% (which is what the dashboard shows).

So, yes, energy into the battery does indeed count as self consumption, and if you want to know why your figure is 53% then you will have to look at the hourly calculated figures.

i don’t understand it at all. now i also get negative consumption numbers

Consumption is

Solar + Grid Import + Battery Discharge - Grid Export - Battery Charge

If you have a negative value, then the reason is almost certainly an incorrect sensor value or a reversed polarity.

Import, Export, Change, Discharge energy values must all be positive numbers.