hif2k1 / battery_sim

Home assistant home battery simulator - allows you to model how much energy you would save with a home battery
106 stars 13 forks source link

Feature Request, cycle count #62

Closed Jeffaffa closed 1 year ago

Jeffaffa commented 1 year ago

Hi,

Most batteries have a certain amount of battery cycles in them. Is it possible to simulate this as well?

hif2k1 commented 1 year ago

That is a good idea. Would you consider a full charge and full discharge to be one cycle? i.e. is the number of cycles = total energy going through the battery / battery capacity? It is hard because obviously most o the time the battery might only partially charge and partially discharge. Not sure how this is calculated in a real battery and whether they have easy of spreading the wear across the cells.

On Thu, 9 Feb 2023 at 11:36, Jeffaffa @.***> wrote:

Hi,

Most batteries have a certain amount of battery cycles in them. Is it possible to simulate this as well?

— Reply to this email directly, view it on GitHub https://github.com/hif2k1/battery_sim/issues/62, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFAIZGJAJRRN6WZ7O36PFBDWWTJDDANCNFSM6AAAAAAUWN5A54 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

hif2k1 commented 1 year ago

I have added a cycle counter in the latest release. Hope it works ok for you.

Jeffaffa commented 1 year ago

Thanks! I wanted to ask if it is possible to have a second export sensor. In the weekends i switch to a low tariff and the sim stops during that time and starts again on monday. Shall i make a new request for that?