battery_sim icon indicating copy to clipboard operation
battery_sim copied to clipboard

Add Min & Max State Of Charge of the battery

Open Neuvidor opened this issue 1 year ago • 2 comments

Dear,

Is there a way to add Minimum and Maximum State of Charge of the battery ?

As you know, LFP battery have the best lifetime if we use them between 20% and 80%. Would be good to be able to set these parameters into your simulation.

Example : battery_sim: battery_under_test: name: Battery Under Test import_sensor: sensor.circuitsetup_cumulative_import_energy_kwh export_sensor: sensor.circuitsetup_cumulative_export_energy_kwh size_kwh: 13.5 max_discharge_rate_kw: 5.0 max_charge_rate_kw: 3.68 efficiency: 0.9 energy_tariff: 0.184 min_soc: 20 max_soc: 80

Neuvidor avatar Feb 17 '24 22:02 Neuvidor

Will consider for the future if more people request it. However, you can achieve this with an automation that automatically changes the battery to "discharge only mode"/"charge only mode" when it reaches a certain charge level or simply reduce the size of the battery to be only 60% of the real battery size.

hif2k1 avatar Feb 18 '24 20:02 hif2k1

Most battery management systems have the minimum SOC set to 5% to not damage the battery discharging below this value. So manually setting this Min_SOC value in your addon would be very appreciated.

The tip with the automation is a good one, when you want to test how much money you still save when enlarging the lifetime of your battery.

kreisklasse avatar May 11 '24 11:05 kreisklasse