You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is likely due to the fact that the tooltip shows all available electricity (production + imports) even when the app is set to production. So while it's a bug it's not related to the precentages.
Oh right. I set the app to consumption and this happens:
now the percentage for solar is OK.
As you mentioned, I expect in production mode to see the correct share of production for a selected energy source.
madsnedergaard
changed the title
Wrong percentage calculation in UI
Production graph tooltip is showing total consumption GW instead of only production GW
Aug 7, 2023
Describe the bug
![IMG_5678](https://private-user-images.githubusercontent.com/2758346/258590614-1dc4ccbc-c73b-448e-97b7-c4443ed507fb.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE1NTY2OTcsIm5iZiI6MTcyMTU1NjM5NywicGF0aCI6Ii8yNzU4MzQ2LzI1ODU5MDYxNC0xZGM0Y2NiYy1jNzNiLTQ0OGUtOTdiNy1jNDQ0M2VkNTA3ZmIuanBlZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIxVDEwMDYzN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFlYTU4ZjZiNzljZDA0ZDkxYjM4NjFhNjdmYmIxZTc0Y2JhMWY2Mzg0YWM1MTFmNzBhNDViYmRlYjYwY2YyZTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.L27BQ7C7nVYMVAE9UVd_0-MrpdvA8x6S3z9rO-rys84)
See screenshot
Chart shows a total power of about 0,6GW. However, the percentage calculation of solar (shown at 22%) uses a power of 1,66GW.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
According to the chart, solar needs to be much higher than 22%
Smartphone (if relevant):
The text was updated successfully, but these errors were encountered: