BCUDisp.c 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. #include "BCUDisp.h"
  2. #include "rtwtypes.h"
  3. #include "zero_crossing_types.h"
  4. #include "BCU_types.h"
  5. real32_T damd_E_chrgEng;
  6. real32_T damd_E_disChrgEng;
  7. real32_T damd_E_regenEng;
  8. real32_T damd_E_totalChrgEng;
  9. real32_T damd_E_totalChrgEngEi;
  10. real32_T damd_E_totalChrgEngEo;
  11. real32_T damd_E_totalDisChrgEng;
  12. real32_T damd_E_totalDisChrgEngEi;
  13. real32_T damd_E_totalDisChrgEngEo;
  14. real32_T damd_E_totalRegenEng;
  15. real32_T damd_E_totalRegenEngEi;
  16. real32_T damd_E_totalRegenEngEo;
  17. real32_T damd_E_totalSatChrgEng;
  18. real32_T damd_E_totalSatChrgEngEi;
  19. real32_T damd_E_totalSatChrgEngEo;
  20. real32_T damd_E_totalVehChrgEng;
  21. real32_T damd_E_totalVehChrgEngEi;
  22. real32_T damd_E_totalVehChrgEngEo;
  23. uint16_T damd_Nr_totalChg;
  24. uint16_T damd_Nr_totalChgEi;
  25. uint16_T damd_Nr_totalChgEo;
  26. uint16_T damd_Nr_totalVehChrg;
  27. uint16_T damd_Nr_totalVehChrgEi;
  28. uint16_T damd_Nr_totalVehChrgEo;
  29. real32_T damd_Q_chrgCp;
  30. real32_T damd_Q_disChrgCp;
  31. real32_T damd_Q_regenCp;
  32. real32_T damd_Q_totalChrgCp;
  33. real32_T damd_Q_totalChrgCpEi;
  34. real32_T damd_Q_totalChrgCpEo;
  35. real32_T damd_Q_totalDisChrgCp;
  36. real32_T damd_Q_totalDisChrgCpEi;
  37. real32_T damd_Q_totalDisChrgCpEo;
  38. real32_T damd_Q_totalRegenCp;
  39. real32_T damd_Q_totalRegenCpEi;
  40. real32_T damd_Q_totalRegenCpEo;
  41. uint8_T damd_st_chgCnctObjEi;
  42. uint8_T damd_st_chgCnctObjEo;
  43. chrgSt dcmd_st_chrgSt_T2;
  44. chgCnctObj hvmd_st_chgCnctObj_T2;
  45. real32_T ihd_I_battCurr_T2;
  46. real32_T ihd_V_battU_T2;
  47. real32_T ihd_V_cellUAvrg;
  48. real32_T ihd_V_cellUMax;
  49. real32_T ihd_V_cellUMin;
  50. real32_T ihd_pct_socCor;
  51. uint8_T ihd_tm_dayEi;
  52. uint8_T ihd_tm_dayEo;
  53. uint8_T ihd_tm_hourEi;
  54. uint8_T ihd_tm_hourEo;
  55. uint8_T ihd_tm_minEi;
  56. uint8_T ihd_tm_minEo;
  57. uint8_T ihd_tm_monthEi;
  58. uint8_T ihd_tm_monthEo;
  59. uint16_T ihd_tm_parkTime;
  60. uint32_T ihd_tm_realTime;
  61. uint8_T ihd_tm_secEi;
  62. uint8_T ihd_tm_secEo;
  63. uint8_T ihd_tm_yearEi;
  64. uint8_T ihd_tm_yearEo;
  65. boolean_T ihv_flg_EESt[4];
  66. uint8_T rted_tm_day;
  67. uint8_T rted_tm_hour;
  68. uint8_T rted_tm_min;
  69. uint8_T rted_tm_month;
  70. uint8_T rted_tm_sec;
  71. uint8_T rted_tm_year;
  72. boolean_T rtev_flg_EESt[4];
  73. real32_T socd_Q_dMax;
  74. real32_T socd_Q_dMin;
  75. boolean_T socd_flg_EEsave;
  76. real32_T socd_pct_ahSoc;
  77. real32_T socd_pct_battSoc;
  78. real32_T socd_pct_battSocEi;
  79. real32_T socd_pct_battSocEo;
  80. real32_T socd_pct_bcuSoc;
  81. real32_T socd_pct_bcuSocEi;
  82. real32_T socd_pct_bcuSocEo;
  83. real32_T socd_pct_ekfSoc;
  84. real32_T sohd_pct_bcuSoh;