/* * 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; /* '/Divide' */ uint16_T d[28]; /* '/d' */ uint16_T Add2; /* '/Add2' */ uint16_T in[28]; /* '/in' */ uint16_T Qavrg; /* '/Chart' */ uint16_T sohn_Q_packCapArrEo[10]; /* '/Chart' */ uint16_T Saturation; /* '/Saturation' */ uint16_T ihv_V_CellU[28]; /* '/ihv_V_CellU' */ boolean_T in_g; /* '/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; /* '/Ahincr_reset' */ uint16_T sohd_tm_chrgStartSta_Delay_DSTA;/* '/sohd_tm_chrgStartSta_Delay' */ uint16_T Time_Delay_DSTATE; /* '/Time_Delay' */ uint16_T sohv_V_chrgStartEo_Delay_DSTATE[28];/* '/sohv_V_chrgStartEo_Delay' */ uint8_T UnitDelay_DSTATE; /* '/Unit Delay' */ uint8_T UnitDelay_DSTATE_g; /* '/Unit Delay' */ boolean_T UnitDelay1_DSTATE; /* '/Unit Delay1' */ boolean_T reset_DSTATE; /* '/reset' */ boolean_T sohd_flg_chrgEndEo_reset_DSTATE;/* '/sohd_flg_chrgEndEo_reset' */ boolean_T UnitDelay1_DSTATE_g; /* '/Unit Delay1' */ boolean_T reset_DSTATE_b; /* '/reset' */ boolean_T Fflg; /* '/Chart' */ boolean_T ResettableSubsystem_MODE; /* '/Resettable Subsystem' */ boolean_T EnabledSubsystem_MODE; /* '/Enabled Subsystem' */ boolean_T ResettableSubsystem_MODE_i;/* '/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 '/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 /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('') - opens system 3 * hilite_system('/Kp') - opens and selects block Kp which resides in S3 * * Here is the system hierarchy for this model * * '' : 'SOH' * '' : 'SOH/SOH' * '' : 'SOH/SOH/Chrgmation' * '' : 'SOH/SOH/Conut' * '' : 'SOH/SOH/CountEn' * '' : 'SOH/SOH/EEDeal' * '' : 'SOH/SOH/Chrgmation/ChrgBe' * '' : 'SOH/SOH/Chrgmation/ChrgEnd' * '' : 'SOH/SOH/Chrgmation/Chrging' * '' : 'SOH/SOH/Chrgmation/ChrgBe/Resettable Subsystem' * '' : 'SOH/SOH/Chrgmation/ChrgBe/Resettable Subsystem1' * '' : 'SOH/SOH/Chrgmation/ChrgEnd/Enabled Subsystem' * '' : 'SOH/SOH/Chrgmation/Chrging/Resettable Subsystem' * '' : 'SOH/SOH/Conut/Chart' * '' : 'SOH/SOH/Conut/Subsystem' * '' : 'SOH/SOH/Conut/Subsystem/Frist Keep' * '' : 'SOH/SOH/Conut/Subsystem/Min' * '' : 'SOH/SOH/Conut/Subsystem/Min1' * '' : 'SOH/SOH/Conut/Subsystem/Frist Keep/Subsystem3' * '' : 'SOH/SOH/Conut/Subsystem/Min/ArrMin' * '' : 'SOH/SOH/Conut/Subsystem/Min1/ArrMin' * '' : 'SOH/SOH/CountEn/Frist Keep' * '' : 'SOH/SOH/CountEn/Frist Keep/Subsystem3' * '' : 'SOH/SOH/EEDeal/EECkeck' * '' : 'SOH/SOH/EEDeal/FalseAction' * '' : 'SOH/SOH/EEDeal/TureAction' * '' : 'SOH/SOH/EEDeal/EECkeck/Max' * '' : 'SOH/SOH/EEDeal/EECkeck/Min1' * '' : 'SOH/SOH/EEDeal/EECkeck/Max/ArrMin' * '' : 'SOH/SOH/EEDeal/EECkeck/Min1/ArrMin' */ #endif /* RTW_HEADER_SOH_h_ */ /* * File trailer for generated code. * * [EOF] */