flixlix / power-flow-card-plus

A power distribution card inspired by the official Energy Distribution card for Home Assistant
559 stars 68 forks source link

[FEATURE REQUEST] Fossil Fuels/Renewables when renewable supply is over 100% #675

Open Budgiebrain994 opened 1 month ago

Budgiebrain994 commented 1 month ago

Is your feature request related to a problem? Please describe. When the fossil fuels sensor goes above 100%, the card wraps the value back to 0% and shows the remaining percentage. For example, if the sensor value is 125% and we are consuming 1kW of electricity, the card assumes a value of 25% for the sensor and shows 250W of renewable power, when it's actually the full supply being provided by renewable electricity.

image

image

Describe the solution you'd like I would like to see the card show the actual percentage value, and if that value is over 100%, show (perhaps in the secondary value) the total power being supplied into the grid as being renewable.

Describe alternatives you've considered I have tried setting the secondary info to show the raw value of the renewables sensor, which correctly shows the percentage, but it doesn't solve the problem of incorrectly showing the state of renewables in the grid.

image

Additional context For each state in Australia, the National Energy Market Operator provides a percentage base on the current renewable energy supply compared to the current power demand. In some cases, the renewable supply is well beyond the demand in a particular state, so that power is exported to other states. As such, the percentage displayed is over 100%.

image

Thanks for your consideration.

wepster commented 1 week ago

Why/how you have more the 100%?

Budgiebrain994 commented 1 week ago

Why/how you have more the 100%?

Imagine that the grid needs 100 GW of electricity. It's really sunny, so our renewable energy sources are actually producing 120 GW of power. Therefore, 120% of the demand is supplied by renewable energy. That's what our energy provider tells us the percentage is.

wepster commented 1 week ago

wow, thats weird If there is need for 100GW of electricity, grid provide exactly 100GW of electricity. Otherwise, (assuming you have some rotating generators like these in thermal plants) they would speed up and increase grid frequency. Grid frequency is most sacred parameter of grid operation :). (thats why grids use pump-hydro storage, batteries or fast gas plants, to follow demand). I assume, that when grid needs specified power, and you energy provider has more green power installed then they say supply is over 100%. But this seems like some kind of cheat or marketing stunt. Regardless it's up to developers what to do with value over 100%. In my opinion it should never be over 100% (because physics) in the first plase.

Budgiebrain994 commented 1 week ago

I understand that the frequency would indeed change if over 100% was supplied. But our state (South Australia) exports that extra electricity to Victoria, our neighbours. So the extra supply is used by others, but that exported electricity is not used in the calculation of our demand.