Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect subtraction of energy send to grid #20767

Open
4 tasks done
AlexJacu opened this issue May 9, 2024 · 4 comments
Open
4 tasks done

Incorrect subtraction of energy send to grid #20767

AlexJacu opened this issue May 9, 2024 · 4 comments

Comments

@AlexJacu
Copy link

AlexJacu commented May 9, 2024

Checklist

  • I have updated to the latest available Home Assistant version.
  • I have cleared the cache of my browser.
  • I have tried a different browser to see if it is related to my browser.
  • I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.

Describe the issue you are experiencing

When i look at Energy Dashboard, i found, thar the amount of "Netz gesamt" and "Aus dem Netz verbraucht" are not correct. I have to pay for all energy i have received from network and get much less for energy i send to network. So the calculation for money is correct. But the amount of energy i received from network is NOT reduced if i send energy back. Therefore the other calculations for self consumption are perhaps also not correct.
Screenshot_20240509-111159

Describe the behavior you expected

The amount of energy received from grid is not redused, if I send energy back to grid. Consumption and feed-in do not happen at the same time and therefore do not cancel each other out.

Steps to reproduce the issue

1.add a powermeter two-way
2. Add same powermeter using send to grid
3. Add Photovoltaik energy meter
4.
Screenshot_20240509-112053
Screenshot_20240509-112021

What version of Home Assistant Core has the issue?

core-2024.5.2

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

Doesn't matter

Which operating system are you using to run this browser?

Doesn't matter

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

I would prefer to add a possibility in energy Dashboard To declare Whether the electricity fed into the grid should be deducted from the electricity purchased or not.

@ChristophCaina
Copy link

This graph is working as intended, because it is showing the net consumption you've taken from the grid.
There are several discussions in social media and the forum about this - especially for Installations in Germany, where we have two way meters and count the grid export independend from the grid import... but the dashboard is basically showing exactly what it is designed for.

An option that could be considered would be a setting, where the user could decide, if the energy dashboard should show the NET import/export or import / export independend from each other.

grafik
grafik

@c7n
Copy link

c7n commented May 31, 2024

Hi ChristophCaina,
maybe I can step in into this discussion as well. First of all, thank you for your explanation. I still struggle / missunderstand your answer.

For me it is confusing that the consumed energy from the grid is reduced by the energy I've sent to the grid. When I have consumed 8 kWh and I have sent 2 kWh back to the grid I still have consumed 8 kWh from the grid and not 6 (8 kWh from grid - 2 kWh to grid). I think it is hard to understand what is done here.
Also: In the row of "Netz gesamt" (as it says) I would expect the 8 kWh (because I have consumed 8 kWh from the grid). Furthermore, when I have entered a price for the energy from the grid (and no price set for the energy to the grid) I get displayed the same price for the 8 kWh as well as for the 6 kWh. That is very confusing. It would be even more confusing, if you have maintained a price for the energy sent back to the grid.

What do you / others think about that?

Thank you and BR, Christian

@ChristophCaina
Copy link

Hi @c7n,
the idea behind the energy dashboard - and the way how it is calculating the data is pretty simple.
First of all, I agree with your statement, that you have still consumed 8 kWh and not 6 kWh.

Here, we need to differenciate between the different graphs.
The gauge will always show your production compared to your consumption of the grid - so for example, if you have taken 6 kWh from the grid, but also exported 6 kWh to the grid, you are Net zero, because you just produced exactly the same amount of energy than you have taken.
It doesn't matter, when you have imported or exported the energy.

The Idea behind this to optimize your energy usage in a way to be grid neutral - the goal should be to have a zero balance in production and import - or, like in my example to be net Positive, which means, I export more to the grid than I import in total.

The same applies for "Net gesamt".

There are multiple countries where your exported energy will be substracted from your imported energy.
It's mostly in Germany and some other countries where this will be calculated differently... And I agree, that the energy Dashboard could provide some funcionallity to consider those setups - but in this case, this would probably be a feature request / architecutural discussion, rather than a bug report - because right now, the Dashboard itself is working as it was intended and designed to (in my opinion - and I am using the dashboard since it was introduced in 2021)

@AlexJacu
Copy link
Author

AlexJacu commented May 31, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants