I want to add support for 80 cell cars , the i-Miev has 88 cell all model year, but the clones are 80 cell from 2013 model year. What's the good implement for this. 1) Create a config, and user can set it 2) Automatically get from VIN number and set it. And a nother question, where set the BmsSetCellArrangementVoltage() and BmsSetCellArrangementTemperature(); Now set in OvmsVehicleMitsubishi::OvmsVehicleMitsubishi() I now created the first for testing. I added BmsSetCellArrangementVoltage(80,8) BmsSetCellArrangementTemperature(60, 6) in: void OvmsVehicleMitsubishi::ConfigChanged(OvmsConfigParam* param) if checkbox checked, but in dasboard show all the 88 cell data if set to 80 cell. This is because the vestor has 88 values, or because 80/88 cell cars delivers 88 cell values? I don't understand why send 80 cell cars 88 cell data (8 fake?) If i add "MyConfig.GetParamValueBool("vehicle", "bms.alerts.enabled", false);" to OvmsVehicleMitsubishi::OvmsVehicleMitsubishi() i can disable bms alerts for default?
On 05.02.2019 20:54, Tamás Kovács wrote:
What's the good implement for this. 1) Create a config, and user can set it 2) Automatically get from VIN number and set it.
You can set config value, but set the default value by calculating the voltage. There are no overlap of the voltage of the 88cell pack and the 80 cell pack. 80 cells at 4.10V = 328.0V (target voltage while charging (CV)) 80 cells at 4.12V = 329.6V (max volt when regen) 88 cells at 3.00V = 264.0V In order to get close to the max of the 80 cell the 88 cell pack have to have an average cell-volt of 2.61V, while the BMS reports in my logs reports 8.5%SOC at a average cell voltage of 3.09. if (StandardMetrics.ms_v_bat_voltage->AsFloat() > 340 ) { // set gauge for 88 cell back } else { //set gauge for 80 cell pack }
participants (2)
-
Michael Eric Menk -
Tamás Kovács