@MrPablo @shvm @Der_Hannes and other
@Fahmula @ScrotpusGobbleBottom
To simplify and meet the different configurations
15S/16S or
LFP/Li-ion/LTO I think I will remove a lot of options to modify before compiling by something simpler. The default values will be automatically calculated according to the battery chemistry and the number of cells.
I will take safe values as defaults like for example for LFP :
- Bulk : 3.45V
- Float : 3.35V
- Rebulk : 3.3V
- Absorption Offset : 0.1V
- Inverter Offset V. : 0.0V
This will automatically set the
min/max and default values which can be changed in HA or Web.
If I take the example of a
15S LFP the values will be:
- Bulk min : 3.37 * 15 = 50.55V
- Bulk max : 3.65 * 15 = 54.75V
- Bulk default : 3.45 * 15 = 51.75V
What do you think?
Now :
YAML:
yambms1: !include
file: packages/yambms/yambms.yaml
vars:
# Please read the cut off charging logic README to understand how the YamBMS works
yambms_id: 'yambms1'
yambms_name: 'YamBMS 1'
yambms_update_interval: '1s'
# Input numbers can be displayed as a slider or an input box, options are 'slider' or 'box'.
yambms_input_number_mode: 'slider'
# Number of cells in series, 16S by default
# In the case where a cell is defective with a BMS reporting one cell less than reality, this avoids sending bad charging parameters to the inverter.
yambms_cell_count: '16'
# Bulk / Absorption Voltage : corresponds to the Bulk voltage that will be used to charge the battery. (55.2V = 3.45V/Cell for 16S battery)
yambms_bulk_v: '55.2'
# Float Voltage : corresponds to the voltage at which the battery would be maintained at the end of the absorption phase. (53.6V = 3.35V/Cell for 16S battery)
yambms_float_v: '53.6'
# Rebulk voltage, voltage less than FLOAT at which BMS requests rebulk. (52.8V = 3.3V/Cell for 16S battery)
yambms_rebulk_v: '52.8'
# Allows the charging process to complete within 30 minutes even if the cells are still equalizing
# This timer can be deactivated with a switch
yambms_eoc_timer: '30'
# Time in seconds during which the end of charge conditions must be respected (cut-off + cells not equalizing)
yambms_cutoff_timer: '60'
# Absorption Offset V.
yambms_absorption_offset_v: '0.1'
yambms_absorption_offset_v_slider: 'false' # true: the slider is hidden, false: the slider is available
# Inverter Offset V. allows you to correct the inverter charging voltage.
# Requested Charging Voltage = Bulk. V + Inverter Offset V.
yambms_inverter_offset_v: "0.1"
yambms_inverter_offset_v_slider: 'false' # true: the slider is hidden, false: the slider is available
# Maximum charging cycles is used to calculate the battey SOH, LF280K v3 =8000.0, LF280K v2 =6000.0, LF280=3000.0 (decimal is required)
yambms_max_cycles: '6000.0'
# Cutoff Charging Logic
yambms_cutoff_cvmin: '3.37' # LFP 3.37 - Li-ion 3.90
yambms_cutoff_cvmax: '3.65' # LFP 3.65 - Li-ion 4.20
After :
YAML:
yambms1: !include
file: packages/yambms/yambms.yaml
vars:
# Please read the cut off charging logic README to understand how the YamBMS works
yambms_id: 'yambms1'
yambms_name: 'YamBMS 1'
yambms_update_interval: '1s'
# Input numbers can be displayed as a slider or an input box, options are 'slider' or 'box'.
yambms_input_number_mode: 'slider'
# Battery Chemistry
yambms_battery_chemistry: '1' # 1-LFP | 2-Li-ion | 3-LTO
# Number of cells in series, 16S by default
# In the case where a cell is defective with a BMS reporting one cell less than reality, this avoids sending bad charging parameters to the inverter.
yambms_cell_count: '16'
# Allows the charging process to complete within 30 minutes even if the cells are still equalizing
# This timer can be deactivated with a switch
yambms_eoc_timer: '30'
# Time in seconds during which the End Of Charge conditions must be respected (cut-off + cells not equalizing)
yambms_cutoff_timer: '60'
# Maximum charging cycles is used to calculate the battey SOH, LF280K v3 =8000.0, LF280K v2 =6000.0, LF280=3000.0 (decimal is required)
yambms_max_cycles: '6000.0'