SOC_private.h 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. /*
  2. * File: SOC_private.h
  3. *
  4. * Code generated for Simulink model 'SOC'.
  5. *
  6. * Model version : 1.24
  7. * Simulink Coder version : 9.4 (R2020b) 29-Jul-2020
  8. * C/C++ source code generated on : Thu Aug 12 17:54:23 2021
  9. *
  10. * Target selection: ert.tlc
  11. * Embedded hardware selection: Intel->x86-64 (Windows64)
  12. * Code generation objectives: Unspecified
  13. * Validation result: Not run
  14. */
  15. #ifndef RTW_HEADER_SOC_private_h_
  16. #define RTW_HEADER_SOC_private_h_
  17. #include "rtwtypes.h"
  18. #ifndef UCHAR_MAX
  19. #include <limits.h>
  20. #endif
  21. #if ( UCHAR_MAX != (0xFFU) ) || ( SCHAR_MAX != (0x7F) )
  22. #error Code was generated for compiler with different sized uchar/char. \
  23. Consider adjusting Test hardware word size settings on the \
  24. Hardware Implementation pane to match your compiler word sizes as \
  25. defined in limits.h of the compiler. Alternatively, you can \
  26. select the Test hardware is the same as production hardware option and \
  27. select the Enable portable word sizes option on the Code Generation > \
  28. Verification pane for ERT based targets, which will disable the \
  29. preprocessor word size checks.
  30. #endif
  31. #if ( USHRT_MAX != (0xFFFFU) ) || ( SHRT_MAX != (0x7FFF) )
  32. #error Code was generated for compiler with different sized ushort/short. \
  33. Consider adjusting Test hardware word size settings on the \
  34. Hardware Implementation pane to match your compiler word sizes as \
  35. defined in limits.h of the compiler. Alternatively, you can \
  36. select the Test hardware is the same as production hardware option and \
  37. select the Enable portable word sizes option on the Code Generation > \
  38. Verification pane for ERT based targets, which will disable the \
  39. preprocessor word size checks.
  40. #endif
  41. #if ( UINT_MAX != (0xFFFFFFFFU) ) || ( INT_MAX != (0x7FFFFFFF) )
  42. #error Code was generated for compiler with different sized uint/int. \
  43. Consider adjusting Test hardware word size settings on the \
  44. Hardware Implementation pane to match your compiler word sizes as \
  45. defined in limits.h of the compiler. Alternatively, you can \
  46. select the Test hardware is the same as production hardware option and \
  47. select the Enable portable word sizes option on the Code Generation > \
  48. Verification pane for ERT based targets, which will disable the \
  49. preprocessor word size checks.
  50. #endif
  51. #if ( ULONG_MAX != (0xFFFFFFFFU) ) || ( LONG_MAX != (0x7FFFFFFF) )
  52. #error Code was generated for compiler with different sized ulong/long. \
  53. Consider adjusting Test hardware word size settings on the \
  54. Hardware Implementation pane to match your compiler word sizes as \
  55. defined in limits.h of the compiler. Alternatively, you can \
  56. select the Test hardware is the same as production hardware option and \
  57. select the Enable portable word sizes option on the Code Generation > \
  58. Verification pane for ERT based targets, which will disable the \
  59. preprocessor word size checks.
  60. #endif
  61. /* Macros for accessing real-time model data structure */
  62. #ifndef rtmGetErrorStatus
  63. #define rtmGetErrorStatus(rtm) (*((rtm)->errorStatus))
  64. #endif
  65. #ifndef rtmSetErrorStatus
  66. #define rtmSetErrorStatus(rtm, val) (*((rtm)->errorStatus) = (val))
  67. #endif
  68. #ifndef rtmGetErrorStatusPointer
  69. #define rtmGetErrorStatusPointer(rtm) (rtm)->errorStatus
  70. #endif
  71. #ifndef rtmSetErrorStatusPointer
  72. #define rtmSetErrorStatusPointer(rtm, val) ((rtm)->errorStatus = (val))
  73. #endif
  74. extern const real_T rtCP_pooled_2yqyybnjRkAg[13];
  75. extern const real_T rtCP_pooled_Hq33G5zkPPgT[13];
  76. extern const real_T rtCP_pooled_4Oms9Dl3djxK[13];
  77. extern const real_T rtCP_pooled_ygMHmGen2OIb[13];
  78. extern const real_T rtCP_pooled_6SXVB9Ymnskr[13];
  79. extern const int16_T rtCP_pooled_5IPKsXGYnKyg[4];
  80. extern const int16_T rtCP_pooled_9BXJPVWA4BJI[3];
  81. extern const uint16_T rtCP_pooled_neXCembKU1Do[13];
  82. extern const uint16_T rtCP_pooled_qce4hcBQN8fp[4];
  83. extern const uint16_T rtCP_pooled_J4vL4j1Fk1zG[3];
  84. extern const uint16_T rtCP_pooled_Pg3wA7d95Txu[13];
  85. #define rtCP_SOCRp_tableData rtCP_pooled_2yqyybnjRkAg /* Computed Parameter: rtCP_SOCRp_tableData
  86. * Referenced by: '<S20>/SOC-Rp'
  87. */
  88. #define rtCP_SOCRp_bp01Data rtCP_pooled_Hq33G5zkPPgT /* Computed Parameter: rtCP_SOCRp_bp01Data
  89. * Referenced by: '<S20>/SOC-Rp'
  90. */
  91. #define rtCP_SOCC_tableData rtCP_pooled_4Oms9Dl3djxK /* Computed Parameter: rtCP_SOCC_tableData
  92. * Referenced by: '<S20>/SOC-C'
  93. */
  94. #define rtCP_SOCC_bp01Data rtCP_pooled_Hq33G5zkPPgT /* Computed Parameter: rtCP_SOCC_bp01Data
  95. * Referenced by: '<S20>/SOC-C'
  96. */
  97. #define rtCP_SOCRp_tableData_b rtCP_pooled_2yqyybnjRkAg /* Computed Parameter: rtCP_SOCRp_tableData_b
  98. * Referenced by: '<S29>/SOC-Rp'
  99. */
  100. #define rtCP_SOCRp_bp01Data_a rtCP_pooled_Hq33G5zkPPgT /* Computed Parameter: rtCP_SOCRp_bp01Data_a
  101. * Referenced by: '<S29>/SOC-Rp'
  102. */
  103. #define rtCP_SOCC_tableData_l rtCP_pooled_4Oms9Dl3djxK /* Computed Parameter: rtCP_SOCC_tableData_l
  104. * Referenced by: '<S29>/SOC-C'
  105. */
  106. #define rtCP_SOCC_bp01Data_o rtCP_pooled_Hq33G5zkPPgT /* Computed Parameter: rtCP_SOCC_bp01Data_o
  107. * Referenced by: '<S29>/SOC-C'
  108. */
  109. #define rtCP_SOCOCV_tableData rtCP_pooled_ygMHmGen2OIb /* Computed Parameter: rtCP_SOCOCV_tableData
  110. * Referenced by: '<S29>/SOC-OCV'
  111. */
  112. #define rtCP_SOCOCV_bp01Data rtCP_pooled_Hq33G5zkPPgT /* Computed Parameter: rtCP_SOCOCV_bp01Data
  113. * Referenced by: '<S29>/SOC-OCV'
  114. */
  115. #define rtCP_SOCRo_tableData rtCP_pooled_6SXVB9Ymnskr /* Computed Parameter: rtCP_SOCRo_tableData
  116. * Referenced by: '<S29>/SOC-Ro'
  117. */
  118. #define rtCP_SOCRo_bp01Data rtCP_pooled_Hq33G5zkPPgT /* Computed Parameter: rtCP_SOCRo_bp01Data
  119. * Referenced by: '<S29>/SOC-Ro'
  120. */
  121. #define rtCP_SOCOCV_tableData_c rtCP_pooled_ygMHmGen2OIb /* Computed Parameter: rtCP_SOCOCV_tableData_c
  122. * Referenced by: '<S20>/SOC-OCV'
  123. */
  124. #define rtCP_SOCOCV_bp01Data_a rtCP_pooled_Hq33G5zkPPgT /* Computed Parameter: rtCP_SOCOCV_bp01Data_a
  125. * Referenced by: '<S20>/SOC-OCV'
  126. */
  127. #define rtCP_SOCRo_tableData_n rtCP_pooled_6SXVB9Ymnskr /* Computed Parameter: rtCP_SOCRo_tableData_n
  128. * Referenced by: '<S20>/SOC-Ro'
  129. */
  130. #define rtCP_SOCRo_bp01Data_c rtCP_pooled_Hq33G5zkPPgT /* Computed Parameter: rtCP_SOCRo_bp01Data_c
  131. * Referenced by: '<S20>/SOC-Ro'
  132. */
  133. #define rtCP_uDLookupTable_bp01Data rtCP_pooled_5IPKsXGYnKyg /* Expression: socm_I_chrgCor
  134. * Referenced by: '<S39>/1-D Lookup Table'
  135. */
  136. #define rtCP_uDLookupTable_bp01Data_g rtCP_pooled_9BXJPVWA4BJI /* Expression: socm_I_disChrgCor
  137. * Referenced by: '<S40>/1-D Lookup Table'
  138. */
  139. #define rtCP_OCVSOC_bp01Data rtCP_pooled_neXCembKU1Do /* Expression: cmnm_V_ocv
  140. * Referenced by: '<S8>/OCV-SOC'
  141. */
  142. #define rtCP_OCVSOC_bp01Data_b rtCP_pooled_neXCembKU1Do /* Expression: cmnm_V_ocv
  143. * Referenced by: '<S5>/OCV-SOC'
  144. */
  145. #define rtCP_uDLookupTable_tableData rtCP_pooled_qce4hcBQN8fp /* Expression: socm_V_chrgCor
  146. * Referenced by: '<S39>/1-D Lookup Table'
  147. */
  148. #define rtCP_uDLookupTable_tableData_b rtCP_pooled_J4vL4j1Fk1zG /* Expression: socm_V_disChrgCor
  149. * Referenced by: '<S40>/1-D Lookup Table'
  150. */
  151. #define rtCP_OCVSOC_tableData rtCP_pooled_Pg3wA7d95Txu /* Expression: cmnm_pct_soc
  152. * Referenced by: '<S8>/OCV-SOC'
  153. */
  154. #define rtCP_OCVSOC_tableData_b rtCP_pooled_Pg3wA7d95Txu /* Expression: cmnm_pct_soc
  155. * Referenced by: '<S5>/OCV-SOC'
  156. */
  157. #endif /* RTW_HEADER_SOC_private_h_ */
  158. /*
  159. * File trailer for generated code.
  160. *
  161. * [EOF]
  162. */