#include "BCUCal.h" #include "rtwtypes.h" #include "zero_crossing_types.h" #include "BCU_types.h" const real32_T cmnc_Q_ratedCp = 228.0F; const real32_T cmnc_V_chrgLim = 3.65F; const uint16_T cmnc_tm_parkTime = 1800U; const real32_T cmnm_V_ocv[13] = { 3.018F, 3.2036F, 3.2097F, 3.2576F, 3.2883F, 3.2907F, 3.2925F, 3.3151F, 3.329F, 3.3291F, 3.3302F, 3.3307F, 3.365F } ; const real32_T cmnm_ohm_Ro[13] = { 0.306009889F, 0.293365866F, 0.294491231F, 0.290013522F, 0.291111976F, 0.290009171F, 0.28747189F, 0.284085929F, 0.283806592F, 0.27988553F, 0.279870868F, 0.278482974F, 0.276800454F } ; const real32_T cmnm_ohm_polar[13] = { 1.43450201F, 0.800092101F, 0.608645558F, 0.56587553F, 0.52925235F, 0.52018106F, 0.478027344F, 0.592651367F, 0.510180533F, 0.489099532F, 0.491442382F, 0.431143075F, 1.02923763F } ; const real32_T cmnm_pct_soc[13] = { 0.0F, 5.0F, 10.0F, 20.0F, 30.0F, 40.0F, 50.0F, 60.0F, 70.0F, 80.0F, 90.0F, 95.0F, 100.0F } ; const real32_T cmnm_tm_polar[13] = { 24.9392738F, 18.0995693F, 15.3243456F, 17.183382F, 18.5551472F, 20.927927F, 20.1533337F, 24.603363F, 21.9573078F, 23.9220982F, 24.5421619F, 22.1783905F, 38.8431358F } ; const real32_T damc_tm_step = 0.1F; const uint16_T socc_Nr_judge = 20U; const real32_T socc_pct_battSocLow = 0.0F; const real32_T socc_pct_battSocUp = 100.0F; const real32_T socc_pct_chrgCCV = 97.0F; const real32_T socc_pct_disChrgCCV = 5.0F; const real32_T socc_pct_fitRate = 0.1F; const real32_T socc_tm_step = 0.1F; const real32_T socm_I_chrgCor[2] = { 76.0F, 250.0F } ; const real32_T socm_I_disChrgCor[2] = { -200.0F, -100.0F } ; const real32_T socm_V_chrgCor[2] = { 3.47F, 3.573F } ; const real32_T socm_V_disChrgCor[2] = { 2.98F, 3.02F } ; const real32_T socm_V_emptyV[2] = { 2.5F, 2.5F } ;