123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173 |
- /*
- * File: SOH.h
- *
- * Code generated for Simulink model 'SOH'.
- *
- * Model version : 1.38
- * Simulink Coder version : 9.4 (R2020b) 29-Jul-2020
- * C/C++ source code generated on : Thu Sep 9 18:12:51 2021
- *
- * Target selection: ert.tlc
- * Embedded hardware selection: Intel->x86-64 (Windows64)
- * Code generation objectives: Unspecified
- * Validation result: Not run
- */
- #ifndef RTW_HEADER_SOH_h_
- #define RTW_HEADER_SOH_h_
- #ifndef SOH_COMMON_INCLUDES_
- #define SOH_COMMON_INCLUDES_
- #include "rtwtypes.h"
- #endif /* SOH_COMMON_INCLUDES_ */
- #include "SOH_types.h"
- /* Includes for objects with custom storage classes. */
- #include "BCUCal.h"
- #include "BCUDisp.h"
- /* Block signals for model 'SOH' */
- #ifndef SOH_MDLREF_HIDE_CHILD_
- typedef struct {
- uint16_T Divide; /* '<S9>/Divide' */
- uint16_T d[28]; /* '<S14>/d' */
- uint16_T Add2; /* '<S14>/Add2' */
- uint16_T in[28]; /* '<S18>/in' */
- uint16_T Qavrg; /* '<S3>/Chart' */
- uint16_T sohn_Q_packCapArrEo[10]; /* '<S3>/Chart' */
- uint16_T Saturation; /* '<S12>/Saturation' */
- uint16_T ihv_V_CellU[28]; /* '<S10>/ihv_V_CellU' */
- boolean_T in_g; /* '<S22>/in' */
- } B_SOH_c_T;
- #endif /*SOH_MDLREF_HIDE_CHILD_*/
- /* Block states (default storage) for model 'SOH' */
- #ifndef SOH_MDLREF_HIDE_CHILD_
- typedef struct {
- int32_T Ahincr_reset_DSTATE; /* '<S12>/Ahincr_reset' */
- uint16_T sohd_tm_chrgStartSta_Delay_DSTA;/* '<S6>/sohd_tm_chrgStartSta_Delay' */
- uint16_T Time_Delay_DSTATE; /* '<S9>/Time_Delay' */
- uint16_T sohv_V_chrgStartEo_Delay_DSTATE[28];/* '<S6>/sohv_V_chrgStartEo_Delay' */
- uint8_T UnitDelay_DSTATE; /* '<S6>/Unit Delay' */
- uint8_T UnitDelay_DSTATE_g; /* '<S7>/Unit Delay' */
- boolean_T UnitDelay1_DSTATE; /* '<S21>/Unit Delay1' */
- boolean_T reset_DSTATE; /* '<S6>/reset' */
- boolean_T sohd_flg_chrgEndEo_reset_DSTATE;/* '<S7>/sohd_flg_chrgEndEo_reset' */
- boolean_T UnitDelay1_DSTATE_g; /* '<S15>/Unit Delay1' */
- boolean_T reset_DSTATE_b; /* '<S11>/reset' */
- boolean_T Fflg; /* '<S3>/Chart' */
- boolean_T ResettableSubsystem_MODE; /* '<S8>/Resettable Subsystem' */
- boolean_T EnabledSubsystem_MODE; /* '<S7>/Enabled Subsystem' */
- boolean_T ResettableSubsystem_MODE_i;/* '<S6>/Resettable Subsystem' */
- } DW_SOH_f_T;
- #endif /*SOH_MDLREF_HIDE_CHILD_*/
- #ifndef SOH_MDLREF_HIDE_CHILD_
- /* Real-time Model Data Structure */
- struct tag_RTM_SOH_T {
- const char_T **errorStatus;
- };
- #endif /*SOH_MDLREF_HIDE_CHILD_*/
- #ifndef SOH_MDLREF_HIDE_CHILD_
- typedef struct {
- RT_MODEL_SOH_T rtm;
- } MdlrefDW_SOH_T;
- #endif /*SOH_MDLREF_HIDE_CHILD_*/
- extern void SOH_Init(void);
- extern void SOH_Disable(void);
- extern void SOH(void);
- /* Model reference registration function */
- extern void SOH_initialize(const char_T **rt_errorStatus);
- #ifndef SOH_MDLREF_HIDE_CHILD_
- extern void SOH_Min_Init(uint16_T *rty_Min);
- extern uint16_T SOH_Min(const uint16_T rtu_Arry[28]);
- #endif /*SOH_MDLREF_HIDE_CHILD_*/
- #ifndef SOH_MDLREF_HIDE_CHILD_
- extern MdlrefDW_SOH_T SOH_MdlrefDW;
- #endif /*SOH_MDLREF_HIDE_CHILD_*/
- #ifndef SOH_MDLREF_HIDE_CHILD_
- /* Block signals (default storage) */
- extern B_SOH_c_T SOH_B;
- /* Block states (default storage) */
- extern DW_SOH_f_T SOH_DW;
- #endif /*SOH_MDLREF_HIDE_CHILD_*/
- /*-
- * These blocks were eliminated from the model due to optimizations:
- *
- * Block '<S9>/Saturation' : Eliminated Saturate block
- */
- /*-
- * The generated code includes comments that allow you to trace directly
- * back to the appropriate location in the model. The basic format
- * is <system>/block_name, where system is the system number (uniquely
- * assigned by Simulink) and block_name is the name of the block.
- *
- * Use the MATLAB hilite_system command to trace the generated code back
- * to the model. For example,
- *
- * hilite_system('<S3>') - opens system 3
- * hilite_system('<S3>/Kp') - opens and selects block Kp which resides in S3
- *
- * Here is the system hierarchy for this model
- *
- * '<Root>' : 'SOH'
- * '<S1>' : 'SOH/SOH'
- * '<S2>' : 'SOH/SOH/Chrgmation'
- * '<S3>' : 'SOH/SOH/Conut'
- * '<S4>' : 'SOH/SOH/CountEn'
- * '<S5>' : 'SOH/SOH/EEDeal'
- * '<S6>' : 'SOH/SOH/Chrgmation/ChrgBe'
- * '<S7>' : 'SOH/SOH/Chrgmation/ChrgEnd'
- * '<S8>' : 'SOH/SOH/Chrgmation/Chrging'
- * '<S9>' : 'SOH/SOH/Chrgmation/ChrgBe/Resettable Subsystem'
- * '<S10>' : 'SOH/SOH/Chrgmation/ChrgBe/Resettable Subsystem1'
- * '<S11>' : 'SOH/SOH/Chrgmation/ChrgEnd/Enabled Subsystem'
- * '<S12>' : 'SOH/SOH/Chrgmation/Chrging/Resettable Subsystem'
- * '<S13>' : 'SOH/SOH/Conut/Chart'
- * '<S14>' : 'SOH/SOH/Conut/Subsystem'
- * '<S15>' : 'SOH/SOH/Conut/Subsystem/Frist Keep'
- * '<S16>' : 'SOH/SOH/Conut/Subsystem/Min'
- * '<S17>' : 'SOH/SOH/Conut/Subsystem/Min1'
- * '<S18>' : 'SOH/SOH/Conut/Subsystem/Frist Keep/Subsystem3'
- * '<S19>' : 'SOH/SOH/Conut/Subsystem/Min/ArrMin'
- * '<S20>' : 'SOH/SOH/Conut/Subsystem/Min1/ArrMin'
- * '<S21>' : 'SOH/SOH/CountEn/Frist Keep'
- * '<S22>' : 'SOH/SOH/CountEn/Frist Keep/Subsystem3'
- * '<S23>' : 'SOH/SOH/EEDeal/EECkeck'
- * '<S24>' : 'SOH/SOH/EEDeal/FalseAction'
- * '<S25>' : 'SOH/SOH/EEDeal/TureAction'
- * '<S26>' : 'SOH/SOH/EEDeal/EECkeck/Max'
- * '<S27>' : 'SOH/SOH/EEDeal/EECkeck/Min1'
- * '<S28>' : 'SOH/SOH/EEDeal/EECkeck/Max/ArrMin'
- * '<S29>' : 'SOH/SOH/EEDeal/EECkeck/Min1/ArrMin'
- */
- #endif /* RTW_HEADER_SOH_h_ */
- /*
- * File trailer for generated code.
- *
- * [EOF]
- */
|