Update TESLA-BATTERY.cpp

This commit is contained in:
josiahhiggs 2024-12-25 21:38:58 +13:00
parent 76efc1528f
commit 7edba4efc6

View file

@ -66,7 +66,8 @@ static uint16_t battery_bms_min_voltage = 0;
//0x2b4: 692 PCS_dcdcRailStatus
static uint16_t battery_dcdcHvBusVolt = 0; // Change name from battery_high_voltage to battery_dcdcHvBusVolt
static uint16_t battery_dcdcLvBusVolt = 0; // Change name from battery_low_voltage to battery_dcdcLvBusVolt
static uint16_t battery_dcdcLvOutputCurrent = 0; // Change name from battery_output_current to battery_dcdcLvOutputCurrent
static uint16_t battery_dcdcLvOutputCurrent =
0; // Change name from battery_output_current to battery_dcdcLvOutputCurrent
//0x292: 658 BMS_socStatus
static uint16_t battery_beginning_of_life = 600; // kWh
static uint16_t battery_soc_min = 0;
@ -663,7 +664,8 @@ static bool battery2_ShuntHwMiaFault = false; //Warns if the shunt current read
static bool battery2_PyroMiaFault = false; //Warns if the pyro squib is not connected
static bool battery2_hvsMiaFault = false; //Warns if the pack contactor hw fault
static bool battery2_hviMiaFault = false; //Warns if the FC contactor hw fault
static bool battery2_Supply12vFault = false; //Warns if the low voltage (12V) battery is below minimum voltage threshold
static bool battery2_Supply12vFault =
false; //Warns if the low voltage (12V) battery is below minimum voltage threshold
static bool battery2_VerSupplyFault =
false; //Warns if the Energy reserve voltage supply is below minimum voltage threshold
static bool battery2_HvilFault = false; //Warn if a High Voltage Inter Lock fault is detected