mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-03 17:59:27 +02:00
Force SOC to 99pct during balancing
This commit is contained in:
parent
cc6761a8a5
commit
5ec554708e
1 changed files with 1 additions and 0 deletions
|
@ -904,6 +904,7 @@ void update_values_battery() { //This function maps all the values fetched via
|
|||
|
||||
// During forced balancing request via webserver, we allow the battery to exceed normal safety parameters
|
||||
if (datalayer.battery.settings.user_requests_balancing) {
|
||||
datalayer.battery.status.real_soc = 9900; //Force battery to show up as 99% when balancing
|
||||
datalayer.battery.info.max_design_voltage_dV = datalayer.battery.settings.balancing_max_pack_voltage_dV;
|
||||
datalayer.battery.info.max_cell_voltage_mV = datalayer.battery.settings.balancing_max_cell_voltage_mV;
|
||||
datalayer.battery.info.max_cell_voltage_deviation_mV =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue