From 75594dae5c1623f63d5862107923f96e38ad9c89 Mon Sep 17 00:00:00 2001 From: cfif Date: Mon, 27 Jul 2026 16:39:42 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D1=8B=20=D0=BD=D0=B0=D1=81=D1=82=D1=80=D0=BE=D0=B9=D0=BA?= =?UTF-8?q?=D0=B8=20LIN5=20(=D1=83=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=BA=D0=BD=D0=BE=D0=BF=D0=BA=D0=B0=D0=BC?= =?UTF-8?q?=D0=B8)=20=D0=B8=20=D0=BD=D0=B5=D0=BC=D0=BD=D0=BE=D0=B3=D0=BE?= =?UTF-8?q?=20=D1=81=D0=BE=D0=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HVAC_model.c | 43204 +++++++++++++++++++++++++---------------- HVAC_model.h | 7646 ++++---- HVAC_model_data.c | 406 +- HVAC_model_private.h | 159 +- HVAC_model_types.h | 189 +- Model_Task.c | 214 +- Model_Task.h | 13 + 7 files changed, 31375 insertions(+), 20456 deletions(-) diff --git a/HVAC_model.c b/HVAC_model.c index 768061d..1cc91d1 100644 --- a/HVAC_model.c +++ b/HVAC_model.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'HVAC_model'. * - * Model version : 1.1397 + * Model version : 1.1446 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Fri Jul 17 14:49:32 2026 + * C/C++ source code generated on : Mon Jul 27 16:34:24 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -24,7 +24,7 @@ #include "HVAC_model_types.h" #include "Rs_Cal_Base.h" -/* Named constants for Chart: '/Zone_Climate_Logic_Auto_FL1' */ +/* Named constants for Chart: '/Zone_Climate_Logic_Auto_FL2' */ #define IN_AC_Off ((uint8_t)1U) #define IN_AC_On ((uint8_t)2U) #define IN_AUTO_MODE ((uint8_t)1U) @@ -37,19 +37,6 @@ #define IN_MANUAL_MODE ((uint8_t)2U) #define IN_NO_ACTIVE_CHILD ((uint8_t)0U) -/* Named constants for Chart: '/Zone_Climate_Logic_Auto_FL2' */ -#define IN_AC_Off_p ((uint8_t)1U) -#define IN_AC_On_k ((uint8_t)2U) -#define IN_AUTO_MODE_k ((uint8_t)1U) -#define IN_Def_Off_d ((uint8_t)1U) -#define IN_Def_On_k ((uint8_t)2U) -#define IN_Face_Off_n ((uint8_t)1U) -#define IN_Face_On_k ((uint8_t)2U) -#define IN_Foot_Off_o ((uint8_t)1U) -#define IN_Foot_On_j ((uint8_t)2U) -#define IN_MANUAL_MODE_e ((uint8_t)2U) -#define IN_NO_ACTIVE_CHILD_g ((uint8_t)0U) - /* Named constants for Chart: '/13,1,3,15 Valve control' */ #define IN_Entry_2W ((uint8_t)1U) #define IN_Entry_3W ((uint8_t)1U) @@ -57,7 +44,7 @@ #define IN_Wait_2W ((uint8_t)2U) #define IN_Wait_3W ((uint8_t)2U) -/* Named constants for Chart: '/Chart' */ +/* Named constants for Chart: '/Partial REC' */ #define IN_COND_1 ((uint8_t)1U) #define IN_COND_2 ((uint8_t)2U) #define IN_COND_3 ((uint8_t)3U) @@ -86,14 +73,30 @@ #define IN_Rear_A_C_OFF ((uint8_t)1U) #define IN_Rear_A_C_ON ((uint8_t)2U) -/* Named constants for Chart: '/AC_Max_Active' */ +/* Named constants for Chart: '/Zone_Climate_Logic_Auto_FL1' */ +#define IN_AC_Off_k ((uint8_t)1U) +#define IN_AC_On_j ((uint8_t)2U) +#define IN_AUTO_MODE_l ((uint8_t)1U) +#define IN_Def_Off_n ((uint8_t)1U) +#define IN_Def_On_l ((uint8_t)2U) +#define IN_Face_Off_e ((uint8_t)1U) +#define IN_Face_On_m ((uint8_t)2U) +#define IN_Foot_Off_c ((uint8_t)1U) +#define IN_Foot_On_b ((uint8_t)2U) +#define IN_MANUAL_MODE_e ((uint8_t)2U) + +/* Named constants for Chart: '/AC_Max_Active' */ #define IN_AC_MAX_OFF ((uint8_t)1U) #define IN_AC_MAX_ON ((uint8_t)2U) -/* Named constants for Chart: '/Defrost_Active' */ +/* Named constants for Chart: '/Defrost_Active' */ #define IN_REC_OFF ((uint8_t)1U) #define IN_REC_ON ((uint8_t)2U) +/* Named constants for Chart: '/Chart' */ +#define IN_MAX_AC_OFF ((uint8_t)1U) +#define IN_MAX_AC_ON ((uint8_t)2U) + /* Named constants for Chart: '/Synchronization stateflow chart' */ #define IN_FRONT_ONLY ((uint8_t)1U) #define IN_FULL_SYNC ((uint8_t)2U) @@ -260,8 +263,8 @@ static RT_MODEL rtM_; RT_MODEL *const rtM = &rtM_; /* Forward declaration for local functions */ -static void E_COMP_MANAGER(bool *Enable_Comp_PID, const int16_t - *g_assEVA_TG_AMB_F_n, const int16_t *g_assEVA_TG_AMB_R_h); +static void E_COMP_MANAGER(bool *Enable_Comp_PID, const int16_t *Switch2, const + int16_t *Switch3); static void enter_atomic_REAR_ONLY(void); static void enter_atomic_FRONT_ONLY(void); static void enter_atomic_FULL_SYNC(void); @@ -398,6 +401,95 @@ int16_t look1_iu8lu64n48ts16Ds32_binlcs(uint8_t u0, const uint8_t bp0[], const 48) + yL_0d0); } +int16_t look1_is16lu64n32tu16Ds32Is16_binlcs(int16_t u0, const int16_t bp0[], + const uint16_t table[], uint32_t maxIndex) +{ + uint64_t frac; + uint32_t iLeft; + uint16_t yL_0d0; + + /* Column-major Lookup 1-D + Search method: 'binary' + Use previous index: 'off' + Interpolation method: 'Linear point-slope' + Extrapolation method: 'Clip' + Use last breakpoint for index at or above upper limit: 'off' + Remove protection against out-of-range input in generated code: 'off' + Rounding mode: 'simplest' + */ + /* Prelookup - Index and Fraction + Index Search method: 'binary' + Extrapolation method: 'Clip' + Use previous index: 'off' + Use last breakpoint for index at or above upper limit: 'off' + Remove protection against out-of-range input in generated code: 'off' + Rounding mode: 'simplest' + */ + if (u0 <= bp0[0U]) { + iLeft = 0U; + frac = 0ULL; + } else if (u0 < bp0[maxIndex]) { + uint32_t bpIdx; + uint32_t iRght; + + /* Binary Search */ + bpIdx = maxIndex >> 1U; + iLeft = 0U; + iRght = maxIndex; + while (iRght - iLeft > 1U) { + if (u0 < bp0[bpIdx]) { + iRght = bpIdx; + } else { + iLeft = bpIdx; + } + + bpIdx = (iRght + iLeft) >> 1U; + } + + int16_t bpLeftVar; + bpLeftVar = bp0[iLeft]; + frac = ((uint64_t)(uint32_t)(u0 - bpLeftVar) << 32) / (uint32_t)(bp0[iLeft + + 1U] - bpLeftVar); + } else { + iLeft = maxIndex - 1U; + frac = 4294967296ULL; + } + + /* Column-major Interpolation 1-D + Interpolation method: 'Linear point-slope' + Use last breakpoint for index at or above upper limit: 'off' + Rounding mode: 'simplest' + Overflow mode: 'wrapping' + */ + yL_0d0 = table[iLeft]; + return (int16_t)((int16_t)(((table[iLeft + 1U] - yL_0d0) * (int64_t)frac) >> + 32) + (int16_t)yL_0d0); +} + +uint32_t binsearch_u32s16(int16_t u_5, const int16_t bp[], uint32_t startIndex, + uint32_t maxIndex) +{ + uint32_t bpIdx; + uint32_t bpIndex; + uint32_t iRght; + + /* Binary Search */ + bpIdx = startIndex; + bpIndex = 0U; + iRght = maxIndex; + while (iRght - bpIndex > 1U) { + if (u_5 < bp[bpIdx]) { + iRght = bpIdx; + } else { + bpIndex = bpIdx; + } + + bpIdx = (iRght + bpIndex) >> 1U; + } + + return bpIndex; +} + int16_t look1_is16lu64n32Ds32_binlcs(int16_t u0, const int16_t bp0[], const int16_t table[], uint32_t maxIndex) { @@ -1177,6 +1269,80 @@ double look1_bs16ts16DdId_binlc(double u0, const int16_t bp0[], const int16_t return ((double)table[iLeft + 1U] - (double)uCast) * frac + (double)uCast; } +uint8_t look1_iu8lu64n56_binlcse(uint8_t u0, const uint8_t bp0[], const uint8_t + table[], uint32_t maxIndex) +{ + uint64_t frac; + uint32_t iLeft; + uint8_t bpLeftVar; + uint8_t y; + uint8_t yL_0d0; + + /* Column-major Lookup 1-D + Search method: 'binary' + Use previous index: 'off' + Interpolation method: 'Linear point-slope' + Extrapolation method: 'Clip' + Use last breakpoint for index at or above upper limit: 'off' + Remove protection against out-of-range input in generated code: 'off' + Rounding mode: 'simplest' + */ + /* Prelookup - Index and Fraction + Index Search method: 'binary' + Extrapolation method: 'Clip' + Use previous index: 'off' + Use last breakpoint for index at or above upper limit: 'off' + Remove protection against out-of-range input in generated code: 'off' + Rounding mode: 'simplest' + */ + if (u0 <= bp0[0U]) { + iLeft = 0U; + frac = 0ULL; + } else if (u0 < bp0[maxIndex]) { + uint32_t bpIdx; + uint32_t iRght; + + /* Binary Search */ + bpIdx = maxIndex >> 1U; + iLeft = 0U; + iRght = maxIndex; + while (iRght - iLeft > 1U) { + if (u0 < bp0[bpIdx]) { + iRght = bpIdx; + } else { + iLeft = bpIdx; + } + + bpIdx = (iRght + iLeft) >> 1U; + } + + bpLeftVar = bp0[iLeft]; + frac = ((uint64_t)((uint32_t)u0 - bpLeftVar) << 56) / ((uint32_t)bp0[iLeft + + 1U] - bpLeftVar); + } else { + iLeft = maxIndex - 1U; + frac = 72057594037927936ULL; + } + + /* Column-major Interpolation 1-D + Interpolation method: 'Linear point-slope' + Use last breakpoint for index at or above upper limit: 'off' + Rounding mode: 'simplest' + Overflow mode: 'wrapping' + */ + bpLeftVar = table[iLeft + 1U]; + yL_0d0 = table[iLeft]; + if (bpLeftVar >= yL_0d0) { + y = (uint8_t)((uint32_t)(uint8_t)(((uint8_t)((uint32_t)bpLeftVar - yL_0d0) * + frac) >> 56) + yL_0d0); + } else { + y = (uint8_t)((uint32_t)yL_0d0 - (uint8_t)(((uint8_t)((uint32_t)yL_0d0 - + bpLeftVar) * frac) >> 56)); + } + + return y; +} + double look1_iu16td_binlc(uint16_t u0, const uint16_t bp0[], const double table[], uint32_t maxIndex) { @@ -1238,7 +1404,7 @@ double look1_iu16td_binlc(uint16_t u0, const uint16_t bp0[], const double table[ return (table[iLeft + 1U] - yL_0d0) * frac + yL_0d0; } -uint32_t plook_u32s16_bincka(int16_t u_2, const int16_t bp[], uint32_t maxIndex) +uint32_t plook_u32s16_bincka(int16_t u_6, const int16_t bp[], uint32_t maxIndex) { uint32_t bpIndex; @@ -1249,10 +1415,10 @@ uint32_t plook_u32s16_bincka(int16_t u_2, const int16_t bp[], uint32_t maxIndex) Use last breakpoint for index at or above upper limit: 'on' Remove protection against out-of-range input in generated code: 'off' */ - if (u_2 <= bp[0U]) { + if (u_6 <= bp[0U]) { bpIndex = 0U; - } else if (u_2 < bp[maxIndex]) { - bpIndex = binsearch_u32s16(u_2, bp, maxIndex >> 1U, maxIndex); + } else if (u_6 < bp[maxIndex]) { + bpIndex = binsearch_u32s16(u_6, bp, maxIndex >> 1U, maxIndex); } else { bpIndex = maxIndex; } @@ -1260,30 +1426,6 @@ uint32_t plook_u32s16_bincka(int16_t u_2, const int16_t bp[], uint32_t maxIndex) return bpIndex; } -uint32_t binsearch_u32s16(int16_t u_3, const int16_t bp[], uint32_t startIndex, - uint32_t maxIndex) -{ - uint32_t bpIdx; - uint32_t bpIndex; - uint32_t iRght; - - /* Binary Search */ - bpIdx = startIndex; - bpIndex = 0U; - iRght = maxIndex; - while (iRght - bpIndex > 1U) { - if (u_3 < bp[bpIdx]) { - iRght = bpIdx; - } else { - bpIndex = bpIdx; - } - - bpIdx = (iRght + bpIndex) >> 1U; - } - - return bpIndex; -} - int32_t div_nzp_s32_round(int32_t numerator, int32_t denominator) { uint32_t absDenominator; @@ -1305,12 +1447,12 @@ int32_t div_nzp_s32_round(int32_t numerator, int32_t denominator) /* * Output and update for atomic system: - * '/get_tg_FLL_for_LVL' - * '/get_tg_FLL_for_LVL' - * '/get_tg_for_LVL' - * '/get_tg_FLL_for_LVL' - * '/get_tg_FLL_for_LVL' - * '/get_tg_for_LVL' + * '/get_tg_FLL_for_LVL' + * '/get_tg_FLL_for_LVL' + * '/get_tg_for_LVL' + * '/get_tg_FLL_for_LVL' + * '/get_tg_FLL_for_LVL' + * '/get_tg_for_LVL' */ void get_tg_FLL_for_LVL(uint8_t rtu_ambient_Lvl, uint8_t rtu_set_tmp, int16_t *rty_vals) @@ -1355,12 +1497,12 @@ void get_tg_FLL_for_LVL(uint8_t rtu_ambient_Lvl, uint8_t rtu_set_tmp, int16_t /* * Output and update for atomic system: - * '/get_tg_FLL_for_LVL' - * '/get_tg_FLL_for_LVL' - * '/get_tg_FLL_for_LVL' - * '/get_tg_FLL_for_LVL' - * '/get_tg_FLL_for_LVL' - * '/get_tg_FLL_for_LVL' + * '/get_tg_FLL_for_LVL' + * '/get_tg_FLL_for_LVL' + * '/get_tg_FLL_for_LVL' + * '/get_tg_FLL_for_LVL' + * '/get_tg_FLL_for_LVL' + * '/get_tg_FLL_for_LVL' */ void get_tg_FLL_for_LVL_j(uint8_t rtu_ambient_Lvl, uint8_t rtu_set_tmp, int16_t * rty_vals) @@ -1405,10 +1547,10 @@ void get_tg_FLL_for_LVL_j(uint8_t rtu_ambient_Lvl, uint8_t rtu_set_tmp, int16_t /* * Output and update for atomic system: - * '/g_assFLOW_BI_AMB_TGT' - * '/g_assFLOW_BI_AMB_TGT' - * '/g_assFLOW_BI_AMB_TGT' - * '/g_assFLOW_BI_AMB_TGT' + * '/g_assFLOW_BI_AMB_TGT' + * '/g_assFLOW_BI_AMB_TGT' + * '/g_assFLOW_BI_AMB_TGT' + * '/g_assFLOW_BI_AMB_TGT' */ void g_assFLOW_BI_AMB_TGT_n(uint8_t rtu_LVL, int16_t *rty_c_g_assFLOW_BI_AMB_TGT) { @@ -1425,15 +1567,15 @@ void g_assFLOW_BI_AMB_TGT_n(uint8_t rtu_LVL, int16_t *rty_c_g_assFLOW_BI_AMB_TGT /* * Output and update for action system: - * '/Bilevel' - * '/Bilevel' + * '/Bilevel' + * '/Bilevel' */ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtu_setTempFL, uint8_t rtu_setTempFR) { int32_t tmp; int32_t tmp_0; - int16_t rtb_u_e; + int16_t rtb_u_eg; uint16_t rtb_FLF_NEW; uint16_t rtb_FRF_NEW; uint16_t rtb_Switch2_a5_idx_0; @@ -1449,55 +1591,55 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t uint8_t rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN; uint8_t rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN_a; - /* MATLAB Function: '/get_tg_FLL_for_LVL' */ + /* MATLAB Function: '/get_tg_FLL_for_LVL' */ /* : c_g_assFLOW_BI_TEMP_TGT = g_assFLOW_BI_TEMP_TGT(LVL + 1); */ - get_tg_FLL_for_LVL(rtu_LVL, rtu_setTempFL, &rtb_u_e); + get_tg_FLL_for_LVL(rtu_LVL, rtu_setTempFL, &rtb_u_eg); - /* MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ + /* MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { tmp_0 = 255; } - /* Sum: '/ 1' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* Sum: '/ 1' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ - rtb_u_e = (int16_t)(g_assFLOW_BI_TEMP_TGT[tmp_0 - 1] - rtb_u_e); + rtb_u_eg = (int16_t)(g_assFLOW_BI_TEMP_TGT[tmp_0 - 1] - rtb_u_eg); - /* Gain: '/Gain6' */ - tmp_0 = 13107 * rtb_u_e; + /* Gain: '/Gain6' */ + tmp_0 = 13107 * rtb_u_eg; rtb_X_l = (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & 65535U) != 0U) || (tmp_0 > 0))) + (tmp_0 >> 17)); - /* Switch: '/Switch1' incorporates: - * Gain: '/Gain6' - * Sum: '/Add' + /* Switch: '/Switch1' incorporates: + * Gain: '/Gain6' + * Sum: '/Add' */ /* : c_g_aucFLOW_BI_FOOT_PLUS = g_aucFLOW_BI_FOOT_PLUS(LVL + 1); */ if (rtb_X_l >= 0) { rtb_FLF_NEW = rty_Out1[4]; } else { - /* MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_LEFT' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_LEFT' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { tmp_0 = 255; } - /* Gain: '/Gain6' incorporates: - * MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_LEFT' - * Product: '/Product3' + /* Gain: '/Gain6' incorporates: + * MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_LEFT' + * Product: '/Product3' */ tmp_0 = g_aucFLOW_BI_FOOT_PLUS[tmp_0 - 1] * rtb_X_l * 13107; rtb_FLF_NEW = (uint16_t)((int16_t)rty_Out1[4] - (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && (((uint32_t)tmp_0 & 65535U) != 0U)) + (tmp_0 >> 17))); } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MAX1' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MAX1' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI_FOOT_VALVE_MAX = g_aucFLOW_BI_FOOT_VALVE_MAX(LVL + 1); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -1507,10 +1649,10 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI_FOOT_VALVE_MAX_n = g_aucFLOW_BI_FOOT_VALVE_MAX[tmp_0 - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MAX1' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MAX1' */ - /* MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN1' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN1' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI2_FOOT_VALVE_MIN = g_aucFLOW_BI_FOOT_VALVE_MIN(LVL +1); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -1520,14 +1662,14 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MIN = g_aucFLOW_BI_FOOT_VALVE_MIN[tmp_0 - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN1' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN1' */ - /* MATLAB Function: '/get_tg_FLL_for_LVL' */ + /* MATLAB Function: '/get_tg_FLL_for_LVL' */ /* : c_g_assFLOW_BI_TEMP_TGT = g_assFLOW_BI_TEMP_TGT(LVL + 1 + 6); */ - get_tg_FLL_for_LVL_j(rtu_LVL, rtu_setTempFR, &rtb_u_e); + get_tg_FLL_for_LVL_j(rtu_LVL, rtu_setTempFR, &rtb_u_eg); - /* MATLAB Function: '/g_assFLOW_BI_TEMP_TGT_RIGHT' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_assFLOW_BI_TEMP_TGT_RIGHT' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { @@ -1539,26 +1681,26 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t tmp = 255; } - /* Sum: '/ 1' incorporates: - * MATLAB Function: '/g_assFLOW_BI_TEMP_TGT_RIGHT' + /* Sum: '/ 1' incorporates: + * MATLAB Function: '/g_assFLOW_BI_TEMP_TGT_RIGHT' */ - rtb_u_e = (int16_t)(g_assFLOW_BI_TEMP_TGT[tmp - 1] - rtb_u_e); + rtb_u_eg = (int16_t)(g_assFLOW_BI_TEMP_TGT[tmp - 1] - rtb_u_eg); - /* Gain: '/Gain6' */ - tmp_0 = 13107 * rtb_u_e; + /* Gain: '/Gain6' */ + tmp_0 = 13107 * rtb_u_eg; rtb_X_l = (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & 65535U) != 0U) || (tmp_0 > 0))) + (tmp_0 >> 17)); - /* Switch: '/Switch3' incorporates: - * Gain: '/Gain7' - * Sum: '/Add1' + /* Switch: '/Switch3' incorporates: + * Gain: '/Gain7' + * Sum: '/Add1' */ /* : c_g_aucFLOW_BI_FOOT_PLUS = g_aucFLOW_BI_FOOT_PLUS(LVL + 1 + 6); */ if (rtb_X_l >= 0) { rtb_FRF_NEW = rty_Out1[6]; } else { - /* MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_RIGHT' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_RIGHT' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { @@ -1570,19 +1712,19 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t tmp = 255; } - /* Gain: '/Gain7' incorporates: - * MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_RIGHT' - * Product: '/Product4' + /* Gain: '/Gain7' incorporates: + * MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_RIGHT' + * Product: '/Product4' */ tmp_0 = g_aucFLOW_BI_FOOT_PLUS[tmp - 1] * rtb_X_l * 13107; rtb_FRF_NEW = (uint16_t)((int16_t)rty_Out1[6] - (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && (((uint32_t)tmp_0 & 65535U) != 0U)) + (tmp_0 >> 17))); } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ - /* MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MAX2' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MAX2' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI_FOOT_VALVE_MAX = g_aucFLOW_BI_FOOT_VALVE_MAX(LVL + 1 + 6); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -1597,10 +1739,10 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI_FOOT_VALVE_MAX = g_aucFLOW_BI_FOOT_VALVE_MAX[tmp - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MAX2' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MAX2' */ - /* MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN2' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN2' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI_FOOT_VALVE_MIN = g_aucFLOW_BI_FOOT_VALVE_MIN(LVL + 1 + 6); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -1615,45 +1757,45 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI_FOOT_VALVE_MIN = g_aucFLOW_BI_FOOT_VALVE_MIN[tmp - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN2' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN2' */ - /* MATLAB Function: '/g_assFLOW_BI_AMB_TGT' */ + /* MATLAB Function: '/g_assFLOW_BI_AMB_TGT' */ /* : c_g_aucFLOW_BI_VENT_PLUS = g_aucFLOW_BI_VENT_PLUS(LVL + 1); */ - g_assFLOW_BI_AMB_TGT_n(rtu_LVL, &rtb_u_e); + g_assFLOW_BI_AMB_TGT_n(rtu_LVL, &rtb_u_eg); - /* MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { tmp_0 = 255; } - /* Gain: '/Gain2' incorporates: - * Sum: '/deg' + /* Gain: '/Gain2' incorporates: + * Sum: '/deg' */ - tmp = (int16_t)(rtb_u_e - rtu_Amb_Fb) * 13107; + tmp = (int16_t)(rtb_u_eg - rtu_Amb_Fb) * 13107; - /* Product: '/Умножили' incorporates: - * Gain: '/Gain' - * Gain: '/Gain2' - * MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' + /* Product: '/Умножили' incorporates: + * Gain: '/Gain' + * Gain: '/Gain2' + * MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' */ - rtb_u_e = (int16_t)((int8_t)(((((uint32_t)tmp & 65536U) != 0U) && ((((uint32_t) - tmp & 65535U) != 0U) || (tmp > 0))) + (tmp >> 17)) * (int32_t) - ((g_aucFLOW_BI_VENT_PLUS[tmp_0 - 1] * 205U + 1024U) >> 11)); + rtb_u_eg = (int16_t)((int8_t)(((((uint32_t)tmp & 65536U) != 0U) && + ((((uint32_t)tmp & 65535U) != 0U) || (tmp > 0))) + (tmp >> 17)) * (int32_t) + ((g_aucFLOW_BI_VENT_PLUS[tmp_0 - 1] * 205U + 1024U) >> 11)); - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * Sum: '/ ' - * Switch: '/Switch2' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * Sum: '/ ' + * Switch: '/Switch2' */ - rtb_Switch2_a5_idx_0 = (uint16_t)((uint16_t)((rty_Out1[0] - rtb_u_e) >> 1) << + rtb_Switch2_a5_idx_0 = (uint16_t)((uint16_t)((rty_Out1[0] - rtb_u_eg) >> 1) << 1); - rtb_Switch2_a5_idx_1 = (uint16_t)((uint16_t)((rty_Out1[1] - rtb_u_e) >> 1) << + rtb_Switch2_a5_idx_1 = (uint16_t)((uint16_t)((rty_Out1[1] - rtb_u_eg) >> 1) << 1); - /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI_VENT_VALVE_MAX = g_aucFLOW_BI_VENT_VALVE_MAX(LVL + 1); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -1663,10 +1805,10 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI_VENT_VALVE_MAX_h = g_aucFLOW_BI_VENT_VALVE_MAX[tmp_0 - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' */ - /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI_VENT_VALVE_MIN = g_aucFLOW_BI_VENT_VALVE_MIN(LVL + 1); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -1676,14 +1818,14 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN_a = g_aucFLOW_BI_VENT_VALVE_MIN[tmp_0 - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' */ - /* MATLAB Function: '/g_assFLOW_BI_AMB_TGT' */ + /* MATLAB Function: '/g_assFLOW_BI_AMB_TGT' */ /* : c_g_aucFLOW_BI_VENT_PLUS = g_aucFLOW_BI_VENT_PLUS(LVL + 1 + 6); */ - g_assFLOW_BI_AMB_TGT_n(rtu_LVL, &rtb_u_e); + g_assFLOW_BI_AMB_TGT_n(rtu_LVL, &rtb_u_eg); - /* MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { @@ -1695,23 +1837,23 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t tmp = 255; } - /* Gain: '/Gain2' incorporates: - * Sum: '/deg' + /* Gain: '/Gain2' incorporates: + * Sum: '/deg' */ - tmp_0 = (int16_t)(rtb_u_e - rtu_Amb_Fb) * 13107; + tmp_0 = (int16_t)(rtb_u_eg - rtu_Amb_Fb) * 13107; - /* Product: '/Умножили' incorporates: - * Gain: '/Gain' - * Gain: '/Gain2' - * MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' + /* Product: '/Умножили' incorporates: + * Gain: '/Gain' + * Gain: '/Gain2' + * MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' */ - rtb_u_e = (int16_t)((int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && + rtb_u_eg = (int16_t)((int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & 65535U) != 0U) || (tmp_0 > 0))) + (tmp_0 >> 17)) * - (int32_t)((g_aucFLOW_BI_VENT_PLUS[tmp - 1] * 205U + 1024U) + (int32_t)((g_aucFLOW_BI_VENT_PLUS[tmp - 1] * 205U + 1024U) >> 11)); - /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI_VENT_VALVE_MAX = g_aucFLOW_BI_VENT_VALVE_MAX(LVL + 1 + 6); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -1726,10 +1868,10 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI_VENT_VALVE_MAX = g_aucFLOW_BI_VENT_VALVE_MAX[tmp - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' */ - /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI_VENT_VALVE_MIN = g_aucFLOW_BI_VENT_VALVE_MIN(LVL + 1 + 6); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -1744,175 +1886,175 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN = g_aucFLOW_BI_VENT_VALVE_MIN[tmp - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * Sum: '/ ' - * Switch: '/Switch2' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * Sum: '/ ' + * Switch: '/Switch2' */ - rtb_Switch2_cd_0 = (uint16_t)((uint16_t)((rty_Out1[0] - rtb_u_e) >> 1) << 1); + rtb_Switch2_cd_0 = (uint16_t)((uint16_t)((rty_Out1[0] - rtb_u_eg) >> 1) << 1); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Switch2_a5_idx_0 > rtb_c_g_aucFLOW_BI_VENT_VALVE_MAX_h) { - /* Assignment: '/Присваивание в [1-2]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [1-2]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[0] = rtb_c_g_aucFLOW_BI_VENT_VALVE_MAX_h; } else if (rtb_Switch2_a5_idx_0 < rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN_a) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Присваивание в [1-2]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Присваивание в [1-2]' + * SignalConversion generated from: '/Out1' */ rty_Out1[0] = rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN_a; } else { - /* Assignment: '/Присваивание в [1-2]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Присваивание в [1-2]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[0] = rtb_Switch2_a5_idx_0; } - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Switch2_cd_0 > rtb_c_g_aucFLOW_BI_VENT_VALVE_MAX) { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[2] = rtb_c_g_aucFLOW_BI_VENT_VALVE_MAX; } else if (rtb_Switch2_cd_0 < rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Присваивание в [3-4]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Присваивание в [3-4]' + * SignalConversion generated from: '/Out1' */ rty_Out1[2] = rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN; } else { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[2] = rtb_Switch2_cd_0; } - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * Sum: '/ ' - * Switch: '/Switch2' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * Sum: '/ ' + * Switch: '/Switch2' */ - rtb_Switch2_cd_0 = (uint16_t)((uint16_t)((rty_Out1[1] - rtb_u_e) >> 1) << 1); + rtb_Switch2_cd_0 = (uint16_t)((uint16_t)((rty_Out1[1] - rtb_u_eg) >> 1) << 1); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Switch2_a5_idx_1 > rtb_c_g_aucFLOW_BI_VENT_VALVE_MAX_h) { - /* Assignment: '/Присваивание в [1-2]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [1-2]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[1] = rtb_c_g_aucFLOW_BI_VENT_VALVE_MAX_h; } else if (rtb_Switch2_a5_idx_1 < rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN_a) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Присваивание в [1-2]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Присваивание в [1-2]' + * SignalConversion generated from: '/Out1' */ rty_Out1[1] = rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN_a; } else { - /* Assignment: '/Присваивание в [1-2]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Присваивание в [1-2]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[1] = rtb_Switch2_a5_idx_1; } - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Switch2_cd_0 > rtb_c_g_aucFLOW_BI_VENT_VALVE_MAX) { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[3] = rtb_c_g_aucFLOW_BI_VENT_VALVE_MAX; } else if (rtb_Switch2_cd_0 < rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Присваивание в [3-4]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Присваивание в [3-4]' + * SignalConversion generated from: '/Out1' */ rty_Out1[3] = rtb_c_g_aucFLOW_BI_VENT_VALVE_MIN; } else { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[3] = rtb_Switch2_cd_0; } - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_FLF_NEW > rtb_c_g_aucFLOW_BI_FOOT_VALVE_MAX_n) { - /* Assignment: '/Присваивание в [5]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [5]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[4] = rtb_c_g_aucFLOW_BI_FOOT_VALVE_MAX_n; } else if (rtb_FLF_NEW < rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MIN) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Присваивание в [5]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Присваивание в [5]' + * SignalConversion generated from: '/Out1' */ rty_Out1[4] = rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MIN; } else { - /* Assignment: '/Присваивание в [5]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Присваивание в [5]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[4] = rtb_FLF_NEW; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_FRF_NEW > rtb_c_g_aucFLOW_BI_FOOT_VALVE_MAX) { - /* Assignment: '/Присваивание в [7]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [7]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[6] = rtb_c_g_aucFLOW_BI_FOOT_VALVE_MAX; } else if (rtb_FRF_NEW < rtb_c_g_aucFLOW_BI_FOOT_VALVE_MIN) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Присваивание в [7]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Присваивание в [7]' + * SignalConversion generated from: '/Out1' */ rty_Out1[6] = rtb_c_g_aucFLOW_BI_FOOT_VALVE_MIN; } else { - /* Assignment: '/Присваивание в [7]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Присваивание в [7]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[6] = rtb_FRF_NEW; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ } /* * Output and update for atomic system: - * '/g_assFLOW_BI_AMB_TGT' - * '/g_assFLOW_BI_AMB_TGT' - * '/g_assFLOW_BI_AMB_TGT' - * '/g_assFLOW_BI_AMB_TGT' + * '/g_assFLOW_BI_AMB_TGT' + * '/g_assFLOW_BI_AMB_TGT' + * '/g_assFLOW_BI_AMB_TGT' + * '/g_assFLOW_BI_AMB_TGT' */ void g_assFLOW_BI_AMB_TGT_e(uint8_t rtu_LVL, int16_t *rty_c_g_assFLOW_BI2_AMB_TGT) @@ -1930,19 +2072,19 @@ void g_assFLOW_BI_AMB_TGT_e(uint8_t rtu_LVL, int16_t /* * Output and update for action system: - * '/Bilevel2' - * '/Bilevel2' + * '/Bilevel2' + * '/Bilevel2' */ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtu_setTempFL, uint8_t rtu_setTempFR) { int32_t tmp; int32_t tmp_0; - int16_t rtb_u_j2; + int16_t rtb_u_jo; uint16_t rtb_FLF_NEW; uint16_t rtb_FRF_NEW; - uint16_t rtb_Switch2_i_idx_0; - uint16_t rtb_Switch2_i_idx_1; + uint16_t rtb_Switch2_if_idx_0; + uint16_t rtb_Switch2_if_idx_1; uint16_t rtb_Switch2_p4_0; int8_t rtb_X_b; uint8_t rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MAX; @@ -1954,55 +2096,55 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t uint8_t rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN; uint8_t rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN_f; - /* MATLAB Function: '/get_tg_FLL_for_LVL' */ + /* MATLAB Function: '/get_tg_FLL_for_LVL' */ /* : c_g_assFLOW_BI2_TEMP_TGT = g_assFLOW_BI2_TEMP_TGT(LVL + 1); */ - get_tg_FLL_for_LVL(rtu_LVL, rtu_setTempFL, &rtb_u_j2); + get_tg_FLL_for_LVL(rtu_LVL, rtu_setTempFL, &rtb_u_jo); - /* MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ + /* MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { tmp_0 = 255; } - /* Sum: '/ 1' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* Sum: '/ 1' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ - rtb_u_j2 = (int16_t)(g_assFLOW_BI2_TEMP_TGT[tmp_0 - 1] - rtb_u_j2); + rtb_u_jo = (int16_t)(g_assFLOW_BI2_TEMP_TGT[tmp_0 - 1] - rtb_u_jo); - /* Gain: '/Gain6' */ - tmp_0 = 13107 * rtb_u_j2; + /* Gain: '/Gain6' */ + tmp_0 = 13107 * rtb_u_jo; rtb_X_b = (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & 65535U) != 0U) || (tmp_0 > 0))) + (tmp_0 >> 17)); - /* Switch: '/Switch1' incorporates: - * Gain: '/Gain6' - * Sum: '/Add' + /* Switch: '/Switch1' incorporates: + * Gain: '/Gain6' + * Sum: '/Add' */ /* : c_g_aucFLOW_BI2_FOOT_PLUS = g_aucFLOW_BI2_FOOT_PLUS(LVL + 1); */ if (rtb_X_b >= 0) { rtb_FLF_NEW = rty_Out1[4]; } else { - /* MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_LEFT' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_LEFT' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { tmp_0 = 255; } - /* Gain: '/Gain6' incorporates: - * MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_LEFT' - * Product: '/Product3' + /* Gain: '/Gain6' incorporates: + * MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_LEFT' + * Product: '/Product3' */ tmp_0 = g_aucFLOW_BI2_FOOT_PLUS[tmp_0 - 1] * rtb_X_b * 13107; rtb_FLF_NEW = (uint16_t)((int16_t)rty_Out1[4] - (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && (((uint32_t)tmp_0 & 65535U) != 0U)) + (tmp_0 >> 17))); } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MAX1' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MAX1' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI2_FOOT_VALVE_MAX = g_aucFLOW_BI2_FOOT_VALVE_MAX(LVL + 1); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -2012,10 +2154,10 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MAX_l = g_aucFLOW_BI2_FOOT_VALVE_MAX[tmp_0 - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MAX1' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MAX1' */ - /* MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN1' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN1' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI2_FOOT_VALVE_MIN = g_aucFLOW_BI2_FOOT_VALVE_MIN(LVL + 1); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -2025,14 +2167,14 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MIN = g_aucFLOW_BI2_FOOT_VALVE_MIN[tmp_0 - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN1' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN1' */ - /* MATLAB Function: '/get_tg_FLL_for_LVL' */ + /* MATLAB Function: '/get_tg_FLL_for_LVL' */ /* : c_g_assFLOW_BI2_TEMP_TGT = g_assFLOW_BI2_TEMP_TGT(LVL + 1 + 6); */ - get_tg_FLL_for_LVL_j(rtu_LVL, rtu_setTempFR, &rtb_u_j2); + get_tg_FLL_for_LVL_j(rtu_LVL, rtu_setTempFR, &rtb_u_jo); - /* MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_RIGHT' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_RIGHT' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { @@ -2044,26 +2186,26 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t tmp = 255; } - /* Sum: '/ 1' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_RIGHT' + /* Sum: '/ 1' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_RIGHT' */ - rtb_u_j2 = (int16_t)(g_assFLOW_BI2_TEMP_TGT[tmp - 1] - rtb_u_j2); + rtb_u_jo = (int16_t)(g_assFLOW_BI2_TEMP_TGT[tmp - 1] - rtb_u_jo); - /* Gain: '/Gain6' */ - tmp_0 = 13107 * rtb_u_j2; + /* Gain: '/Gain6' */ + tmp_0 = 13107 * rtb_u_jo; rtb_X_b = (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & 65535U) != 0U) || (tmp_0 > 0))) + (tmp_0 >> 17)); - /* Switch: '/Switch3' incorporates: - * Gain: '/Gain7' - * Sum: '/Add1' + /* Switch: '/Switch3' incorporates: + * Gain: '/Gain7' + * Sum: '/Add1' */ /* : c_g_aucFLOW_BI2_FOOT_PLUS = g_aucFLOW_BI2_FOOT_PLUS(LVL + 1 + 6); */ if (rtb_X_b >= 0) { rtb_FRF_NEW = rty_Out1[6]; } else { - /* MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_RIGHT' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_RIGHT' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { @@ -2075,19 +2217,19 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t tmp = 255; } - /* Gain: '/Gain7' incorporates: - * MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_RIGHT' - * Product: '/Product4' + /* Gain: '/Gain7' incorporates: + * MATLAB Function: '/g_aucFLOW_BI_FOOT_PLUS_RIGHT' + * Product: '/Product4' */ tmp_0 = g_aucFLOW_BI2_FOOT_PLUS[tmp - 1] * rtb_X_b * 13107; rtb_FRF_NEW = (uint16_t)((int16_t)rty_Out1[6] - (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && (((uint32_t)tmp_0 & 65535U) != 0U)) + (tmp_0 >> 17))); } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ - /* MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MAX2' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MAX2' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI2_FOOT_VALVE_MAX = g_aucFLOW_BI2_FOOT_VALVE_MAX(LVL + 1 + 6); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -2102,10 +2244,10 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MAX = g_aucFLOW_BI2_FOOT_VALVE_MAX[tmp - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MAX2' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MAX2' */ - /* MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN2' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN2' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI2_FOOT_VALVE_MIN = g_aucFLOW_BI2_FOOT_VALVE_MIN(LVL + 1 + 6); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -2120,46 +2262,46 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MIN_l = g_aucFLOW_BI2_FOOT_VALVE_MIN[tmp - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN2' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_FOOT_VALVE_MIN2' */ - /* MATLAB Function: '/g_assFLOW_BI_AMB_TGT' */ + /* MATLAB Function: '/g_assFLOW_BI_AMB_TGT' */ /* : c_g_aucFLOW_BI2_VENT_PLUS = g_aucFLOW_BI2_VENT_PLUS(LVL + 1); */ - g_assFLOW_BI_AMB_TGT_e(rtu_LVL, &rtb_u_j2); + g_assFLOW_BI_AMB_TGT_e(rtu_LVL, &rtb_u_jo); - /* MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { tmp_0 = 255; } - /* Gain: '/Gain2' incorporates: - * Sum: '/deg' + /* Gain: '/Gain2' incorporates: + * Sum: '/deg' */ - tmp = (int16_t)(rtb_u_j2 - rtu_Amb_Fb) * 13107; + tmp = (int16_t)(rtb_u_jo - rtu_Amb_Fb) * 13107; - /* Product: '/Умножили' incorporates: - * Gain: '/Gain' - * Gain: '/Gain2' - * MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' + /* Product: '/Умножили' incorporates: + * Gain: '/Gain' + * Gain: '/Gain2' + * MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' */ - rtb_u_j2 = (int16_t)((int8_t)(((((uint32_t)tmp & 65536U) != 0U) && + rtb_u_jo = (int16_t)((int8_t)(((((uint32_t)tmp & 65536U) != 0U) && ((((uint32_t)tmp & 65535U) != 0U) || (tmp > 0))) + (tmp >> 17)) * (int32_t) ((g_aucFLOW_BI2_VENT_PLUS[tmp_0 - 1] * 205U + 1024U) >> 11)); - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * Sum: '/ ' - * Switch: '/Switch2' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * Sum: '/ ' + * Switch: '/Switch2' */ - rtb_Switch2_i_idx_0 = (uint16_t)((uint16_t)((rty_Out1[0] - rtb_u_j2) >> 1) << + rtb_Switch2_if_idx_0 = (uint16_t)((uint16_t)((rty_Out1[0] - rtb_u_jo) >> 1) << 1); - rtb_Switch2_i_idx_1 = (uint16_t)((uint16_t)((rty_Out1[1] - rtb_u_j2) >> 1) << + rtb_Switch2_if_idx_1 = (uint16_t)((uint16_t)((rty_Out1[1] - rtb_u_jo) >> 1) << 1); - /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI2_VENT_VALVE_MAX = g_aucFLOW_BI2_VENT_VALVE_MAX(LVL + 1); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -2169,10 +2311,10 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX_k = g_aucFLOW_BI2_VENT_VALVE_MAX[tmp_0 - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' */ - /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI2_VENT_VALVE_MIN = g_aucFLOW_BI2_VENT_VALVE_MIN(LVL + 1); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -2182,14 +2324,14 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN_f = g_aucFLOW_BI2_VENT_VALVE_MIN[tmp_0 - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' */ - /* MATLAB Function: '/g_assFLOW_BI_AMB_TGT' */ + /* MATLAB Function: '/g_assFLOW_BI_AMB_TGT' */ /* : c_g_aucFLOW_BI2_VENT_PLUS = g_aucFLOW_BI2_VENT_PLUS(LVL + 1 + 6); */ - g_assFLOW_BI_AMB_TGT_e(rtu_LVL, &rtb_u_j2); + g_assFLOW_BI_AMB_TGT_e(rtu_LVL, &rtb_u_jo); - /* MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { @@ -2201,23 +2343,23 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t tmp = 255; } - /* Gain: '/Gain2' incorporates: - * Sum: '/deg' + /* Gain: '/Gain2' incorporates: + * Sum: '/deg' */ - tmp_0 = (int16_t)(rtb_u_j2 - rtu_Amb_Fb) * 13107; + tmp_0 = (int16_t)(rtb_u_jo - rtu_Amb_Fb) * 13107; - /* Product: '/Умножили' incorporates: - * Gain: '/Gain' - * Gain: '/Gain2' - * MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' + /* Product: '/Умножили' incorporates: + * Gain: '/Gain' + * Gain: '/Gain2' + * MATLAB Function: '/g_aucFLOW_BI_VENT_PLUS' */ - rtb_u_j2 = (int16_t)((int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && + rtb_u_jo = (int16_t)((int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & 65535U) != 0U) || (tmp_0 > 0))) + (tmp_0 >> 17)) * (int32_t)((g_aucFLOW_BI2_VENT_PLUS[tmp - 1] * 205U + 1024U) >> 11)); - /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI2_VENT_VALVE_MAX = g_aucFLOW_BI2_VENT_VALVE_MAX(LVL + 1 + 6); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -2232,10 +2374,10 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX = g_aucFLOW_BI2_VENT_VALVE_MAX[tmp - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MAX' */ - /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_BI2_VENT_VALVE_MIN = g_aucFLOW_BI2_VENT_VALVE_MIN(LVL + 1 + 6); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -2250,175 +2392,175 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN = g_aucFLOW_BI2_VENT_VALVE_MIN[tmp - 1]; - /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' */ + /* End of MATLAB Function: '/g_aucFLOW_BI_VENT_VALVE_MIN' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * Sum: '/ ' - * Switch: '/Switch2' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * Sum: '/ ' + * Switch: '/Switch2' */ - rtb_Switch2_p4_0 = (uint16_t)((uint16_t)((rty_Out1[0] - rtb_u_j2) >> 1) << 1); + rtb_Switch2_p4_0 = (uint16_t)((uint16_t)((rty_Out1[0] - rtb_u_jo) >> 1) << 1); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ - if (rtb_Switch2_i_idx_0 > rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX_k) { - /* Assignment: '/Присваивание в [1-2]' incorporates: - * SignalConversion generated from: '/Out1' + if (rtb_Switch2_if_idx_0 > rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX_k) { + /* Assignment: '/Присваивание в [1-2]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[0] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX_k; - } else if (rtb_Switch2_i_idx_0 < rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN_f) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Присваивание в [1-2]' - * SignalConversion generated from: '/Out1' + } else if (rtb_Switch2_if_idx_0 < rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN_f) { + /* Switch: '/Switch' incorporates: + * Assignment: '/Присваивание в [1-2]' + * SignalConversion generated from: '/Out1' */ rty_Out1[0] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN_f; } else { - /* Assignment: '/Присваивание в [1-2]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Присваивание в [1-2]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ - rty_Out1[0] = rtb_Switch2_i_idx_0; + rty_Out1[0] = rtb_Switch2_if_idx_0; } - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Switch2_p4_0 > rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX) { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[2] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX; } else if (rtb_Switch2_p4_0 < rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Присваивание в [3-4]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Присваивание в [3-4]' + * SignalConversion generated from: '/Out1' */ rty_Out1[2] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN; } else { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[2] = rtb_Switch2_p4_0; } - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * Sum: '/ ' - * Switch: '/Switch2' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * Sum: '/ ' + * Switch: '/Switch2' */ - rtb_Switch2_p4_0 = (uint16_t)((uint16_t)((rty_Out1[1] - rtb_u_j2) >> 1) << 1); + rtb_Switch2_p4_0 = (uint16_t)((uint16_t)((rty_Out1[1] - rtb_u_jo) >> 1) << 1); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ - if (rtb_Switch2_i_idx_1 > rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX_k) { - /* Assignment: '/Присваивание в [1-2]' incorporates: - * SignalConversion generated from: '/Out1' + if (rtb_Switch2_if_idx_1 > rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX_k) { + /* Assignment: '/Присваивание в [1-2]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[1] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX_k; - } else if (rtb_Switch2_i_idx_1 < rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN_f) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Присваивание в [1-2]' - * SignalConversion generated from: '/Out1' + } else if (rtb_Switch2_if_idx_1 < rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN_f) { + /* Switch: '/Switch' incorporates: + * Assignment: '/Присваивание в [1-2]' + * SignalConversion generated from: '/Out1' */ rty_Out1[1] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN_f; } else { - /* Assignment: '/Присваивание в [1-2]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Присваивание в [1-2]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ - rty_Out1[1] = rtb_Switch2_i_idx_1; + rty_Out1[1] = rtb_Switch2_if_idx_1; } - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Switch2_p4_0 > rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX) { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[3] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX; } else if (rtb_Switch2_p4_0 < rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Присваивание в [3-4]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Присваивание в [3-4]' + * SignalConversion generated from: '/Out1' */ rty_Out1[3] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN; } else { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[3] = rtb_Switch2_p4_0; } - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_FLF_NEW > rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MAX_l) { - /* Assignment: '/Присваивание в [5]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [5]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[4] = rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MAX_l; } else if (rtb_FLF_NEW < rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MIN) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Присваивание в [5]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Присваивание в [5]' + * SignalConversion generated from: '/Out1' */ rty_Out1[4] = rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MIN; } else { - /* Assignment: '/Присваивание в [5]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Присваивание в [5]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[4] = rtb_FLF_NEW; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_FRF_NEW > rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MAX) { - /* Assignment: '/Присваивание в [7]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [7]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[6] = rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MAX; } else if (rtb_FRF_NEW < rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MIN_l) { - /* Switch: '/Switch' incorporates: - * Assignment: '/Присваивание в [7]' - * SignalConversion generated from: '/Out1' + /* Switch: '/Switch' incorporates: + * Assignment: '/Присваивание в [7]' + * SignalConversion generated from: '/Out1' */ rty_Out1[6] = rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MIN_l; } else { - /* Assignment: '/Присваивание в [7]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Присваивание в [7]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[6] = rtb_FRF_NEW; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ } /* * Output and update for atomic system: - * '/g_aucFLOW_AF_FOOT_VALVE_MAX' - * '/g_aucFLOW_AF_FOOT_VALVE_MAX' - * '/g_aucFLOW_AF_FOOT_VALVE_MAX' - * '/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '/g_aucFLOW_AF_FOOT_VALVE_MAX' */ void g_aucFLOW_AF_FOOT_VALVE_MAX_e(uint8_t rtu_LVL, uint8_t *rty_c_g_aucFLOW_AF_FOOT_VALVE_MAX) @@ -2436,12 +2578,12 @@ void g_aucFLOW_AF_FOOT_VALVE_MAX_e(uint8_t rtu_LVL, uint8_t /* * Output and update for atomic system: - * '/g_assFLOW_AF_AMB_TGT' - * '/g_assFLOW_AF_AMB_TGT' - * '/g_assFLOW_AF_AMB_TGT' - * '/g_assFLOW_AF_AMB_TGT' - * '/g_assFLOW_AF_AMB_TGT' - * '/g_assFLOW_AF_AMB_TGT' + * '/g_assFLOW_AF_AMB_TGT' + * '/g_assFLOW_AF_AMB_TGT' + * '/g_assFLOW_AF_AMB_TGT' + * '/g_assFLOW_AF_AMB_TGT' + * '/g_assFLOW_AF_AMB_TGT' + * '/g_assFLOW_AF_AMB_TGT' */ void g_assFLOW_AF_AMB_TGT_g(uint8_t rtu_LVL, int16_t *rty_c_g_assFLOW_AF_AMB_TGT) { @@ -2458,8 +2600,8 @@ void g_assFLOW_AF_AMB_TGT_g(uint8_t rtu_LVL, int16_t *rty_c_g_assFLOW_AF_AMB_TGT /* * Output and update for action system: - * '/Afoot' - * '/Afoot' + * '/Afoot' + * '/Afoot' */ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtu_setTempFL, uint8_t rtu_setTempFR) @@ -2471,15 +2613,15 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t int16_t rtb_deg_en; uint16_t rtb_FLF_NEW; uint16_t rtb_FRF_NEW; - uint16_t rtb_Switch2_ar_idx_0; - uint16_t rtb_Switch2_ar_idx_1; - uint16_t rtb_Switch2_j3_idx_0; - uint16_t rtb_Switch2_j3_idx_1; + uint16_t rtb_Switch2_arn_idx_0; + uint16_t rtb_Switch2_arn_idx_1; + uint16_t rtb_Switch2_j_idx_0; + uint16_t rtb_Switch2_j_idx_1; int8_t rtb_X_c; uint8_t rtb_c_g_aucFLOW_AF_FOOT_VALVE_MAX; uint8_t rtb_c_g_aucFLOW_AF_VENT_VALVE_MAX_k; - /* MATLAB Function: '/get_tg_for_LVL' */ + /* MATLAB Function: '/get_tg_for_LVL' */ /* : c_g_aucFLOW_AF_BLR_AF_TGT = g_aucFLOW_AF_BLR_AF_TGT(LVL + 1); */ /* : table = [ */ /* : g_assVTG_FL_LV0; */ @@ -2499,14 +2641,14 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t tmp[6 * i + 5] = g_assVTG_FL_LV5[i]; } - /* MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ + /* MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ i = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { i = 255; } - /* MATLAB Function: '/get_tg_for_LVL' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/get_tg_for_LVL' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { @@ -2521,56 +2663,56 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t qY = 0U; } - /* Gain: '/Gain6' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' - * MATLAB Function: '/get_tg_for_LVL' - * Sum: '/ 1' + /* Gain: '/Gain6' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + * MATLAB Function: '/get_tg_for_LVL' + * Sum: '/ 1' */ i = (int16_t)(g_aucFLOW_AF_BLR_AF_TGT[i - 1] - tmp[(((int32_t)qY - 1) * 6 + tmp_0) - 1]) * 13107; rtb_X_c = (int8_t)(((((uint32_t)i & 65536U) != 0U) && ((((uint32_t)i & 65535U) != 0U) || (i > 0))) + (i >> 17)); - /* Switch: '/Switch1' incorporates: - * Gain: '/Gain6' - * Sum: '/Add' + /* Switch: '/Switch1' incorporates: + * Gain: '/Gain6' + * Sum: '/Add' */ /* : c_g_aucFLOW_AF_FOOT_PLUS = g_aucFLOW_AF_FOOT_PLUS(LVL + 1); */ if (rtb_X_c >= 0) { rtb_FLF_NEW = rty_Out1[4]; } else { - /* MATLAB Function: '/g_aucFLOW_AF_FOOT_PLUS' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_AF_FOOT_PLUS' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ i = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { i = 255; } - /* Gain: '/Gain6' incorporates: - * MATLAB Function: '/g_aucFLOW_AF_FOOT_PLUS' - * Product: '/Product3' + /* Gain: '/Gain6' incorporates: + * MATLAB Function: '/g_aucFLOW_AF_FOOT_PLUS' + * Product: '/Product3' */ i = g_aucFLOW_AF_FOOT_PLUS[i - 1] * rtb_X_c * 13107; rtb_FLF_NEW = (uint16_t)((int16_t)rty_Out1[4] - (int8_t)(((((uint32_t)i & 65536U) != 0U) && (((uint32_t)i & 65535U) != 0U)) + (i >> 17))); } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* MATLAB Function: '/g_aucFLOW_AF_FOOT_VALVE_MAX' */ + /* MATLAB Function: '/g_aucFLOW_AF_FOOT_VALVE_MAX' */ g_aucFLOW_AF_FOOT_VALVE_MAX_e(rtu_LVL, &rtb_c_g_aucFLOW_AF_FOOT_VALVE_MAX); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ if (rtb_FLF_NEW > rtb_c_g_aucFLOW_AF_FOOT_VALVE_MAX) { rtb_FLF_NEW = rtb_c_g_aucFLOW_AF_FOOT_VALVE_MAX; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* MATLAB Function: '/get_vtg_for_LVL' */ + /* MATLAB Function: '/get_vtg_for_LVL' */ /* : c_g_aucFLOW_AF_BLR_AF_TGT = g_aucFLOW_AF_BLR_AF_TGT(LVL + 1); */ /* : table = [ */ /* : g_assVTG_FR_LV0; */ @@ -2590,16 +2732,16 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t tmp[6 * i + 5] = g_assVTG_FR_LV5[i]; } - /* MATLAB Function: '/g_aucFLOW_AF_BLR_AF_TGT' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_AF_BLR_AF_TGT' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ i = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { i = 255; } - /* MATLAB Function: '/get_vtg_for_LVL' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/get_vtg_for_LVL' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { @@ -2611,28 +2753,28 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t qY = 0U; } - /* Sum: '/ 1' incorporates: - * MATLAB Function: '/g_aucFLOW_AF_BLR_AF_TGT' - * MATLAB Function: '/get_vtg_for_LVL' + /* Sum: '/ 1' incorporates: + * MATLAB Function: '/g_aucFLOW_AF_BLR_AF_TGT' + * MATLAB Function: '/get_vtg_for_LVL' */ rtb_deg_en = (int16_t)(g_aucFLOW_AF_BLR_AF_TGT[i - 1] - tmp[(((int32_t)qY - 1) * 6 + tmp_0) - 1]); - /* Gain: '/Gain6' */ + /* Gain: '/Gain6' */ i = 13107 * rtb_deg_en; rtb_X_c = (int8_t)(((((uint32_t)i & 65536U) != 0U) && ((((uint32_t)i & 65535U) != 0U) || (i > 0))) + (i >> 17)); - /* Switch: '/Switch3' incorporates: - * Gain: '/Gain7' - * Sum: '/Add1' + /* Switch: '/Switch3' incorporates: + * Gain: '/Gain7' + * Sum: '/Add1' */ /* : c_g_aucFLOW_AF_FOOT_PLUS = g_aucFLOW_AF_FOOT_PLUS(LVL + 1 + 6); */ if (rtb_X_c >= 0) { rtb_FRF_NEW = rty_Out1[6]; } else { - /* MATLAB Function: '/g_aucFLOW_AF_FOOT_PLUS' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_AF_FOOT_PLUS' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ i = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { @@ -2644,62 +2786,62 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t tmp_0 = 255; } - /* Gain: '/Gain7' incorporates: - * MATLAB Function: '/g_aucFLOW_AF_FOOT_PLUS' - * Product: '/Product4' + /* Gain: '/Gain7' incorporates: + * MATLAB Function: '/g_aucFLOW_AF_FOOT_PLUS' + * Product: '/Product4' */ i = g_aucFLOW_AF_FOOT_PLUS[tmp_0 - 1] * rtb_X_c * 13107; rtb_FRF_NEW = (uint16_t)((int16_t)rty_Out1[6] - (int8_t)(((((uint32_t)i & 65536U) != 0U) && (((uint32_t)i & 65535U) != 0U)) + (i >> 17))); } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ - /* MATLAB Function: '/g_aucFLOW_AF_FOOT_VALVE_MAX' */ + /* MATLAB Function: '/g_aucFLOW_AF_FOOT_VALVE_MAX' */ g_aucFLOW_AF_FOOT_VALVE_MAX_e(rtu_LVL, &rtb_c_g_aucFLOW_AF_FOOT_VALVE_MAX); - /* MATLAB Function: '/g_assFLOW_AF_AMB_TGT' */ + /* MATLAB Function: '/g_assFLOW_AF_AMB_TGT' */ /* : c_g_aucFLOW_AF_VENT_PLUS = g_aucFLOW_AF_VENT_PLUS(LVL + 1); */ g_assFLOW_AF_AMB_TGT_g(rtu_LVL, &rtb_deg_en); - /* Sum: '/deg' */ + /* Sum: '/deg' */ rtb_deg_en -= rtu_Amb_Fb; - /* Gain: '/Gain2' */ + /* Gain: '/Gain2' */ i = 13107 * rtb_deg_en; rtb_X_c = (int8_t)(((((uint32_t)i & 65536U) != 0U) && ((((uint32_t)i & 65535U) != 0U) || (i > 0))) + (i >> 17)); - /* Switch: '/if (deg < 0)' incorporates: - * Sum: '/ ' - * Switch: '/Switch2' + /* Switch: '/if (deg < 0)' incorporates: + * Sum: '/ ' + * Switch: '/Switch2' */ if (rtb_X_c >= 0) { - rtb_Switch2_ar_idx_0 = rty_Out1[0]; - rtb_Switch2_ar_idx_1 = rty_Out1[1]; + rtb_Switch2_arn_idx_0 = rty_Out1[0]; + rtb_Switch2_arn_idx_1 = rty_Out1[1]; } else { - /* MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ i = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { i = 255; } - /* Product: '/Умножили' incorporates: - * Gain: '/Gain' - * MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' + /* Product: '/Умножили' incorporates: + * Gain: '/Gain' + * MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' */ rtb_deg_en = (int16_t)((int32_t)((g_aucFLOW_AF_VENT_PLUS[i - 1] * 205U + 1024U) >> 11) * rtb_X_c); - rtb_Switch2_ar_idx_0 = (uint16_t)(rty_Out1[0] - rtb_deg_en); - rtb_Switch2_ar_idx_1 = (uint16_t)(rty_Out1[1] - rtb_deg_en); + rtb_Switch2_arn_idx_0 = (uint16_t)(rty_Out1[0] - rtb_deg_en); + rtb_Switch2_arn_idx_1 = (uint16_t)(rty_Out1[1] - rtb_deg_en); } - /* End of Switch: '/if (deg < 0)' */ + /* End of Switch: '/if (deg < 0)' */ - /* MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_AF_VENT_VALVE_MAX = g_aucFLOW_AF_VENT_VALVE_MAX(LVL + 1); */ i = (int32_t)(rtu_LVL + 1U); @@ -2709,43 +2851,43 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_AF_VENT_VALVE_MAX_k = g_aucFLOW_AF_VENT_VALVE_MAX[i - 1]; - /* End of MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' */ + /* End of MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' */ - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ - if (rtb_Switch2_ar_idx_0 > rtb_c_g_aucFLOW_AF_VENT_VALVE_MAX_k) { - rtb_Switch2_ar_idx_0 = rtb_c_g_aucFLOW_AF_VENT_VALVE_MAX_k; + if (rtb_Switch2_arn_idx_0 > rtb_c_g_aucFLOW_AF_VENT_VALVE_MAX_k) { + rtb_Switch2_arn_idx_0 = rtb_c_g_aucFLOW_AF_VENT_VALVE_MAX_k; } - if (rtb_Switch2_ar_idx_1 > rtb_c_g_aucFLOW_AF_VENT_VALVE_MAX_k) { - rtb_Switch2_ar_idx_1 = rtb_c_g_aucFLOW_AF_VENT_VALVE_MAX_k; + if (rtb_Switch2_arn_idx_1 > rtb_c_g_aucFLOW_AF_VENT_VALVE_MAX_k) { + rtb_Switch2_arn_idx_1 = rtb_c_g_aucFLOW_AF_VENT_VALVE_MAX_k; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* MATLAB Function: '/g_assFLOW_AF_AMB_TGT' */ + /* MATLAB Function: '/g_assFLOW_AF_AMB_TGT' */ /* : c_g_aucFLOW_AF_VENT_PLUS = g_aucFLOW_AF_VENT_PLUS(LVL + 1 + 6); */ g_assFLOW_AF_AMB_TGT_g(rtu_LVL, &rtb_deg_en); - /* Gain: '/Gain2' incorporates: - * Sum: '/deg' + /* Gain: '/Gain2' incorporates: + * Sum: '/deg' */ i = (int16_t)(rtb_deg_en - rtu_Amb_Fb) * 13107; rtb_X_c = (int8_t)(((((uint32_t)i & 65536U) != 0U) && ((((uint32_t)i & 65535U) != 0U) || (i > 0))) + (i >> 17)); - /* Switch: '/if (deg < 0)' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Sum: '/ ' - * Switch: '/Switch2' + /* Switch: '/if (deg < 0)' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Sum: '/ ' + * Switch: '/Switch2' */ if (rtb_X_c >= 0) { - rtb_Switch2_j3_idx_0 = rty_Out1[0]; - rtb_Switch2_j3_idx_1 = rty_Out1[1]; + rtb_Switch2_j_idx_0 = rty_Out1[0]; + rtb_Switch2_j_idx_1 = rty_Out1[1]; } else { - /* MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ i = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { @@ -2757,20 +2899,20 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t tmp_0 = 255; } - /* Product: '/Умножили' incorporates: - * Gain: '/Gain' - * MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' + /* Product: '/Умножили' incorporates: + * Gain: '/Gain' + * MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' */ rtb_deg_en = (int16_t)((int32_t)((g_aucFLOW_AF_VENT_PLUS[tmp_0 - 1] * 205U + 1024U) >> 11) * rtb_X_c); - rtb_Switch2_j3_idx_0 = (uint16_t)((int16_t)rty_Out1[0] - rtb_deg_en); - rtb_Switch2_j3_idx_1 = (uint16_t)((int16_t)rty_Out1[1] - rtb_deg_en); + rtb_Switch2_j_idx_0 = (uint16_t)((int16_t)rty_Out1[0] - rtb_deg_en); + rtb_Switch2_j_idx_1 = (uint16_t)((int16_t)rty_Out1[1] - rtb_deg_en); } - /* End of Switch: '/if (deg < 0)' */ + /* End of Switch: '/if (deg < 0)' */ - /* MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' incorporates: - * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' incorporates: + * MATLAB Function: '/g_assFLOW_BI2_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_AF_VENT_VALVE_MAX = g_aucFLOW_AF_VENT_VALVE_MAX(LVL + 1 + 6); */ i = (int32_t)(rtu_LVL + 1U); @@ -2785,80 +2927,80 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_AF_VENT_VALVE_MAX_k = g_aucFLOW_AF_VENT_VALVE_MAX[tmp_0 - 1]; - /* End of MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' */ + /* End of MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' */ - /* Assignment: '/Присваивание в [1-2]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch2' + /* Assignment: '/Присваивание в [1-2]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch2' */ - rty_Out1[0] = rtb_Switch2_ar_idx_0; + rty_Out1[0] = rtb_Switch2_arn_idx_0; - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ - if (rtb_Switch2_j3_idx_0 > rtb_c_g_aucFLOW_AF_VENT_VALVE_MAX_k) { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + if (rtb_Switch2_j_idx_0 > rtb_c_g_aucFLOW_AF_VENT_VALVE_MAX_k) { + /* Assignment: '/Присваивание в [3-4]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[2] = rtb_c_g_aucFLOW_AF_VENT_VALVE_MAX_k; } else { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * SignalConversion generated from: '/Out1' */ - rty_Out1[2] = rtb_Switch2_j3_idx_0; + rty_Out1[2] = rtb_Switch2_j_idx_0; } - /* Assignment: '/Присваивание в [1-2]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch2' + /* Assignment: '/Присваивание в [1-2]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch2' */ - rty_Out1[1] = rtb_Switch2_ar_idx_1; + rty_Out1[1] = rtb_Switch2_arn_idx_1; - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ - if (rtb_Switch2_j3_idx_1 > rtb_c_g_aucFLOW_AF_VENT_VALVE_MAX_k) { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + if (rtb_Switch2_j_idx_1 > rtb_c_g_aucFLOW_AF_VENT_VALVE_MAX_k) { + /* Assignment: '/Присваивание в [3-4]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[3] = rtb_c_g_aucFLOW_AF_VENT_VALVE_MAX_k; } else { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * SignalConversion generated from: '/Out1' */ - rty_Out1[3] = rtb_Switch2_j3_idx_1; + rty_Out1[3] = rtb_Switch2_j_idx_1; } - /* Assignment: '/Присваивание в [5]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [5]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[4] = rtb_FLF_NEW; - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ if (rtb_FRF_NEW > rtb_c_g_aucFLOW_AF_FOOT_VALVE_MAX) { - /* Assignment: '/Присваивание в [7]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [7]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[6] = rtb_c_g_aucFLOW_AF_FOOT_VALVE_MAX; } else { - /* Assignment: '/Присваивание в [7]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Присваивание в [7]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[6] = rtb_FRF_NEW; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ } /* * Output and update for atomic system: - * '/g_aucFLOW_AFSM_FOOT_VALVE_MAX' - * '/g_aucFLOW_AF_FOOT_VALVE_MAX' - * '/g_aucFLOW_AFSM_FOOT_VALVE_MAX' - * '/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '/g_aucFLOW_AFSM_FOOT_VALVE_MAX' + * '/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '/g_aucFLOW_AFSM_FOOT_VALVE_MAX' + * '/g_aucFLOW_AF_FOOT_VALVE_MAX' */ void g_aucFLOW_AFSM_FOOT_VALVE_MAX_f(uint8_t rtu_LVL, uint8_t *rty_c_g_aucFLOW_AFSM_FOOT_VALVE_MAX) @@ -2876,8 +3018,8 @@ void g_aucFLOW_AFSM_FOOT_VALVE_MAX_f(uint8_t rtu_LVL, uint8_t /* * Output and update for action system: - * '/Afoot_Summer' - * '/Afoot_Summer' + * '/Afoot_Summer' + * '/Afoot_Summer' */ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtu_setTempFL, uint8_t rtu_setTempFR) @@ -2895,71 +3037,71 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_c_g_aucFLOW_AFSM_FOOT_VALVE_MAX; uint8_t rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g; - /* MATLAB Function: '/get_tg_for_LVL' */ + /* MATLAB Function: '/get_tg_for_LVL' */ /* : c_g_assFLOW_AFSM_TEMP_TGT = g_assFLOW_AFSM_TEMP_TGT(LVL + 1); */ get_tg_FLL_for_LVL(rtu_LVL, rtu_setTempFL, &rtb_deg_c); - /* MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' */ + /* MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { tmp_0 = 255; } - /* Sum: '/ 1' incorporates: - * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' + /* Sum: '/ 1' incorporates: + * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' */ rtb_deg_c = (int16_t)(g_assFLOW_AFSM_TEMP_TGT[tmp_0 - 1] - rtb_deg_c); - /* Gain: '/Gain6' */ + /* Gain: '/Gain6' */ tmp_0 = 13107 * rtb_deg_c; rtb_X_m = (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & 65535U) != 0U) || (tmp_0 > 0))) + (tmp_0 >> 17)); - /* Switch: '/Switch1' incorporates: - * Gain: '/Gain6' - * Sum: '/Add' + /* Switch: '/Switch1' incorporates: + * Gain: '/Gain6' + * Sum: '/Add' */ /* : c_g_aucFLOW_AFSM_FOOT_PLUS = g_aucFLOW_AFSM_FOOT_PLUS(LVL + 1); */ if (rtb_X_m >= 0) { rtb_FLF_NEW = rty_Out1[4]; } else { - /* MATLAB Function: '/g_aucFLOW_AFSM_FOOT_PLUS' incorporates: - * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_AFSM_FOOT_PLUS' incorporates: + * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { tmp_0 = 255; } - /* Gain: '/Gain6' incorporates: - * MATLAB Function: '/g_aucFLOW_AFSM_FOOT_PLUS' - * Product: '/Product3' + /* Gain: '/Gain6' incorporates: + * MATLAB Function: '/g_aucFLOW_AFSM_FOOT_PLUS' + * Product: '/Product3' */ tmp_0 = g_aucFLOW_AFSM_FOOT_PLUS[tmp_0 - 1] * rtb_X_m * 13107; rtb_FLF_NEW = (uint16_t)((int16_t)rty_Out1[4] - (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && (((uint32_t)tmp_0 & 65535U) != 0U)) + (tmp_0 >> 17))); } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* MATLAB Function: '/g_aucFLOW_AFSM_FOOT_VALVE_MAX' */ + /* MATLAB Function: '/g_aucFLOW_AFSM_FOOT_VALVE_MAX' */ g_aucFLOW_AFSM_FOOT_VALVE_MAX_f(rtu_LVL, &rtb_c_g_aucFLOW_AFSM_FOOT_VALVE_MAX); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ if (rtb_FLF_NEW > rtb_c_g_aucFLOW_AFSM_FOOT_VALVE_MAX) { rtb_FLF_NEW = rtb_c_g_aucFLOW_AFSM_FOOT_VALVE_MAX; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* MATLAB Function: '/get_tg_FLL_for_LVL' */ + /* MATLAB Function: '/get_tg_FLL_for_LVL' */ /* : c_g_assFLOW_AFSM_TEMP_TGT = g_assFLOW_AFSM_TEMP_TGT(LVL + 1 + 6); */ get_tg_FLL_for_LVL_j(rtu_LVL, rtu_setTempFR, &rtb_deg_c); - /* MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT' incorporates: - * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT' incorporates: + * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { @@ -2971,24 +3113,24 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], tmp = 255; } - /* Gain: '/Gain6' incorporates: - * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT' - * Sum: '/ 1' + /* Gain: '/Gain6' incorporates: + * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT' + * Sum: '/ 1' */ tmp_0 = (int16_t)(g_assFLOW_AFSM_TEMP_TGT[tmp - 1] - rtb_deg_c) * 13107; rtb_X_m = (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & 65535U) != 0U) || (tmp_0 > 0))) + (tmp_0 >> 17)); - /* Switch: '/Switch3' incorporates: - * Gain: '/Gain7' - * Sum: '/Add1' + /* Switch: '/Switch3' incorporates: + * Gain: '/Gain7' + * Sum: '/Add1' */ /* : c_g_aucFLOW_AFSM_FOOT_PLUS = g_aucFLOW_AFSM_FOOT_PLUS(LVL + 1 + 6); */ if (rtb_X_m >= 0) { rtb_FRF_NEW = rty_Out1[6]; } else { - /* MATLAB Function: '/g_aucFLOW_AFSM_FOOT_PLUS' incorporates: - * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_AFSM_FOOT_PLUS' incorporates: + * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { @@ -3000,22 +3142,22 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], tmp = 255; } - /* Gain: '/Gain7' incorporates: - * MATLAB Function: '/g_aucFLOW_AFSM_FOOT_PLUS' - * Product: '/Product4' + /* Gain: '/Gain7' incorporates: + * MATLAB Function: '/g_aucFLOW_AFSM_FOOT_PLUS' + * Product: '/Product4' */ tmp_0 = g_aucFLOW_AFSM_FOOT_PLUS[tmp - 1] * rtb_X_m * 13107; rtb_FRF_NEW = (uint16_t)((int16_t)rty_Out1[6] - (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && (((uint32_t)tmp_0 & 65535U) != 0U)) + (tmp_0 >> 17))); } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ - /* MATLAB Function: '/g_aucFLOW_AF_FOOT_VALVE_MAX' */ + /* MATLAB Function: '/g_aucFLOW_AF_FOOT_VALVE_MAX' */ g_aucFLOW_AFSM_FOOT_VALVE_MAX_f(rtu_LVL, &rtb_c_g_aucFLOW_AFSM_FOOT_VALVE_MAX); - /* MATLAB Function: '/g_assFLOW_AFSM_AMB_TGT' incorporates: - * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_assFLOW_AFSM_AMB_TGT' incorporates: + * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_AFSM_VENT_PLUS = g_aucFLOW_AFSM_VENT_PLUS(LVL + 1); */ /* : c_g_assFLOW_AFSM_AMB_TGT = g_assFLOW_AFSM_AMB_TGT(LVL + 1); */ @@ -3024,35 +3166,35 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], tmp_0 = 255; } - /* Sum: '/deg' incorporates: - * MATLAB Function: '/g_assFLOW_AFSM_AMB_TGT' + /* Sum: '/deg' incorporates: + * MATLAB Function: '/g_assFLOW_AFSM_AMB_TGT' */ rtb_deg_c = (int16_t)(g_assFLOW_AFSM_AMB_TGT[tmp_0 - 1] - rtu_Amb_Fb); - /* Gain: '/Gain2' */ + /* Gain: '/Gain2' */ tmp_0 = 13107 * rtb_deg_c; rtb_X_m = (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & 65535U) != 0U) || (tmp_0 > 0))) + (tmp_0 >> 17)); - /* Switch: '/if (deg < 0)' incorporates: - * Sum: '/ ' - * Switch: '/Switch2' + /* Switch: '/if (deg < 0)' incorporates: + * Sum: '/ ' + * Switch: '/Switch2' */ if (rtb_X_m >= 0) { rtb_Switch2_lt_idx_0 = rty_Out1[0]; rtb_Switch2_lt_idx_1 = rty_Out1[1]; } else { - /* MATLAB Function: '/g_aucFLOW_AFSM_VENT_PLUS' incorporates: - * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_AFSM_VENT_PLUS' incorporates: + * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { tmp_0 = 255; } - /* Product: '/Умножили' incorporates: - * Gain: '/Gain' - * MATLAB Function: '/g_aucFLOW_AFSM_VENT_PLUS' + /* Product: '/Умножили' incorporates: + * Gain: '/Gain' + * MATLAB Function: '/g_aucFLOW_AFSM_VENT_PLUS' */ rtb_deg_c = (int16_t)((int32_t)((g_aucFLOW_AFSM_VENT_PLUS[tmp_0 - 1] * 205U + 1024U) >> 11) * rtb_X_m); @@ -3060,10 +3202,10 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], rtb_Switch2_lt_idx_1 = (uint16_t)(rty_Out1[1] - rtb_deg_c); } - /* End of Switch: '/if (deg < 0)' */ + /* End of Switch: '/if (deg < 0)' */ - /* MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' incorporates: - * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' incorporates: + * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_AFSM_VENT_VALVE_MAX = g_aucFLOW_AFSM_VENT_VALVE_MAX(LVL + 1); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -3074,10 +3216,10 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g = g_aucFLOW_AFSM_VENT_VALVE_MAX[tmp_0 - 1]; - /* End of MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' */ + /* End of MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' */ - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ if (rtb_Switch2_lt_idx_0 > rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g) { rtb_Switch2_lt_idx_0 = rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g; @@ -3087,30 +3229,30 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], rtb_Switch2_lt_idx_1 = rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* MATLAB Function: '/g_assFLOW_AF_AMB_TGT' */ + /* MATLAB Function: '/g_assFLOW_AF_AMB_TGT' */ /* : c_g_aucFLOW_AFSM_VENT_PLUS = g_aucFLOW_AFSM_VENT_PLUS(LVL + 1 + 6); */ g_assFLOW_AF_AMB_TGT_g(rtu_LVL, &rtb_deg_c); - /* Gain: '/Gain2' incorporates: - * Sum: '/deg' + /* Gain: '/Gain2' incorporates: + * Sum: '/deg' */ tmp_0 = (int16_t)(rtb_deg_c - rtu_Amb_Fb) * 13107; rtb_X_m = (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & 65535U) != 0U) || (tmp_0 > 0))) + (tmp_0 >> 17)); - /* Switch: '/if (deg < 0)' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Sum: '/ ' - * Switch: '/Switch2' + /* Switch: '/if (deg < 0)' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Sum: '/ ' + * Switch: '/Switch2' */ if (rtb_X_m >= 0) { rtb_Switch2_j1_idx_0 = rty_Out1[0]; rtb_Switch2_j1_idx_1 = rty_Out1[1]; } else { - /* MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' incorporates: - * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' incorporates: + * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' */ tmp_0 = (int32_t)(rtu_LVL + 1U); if (rtu_LVL + 1U > 255U) { @@ -3122,9 +3264,9 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], tmp = 255; } - /* Product: '/Умножили' incorporates: - * Gain: '/Gain' - * MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' + /* Product: '/Умножили' incorporates: + * Gain: '/Gain' + * MATLAB Function: '/g_aucFLOW_AF_VENT_PLUS' */ rtb_deg_c = (int16_t)((int32_t)((g_aucFLOW_AFSM_VENT_PLUS[tmp - 1] * 205U + 1024U) >> 11) * rtb_X_m); @@ -3132,10 +3274,10 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], rtb_Switch2_j1_idx_1 = (uint16_t)((int16_t)rty_Out1[1] - rtb_deg_c); } - /* End of Switch: '/if (deg < 0)' */ + /* End of Switch: '/if (deg < 0)' */ - /* MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' incorporates: - * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' + /* MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' incorporates: + * MATLAB Function: '/g_assFLOW_AFSM_TEMP_TGT_LEFT' */ /* : c_g_aucFLOW_AFSM_VENT_VALVE_MAX = g_aucFLOW_AFSM_VENT_VALVE_MAX(LVL + 1 + 6); */ tmp_0 = (int32_t)(rtu_LVL + 1U); @@ -3150,72 +3292,72 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g = g_aucFLOW_AFSM_VENT_VALVE_MAX[tmp - 1]; - /* End of MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' */ + /* End of MATLAB Function: '/g_aucFLOW_AF_VENT_VALVE_MAX' */ - /* Assignment: '/Присваивание в [1-2]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch2' + /* Assignment: '/Присваивание в [1-2]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch2' */ rty_Out1[0] = rtb_Switch2_lt_idx_0; - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ if (rtb_Switch2_j1_idx_0 > rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g) { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[2] = rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g; } else { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[2] = rtb_Switch2_j1_idx_0; } - /* Assignment: '/Присваивание в [1-2]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch2' + /* Assignment: '/Присваивание в [1-2]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch2' */ rty_Out1[1] = rtb_Switch2_lt_idx_1; - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ if (rtb_Switch2_j1_idx_1 > rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g) { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[3] = rtb_c_g_aucFLOW_AFSM_VENT_VALVE_MAX_g; } else { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[3] = rtb_Switch2_j1_idx_1; } - /* Assignment: '/Присваивание в [5]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [5]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[4] = rtb_FLF_NEW; - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ if (rtb_FRF_NEW > rtb_c_g_aucFLOW_AFSM_FOOT_VALVE_MAX) { - /* Assignment: '/Присваивание в [7]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [7]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[6] = rtb_c_g_aucFLOW_AFSM_FOOT_VALVE_MAX; } else { - /* Assignment: '/Присваивание в [7]' incorporates: - * SignalConversion generated from: '/Out1' - * Switch: '/Switch' + /* Assignment: '/Присваивание в [7]' incorporates: + * SignalConversion generated from: '/Out1' + * Switch: '/Switch' */ rty_Out1[6] = rtb_FRF_NEW; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ } double rt_roundd(double u_0) @@ -3238,8 +3380,8 @@ double rt_roundd(double u_0) /* * Output and update for atomic system: - * '/Начальные положения заслонок left' - * '/Начальные положения заслонок right' + * '/Начальные положения заслонок left' + * '/Начальные положения заслонок right' */ void left(uint8_t rtu_idx, uint16_t rty_vals[9]) { @@ -3269,126 +3411,3063 @@ void left(uint8_t rtu_idx, uint16_t rty_vals[9]) /* * Output and update for action system: - * '/If Action Subsystem' - * '/If Action Subsystem' + * '/If Action Subsystem' + * '/If Action Subsystem' */ void IfActionSubsystem(uint8_t rtu_In1, int8_t *rty_Out1, int16_t *rty_Out2) { - /* Lookup_n-D: '/1-D Lookup Table1' */ - *rty_Out1 = look1_iu8lu64n56ts8Ds16_binlcs(rtu_In1, rtConstP.pooled98, + /* Lookup_n-D: '/1-D Lookup Table1' */ + *rty_Out1 = look1_iu8lu64n56ts8Ds16_binlcs(rtu_In1, rtConstP.pooled107, &g_ascFOOT_STEP_VALVE_M1[0], 10U); - /* Lookup_n-D: '/1-D Lookup Table2' */ - *rty_Out2 = look1_iu8lu64n48ts16Ds32_binlcs(rtu_In1, rtConstP.pooled98, + /* Lookup_n-D: '/1-D Lookup Table2' */ + *rty_Out2 = look1_iu8lu64n48ts16Ds32_binlcs(rtu_In1, rtConstP.pooled107, &g_assFOOT_STEP_BLR_M1[0], 10U); } /* * Output and update for action system: - * '/If Action Subsystem1' - * '/If Action Subsystem1' - * '/If Action Subsystem1' - * '/If Action Subsystem1' - * '/If Action Subsystem1' - * '/If Action Subsystem1' + * '/If Action Subsystem1' + * '/If Action Subsystem1' + * '/If Action Subsystem1' + * '/If Action Subsystem1' + * '/If Action Subsystem1' + * '/If Action Subsystem1' */ void IfActionSubsystem1(int8_t *rty_Out1, int16_t *rty_Out2) { - /* SignalConversion generated from: '/Out1' incorporates: - * Constant: '/Constant' + /* SignalConversion generated from: '/Out1' incorporates: + * Constant: '/Constant' */ *rty_Out1 = 0; - /* SignalConversion generated from: '/Out2' incorporates: - * Constant: '/Constant1' + /* SignalConversion generated from: '/Out2' incorporates: + * Constant: '/Constant1' */ *rty_Out2 = 0; } /* * Output and update for action system: - * '/If Action Subsystem2' - * '/If Action Subsystem2' + * '/If Action Subsystem2' + * '/If Action Subsystem2' */ void IfActionSubsystem2(uint8_t rtu_In1, int8_t *rty_Out1, int16_t *rty_Out2) { - /* Lookup_n-D: '/1-D Lookup Table' */ - *rty_Out1 = look1_iu8lu64n56ts8Ds16_binlcs(rtu_In1, rtConstP.pooled98, + /* Lookup_n-D: '/1-D Lookup Table' */ + *rty_Out1 = look1_iu8lu64n56ts8Ds16_binlcs(rtu_In1, rtConstP.pooled107, &g_ascFOOT_STEP_VALVE_P1[0], 10U); - /* Lookup_n-D: '/1-D Lookup Table2' */ - *rty_Out2 = look1_iu8lu64n48ts16Ds32_binlcs(rtu_In1, rtConstP.pooled98, + /* Lookup_n-D: '/1-D Lookup Table2' */ + *rty_Out2 = look1_iu8lu64n48ts16Ds32_binlcs(rtu_In1, rtConstP.pooled107, &g_assFOOT_STEP_BLR_P1[0], 10U); } /* * Output and update for action system: - * '/If Action Subsystem' - * '/If Action Subsystem' + * '/If Action Subsystem' + * '/If Action Subsystem' */ void IfActionSubsystem_b(uint8_t rtu_In1, int8_t *rty_Out1, int16_t *rty_Out2) { - /* Lookup_n-D: '/1-D Lookup Table1' */ - *rty_Out1 = look1_iu8lu64n56ts8Ds16_binlcs(rtu_In1, rtConstP.pooled98, + /* Lookup_n-D: '/1-D Lookup Table1' */ + *rty_Out1 = look1_iu8lu64n56ts8Ds16_binlcs(rtu_In1, rtConstP.pooled107, &g_ascFOOT_STEP_VALVE_M2[0], 10U); - /* Lookup_n-D: '/1-D Lookup Table2' */ - *rty_Out2 = look1_iu8lu64n48ts16Ds32_binlcs(rtu_In1, rtConstP.pooled98, + /* Lookup_n-D: '/1-D Lookup Table2' */ + *rty_Out2 = look1_iu8lu64n48ts16Ds32_binlcs(rtu_In1, rtConstP.pooled107, &g_assFOOT_STEP_BLR_M2[0], 10U); } /* * Output and update for action system: - * '/If Action Subsystem2' - * '/If Action Subsystem2' + * '/If Action Subsystem2' + * '/If Action Subsystem2' */ void IfActionSubsystem2_o(uint8_t rtu_In1, int8_t *rty_Out1, int16_t *rty_Out2) { - /* Lookup_n-D: '/1-D Lookup Table' */ - *rty_Out1 = look1_iu8lu64n56ts8Ds16_binlcs(rtu_In1, rtConstP.pooled98, + /* Lookup_n-D: '/1-D Lookup Table' */ + *rty_Out1 = look1_iu8lu64n56ts8Ds16_binlcs(rtu_In1, rtConstP.pooled107, &g_ascFOOT_STEP_VALVE_P2[0], 10U); - /* Lookup_n-D: '/1-D Lookup Table2' */ - *rty_Out2 = look1_iu8lu64n48ts16Ds32_binlcs(rtu_In1, rtConstP.pooled98, + /* Lookup_n-D: '/1-D Lookup Table2' */ + *rty_Out2 = look1_iu8lu64n48ts16Ds32_binlcs(rtu_In1, rtConstP.pooled107, &g_assFOOT_STEP_BLR_P2[0], 10U); } /* * Output and update for action system: - * '/If Action Subsystem' - * '/If Action Subsystem' + * '/If Action Subsystem' + * '/If Action Subsystem' */ void IfActionSubsystem_n(uint8_t rtu_In1, int8_t *rty_Out1, int16_t *rty_Out2) { - /* Lookup_n-D: '/1-D Lookup Table1' */ - *rty_Out1 = look1_iu8lu64n56ts8Ds16_binlcs(rtu_In1, rtConstP.pooled98, + /* Lookup_n-D: '/1-D Lookup Table1' */ + *rty_Out1 = look1_iu8lu64n56ts8Ds16_binlcs(rtu_In1, rtConstP.pooled107, &g_ascFOOT_STEP_VALVE_M3[0], 10U); - /* Lookup_n-D: '/1-D Lookup Table2' */ - *rty_Out2 = look1_iu8lu64n48ts16Ds32_binlcs(rtu_In1, rtConstP.pooled98, + /* Lookup_n-D: '/1-D Lookup Table2' */ + *rty_Out2 = look1_iu8lu64n48ts16Ds32_binlcs(rtu_In1, rtConstP.pooled107, &g_assFOOT_STEP_BLR_M3[0], 10U); } /* * Output and update for action system: - * '/If Action Subsystem2' - * '/If Action Subsystem2' + * '/If Action Subsystem2' + * '/If Action Subsystem2' */ void IfActionSubsystem2_c(uint8_t rtu_In1, int8_t *rty_Out1, int16_t *rty_Out2) { - /* Lookup_n-D: '/1-D Lookup Table' */ - *rty_Out1 = look1_iu8lu64n56ts8Ds16_binlcs(rtu_In1, rtConstP.pooled98, + /* Lookup_n-D: '/1-D Lookup Table' */ + *rty_Out1 = look1_iu8lu64n56ts8Ds16_binlcs(rtu_In1, rtConstP.pooled107, &g_ascFOOT_STEP_VALVE_P3[0], 10U); - /* Lookup_n-D: '/1-D Lookup Table2' */ - *rty_Out2 = look1_iu8lu64n48ts16Ds32_binlcs(rtu_In1, rtConstP.pooled98, + /* Lookup_n-D: '/1-D Lookup Table2' */ + *rty_Out2 = look1_iu8lu64n48ts16Ds32_binlcs(rtu_In1, rtConstP.pooled107, &g_assFOOT_STEP_BLR_P3[0], 10U); } /* * Output and update for atomic system: - * '/correction rate' - * '/correction rate' + * '/g_assSTART_ENTER_INCAR' + * '/g_assSTART_ENTER_INCAR' + */ +void g_assSTART_ENTER_INCAR_n(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t tmp; + + /* : out = int16(g_assSTART_ENTER_INCAR(LVL+1)); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_assSTART_ENTER_INCAR[tmp - 1]; +} + +/* + * Output and update for action system: + * '/Level 2' + * '/Level 2' + */ +void Level2(int8_t *rty_step) +{ + /* SignalConversion generated from: '/step' incorporates: + * Constant: '/Constant' + */ + *rty_step = 3; +} + +/* + * Output and update for atomic system: + * '/g_assSTART_ENTER_COOLANT ' + * '/g_assSTART_ENTER_COOLANT ' + * '/g_assSTART_ENTER_COOLANT ' + */ +void g_assSTART_ENTER_COOLANT_m(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t q0; + uint32_t qY; + + /* : out = int16(g_assSTART_ENTER_COOLANT(LVL + 1 - 3)); */ + q0 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + q0 = 255; + } + + /* MW:begin MISRA2012:D4.1 CERT-C:INT30-C 'Justifying MISRA CPP rule violation' */ + qY = (uint32_t)q0 - 3U; + + /* MW:end MISRA2012:D4.1 CERT-C:INT30-C */ + if ((uint32_t)q0 - 3U > (uint32_t)q0) { + qY = 0U; + } + + *rty_out = g_assSTART_ENTER_COOLANT[(int32_t)qY - 1]; +} + +/* + * Output and update for action system: + * '/Level 4' + * '/Level 5' + */ +void Level4(int8_t *rty_step1, const uint8_t *rtd_CCU_MODE_FL, const int16_t + *rtd_ECT, const uint8_t *rtd_LEVEL, const uint8_t *rtd_LO_HI_MODE_FL) +{ + int16_t rtb_out_hi; + + /* MATLAB Function: '/g_assSTART_ENTER_COOLANT ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_ENTER_COOLANT_m(*rtd_LEVEL, &rtb_out_hi); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/LOW' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/mode driver' + * Logic: '/AND' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + */ + if ((*rtd_ECT < rtb_out_hi) && (*rtd_CCU_MODE_FL == 1) && (*rtd_LO_HI_MODE_FL + != 1)) { + *rty_step1 = 0; + } else { + *rty_step1 = -1; + } + + /* End of Switch: '/Switch' */ +} + +/* + * Output and update for action system: + * '/Level 0' + * '/Level 1' + * '/Level 2' + * '/Level 0' + * '/Level 1' + */ +void Level0(int8_t *rty_step) +{ + /* SignalConversion generated from: '/step' incorporates: + * Constant: '/Constant' + */ + *rty_step = 1; +} + +/* + * Output and update for atomic system: + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * ... + */ +void incarfilterdown(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_INCAR_FLT_DN(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_INCAR_FLT_DN[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * ... + */ +void incarfilterup(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_INCAR_FLT_UP(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_INCAR_FLT_UP[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/g_assSTART_COOLANT_STEP0_TO_1 ' + * '/g_assSTART_COOLANT_STEP0_TO_1 ' + */ +void g_assSTART_COOLANT_STEP0_TO_1_c(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t q0; + uint32_t qY; + + /* : out = int16(g_assSTART_COOLANT_STEP0_TO_1(LVL + 1 - 2)); */ + q0 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + q0 = 255; + } + + /* MW:begin MISRA2012:D4.1 CERT-C:INT30-C 'Justifying MISRA CPP rule violation' */ + qY = (uint32_t)q0 - 2U; + + /* MW:end MISRA2012:D4.1 CERT-C:INT30-C */ + if ((uint32_t)q0 - 2U > (uint32_t)q0) { + qY = 0U; + } + + *rty_out = g_assSTART_COOLANT_STEP0_TO_1[(int32_t)qY - 1]; +} + +/* + * Output and update for atomic system: + * '/3 way valve status' + * '/3 way valve status' + * '/3 way valve status' + * '/3 way valve status' + * '/3 way valve status' + */ +void uwayvalvestatus(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_3WAY_OPEN(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_3WAY_OPEN[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/Dtg_FrontLower_X' + * '/Dtg_FrontLower_X' + * '/Dtg_FrontLower_X' + */ +void Dtg_FrontLower_X(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_DUCT_TGT_STEP2_FX_L(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_DUCT_TGT_STEP2_FX_L[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/Dtg_FrontUpper_X' + * '/Dtg_FrontUpper_X' + * '/Dtg_FrontUpper_X' + */ +void Dtg_FrontUpper_X(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_DUCT_TGT_STEP2_FX_U(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_DUCT_TGT_STEP2_FX_U[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + */ +void Incartempgotofromstep1tostep2(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t tmp; + + /* : out = int16(g_assSTART_INCAR_STEP1_TO_2(LVL + 1)); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_assSTART_INCAR_STEP1_TO_2[tmp - 1]; +} + +/* + * System initialize for atomic system: + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * ... + */ +void MATLABFunction1_Init(DW_MATLABFunction1 *localDW) +{ + localDW->t_start_not_empty = false; +} + +/* + * Output and update for atomic system: + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * ... + */ +void MATLABFunction1(uint32_t rtu_t_now, uint16_t rtu_time_delta, bool + *rty_timer_out, DW_MATLABFunction1 *localDW) +{ + uint32_t qY; + + /* : if isempty(t_start) */ + if (!localDW->t_start_not_empty) { + /* : t_start = t_now; */ + localDW->t_start = rtu_t_now; + localDW->t_start_not_empty = true; + } + + /* : timer_out = (t_now - t_start) >= time_delta; */ + /* MW:begin MISRA2012:D4.1 CERT-C:INT30-C 'Justifying MISRA CPP rule violation' */ + qY = rtu_t_now - /*MW:OvSatOk*/ localDW->t_start; + + /* MW:end MISRA2012:D4.1 CERT-C:INT30-C */ + if (qY > rtu_t_now) { + qY = 0U; + } + + *rty_timer_out = (qY >= rtu_time_delta); +} + +/* + * Output and update for atomic system: + * '/blower FR' + * '/blower FR' + */ +void blowerFR(uint8_t rtu_LVL, uint16_t *rty_out) +{ + int32_t tmp; + + /* : out = g_ausSTART_BLR_AF_STEP12_F(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_ausSTART_BLR_AF_STEP12_F[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/mode FR step 1' + * '/mode FR step 1' + * '/mode FR step 1' + * '/mode FR step 1' + * '/mode FR step 1' + */ +void modeFRstep1(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_VALVE_IDX_STEP1(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_VALVE_IDX_STEP1[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/window heating' + * '/window heating' + * '/window heating' + * '/window heating' + * '/window heating' + */ +void windowheating(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_ELEC_WINDOW(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_ELEC_WINDOW[tmp - 1]; +} + +/* + * System initialize for atomic system: + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + */ +void MATLABFunction1_a_Init(DW_MATLABFunction1_f *localDW) +{ + localDW->t_start_not_empty = false; +} + +/* + * Output and update for atomic system: + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + */ +void MATLABFunction1_j(uint32_t rtu_t_now, uint32_t rtu_time_delta, bool + *rty_timer_out, DW_MATLABFunction1_f *localDW) +{ + uint32_t qY; + + /* : if isempty(t_start) */ + if (!localDW->t_start_not_empty) { + /* : t_start = t_now; */ + localDW->t_start = rtu_t_now; + localDW->t_start_not_empty = true; + } + + /* : timer_out = (t_now - t_start) >= time_delta; */ + /* MW:begin MISRA2012:D4.1 CERT-C:INT30-C 'Justifying MISRA CPP rule violation' */ + qY = rtu_t_now - /*MW:OvSatOk*/ localDW->t_start; + + /* MW:end MISRA2012:D4.1 CERT-C:INT30-C */ + if (qY > rtu_t_now) { + qY = 0U; + } + + *rty_timer_out = (qY >= rtu_time_delta); +} + +/* + * Output and update for atomic system: + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + */ +void Timegotofromstep1tostep2(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t tmp; + uint16_t tmp_0; + + /* : out = int16(g_ausSTART_TIME_STEP1_TO_2(LVL + 1)); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = g_ausSTART_TIME_STEP1_TO_2[tmp - 1]; + if (tmp_0 > 32767) { + tmp_0 = 32767U; + } + + *rty_out = (int16_t)tmp_0; +} + +/* + * Output and update for atomic system: + * '/ECT min max' + * '/ECT min max' + * '/ECT min max' + */ +void ECTminmax(uint8_t rtu_LVL, int16_t rty_out[2]) +{ + int32_t q0; + uint32_t qY; + + /* : min = int16(g_assSTART_COOLANT_STEP0_TO_1(LVL + 1 - 2)); */ + /* : max = int16(g_assSTART_COOLANT_TO_STEP2(1)); */ + /* : out = [min, max]; */ + q0 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + q0 = 255; + } + + /* MW:begin MISRA2012:D4.1 CERT-C:INT30-C 'Justifying MISRA CPP rule violation' */ + qY = (uint32_t)q0 - 2U; + + /* MW:end MISRA2012:D4.1 CERT-C:INT30-C */ + if ((uint32_t)q0 - 2U > (uint32_t)q0) { + qY = 0U; + } + + rty_out[0] = g_assSTART_COOLANT_STEP0_TO_1[(int32_t)qY - 1]; + rty_out[1] = g_assSTART_COOLANT_TO_STEP2[0]; +} + +/* + * Output and update for atomic system: + * '/blower min max' + * '/blower min max' + * '/blower min max' + */ +void blowerminmax(uint8_t rtu_LVL, uint16_t rty_out[2]) +{ + int32_t tmp; + + /* : min = 20; */ + /* : max = g_ausSTART_BLR_AF_STEP12_F(LVL + 1); */ + /* : out = [min, max]; */ + rty_out[0] = 20U; + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + rty_out[1] = g_ausSTART_BLR_AF_STEP12_F[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/3 way valve status' + * '/3 way valve status' + * '/3 way valve status' + * '/3 way valve status' + * '/3 way valve status' + */ +void uwayvalvestatus_m(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_aucSTART_3WAY_OPEN(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_aucSTART_3WAY_OPEN[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + */ +void timeforstep(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_aucSTART_DUCT_TGT_STEP2_FX_L(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_aucSTART_DUCT_TGT_STEP2_FX_L[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + */ +void timeforstep_d(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_aucSTART_DUCT_TGT_STEP2_FX_U(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_aucSTART_DUCT_TGT_STEP2_FX_U[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/Time goto from step 2 to step 3 ' + * '/Time goto from step 2 to step 3 ' + * '/Time goto from step 2 to step 3 ' + * '/Time goto from step 2 to step 3 ' + * '/Time goto from step 2 to step 3 ' + */ +void Timegotofromstep2tostep3(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t tmp; + uint16_t tmp_0; + + /* : out = int16(g_ausSTART_TIME_STEP2_TO_3(LVL + 1)); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = g_ausSTART_TIME_STEP2_TO_3[tmp - 1]; + if (tmp_0 > 32767) { + tmp_0 = 32767U; + } + + *rty_out = (int16_t)tmp_0; +} + +/* + * Output and update for atomic system: + * '/blower step' + * '/blower step' + * '/blower step' + * '/blower step' + * '/blower step' + */ +void blowerstep(uint8_t rtu_LVL, uint16_t *rty_out) +{ + int32_t tmp; + + /* : out = g_ausSTART_BLR_SPD_STEP2_F(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_ausSTART_BLR_SPD_STEP2_F[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/blower time for step' + * '/blower time for step' + * '/blower time for step' + * '/blower time for step' + * '/blower time for step' + */ +void blowertimeforstep(uint8_t rtu_LVL, uint16_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_ausSTART_BLR_SPD_STEP2_F(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_ausSTART_BLR_SPD_STEP2_F[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/step' + * '/step' + * '/step' + * '/step' + * '/step' + */ +void step_g(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_VALVE_CHANGE_SPD_F(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_VALVE_CHANGE_SPD_F[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + */ +void timeforstep_f(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_aucSTART_VALVE_CHANGE_SPD_F(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_aucSTART_VALVE_CHANGE_SPD_F[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/window heating' + * '/window heating' + * '/window heating' + * '/window heating' + */ +void windowheating_o(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_aucSTART_ELEC_WINDOW(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_aucSTART_ELEC_WINDOW[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/autodemist (autodefog)' + * '/autodemist (autodefog)' + * '/autodemist (autodefog)' + */ +void autodemistautodefog(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_AUTODEMIST2_STEP2(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_AUTODEMIST2_STEP2[tmp - 1]; +} + +/* + * System initialize for action system: + * '/Level 3' + * '/Level 4' + */ +void Level3_Init(DW_Level3 *localDW) +{ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_a_Init(&localDW->sf_MATLABFunction1); +} + +/* + * Output and update for action system: + * '/Level 3' + * '/Level 4' + */ +void Level3(int8_t *rty_step, uint8_t *rtd_Autodefog, uint8_t *rtd_Blower_FL, + uint8_t *rtd_Blower_FR, const uint8_t *rtd_Blower_logic_FL, const + uint8_t *rtd_CCU_MODE_FL, uint16_t *rtd_Dtg_FLL, uint16_t + *rtd_Dtg_FLR, uint16_t *rtd_Dtg_FUL, uint16_t *rtd_Dtg_FUR, const + int16_t *rtd_Dtg_logic_FLL, const int16_t *rtd_Dtg_logic_FUL, + uint8_t *rtd_El_window_heating, const bool *rtd_HI_logic_on, uint8_t + *rtd_Incar_filter_down_value, uint8_t *rtd_Incar_filter_up_value, + const uint8_t *rtd_LEVEL, const uint8_t *rtd_LO_HI_MODE_FL, uint8_t * + rtd_Mode_FL, uint8_t *rtd_Mode_FR, const uint8_t *rtd_Mode_logic_FL, + double *rtd_Recirculation, uint8_t *rtd_Valve_3_way, const uint32_t * + rtd_t_now, DW_Level3 *localDW) +{ + double rtb_Switch_hz; + int32_t tmp; + int16_t rtb_out_lgm; + uint16_t rtb_out_bo; + uint16_t rtb_out_ja; + uint8_t rtb_out_bdu; + uint8_t rtb_out_ea; + uint8_t rtb_out_o2; + bool rtb_timer_out_k; + + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read10' + * MATLAB Function: '/3 way valve status' + */ + uwayvalvestatus_m(*rtd_LEVEL, rtd_Valve_3_way); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + */ + rtb_out_lgm = (int16_t)((*rtd_Dtg_FLL - *rtd_Dtg_logic_FLL) >> 1); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + Dtg_FrontLower_X(*rtd_LEVEL, &rtb_out_o2); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + timeforstep(*rtd_LEVEL, &rtb_out_bdu); + + /* Abs: '/Abs' */ + if (rtb_out_lgm < 0) { + rtb_out_lgm = (int16_t)-rtb_out_lgm; + } + + /* Switch: '/Switch' incorporates: + * Abs: '/Abs' + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write12' + * Gain: '/Gain1' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((double)rtb_out_lgm * 2.0 <= 0.01) { + *rtd_Dtg_FLR = (uint16_t)*rtd_Dtg_logic_FLL; + } else { + if (*rtd_Dtg_FLL <= *rtd_Dtg_logic_FLL) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + tmp = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + tmp = -1; + } + + *rtd_Dtg_FLR = (uint16_t)rt_roundd(10.0 * (double)rtb_out_o2 / (double) + rtb_out_bdu / 1000.0 * (double)(*rtd_t_now - localDW->UnitDelay_DSTATE) * + (double)tmp + (double)*rtd_Dtg_FLL); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreWrite: '/Data Store Write12' + */ + *rtd_Dtg_FLL = *rtd_Dtg_FLR; + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + */ + rtb_out_lgm = (int16_t)((*rtd_Dtg_FUL - *rtd_Dtg_logic_FUL) >> 1); + + /* Abs: '/Abs' */ + if (rtb_out_lgm < 0) { + rtb_out_lgm = (int16_t)-rtb_out_lgm; + } + + /* End of Abs: '/Abs' */ + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_FrontUpper_X(*rtd_LEVEL, &rtb_out_o2); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + timeforstep_d(*rtd_LEVEL, &rtb_out_bdu); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write10' + * Gain: '/Gain1' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((double)rtb_out_lgm * 2.0 <= 0.01) { + *rtd_Dtg_FUR = (uint16_t)*rtd_Dtg_logic_FUL; + } else { + if (*rtd_Dtg_FUL <= *rtd_Dtg_logic_FUL) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + tmp = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + tmp = -1; + } + + *rtd_Dtg_FUR = (uint16_t)rt_roundd(10.0 * (double)rtb_out_o2 / (double) + rtb_out_bdu / 1000.0 * (double)(*rtd_t_now - localDW->UnitDelay_DSTATE_c) * + (double)tmp + (double)*rtd_Dtg_FUL); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + *rtd_Dtg_FUL = *rtd_Dtg_FUR; + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup(*rtd_LEVEL, rtd_Incar_filter_up_value); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown(*rtd_LEVEL, rtd_Incar_filter_down_value); + + /* DataStoreWrite: '/Data Store Write14' incorporates: + * DataStoreRead: '/Data Store Read3' + * MATLAB Function: '/autodemist (autodefog)' + */ + autodemistautodefog(*rtd_LEVEL, rtd_Autodefog); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + */ + rtb_out_o2 = (uint8_t)(*rtd_Mode_FL - *rtd_Mode_logic_FL); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + step_g(*rtd_LEVEL, &rtb_out_bdu); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + timeforstep_f(*rtd_LEVEL, &rtb_out_ea); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write2' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if (rtb_out_o2 <= 0.01) { + *rtd_Mode_FR = *rtd_Mode_logic_FL; + } else { + if (*rtd_Mode_FL <= *rtd_Mode_logic_FL) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + tmp = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + tmp = -1; + } + + *rtd_Mode_FR = (uint8_t)((double)rtb_out_bdu / (double)rtb_out_ea / 1000.0 * + (double)(*rtd_t_now - localDW->UnitDelay_DSTATE_f) * (double)tmp + (double)* + rtd_Mode_FL); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreWrite: '/Data Store Write2' + */ + *rtd_Mode_FL = *rtd_Mode_FR; + + /* MATLAB Function: '/window heating' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + windowheating_o(*rtd_LEVEL, &rtb_out_o2); + + /* DataStoreWrite: '/Data Store Write4' */ + *rtd_El_window_heating = rtb_out_o2; + + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerstep(*rtd_LEVEL, &rtb_out_bo); + + /* MATLAB Function: '/blower time for step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowertimeforstep(*rtd_LEVEL, &rtb_out_ja); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((uint8_t)(*rtd_Blower_FL - *rtd_Blower_logic_FL) <= 0.01) { + rtb_Switch_hz = *rtd_Blower_logic_FL; + } else { + if (*rtd_Blower_FL <= *rtd_Blower_logic_FL) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + tmp = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + tmp = -1; + } + + rtb_Switch_hz = (double)rtb_out_bo / (double)rtb_out_ja / 1000.0 * (double)(* + rtd_t_now - localDW->UnitDelay_DSTATE_l) * (double)tmp + (double)* + rtd_Blower_FL; + } + + /* End of Switch: '/Switch' */ + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + *rtd_Blower_FR = (uint8_t)rtb_Switch_hz; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + *rtd_Blower_FL = *rtd_Blower_FR; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + *rtd_Recirculation = 1.0; + + /* MATLAB Function: '/Time goto from step 2 to step 3 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep2tostep3(*rtd_LEVEL, &rtb_out_lgm); + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read13' + * Gain: '/из сек в мс' + */ + MATLABFunction1_j(*rtd_t_now, (uint32_t)(1000 * rtb_out_lgm), &rtb_timer_out_k, + &localDW->sf_MATLABFunction1); + + /* Switch: '/Switch1' incorporates: + * Constant: '/exit algorithm' + * Constant: '/not LO or HI' + * Constant: '/stay at step' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * Switch: '/Switch' + */ + if ((*rtd_CCU_MODE_FL != 1) || (*rtd_LO_HI_MODE_FL != 0)) { + *rty_step = 3; + } else if (rtb_timer_out_k || (*rtd_HI_logic_on)) { + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + */ + *rty_step = 3; + } else { + *rty_step = 2; + } + + /* End of Switch: '/Switch1' */ + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + localDW->UnitDelay_DSTATE = *rtd_t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + localDW->UnitDelay_DSTATE_c = *rtd_t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + localDW->UnitDelay_DSTATE_f = *rtd_t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + localDW->UnitDelay_DSTATE_l = *rtd_t_now; +} + +/* + * Output and update for action system: + * '/Step 3 F' + * '/Step 3 R' + */ +void Step3F(int8_t *rty_step, int8_t *rtd_start_control_finished_front) +{ + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/True' + */ + *rtd_start_control_finished_front = 1; + + /* SignalConversion generated from: '/step' incorporates: + * Constant: '/Constant1' + */ + *rty_step = 3; +} + +/* + * Output and update for atomic system: + * '/g_ausSTART_ENTER_SETTEMP' + * '/g_ausSTART_ENTER_SETTEMP' + * '/g_ausSTART_ENTER_SETTEMP' + */ +void g_ausSTART_ENTER_SETTEMP_i(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + uint16_t tmp_1; + + /* : out = int16(g_ausSTART_ENTER_SETTEMP(LVL+1+6)); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + tmp_1 = g_ausSTART_ENTER_SETTEMP[tmp_0 - 1]; + if (tmp_1 > 32767) { + tmp_1 = 32767U; + } + + *rty_out = (int16_t)tmp_1; +} + +/* + * Output and update for atomic system: + * '/g_assSTART_ENTER_INCAR' + * '/g_assSTART_ENTER_INCAR' + * '/g_assSTART_ENTER_INCAR' + * '/g_assSTART_ENTER_INCAR' + * '/g_assSTART_ENTER_INCAR' + */ +void g_assSTART_ENTER_INCAR_f(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = int16(g_assSTART_ENTER_INCAR(LVL+1+6)); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_assSTART_ENTER_INCAR[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/g_assSTART_ENTER_COOLANT ' + * '/g_assSTART_ENTER_COOLANT ' + * '/g_assSTART_ENTER_COOLANT ' + */ +void g_assSTART_ENTER_COOLANT_m1(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t tmp; + + /* : out = int16(g_assSTART_ENTER_COOLANT(LVL + 1)); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_assSTART_ENTER_COOLANT[tmp - 1]; +} + +/* + * Output and update for action system: + * '/Level 4' + * '/Level 5' + */ +void Level4_j(int8_t *rty_step1, const uint8_t *rtd_CCU_MODE_RR, const int16_t + *rtd_ECT, const int16_t *rtd_Incar_RR, const uint8_t *rtd_LEVEL, + const uint8_t *rtd_LO_HI_MODE_RR) +{ + int16_t rtb_out_lx; + int16_t rtb_out_mm; + + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + g_assSTART_ENTER_INCAR_f(*rtd_LEVEL, &rtb_out_mm); + + /* MATLAB Function: '/g_assSTART_ENTER_COOLANT ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_ENTER_COOLANT_m1(*rtd_LEVEL, &rtb_out_lx); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/LOW' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read5' + * Logic: '/AND' + * Logic: '/AND1' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + */ + if (((*rtd_Incar_RR < rtb_out_mm) || (*rtd_ECT < rtb_out_lx)) && + (*rtd_CCU_MODE_RR == 1) && (*rtd_LO_HI_MODE_RR != 1)) { + *rty_step1 = 0; + } else { + *rty_step1 = -1; + } + + /* End of Switch: '/Switch' */ +} + +/* + * Output and update for atomic system: + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + * '/incar filter down' + */ +void incarfilterdown_m(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_aucSTART_INCAR_FLT_DN(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_aucSTART_INCAR_FLT_DN[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + * '/incar filter up' + */ +void incarfilterup_j(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_aucSTART_INCAR_FLT_UP(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_aucSTART_INCAR_FLT_UP[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/g_assSTART_COOLANT_STEP0_TO_1 ' + * '/g_assSTART_COOLANT_STEP0_TO_1 ' + * '/g_assSTART_COOLANT_STEP0_TO_1 ' + */ +void g_assSTART_COOLANT_STEP0_TO_1_j(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t tmp; + + /* : out = int16(g_assSTART_COOLANT_STEP0_TO_1(LVL + 3)); */ + tmp = (int32_t)(rtu_LVL + 3U); + if (rtu_LVL + 3U > 255U) { + tmp = 255; + } + + *rty_out = g_assSTART_COOLANT_STEP0_TO_1[tmp - 1]; +} + +/* + * Output and update for action system: + * '/Level 4' + * '/Level 5' + */ +void Level4_h(int8_t *rty_step1, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, + const uint8_t *rtd_CCU_MODE_RR, uint16_t *rtd_Dtg_RL, uint16_t + *rtd_Dtg_RR, const int16_t *rtd_ECT, uint8_t + *rtd_Incar_filter_down_value, uint8_t *rtd_Incar_filter_up_value, + const uint8_t *rtd_LEVEL, const uint8_t *rtd_LO_HI_MODE_RR, + uint8_t *rtd_Mode_RL, uint8_t *rtd_Mode_RR, uint8_t + *rtd_Valve_2_way, uint8_t *rtd_Valve_3_way) +{ + int16_t rtb_out_nl; + + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' + */ + *rtd_Blower_RR = 10U; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' + */ + *rtd_Blower_RL = 10U; + + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/Constant4' + */ + *rtd_Dtg_RR = 800U; + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * Constant: '/Constant4' + */ + *rtd_Dtg_RL = 800U; + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup_j(*rtd_LEVEL, rtd_Incar_filter_up_value); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown_m(*rtd_LEVEL, rtd_Incar_filter_down_value); + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Mode - foot' + */ + *rtd_Mode_RR = 60U; + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Mode - foot' + */ + *rtd_Mode_RL = 60U; + + /* DataStoreWrite: '/Data Store Write8' incorporates: + * Constant: '/Valve open' + */ + *rtd_Valve_3_way = 1U; + + /* DataStoreWrite: '/Data Store Write9' incorporates: + * Constant: '/Valve open' + */ + *rtd_Valve_2_way = 1U; + + /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_COOLANT_STEP0_TO_1_j(*rtd_LEVEL, &rtb_out_nl); + + /* Switch: '/Switch1' incorporates: + * Constant: '/LO' + * Constant: '/exit algorithm' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + */ + if ((*rtd_CCU_MODE_RR != 1) || (*rtd_LO_HI_MODE_RR == 1)) { + *rty_step1 = 3; + } else { + *rty_step1 = (int8_t)(*rtd_ECT > rtb_out_nl); + } + + /* End of Switch: '/Switch1' */ +} + +/* + * Output and update for atomic system: + * '/2 way valve' + * '/2 way valve' + * '/2 way valve' + * '/2 way valve' + * '/2 way valve' + * '/2 way valve' + * '/2 way valve' + * '/2 way valve' + * '/2 way valve' + * '/2 way valve' + * ... + */ +void uwayvalve(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_2WAY_OPEN(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_2WAY_OPEN[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/Dtg_rear' + * '/Dtg_rear' + * '/Dtg_rear' + * '/Dtg_rear' + * '/Dtg_rear' + * '/Dtg_rear' + */ +void Dtg_rear(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_DUCT_TGT_STEP2_RX(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_DUCT_TGT_STEP2_RX[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + * '/Incar temp goto from step 1 to step 2 ' + */ +void Incartempgotofromstep1tostep2_m(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = int16(g_assSTART_INCAR_STEP1_TO_2(LVL + 1 + 6)); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_assSTART_INCAR_STEP1_TO_2[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * '/Time goto from step 1 to step 2 ' + * ... + */ +void Timegotofromstep1tostep2_n(uint8_t rtu_LVL, int16_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + uint16_t tmp_1; + + /* : out = int16(g_ausSTART_TIME_STEP1_TO_2(LVL + 1 + 6)); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + tmp_1 = g_ausSTART_TIME_STEP1_TO_2[tmp_0 - 1]; + if (tmp_1 > 32767) { + tmp_1 = 32767U; + } + + *rty_out = (int16_t)tmp_1; +} + +/* + * Output and update for atomic system: + * '/mode rear step 1' + * '/mode rear step 1' + * '/mode rear step 1' + * '/mode rear step 1' + * '/mode rear step 1' + * '/mode rear step 1' + */ +void moderearstep1(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_aucSTART_VALVE_IDX_STEP1(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_aucSTART_VALVE_IDX_STEP1[tmp_0 - 1]; +} + +/* + * System initialize for action system: + * '/Level 0' + * '/Level 1' + */ +void Level0_c_Init(DW_Level0_h *localDW) +{ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_Init(&localDW->sf_MATLABFunction1); +} + +/* + * Output and update for action system: + * '/Level 0' + * '/Level 1' + */ +void Level0_g(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, + const uint8_t *rtd_CCU_MODE_RR, uint16_t *rtd_Dtg_RL, uint16_t + *rtd_Dtg_RR, const int16_t *rtd_Incar_RR, uint8_t + *rtd_Incar_filter_down_value, uint8_t *rtd_Incar_filter_up_value, + const uint8_t *rtd_LEVEL, const uint8_t *rtd_LO_HI_MODE_RR, + uint8_t *rtd_Mode_RL, uint8_t *rtd_Mode_RR, double + *rtd_Recirculation, uint8_t *rtd_Valve_2_way, const uint32_t + *rtd_t_now, DW_Level0_h *localDW) +{ + int32_t tmp; + int16_t rtb_out_cn; + int16_t rtb_out_h3; + uint8_t rtb_out_i55; + bool rtb_timer_out_b; + + /* DataStoreWrite: '/Data Store Write9' incorporates: + * DataStoreRead: '/Data Store Read6' + * MATLAB Function: '/2 way valve' + */ + uwayvalve(*rtd_LEVEL, rtd_Valve_2_way); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup_j(*rtd_LEVEL, rtd_Incar_filter_up_value); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown_m(*rtd_LEVEL, rtd_Incar_filter_down_value); + + /* MATLAB Function: '/mode rear step 1' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + moderearstep1(*rtd_LEVEL, &rtb_out_i55); + + /* DataStoreWrite: '/Data Store Write2' */ + *rtd_Mode_RR = rtb_out_i55; + + /* DataStoreWrite: '/Data Store Write3' */ + *rtd_Mode_RL = rtb_out_i55; + + /* MATLAB Function: '/blower rear' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + /* : out = g_ausSTART_BLR_AF_STEP12_R(LVL + 1); */ + tmp = (int32_t)(*rtd_LEVEL + 1U); + if (*rtd_LEVEL + 1U > 255U) { + tmp = 255; + } + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write5' + * MATLAB Function: '/blower rear' + */ + *rtd_Blower_RR = (uint8_t)g_ausSTART_BLR_AF_STEP12_R[tmp - 1]; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + *rtd_Blower_RL = *rtd_Blower_RR; + + /* MATLAB Function: '/Dtg_rear' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_rear(*rtd_LEVEL, &rtb_out_i55); + + /* Gain: '/Gain' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + *rtd_Dtg_RR = (uint16_t)(10U * rtb_out_i55); + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + *rtd_Dtg_RL = *rtd_Dtg_RR; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + *rtd_Recirculation = 1.0; + + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + Incartempgotofromstep1tostep2_m(*rtd_LEVEL, &rtb_out_cn); + + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep1tostep2_n(*rtd_LEVEL, &rtb_out_h3); + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read9' + * Gain: '/из сек в мс' + */ + MATLABFunction1(*rtd_t_now, (uint16_t)(1000 * rtb_out_h3), &rtb_timer_out_b, + &localDW->sf_MATLABFunction1); + + /* Switch: '/Switch1' incorporates: + * Constant: '/exit algorithm' + * Constant: '/not LO or HI' + * Constant: '/stay at step 1' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * Switch: '/Switch' + */ + if ((*rtd_CCU_MODE_RR != 1) || (*rtd_LO_HI_MODE_RR != 0)) { + *rty_step = 3; + } else if ((*rtd_Incar_RR < rtb_out_cn) || rtb_timer_out_b) { + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + */ + *rty_step = 2; + } else { + *rty_step = 1; + } + + /* End of Switch: '/Switch1' */ +} + +/* + * Output and update for atomic system: + * '/blower start finish' + * '/blower start finish' + * '/blower start finish' + * '/blower start finish' + */ +void blowerstartfinish(uint8_t rtu_LVL, uint16_t rty_out[2]) +{ + int32_t tmp; + int32_t tmp_0; + + /* : start = g_ausSTART_BLR_AF_STEP12_R(LVL + 1); */ + /* : finish = g_ausSTART_BLR_AF_STEP12_R(LVL + 1 + 6); */ + /* : out = [start, finish]; */ + tmp_0 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp_0 = 255; + } + + rty_out[0] = g_ausSTART_BLR_AF_STEP12_R[tmp_0 - 1]; + tmp_0 = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp_0 = 255; + } + + tmp = (int32_t)((uint32_t)tmp_0 + 6U); + if ((uint32_t)tmp_0 + 6U > 255U) { + tmp = 255; + } + + rty_out[1] = g_ausSTART_BLR_AF_STEP12_R[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/ECT min max' + * '/ECT min max' + * '/ECT min max' + */ +void ECTminmax_j(uint8_t rtu_LVL, int16_t rty_out[2]) +{ + int32_t tmp; + + /* : min = int16(g_assSTART_COOLANT_STEP0_TO_1(LVL + 3)); */ + /* : max = int16(g_assSTART_COOLANT_TO_STEP2(3)); */ + /* : out = [min, max]; */ + tmp = (int32_t)(rtu_LVL + 3U); + if (rtu_LVL + 3U > 255U) { + tmp = 255; + } + + rty_out[0] = g_assSTART_COOLANT_STEP0_TO_1[tmp - 1]; + rty_out[1] = g_assSTART_COOLANT_TO_STEP2[2]; +} + +/* + * System initialize for action system: + * '/Level 4' + * '/Level 5' + */ +void Level4_b_Init(DW_Level4_h *localDW) +{ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_Init(&localDW->sf_MATLABFunction1); +} + +/* + * Output and update for action system: + * '/Level 4' + * '/Level 5' + */ +void Level4_m(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, + const uint8_t *rtd_CCU_MODE_RR, uint16_t *rtd_Dtg_RL, uint16_t + *rtd_Dtg_RR, const int16_t *rtd_ECT, const int16_t *rtd_Incar_RR, + uint8_t *rtd_Incar_filter_down_value, uint8_t + *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, const + uint8_t *rtd_LO_HI_MODE_RR, uint8_t *rtd_Mode_RL, uint8_t + *rtd_Mode_RR, double *rtd_Recirculation, uint8_t *rtd_Valve_2_way, + const uint32_t *rtd_t_now, DW_Level4_h *localDW) +{ + int16_t rtb_out_fe[2]; + int16_t rtb_out_ip; + int16_t rtb_out_kx; + uint16_t rtb_out_kn[2]; + uint8_t rtb_out_f5; + bool rtb_timer_out_b; + + /* DataStoreWrite: '/Data Store Write9' incorporates: + * DataStoreRead: '/Data Store Read6' + * MATLAB Function: '/2 way valve' + */ + uwayvalve(*rtd_LEVEL, rtd_Valve_2_way); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup_j(*rtd_LEVEL, rtd_Incar_filter_up_value); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown_m(*rtd_LEVEL, rtd_Incar_filter_down_value); + + /* MATLAB Function: '/mode rear step 1' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + moderearstep1(*rtd_LEVEL, &rtb_out_f5); + + /* DataStoreWrite: '/Data Store Write2' */ + *rtd_Mode_RR = rtb_out_f5; + + /* DataStoreWrite: '/Data Store Write3' */ + *rtd_Mode_RL = rtb_out_f5; + + /* MATLAB Function: '/blower start finish' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerstartfinish(*rtd_LEVEL, rtb_out_kn); + + /* MATLAB Function: '/ECT min max' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + ECTminmax_j(*rtd_LEVEL, rtb_out_fe); + + /* Lookup_n-D: '/blower для текущего ECT' incorporates: + * DataStoreRead: '/engine coolant temp' + */ + rtb_out_kx = look1_is16lu64n32tu16Ds32Is16_binlcs(*rtd_ECT, rtb_out_fe, + rtb_out_kn, 1U); + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write5' + * DataTypeConversion: '/Data Type Conversion1' + */ + *rtd_Blower_RR = (uint8_t)rtb_out_kx; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + *rtd_Blower_RL = *rtd_Blower_RR; + + /* MATLAB Function: '/Dtg_rear' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_rear(*rtd_LEVEL, &rtb_out_f5); + + /* Gain: '/Gain' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + *rtd_Dtg_RR = (uint16_t)(10U * rtb_out_f5); + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + *rtd_Dtg_RL = *rtd_Dtg_RR; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + *rtd_Recirculation = 1.0; + + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + Incartempgotofromstep1tostep2_m(*rtd_LEVEL, &rtb_out_ip); + + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep1tostep2_n(*rtd_LEVEL, &rtb_out_kx); + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read9' + * Gain: '/из сек в мс' + */ + MATLABFunction1(*rtd_t_now, (uint16_t)(1000 * rtb_out_kx), &rtb_timer_out_b, + &localDW->sf_MATLABFunction1); + + /* Switch: '/Switch1' incorporates: + * Constant: '/LO' + * Constant: '/exit algorithm' + * Constant: '/stay at step 1' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * Switch: '/Switch' + */ + if ((*rtd_CCU_MODE_RR != 1) || (*rtd_LO_HI_MODE_RR == 1)) { + *rty_step = 3; + } else if ((*rtd_Incar_RR > rtb_out_ip) || rtb_timer_out_b) { + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + */ + *rty_step = 2; + } else { + *rty_step = 1; + } + + /* End of Switch: '/Switch1' */ +} + +/* + * Output and update for atomic system: + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + */ +void timeforstep_k(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_aucSTART_DUCT_TGT_STEP2_RX(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_aucSTART_DUCT_TGT_STEP2_RX[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/blower step' + * '/blower step' + * '/blower step' + * '/blower step' + * '/blower step' + * '/blower step' + */ +void blowerstep_c(uint8_t rtu_LVL, uint16_t *rty_out) +{ + int32_t tmp; + + /* : out = g_ausSTART_BLR_SPD_STEP2_R(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_ausSTART_BLR_SPD_STEP2_R[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/blower time for step' + * '/blower time for step' + * '/blower time for step' + * '/blower time for step' + * '/blower time for step' + * '/blower time for step' + */ +void blowertimeforstep_k(uint8_t rtu_LVL, uint16_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_ausSTART_BLR_SPD_STEP2_R(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_ausSTART_BLR_SPD_STEP2_R[tmp_0 - 1]; +} + +/* + * Output and update for atomic system: + * '/step' + * '/step' + * '/step' + * '/step' + * '/step' + * '/step' + */ +void step_a(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + + /* : out = g_aucSTART_VALVE_CHANGE_SPD_R(LVL + 1); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + *rty_out = g_aucSTART_VALVE_CHANGE_SPD_R[tmp - 1]; +} + +/* + * Output and update for atomic system: + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + * '/time for step' + */ +void timeforstep_dm(uint8_t rtu_LVL, uint8_t *rty_out) +{ + int32_t tmp; + int32_t tmp_0; + + /* : out = g_aucSTART_VALVE_CHANGE_SPD_R(LVL + 1 + 6); */ + tmp = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + tmp = 255; + } + + tmp_0 = (int32_t)((uint32_t)tmp + 6U); + if ((uint32_t)tmp + 6U > 255U) { + tmp_0 = 255; + } + + *rty_out = g_aucSTART_VALVE_CHANGE_SPD_R[tmp_0 - 1]; +} + +/* + * System initialize for action system: + * '/Level 0' + * '/Level 1' + */ +void Level0_h_Init(DW_Level0_hr *localDW) +{ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_Init(&localDW->sf_MATLABFunction1); +} + +/* + * Output and update for action system: + * '/Level 0' + * '/Level 1' + */ +void Level0_a(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, + const uint16_t *rtd_Blower_logic_RR, const uint8_t + *rtd_CCU_MODE_FL, uint16_t *rtd_Dtg_RL, uint16_t *rtd_Dtg_RR, + const int16_t *rtd_Dtg_logic_RR, uint8_t + *rtd_Incar_filter_down_value, uint8_t *rtd_Incar_filter_up_value, + const uint8_t *rtd_LEVEL, const uint8_t *rtd_LO_HI_MODE_FL, + uint8_t *rtd_Mode_RL, uint8_t *rtd_Mode_RR, const uint8_t + *rtd_Mode_logic_RR, double *rtd_Recirculation, uint8_t + *rtd_Valve_2_way, const uint32_t *rtd_t_now, DW_Level0_hr *localDW) +{ + int32_t tmp; + int16_t rtb_out_nx; + uint16_t rtb_out_fc; + uint16_t rtb_out_ijy; + uint8_t rtb_out_csf; + uint8_t rtb_out_pe; + bool rtb_LogicalOperator1_e4; + bool rtb_timer_out_p; + + /* DataStoreWrite: '/Data Store Write9' incorporates: + * DataStoreRead: '/Data Store Read6' + * MATLAB Function: '/2 way valve' + */ + uwayvalve(*rtd_LEVEL, rtd_Valve_2_way); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + */ + rtb_out_nx = (int16_t)((*rtd_Dtg_RR - *rtd_Dtg_logic_RR) >> 1); + + /* Abs: '/Abs' */ + if (rtb_out_nx < 0) { + rtb_out_nx = (int16_t)-rtb_out_nx; + } + + /* End of Abs: '/Abs' */ + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_rear(*rtd_LEVEL, &rtb_out_pe); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + timeforstep_k(*rtd_LEVEL, &rtb_out_csf); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write10' + * Gain: '/Gain' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((double)rtb_out_nx * 2.0 <= 0.01) { + *rtd_Dtg_RR = (uint16_t)*rtd_Dtg_logic_RR; + } else { + if (*rtd_Dtg_RR <= *rtd_Dtg_logic_RR) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + tmp = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + tmp = -1; + } + + *rtd_Dtg_RR = (uint16_t)rt_roundd(10.0 * (double)rtb_out_pe / (double) + rtb_out_csf / 1000.0 * (double)(*rtd_t_now - localDW->UnitDelay_DSTATE) * + (double)tmp + (double)*rtd_Dtg_RR); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + *rtd_Dtg_RL = *rtd_Dtg_RR; + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup_j(*rtd_LEVEL, rtd_Incar_filter_up_value); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown_m(*rtd_LEVEL, rtd_Incar_filter_down_value); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + */ + rtb_out_pe = (uint8_t)(*rtd_Mode_RR - *rtd_Mode_logic_RR); + + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' + */ + rtb_timer_out_p = (rtb_out_pe <= 0.01); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + step_a(*rtd_LEVEL, &rtb_out_csf); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + timeforstep_dm(*rtd_LEVEL, &rtb_out_pe); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write2' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if (rtb_timer_out_p) { + *rtd_Mode_RR = *rtd_Mode_logic_RR; + } else { + if (*rtd_Mode_RR <= *rtd_Mode_logic_RR) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + tmp = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + tmp = -1; + } + + *rtd_Mode_RR = (uint8_t)((double)rtb_out_csf / (double)rtb_out_pe / 1000.0 * + (double)(*rtd_t_now - localDW->UnitDelay_DSTATE_k) * (double)tmp + (double)* + rtd_Mode_RR); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreWrite: '/Data Store Write2' + */ + *rtd_Mode_RL = *rtd_Mode_RR; + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + */ + rtb_out_ijy = (uint16_t)(*rtd_Blower_RR - *rtd_Blower_logic_RR); + + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' + */ + rtb_timer_out_p = (rtb_out_ijy <= 0.01); + + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerstep_c(*rtd_LEVEL, &rtb_out_fc); + + /* MATLAB Function: '/blower time for step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowertimeforstep_k(*rtd_LEVEL, &rtb_out_ijy); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write5' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if (rtb_timer_out_p) { + *rtd_Blower_RR = (uint8_t)*rtd_Blower_logic_RR; + } else { + if (*rtd_Blower_RR <= *rtd_Blower_logic_RR) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + tmp = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + tmp = -1; + } + + *rtd_Blower_RR = (uint8_t)((double)rtb_out_fc / (double)rtb_out_ijy / 1000.0 + * (double)(*rtd_t_now - localDW->UnitDelay_DSTATE_n) * (double)tmp + + (double)*rtd_Blower_RR); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + *rtd_Blower_RL = *rtd_Blower_RR; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + *rtd_Recirculation = 1.0; + + /* RelationalOperator: '/Relational Operator2' incorporates: + * DataStoreRead: '/Data Store Read11' + */ + rtb_timer_out_p = (*rtd_CCU_MODE_FL != 1); + + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/not LO or HI' + * DataStoreRead: '/Data Store Read12' + * RelationalOperator: '/Relational Operator3' + */ + rtb_LogicalOperator1_e4 = (rtb_timer_out_p || (*rtd_LO_HI_MODE_FL != 0)); + + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep1tostep2_n(*rtd_LEVEL, &rtb_out_nx); + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read3' + * Gain: '/из сек в мс' + */ + MATLABFunction1(*rtd_t_now, (uint16_t)(1000 * rtb_out_nx), &rtb_timer_out_p, + &localDW->sf_MATLABFunction1); + + /* Switch: '/Switch1' incorporates: + * Constant: '/exit algorithm' + * Constant: '/stay at step' + * Switch: '/Switch' + */ + if (rtb_LogicalOperator1_e4) { + *rty_step = 3; + } else if (rtb_timer_out_p) { + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + */ + *rty_step = 3; + } else { + *rty_step = 2; + } + + /* End of Switch: '/Switch1' */ + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + localDW->UnitDelay_DSTATE = *rtd_t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + localDW->UnitDelay_DSTATE_k = *rtd_t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + localDW->UnitDelay_DSTATE_n = *rtd_t_now; +} + +/* + * System initialize for action system: + * '/Level 2' + * '/Level 3' + * '/Level 4' + * '/Level 5' + */ +void Level2_j_Init(DW_Level2_j *localDW) +{ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_Init(&localDW->sf_MATLABFunction1); +} + +/* + * Output and update for action system: + * '/Level 2' + * '/Level 3' + * '/Level 4' + * '/Level 5' + */ +void Level2_f(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, + const uint16_t *rtd_Blower_logic_RR, const uint8_t + *rtd_CCU_MODE_FL, uint16_t *rtd_Dtg_RL, uint16_t *rtd_Dtg_RR, + const int16_t *rtd_Dtg_logic_RR, const bool *rtd_HI_logic_on, + uint8_t *rtd_Incar_filter_down_value, uint8_t + *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, const + uint8_t *rtd_LO_HI_MODE_FL, uint8_t *rtd_Mode_RL, uint8_t + *rtd_Mode_RR, const uint8_t *rtd_Mode_logic_RR, double + *rtd_Recirculation, uint8_t *rtd_Valve_2_way, const uint32_t + *rtd_t_now, DW_Level2_j *localDW) +{ + int32_t tmp; + int16_t rtb_out_en; + uint16_t rtb_out_co; + uint16_t rtb_out_hfu; + uint8_t rtb_out_fs; + uint8_t rtb_out_in; + bool rtb_RelationalOperator2_ib; + + /* DataStoreWrite: '/Data Store Write9' incorporates: + * DataStoreRead: '/Data Store Read6' + * MATLAB Function: '/2 way valve' + */ + uwayvalve(*rtd_LEVEL, rtd_Valve_2_way); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + */ + rtb_out_en = (int16_t)((*rtd_Dtg_RR - *rtd_Dtg_logic_RR) >> 1); + + /* Abs: '/Abs' */ + if (rtb_out_en < 0) { + rtb_out_en = (int16_t)-rtb_out_en; + } + + /* End of Abs: '/Abs' */ + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_rear(*rtd_LEVEL, &rtb_out_fs); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + timeforstep_k(*rtd_LEVEL, &rtb_out_in); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write10' + * Gain: '/Gain' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((double)rtb_out_en * 2.0 <= 0.01) { + *rtd_Dtg_RR = (uint16_t)*rtd_Dtg_logic_RR; + } else { + if (*rtd_Dtg_RR <= *rtd_Dtg_logic_RR) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + tmp = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + tmp = -1; + } + + *rtd_Dtg_RR = (uint16_t)rt_roundd(10.0 * (double)rtb_out_fs / (double) + rtb_out_in / 1000.0 * (double)(*rtd_t_now - localDW->UnitDelay_DSTATE) * + (double)tmp + (double)*rtd_Dtg_RR); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + *rtd_Dtg_RL = *rtd_Dtg_RR; + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup_j(*rtd_LEVEL, rtd_Incar_filter_up_value); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown_m(*rtd_LEVEL, rtd_Incar_filter_down_value); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + */ + rtb_out_fs = (uint8_t)(*rtd_Mode_RR - *rtd_Mode_logic_RR); + + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' + */ + rtb_RelationalOperator2_ib = (rtb_out_fs <= 0.01); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + step_a(*rtd_LEVEL, &rtb_out_in); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + timeforstep_dm(*rtd_LEVEL, &rtb_out_fs); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write2' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if (rtb_RelationalOperator2_ib) { + *rtd_Mode_RR = *rtd_Mode_logic_RR; + } else { + if (*rtd_Mode_RR <= *rtd_Mode_logic_RR) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + tmp = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + tmp = -1; + } + + *rtd_Mode_RR = (uint8_t)((double)rtb_out_in / (double)rtb_out_fs / 1000.0 * + (double)(*rtd_t_now - localDW->UnitDelay_DSTATE_n) * (double)tmp + (double)* + rtd_Mode_RR); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreWrite: '/Data Store Write2' + */ + *rtd_Mode_RL = *rtd_Mode_RR; + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + */ + rtb_out_co = (uint16_t)(*rtd_Blower_RR - *rtd_Blower_logic_RR); + + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' + */ + rtb_RelationalOperator2_ib = (rtb_out_co <= 0.01); + + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerstep_c(*rtd_LEVEL, &rtb_out_hfu); + + /* MATLAB Function: '/blower time for step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowertimeforstep_k(*rtd_LEVEL, &rtb_out_co); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write5' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if (rtb_RelationalOperator2_ib) { + *rtd_Blower_RR = (uint8_t)*rtd_Blower_logic_RR; + } else { + if (*rtd_Blower_RR <= *rtd_Blower_logic_RR) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + tmp = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + tmp = -1; + } + + *rtd_Blower_RR = (uint8_t)((double)rtb_out_hfu / (double)rtb_out_co / 1000.0 + * (double)(*rtd_t_now - localDW->UnitDelay_DSTATE_p) * (double)tmp + + (double)*rtd_Blower_RR); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + *rtd_Blower_RL = *rtd_Blower_RR; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + *rtd_Recirculation = 1.0; + + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep1tostep2_n(*rtd_LEVEL, &rtb_out_en); + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read3' + * Gain: '/из сек в мс' + */ + MATLABFunction1(*rtd_t_now, (uint16_t)(1000 * rtb_out_en), + &rtb_RelationalOperator2_ib, &localDW->sf_MATLABFunction1); + + /* Switch: '/Switch1' incorporates: + * Constant: '/exit algorithm' + * Constant: '/not LO or HI' + * Constant: '/stay at step' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * Switch: '/Switch' + */ + if ((*rtd_CCU_MODE_FL != 1) || (*rtd_LO_HI_MODE_FL != 0)) { + *rty_step = 3; + } else if (rtb_RelationalOperator2_ib || (*rtd_HI_logic_on)) { + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + */ + *rty_step = 3; + } else { + *rty_step = 2; + } + + /* End of Switch: '/Switch1' */ + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + localDW->UnitDelay_DSTATE = *rtd_t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + localDW->UnitDelay_DSTATE_n = *rtd_t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + localDW->UnitDelay_DSTATE_p = *rtd_t_now; +} + +/* + * Output and update for atomic system: + * '/func g_assAUTO_STEP_DUCT_TG_U' + * '/func g_assAUTO_STEP_DUCT_TG_U' + */ +void funcg_assAUTO_STEP_DUCT_TG_U(uint8_t rtu_LVL, double rtu_AF_STEP, int16_t + *rty_y) +{ + int32_t i; + int16_t selected_vector[5]; + + /* : switch LVL */ + switch (rtu_LVL) { + case 0U: + /* : case 0 */ + /* : selected_vector = g_assAUTO_STEP_DUCT_TG_U_F_LV0_1(1:5); */ + for (i = 0; i < 5; i++) { + selected_vector[i] = g_assAUTO_STEP_DUCT_TG_U_F_LV0_1[i]; + } + break; + + case 1U: + /* : case 1 */ + /* : selected_vector = g_assAUTO_STEP_DUCT_TG_U_F_LV0_1(6:10); */ + for (i = 0; i < 5; i++) { + selected_vector[i] = g_assAUTO_STEP_DUCT_TG_U_F_LV0_1[i + 5]; + } + break; + + case 2U: + /* : case 2 */ + /* : selected_vector = g_assAUTO_STEP_DUCT_TG_U_F_LV2_3(1:5); */ + for (i = 0; i < 5; i++) { + selected_vector[i] = g_assAUTO_STEP_DUCT_TG_U_F_LV2_3[i]; + } + break; + + case 3U: + /* : case 3 */ + /* : selected_vector = g_assAUTO_STEP_DUCT_TG_U_F_LV2_3(6:10); */ + for (i = 0; i < 5; i++) { + selected_vector[i] = g_assAUTO_STEP_DUCT_TG_U_F_LV2_3[i + 5]; + } + break; + + case 4U: + /* : case 4 */ + /* : selected_vector = g_assAUTO_STEP_DUCT_TG_U_F_LV4_5(1:5); */ + for (i = 0; i < 5; i++) { + selected_vector[i] = g_assAUTO_STEP_DUCT_TG_U_F_LV4_5[i]; + } + break; + + case 5U: + /* : case 5 */ + /* : selected_vector = g_assAUTO_STEP_DUCT_TG_U_F_LV4_5(6:10); */ + for (i = 0; i < 5; i++) { + selected_vector[i] = g_assAUTO_STEP_DUCT_TG_U_F_LV4_5[i + 5]; + } + break; + + default: + /* : otherwise */ + /* : selected_vector = int16(zeros(1,5)); */ + for (i = 0; i < 5; i++) { + selected_vector[i] = 0; + } + break; + } + + /* : y = selected_vector(AF_STEP); */ + *rty_y = selected_vector[(int32_t)rtu_AF_STEP - 1]; +} + +/* + * Output and update for atomic system: + * '/func g_assAUTO_STEP_DUCT_TG_L' + * '/func g_assAUTO_STEP_DUCT_TG_L' + */ +void funcg_assAUTO_STEP_DUCT_TG_L(uint8_t rtu_LVL, double rtu_AF_STEP, int16_t + *rty_y) +{ + int32_t i; + int16_t selected_vector[5]; + + /* : switch LVL */ + switch (rtu_LVL) { + case 0U: + /* : case 0 */ + /* : selected_vector = g_assAUTO_STEP_DUCT_TG_L_F_LV0_1(1:5); */ + for (i = 0; i < 5; i++) { + selected_vector[i] = g_assAUTO_STEP_DUCT_TG_L_F_LV0_1[i]; + } + break; + + case 1U: + /* : case 1 */ + /* : selected_vector = g_assAUTO_STEP_DUCT_TG_L_F_LV0_1(6:10); */ + for (i = 0; i < 5; i++) { + selected_vector[i] = g_assAUTO_STEP_DUCT_TG_L_F_LV0_1[i + 5]; + } + break; + + case 2U: + /* : case 2 */ + /* : selected_vector = g_assAUTO_STEP_DUCT_TG_L_F_LV2_3(1:5); */ + for (i = 0; i < 5; i++) { + selected_vector[i] = g_assAUTO_STEP_DUCT_TG_L_F_LV2_3[i]; + } + break; + + case 3U: + /* : case 3 */ + /* : selected_vector = g_assAUTO_STEP_DUCT_TG_L_F_LV2_3(6:10); */ + for (i = 0; i < 5; i++) { + selected_vector[i] = g_assAUTO_STEP_DUCT_TG_L_F_LV2_3[i + 5]; + } + break; + + case 4U: + /* : case 4 */ + /* : selected_vector = g_assAUTO_STEP_DUCT_TG_L_F_LV4_5(1:5); */ + for (i = 0; i < 5; i++) { + selected_vector[i] = g_assAUTO_STEP_DUCT_TG_L_F_LV4_5[i]; + } + break; + + case 5U: + /* : case 5 */ + /* : selected_vector = g_assAUTO_STEP_DUCT_TG_L_F_LV4_5(6:10); */ + for (i = 0; i < 5; i++) { + selected_vector[i] = g_assAUTO_STEP_DUCT_TG_L_F_LV4_5[i + 5]; + } + break; + + default: + /* : otherwise */ + /* : selected_vector = int16(zeros(1,5)); */ + for (i = 0; i < 5; i++) { + selected_vector[i] = 0; + } + break; + } + + /* : y = selected_vector(AF_STEP); */ + *rty_y = selected_vector[(int32_t)rtu_AF_STEP - 1]; +} + +/* + * Output and update for atomic system: + * '/func g_assAUTO_STEP_DUCT_TG_R' + * '/func g_assAUTO_STEP_DUCT_TG_R' + */ +void funcg_assAUTO_STEP_DUCT_TG_R(uint8_t rtu_LVL, double rtu_AF_STEP, int16_t + *rty_y) +{ + int32_t i; + int16_t selected_vector[5]; + + /* : switch LVL */ + switch (rtu_LVL) { + case 0U: + /* : case 0 */ + /* : selected_vector = g_assAUTO_STEP_DUCT_TG_R_LV0_1(1:5); */ + for (i = 0; i < 5; i++) { + selected_vector[i] = g_assAUTO_STEP_DUCT_TG_R_LV0_1[i]; + } + break; + + case 1U: + /* : case 1 */ + /* : selected_vector = g_assAUTO_STEP_DUCT_TG_R_LV0_1(6:10); */ + for (i = 0; i < 5; i++) { + selected_vector[i] = g_assAUTO_STEP_DUCT_TG_R_LV0_1[i + 5]; + } + break; + + case 2U: + /* : case 2 */ + /* : selected_vector = g_assAUTO_STEP_DUCT_TG_R_LV2_3(1:5); */ + for (i = 0; i < 5; i++) { + selected_vector[i] = g_assAUTO_STEP_DUCT_TG_R_LV2_3[i]; + } + break; + + case 3U: + /* : case 3 */ + /* : selected_vector = g_assAUTO_STEP_DUCT_TG_R_LV2_3(6:10); */ + for (i = 0; i < 5; i++) { + selected_vector[i] = g_assAUTO_STEP_DUCT_TG_R_LV2_3[i + 5]; + } + break; + + case 4U: + /* : case 4 */ + /* : selected_vector = g_assAUTO_STEP_DUCT_TG_R_LV4_5(1:5); */ + for (i = 0; i < 5; i++) { + selected_vector[i] = g_assAUTO_STEP_DUCT_TG_R_LV4_5[i]; + } + break; + + case 5U: + /* : case 5 */ + /* : selected_vector = g_assAUTO_STEP_DUCT_TG_R_LV4_5(6:10); */ + for (i = 0; i < 5; i++) { + selected_vector[i] = g_assAUTO_STEP_DUCT_TG_R_LV4_5[i + 5]; + } + break; + + default: + /* : otherwise */ + /* : selected_vector = int16(zeros(1,5)); */ + for (i = 0; i < 5; i++) { + selected_vector[i] = 0; + } + break; + } + + /* : y = selected_vector(AF_STEP); */ + *rty_y = selected_vector[(int32_t)rtu_AF_STEP - 1]; +} + +/* + * Output and update for atomic system: + * '/correction rate' + * '/correction rate' */ void correctionrate(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) { @@ -3422,10 +6501,10 @@ void correctionrate(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) /* * Output and update for atomic system: - * '/is_ending_with_5' - * '/is_ending_with_5' - * '/is_ending_with_5' - * '/is_ending_with_5' + * '/is_ending_with_5' + * '/is_ending_with_5' + * '/is_ending_with_5' + * '/is_ending_with_5' */ void is_ending_with_5(uint16_t rtu_SET, bool *rty_is_ending_with_5) { @@ -3436,10 +6515,10 @@ void is_ending_with_5(uint16_t rtu_SET, bool *rty_is_ending_with_5) /* * Output and update for atomic system: - * '/обычное понижение темп.' - * '/обычное повышение темп.' - * '/обычное понижение темп.' - * '/обычное повышение темп.' + * '/обычное понижение темп.' + * '/обычное повышение темп.' + * '/обычное понижение темп.' + * '/обычное повышение темп.' */ void u(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_FALLING_F) { @@ -3456,10 +6535,10 @@ void u(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_FALLING_F) /* * Output and update for atomic system: - * '/ускоренное повышение темп.' - * '/ускоренное повышение темп.' - * '/ускоренное повышение темп.' - * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' */ void u_j(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_F) { @@ -3476,109 +6555,109 @@ void u_j(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_F) /* * Output and update for action system: - * '/включен ускоренный режим' - * '/включен ускоренный режим' + * '/включен ускоренный режим' + * '/включен ускоренный режим' */ void u_c(int16_t rtu_temp_raw, uint8_t rtu_lvl, uint16_t *rty_out, double *rtd_KEEP_FALLING_FL_UNTIL_LIMIT, const double *rtd_Temp_FL_store) { - /* If: '/If' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read temp' - * MATLAB Function: '/AMBRATE_RISING_DIFF[8]' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read temp' + * MATLAB Function: '/AMBRATE_RISING_DIFF[8]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ /* : f_g_ausINCARRATE_FALLING_DIFF_F = g_ausINCARRATE_FALLING_DIFF_F(8); */ if (fabs((double)rtu_temp_raw - *rtd_Temp_FL_store) <= g_ausINCARRATE_FALLING_DIFF_F[7]) { - /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ *rtd_KEEP_FALLING_FL_UNTIL_LIMIT = 0.0; - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/обычное понижение темп.' - * Merge: '/Merge' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/обычное понижение темп.' + * Merge: '/Merge' */ u(rtu_lvl, rty_out); - /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ + /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/ускоренное повышение темп.' - * Merge: '/Merge' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/ускоренное повышение темп.' + * Merge: '/Merge' */ u_j(rtu_lvl, rty_out); - /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ + /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ } /* * Output and update for action system: - * '/обычный режим' - * '/обычный режим' + * '/обычный режим' + * '/обычный режим' */ void u_l(int16_t rtu_temp_raw, uint8_t rtu_lvl, uint16_t *rty_riseperminute, double *rtd_KEEP_FALLING_FL_UNTIL_LIMIT, const double *rtd_Temp_FL_store) { - /* If: '/If' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * MATLAB Function: '/AMBRATE_FALLING_DIFF[7]' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * MATLAB Function: '/AMBRATE_FALLING_DIFF[7]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ /* : f_g_ausINCARRATE_FALLING_DIFF_F = g_ausINCARRATE_FALLING_DIFF_F(7); */ if (fabs((double)rtu_temp_raw - *rtd_Temp_FL_store) > g_ausINCARRATE_FALLING_DIFF_F[6]) { - /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ *rtd_KEEP_FALLING_FL_UNTIL_LIMIT = 1.0; - /* SignalConversion generated from: '/rise per minute' incorporates: - * MATLAB Function: '/ускоренное повышение темп.' - * Merge: '/Merge' + /* SignalConversion generated from: '/rise per minute' incorporates: + * MATLAB Function: '/ускоренное повышение темп.' + * Merge: '/Merge' */ u_j(rtu_lvl, rty_riseperminute); - /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ + /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion generated from: '/rise per minute' incorporates: - * MATLAB Function: '/обычное повышение темп.' - * Merge: '/Merge' + /* SignalConversion generated from: '/rise per minute' incorporates: + * MATLAB Function: '/обычное повышение темп.' + * Merge: '/Merge' */ u(rtu_lvl, rty_riseperminute); - /* End of Outputs for SubSystem: '/обычный режим повышения' */ + /* End of Outputs for SubSystem: '/обычный режим повышения' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ } /* * Output and update for atomic system: - * '/обычное повышение темп.' - * '/обычное повышение темп.' - * '/обычное повышение темп.' - * '/обычное повышение темп.' + * '/обычное повышение темп.' + * '/обычное повышение темп.' + * '/обычное повышение темп.' + * '/обычное повышение темп.' */ void u_h(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_RISING_F) { @@ -3595,10 +6674,10 @@ void u_h(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_RISING_F) /* * Output and update for atomic system: - * '/ускоренное повышение темп.' - * '/ускоренное повышение темп.' - * '/ускоренное повышение темп.' - * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' */ void u_k(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_F) { @@ -3615,21 +6694,21 @@ void u_k(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_F) /* * Output and update for action system: - * '/Продолжаем в ускоренном' - * '/Продолжаем в ускоренном' + * '/Продолжаем в ускоренном' + * '/Продолжаем в ускоренном' */ void u_lz(uint8_t rtu_lvl, uint16_t *rty_out) { - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/ускоренное повышение темп.' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/ускоренное повышение темп.' */ u_k(rtu_lvl, rty_out); } /* * Output and update for atomic system: - * '/g_ausINCARRATE_RISING_DIFF_F[8]' - * '/g_ausINCARRATE_RISING_DIFF_F[8]' + * '/g_ausINCARRATE_RISING_DIFF_F[8]' + * '/g_ausINCARRATE_RISING_DIFF_F[8]' */ void g_ausINCARRATE_RISING_DIFF_F8(uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_F) { @@ -3639,8 +6718,8 @@ void g_ausINCARRATE_RISING_DIFF_F8(uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_F) /* * Output and update for atomic system: - * '/INCARRATE_RISING_DIFF_F[7]' - * '/INCARRATE_RISING_DIFF_F[7]' + * '/INCARRATE_RISING_DIFF_F[7]' + * '/INCARRATE_RISING_DIFF_F[7]' */ void INCARRATE_RISING_DIFF_F7(uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_F) { @@ -3650,32 +6729,32 @@ void INCARRATE_RISING_DIFF_F7(uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_F) /* * Output and update for action system: - * '/обычный режим повышения' - * '/обычный режим повышения' + * '/обычный режим повышения' + * '/обычный режим повышения' */ void u_f(uint8_t rtu_lvl, uint16_t *rty_out) { - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/обычное повышение темп.' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/обычное повышение темп.' */ u_h(rtu_lvl, rty_out); } /* * Output and update for action system: - * '/Инициализация RL' - * '/Инициализация RR' + * '/Инициализация RL' + * '/Инициализация RR' */ void RL(int16_t rtu_temp_in, double *rty_temp_out) { - /* DataTypeConversion: '/Data Type Conversion' */ + /* DataTypeConversion: '/Data Type Conversion' */ *rty_temp_out = rtu_temp_in; } /* * Output and update for atomic system: - * '/AMBRATE_RISING_DIFF[8]' - * '/AMBRATE_RISING_DIFF[8]' + * '/AMBRATE_RISING_DIFF[8]' + * '/AMBRATE_RISING_DIFF[8]' */ void AMBRATE_RISING_DIFF8(uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_R) { @@ -3685,10 +6764,10 @@ void AMBRATE_RISING_DIFF8(uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_R) /* * Output and update for atomic system: - * '/обычное понижение темп.' - * '/обычное повышение темп.' - * '/обычное понижение темп.' - * '/обычное повышение темп.' + * '/обычное понижение темп.' + * '/обычное повышение темп.' + * '/обычное понижение темп.' + * '/обычное повышение темп.' */ void u_kk(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_FALLING_R) { @@ -3705,10 +6784,10 @@ void u_kk(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_FALLING_R) /* * Output and update for atomic system: - * '/ускоренное повышение темп.' - * '/ускоренное повышение темп.' - * '/ускоренное повышение темп.' - * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' */ void u_b(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_R) { @@ -3725,21 +6804,21 @@ void u_b(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_R) /* * Output and update for action system: - * '/Продолжаем в ускоренном' - * '/Продолжаем в ускоренном' + * '/Продолжаем в ускоренном' + * '/Продолжаем в ускоренном' */ void u_hr(uint8_t rtu_lvl, uint16_t *rty_out) { - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/ускоренное повышение темп.' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/ускоренное повышение темп.' */ u_b(rtu_lvl, rty_out); } /* * Output and update for atomic system: - * '/AMBRATE_FALLING_DIFF[7]' - * '/AMBRATE_FALLING_DIFF[7]' + * '/AMBRATE_FALLING_DIFF[7]' + * '/AMBRATE_FALLING_DIFF[7]' */ void AMBRATE_FALLING_DIFF7(uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_R) { @@ -3749,23 +6828,23 @@ void AMBRATE_FALLING_DIFF7(uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_R) /* * Output and update for action system: - * '/обычный режим повышения' - * '/обычный режим повышения' + * '/обычный режим повышения' + * '/обычный режим повышения' */ void u_g(uint8_t rtu_lvl, uint16_t *rty_out) { - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/обычное повышение темп.' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/обычное повышение темп.' */ u_kk(rtu_lvl, rty_out); } /* * Output and update for atomic system: - * '/обычное повышение темп.' - * '/обычное повышение темп.' - * '/обычное повышение темп.' - * '/обычное повышение темп.' + * '/обычное повышение темп.' + * '/обычное повышение темп.' + * '/обычное повышение темп.' + * '/обычное повышение темп.' */ void u_m(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_RISING_R) { @@ -3782,10 +6861,10 @@ void u_m(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_RISING_R) /* * Output and update for atomic system: - * '/ускоренное повышение темп.' - * '/ускоренное повышение темп.' - * '/ускоренное повышение темп.' - * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' */ void u_o(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_R) { @@ -3802,21 +6881,21 @@ void u_o(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_R) /* * Output and update for action system: - * '/Продолжаем в ускоренном' - * '/Продолжаем в ускоренном' + * '/Продолжаем в ускоренном' + * '/Продолжаем в ускоренном' */ void u_gq(uint8_t rtu_lvl, uint16_t *rty_out) { - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/ускоренное повышение темп.' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/ускоренное повышение темп.' */ u_o(rtu_lvl, rty_out); } /* * Output and update for atomic system: - * '/g_ausINCARRATE_RISING_DIFF_R[8]' - * '/g_ausINCARRATE_RISING_DIFF_R[8]' + * '/g_ausINCARRATE_RISING_DIFF_R[8]' + * '/g_ausINCARRATE_RISING_DIFF_R[8]' */ void g_ausINCARRATE_RISING_DIFF_R8(uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_R) { @@ -3826,8 +6905,8 @@ void g_ausINCARRATE_RISING_DIFF_R8(uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_R) /* * Output and update for atomic system: - * '/INCARRATE_RISING_DIFF_R[7]' - * '/INCARRATE_RISING_DIFF_R[7]' + * '/INCARRATE_RISING_DIFF_R[7]' + * '/INCARRATE_RISING_DIFF_R[7]' */ void INCARRATE_RISING_DIFF_R7(uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_R) { @@ -3837,54 +6916,292 @@ void INCARRATE_RISING_DIFF_R7(uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_R) /* * Output and update for action system: - * '/обычный режим повышения' - * '/обычный режим повышения' + * '/обычный режим повышения' + * '/обычный режим повышения' */ void u_b3(uint8_t rtu_lvl, uint16_t *rty_out) { - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/обычное повышение темп.' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/обычное повышение темп.' */ u_m(rtu_lvl, rty_out); } /* - * System initialize for atomic system: - * '/Zone_Climate_Logic_Auto_FL1' - * '/Zone_Climate_Logic_Auto_FL4' + * Output and update for atomic system: + * '/direction for front index mode' + * '/direction for front index mode' */ -void Zone_Climate_Logic_Auto_FL1_Init(uint8_t *rty_out_def, uint8_t +void directionforfrontindexmode(uint8_t rtu_index_mode, double rty_Y[4]) +{ + /* : switch index_mode */ + switch (rtu_index_mode) { + case 0U: + /* : case 0 */ + /* : Y = [0; 0; 0; 0]; */ + rty_Y[0] = 0.0; + rty_Y[1] = 0.0; + rty_Y[2] = 0.0; + rty_Y[3] = 0.0; + break; + + case 10U: + /* : case 10 */ + /* : Y = [0; 1; 0; 10]; */ + rty_Y[0] = 0.0; + rty_Y[1] = 1.0; + rty_Y[2] = 0.0; + rty_Y[3] = 10.0; + break; + + case 20U: + /* : case 20 */ + /* : Y = [0; 1; 1; 110]; */ + rty_Y[0] = 0.0; + rty_Y[1] = 1.0; + rty_Y[2] = 1.0; + rty_Y[3] = 110.0; + break; + + case 30U: + /* : case 30 */ + /* : Y = [0; 1; 1; 110]; */ + rty_Y[0] = 0.0; + rty_Y[1] = 1.0; + rty_Y[2] = 1.0; + rty_Y[3] = 110.0; + break; + + case 40U: + /* : case 40 */ + /* : Y = [0; 1; 1; 110]; */ + rty_Y[0] = 0.0; + rty_Y[1] = 1.0; + rty_Y[2] = 1.0; + rty_Y[3] = 110.0; + break; + + case 50U: + /* : case 50 */ + /* : Y = [0; 1; 1; 110]; */ + rty_Y[0] = 0.0; + rty_Y[1] = 1.0; + rty_Y[2] = 1.0; + rty_Y[3] = 110.0; + break; + + case 60U: + /* : case 60 */ + /* : Y = [0; 0; 1; 60]; */ + rty_Y[0] = 0.0; + rty_Y[1] = 0.0; + rty_Y[2] = 1.0; + rty_Y[3] = 60.0; + break; + + case 70U: + /* : case 70 */ + /* : Y = [1; 0; 1; 70]; */ + rty_Y[0] = 1.0; + rty_Y[1] = 0.0; + rty_Y[2] = 1.0; + rty_Y[3] = 70.0; + break; + + case 80U: + /* : case 80 */ + /* : Y = [1; 0; 0; 80]; */ + rty_Y[0] = 1.0; + rty_Y[1] = 0.0; + rty_Y[2] = 0.0; + rty_Y[3] = 80.0; + break; + + case 90U: + /* : case 90 */ + /* : Y = [1; 1; 1; 90]; */ + rty_Y[0] = 1.0; + rty_Y[1] = 1.0; + rty_Y[2] = 1.0; + rty_Y[3] = 90.0; + break; + + case 100U: + /* : case 100 */ + /* : Y = [1; 1; 0; 100]; */ + rty_Y[0] = 1.0; + rty_Y[1] = 1.0; + rty_Y[2] = 0.0; + rty_Y[3] = 100.0; + break; + + case 110U: + /* : case 110 */ + /* : Y = [0; 1; 1; 110]; */ + rty_Y[0] = 0.0; + rty_Y[1] = 1.0; + rty_Y[2] = 1.0; + rty_Y[3] = 110.0; + break; + + default: + /* : otherwise */ + /* : Y = [0; 0; 0; 0]; */ + rty_Y[0] = 0.0; + rty_Y[1] = 0.0; + rty_Y[2] = 0.0; + rty_Y[3] = 0.0; + break; + } +} + +/* + * Output and update for atomic system: + * '/direction for REAR index mode' + * '/direction for REAR index mode1' + */ +void directionforREARindexmode(uint16_t rtu_index_mode, double rty_Y[4]) +{ + /* : switch index_mode */ + switch (rtu_index_mode) { + case 0U: + /* : case 0 */ + /* : Y = [0; 0; 0; 0]; */ + rty_Y[0] = 0.0; + rty_Y[1] = 0.0; + rty_Y[2] = 0.0; + rty_Y[3] = 0.0; + break; + + case 120U: + /* : case 120 */ + /* : Y = [0; 1; 0; 190]; */ + rty_Y[0] = 0.0; + rty_Y[1] = 1.0; + rty_Y[2] = 0.0; + rty_Y[3] = 190.0; + break; + + case 130U: + /* : case 130 */ + /* : Y = [0; 1; 1; 200]; */ + rty_Y[0] = 0.0; + rty_Y[1] = 1.0; + rty_Y[2] = 1.0; + rty_Y[3] = 200.0; + break; + + case 140U: + /* : case 140 */ + /* : Y = [0; 0; 1; 140]; */ + rty_Y[0] = 0.0; + rty_Y[1] = 0.0; + rty_Y[2] = 1.0; + rty_Y[3] = 140.0; + break; + + case 150U: + /* : case 150 */ + /* : Y = [0; 1; 0; 200]; */ + rty_Y[0] = 0.0; + rty_Y[1] = 1.0; + rty_Y[2] = 0.0; + rty_Y[3] = 200.0; + break; + + case 160U: + /* : case 160 */ + /* : Y = [0; 1; 1; 200]; */ + rty_Y[0] = 0.0; + rty_Y[1] = 1.0; + rty_Y[2] = 1.0; + rty_Y[3] = 200.0; + break; + + case 170U: + /* : case 170 */ + /* : Y = [0; 1; 0; 190]; */ + rty_Y[0] = 0.0; + rty_Y[1] = 1.0; + rty_Y[2] = 0.0; + rty_Y[3] = 190.0; + break; + + case 180U: + /* : case 180 */ + /* : Y = [0; 1; 1; 200]; */ + rty_Y[0] = 0.0; + rty_Y[1] = 1.0; + rty_Y[2] = 1.0; + rty_Y[3] = 200.0; + break; + + case 190U: + /* : case 190 */ + /* : Y = [0; 1; 0; 190]; */ + rty_Y[0] = 0.0; + rty_Y[1] = 1.0; + rty_Y[2] = 0.0; + rty_Y[3] = 190.0; + break; + + case 200U: + /* : case 200 */ + /* : Y = [0; 1; 1; 200]; */ + rty_Y[0] = 0.0; + rty_Y[1] = 1.0; + rty_Y[2] = 1.0; + rty_Y[3] = 200.0; + break; + + default: + /* : otherwise */ + /* : Y = [0; 0; 0; 0]; */ + rty_Y[0] = 0.0; + rty_Y[1] = 0.0; + rty_Y[2] = 0.0; + rty_Y[3] = 0.0; + break; + } +} + +/* + * System initialize for atomic system: + * '/Zone_Climate_Logic_Auto_FL2' + * '/Zone_Climate_Logic_Auto_FL3' + */ +void Zone_Climate_Logic_Auto_FL2_Init(uint8_t *rty_out_def, uint8_t *rty_out_face, uint8_t *rty_out_foot, uint8_t *rty_out_auto, double - *rty_out_ac, DW_Zone_Climate_Logic_Auto_FL1 *localDW) + *rty_out_ac, DW_Zone_Climate_Logic_Auto_FL2 *localDW) { *rty_out_def = 0U; *rty_out_face = 0U; *rty_out_foot = 0U; *rty_out_auto = 0U; *rty_out_ac = 0.0; - localDW->is_active_c23_HVAC_model = 0U; - localDW->is_c23_HVAC_model = IN_NO_ACTIVE_CHILD; + localDW->is_active_c783_HVAC_model = 0U; + localDW->is_c783_HVAC_model = IN_NO_ACTIVE_CHILD; localDW->is_AC_SUB = IN_NO_ACTIVE_CHILD; localDW->is_DEF_SUB = IN_NO_ACTIVE_CHILD; localDW->is_FACE_SUB = IN_NO_ACTIVE_CHILD; localDW->is_FOOT_SUB = IN_NO_ACTIVE_CHILD; - localDW->is_AC_SUB_g = IN_NO_ACTIVE_CHILD; + localDW->is_AC_SUB_p = IN_NO_ACTIVE_CHILD; } /* * Output and update for atomic system: - * '/Zone_Climate_Logic_Auto_FL1' - * '/Zone_Climate_Logic_Auto_FL4' + * '/Zone_Climate_Logic_Auto_FL2' + * '/Zone_Climate_Logic_Auto_FL3' */ -void Zone_Climate_Logic_Auto_FL1(uint8_t rtu_btn_def, uint8_t rtu_btn_face, +void Zone_Climate_Logic_Auto_FL2(double rtu_btn_def, uint8_t rtu_btn_face, uint8_t rtu_btn_foot, uint8_t rtu_btn_auto, uint8_t rtu_btn_ac, uint8_t *rty_out_def, uint8_t *rty_out_face, uint8_t *rty_out_foot, uint8_t - *rty_out_auto, double *rty_out_ac, DW_Zone_Climate_Logic_Auto_FL1 *localDW) + *rty_out_auto, double *rty_out_ac, DW_Zone_Climate_Logic_Auto_FL2 *localDW) { - /* Chart: '/Zone_Climate_Logic_Auto_FL1' */ - if (localDW->is_active_c23_HVAC_model == 0U) { - localDW->is_active_c23_HVAC_model = 1U; - localDW->is_c23_HVAC_model = IN_MANUAL_MODE; + /* Chart: '/Zone_Climate_Logic_Auto_FL2' */ + if (localDW->is_active_c783_HVAC_model == 0U) { + localDW->is_active_c783_HVAC_model = 1U; + localDW->is_c783_HVAC_model = IN_MANUAL_MODE; /* : out_def = 0; */ *rty_out_def = 0U; @@ -3901,18 +7218,15 @@ void Zone_Climate_Logic_Auto_FL1(uint8_t rtu_btn_def, uint8_t rtu_btn_face, localDW->is_DEF_SUB = IN_Def_Off; localDW->is_FACE_SUB = IN_Face_Off; localDW->is_FOOT_SUB = IN_Foot_Off; - localDW->is_AC_SUB_g = IN_AC_Off; - } else if (localDW->is_c23_HVAC_model == IN_AUTO_MODE) { + localDW->is_AC_SUB_p = IN_AC_Off; + } else if (localDW->is_c783_HVAC_model == IN_AUTO_MODE) { /* : sf_internal_predicateOutput = btn_auto == 0 || btn_def == 1 || btn_face == 1 || btn_foot == 1; */ - if ((rtu_btn_auto == 0) || (rtu_btn_def == 1) || (rtu_btn_face == 1) || + if ((rtu_btn_auto == 0) || (rtu_btn_def == 1.0) || (rtu_btn_face == 1) || (rtu_btn_foot == 1)) { - /* : out_def = mem_def; */ - /* : out_face = mem_face; */ - /* : out_foot = mem_foot; */ /* : out_auto=0; */ *rty_out_auto = 0U; localDW->is_AC_SUB = IN_NO_ACTIVE_CHILD; - localDW->is_c23_HVAC_model = IN_MANUAL_MODE; + localDW->is_c783_HVAC_model = IN_MANUAL_MODE; /* : out_def = 0; */ *rty_out_def = 0U; @@ -3929,7 +7243,7 @@ void Zone_Climate_Logic_Auto_FL1(uint8_t rtu_btn_def, uint8_t rtu_btn_face, localDW->is_DEF_SUB = IN_Def_Off; localDW->is_FACE_SUB = IN_Face_Off; localDW->is_FOOT_SUB = IN_Foot_Off; - localDW->is_AC_SUB_g = IN_AC_Off; + localDW->is_AC_SUB_p = IN_AC_Off; } else if (localDW->is_AC_SUB == IN_AC_Off) { /* : sf_internal_predicateOutput = btn_ac == 1; */ if (rtu_btn_ac == 1) { @@ -3952,15 +7266,12 @@ void Zone_Climate_Logic_Auto_FL1(uint8_t rtu_btn_def, uint8_t rtu_btn_face, /* : sf_internal_predicateOutput = btn_auto == 1 || (out_def == 0 && out_face == 0 && out_foot == 0); */ } else if ((rtu_btn_auto == 1) || ((*rty_out_def == 0) && (*rty_out_face == 0) && (*rty_out_foot == 0))) { - /* : mem_def = out_def; */ - /* : mem_face = out_face; */ - /* : mem_foot = out_foot; */ /* : out_auto=1; */ - localDW->is_AC_SUB_g = IN_NO_ACTIVE_CHILD; + localDW->is_AC_SUB_p = IN_NO_ACTIVE_CHILD; localDW->is_FOOT_SUB = IN_NO_ACTIVE_CHILD; localDW->is_FACE_SUB = IN_NO_ACTIVE_CHILD; localDW->is_DEF_SUB = IN_NO_ACTIVE_CHILD; - localDW->is_c23_HVAC_model = IN_AUTO_MODE; + localDW->is_c783_HVAC_model = IN_AUTO_MODE; /* : out_auto = 1; */ *rty_out_auto = 1U; @@ -3980,7 +7291,7 @@ void Zone_Climate_Logic_Auto_FL1(uint8_t rtu_btn_def, uint8_t rtu_btn_face, } else { if (localDW->is_DEF_SUB == IN_Def_Off) { /* : sf_internal_predicateOutput = btn_def == 1; */ - if (rtu_btn_def == 1) { + if (rtu_btn_def == 1.0) { /* : out_def=1 */ *rty_out_def = 1U; localDW->is_DEF_SUB = IN_Def_On; @@ -3988,7 +7299,7 @@ void Zone_Climate_Logic_Auto_FL1(uint8_t rtu_btn_def, uint8_t rtu_btn_face, /* case IN_Def_On: */ /* : sf_internal_predicateOutput = btn_def == 0; */ - } else if (rtu_btn_def == 0) { + } else if (rtu_btn_def == 0.0) { /* : out_def=0 */ *rty_out_def = 0U; localDW->is_DEF_SUB = IN_Def_Off; @@ -4026,12 +7337,12 @@ void Zone_Climate_Logic_Auto_FL1(uint8_t rtu_btn_def, uint8_t rtu_btn_face, localDW->is_FOOT_SUB = IN_Foot_Off; } - if (localDW->is_AC_SUB_g == IN_AC_Off) { + if (localDW->is_AC_SUB_p == IN_AC_Off) { /* : sf_internal_predicateOutput = btn_ac == 1; */ if (rtu_btn_ac == 1) { /* : out_ac=1 */ *rty_out_ac = 1.0; - localDW->is_AC_SUB_g = IN_AC_On; + localDW->is_AC_SUB_p = IN_AC_On; } /* case IN_AC_On: */ @@ -4039,215 +7350,17 @@ void Zone_Climate_Logic_Auto_FL1(uint8_t rtu_btn_def, uint8_t rtu_btn_face, } else if (rtu_btn_ac == 0) { /* : out_ac=0 */ *rty_out_ac = 0.0; - localDW->is_AC_SUB_g = IN_AC_Off; + localDW->is_AC_SUB_p = IN_AC_Off; } } - /* End of Chart: '/Zone_Climate_Logic_Auto_FL1' */ -} - -/* - * System initialize for atomic system: - * '/Zone_Climate_Logic_Auto_FL2' - * '/Zone_Climate_Logic_Auto_FL3' - */ -void Zone_Climate_Logic_Auto_FL2_Init(uint8_t *rty_out_def, uint8_t - *rty_out_face, uint8_t *rty_out_foot, uint8_t *rty_out_auto, double - *rty_out_ac, DW_Zone_Climate_Logic_Auto_FL2 *localDW) -{ - *rty_out_def = 0U; - *rty_out_face = 0U; - *rty_out_foot = 0U; - *rty_out_auto = 0U; - *rty_out_ac = 0.0; - localDW->is_active_c783_HVAC_model = 0U; - localDW->is_c783_HVAC_model = IN_NO_ACTIVE_CHILD_g; - localDW->is_AC_SUB = IN_NO_ACTIVE_CHILD_g; - localDW->is_DEF_SUB = IN_NO_ACTIVE_CHILD_g; - localDW->is_FACE_SUB = IN_NO_ACTIVE_CHILD_g; - localDW->is_FOOT_SUB = IN_NO_ACTIVE_CHILD_g; - localDW->is_AC_SUB_b = IN_NO_ACTIVE_CHILD_g; + /* End of Chart: '/Zone_Climate_Logic_Auto_FL2' */ } /* * Output and update for atomic system: - * '/Zone_Climate_Logic_Auto_FL2' - * '/Zone_Climate_Logic_Auto_FL3' - */ -void Zone_Climate_Logic_Auto_FL2(double rtu_btn_def, uint8_t rtu_btn_face, - uint8_t rtu_btn_foot, uint8_t rtu_btn_auto, uint8_t rtu_btn_ac, uint8_t - *rty_out_def, uint8_t *rty_out_face, uint8_t *rty_out_foot, uint8_t - *rty_out_auto, double *rty_out_ac, DW_Zone_Climate_Logic_Auto_FL2 *localDW) -{ - /* Chart: '/Zone_Climate_Logic_Auto_FL2' */ - if (localDW->is_active_c783_HVAC_model == 0U) { - localDW->is_active_c783_HVAC_model = 1U; - localDW->is_c783_HVAC_model = IN_MANUAL_MODE_e; - - /* : out_def = 0; */ - *rty_out_def = 0U; - - /* : out_face = 1; */ - *rty_out_face = 1U; - - /* : out_foot = 1; */ - *rty_out_foot = 1U; - - /* : mem_def = 0; */ - /* : mem_face = 0; */ - /* : mem_foot = 0; */ - localDW->is_DEF_SUB = IN_Def_Off_d; - localDW->is_FACE_SUB = IN_Face_Off_n; - localDW->is_FOOT_SUB = IN_Foot_Off_o; - localDW->is_AC_SUB_b = IN_AC_Off_p; - } else if (localDW->is_c783_HVAC_model == IN_AUTO_MODE_k) { - /* : sf_internal_predicateOutput = btn_auto == 0 || btn_def == 1 || btn_face == 1 || btn_foot == 1; */ - if ((rtu_btn_auto == 0) || (rtu_btn_def == 1.0) || (rtu_btn_face == 1) || - (rtu_btn_foot == 1)) { - /* : out_def = mem_def; */ - /* : out_face = mem_face; */ - /* : out_foot = mem_foot; */ - /* : out_auto=0; */ - *rty_out_auto = 0U; - localDW->is_AC_SUB = IN_NO_ACTIVE_CHILD_g; - localDW->is_c783_HVAC_model = IN_MANUAL_MODE_e; - - /* : out_def = 0; */ - *rty_out_def = 0U; - - /* : out_face = 1; */ - *rty_out_face = 1U; - - /* : out_foot = 1; */ - *rty_out_foot = 1U; - - /* : mem_def = 0; */ - /* : mem_face = 0; */ - /* : mem_foot = 0; */ - localDW->is_DEF_SUB = IN_Def_Off_d; - localDW->is_FACE_SUB = IN_Face_Off_n; - localDW->is_FOOT_SUB = IN_Foot_Off_o; - localDW->is_AC_SUB_b = IN_AC_Off_p; - } else if (localDW->is_AC_SUB == IN_AC_Off_p) { - /* : sf_internal_predicateOutput = btn_ac == 1; */ - if (rtu_btn_ac == 1) { - /* : out_ac=1 */ - localDW->is_AC_SUB = IN_AC_On_k; - - /* : out_ac = 1; */ - *rty_out_ac = 1.0; - } - - /* case IN_AC_On: */ - /* : sf_internal_predicateOutput = btn_ac == 0; */ - } else if (rtu_btn_ac == 0) { - /* : out_ac=0 */ - *rty_out_ac = 0.0; - localDW->is_AC_SUB = IN_AC_Off_p; - } - - /* case IN_MANUAL_MODE: */ - /* : sf_internal_predicateOutput = btn_auto == 1 || (out_def == 0 && out_face == 0 && out_foot == 0); */ - } else if ((rtu_btn_auto == 1) || ((*rty_out_def == 0) && (*rty_out_face == 0) - && (*rty_out_foot == 0))) { - /* : mem_def = out_def; */ - /* : mem_face = out_face; */ - /* : mem_foot = out_foot; */ - /* : out_auto=1; */ - localDW->is_AC_SUB_b = IN_NO_ACTIVE_CHILD_g; - localDW->is_FOOT_SUB = IN_NO_ACTIVE_CHILD_g; - localDW->is_FACE_SUB = IN_NO_ACTIVE_CHILD_g; - localDW->is_DEF_SUB = IN_NO_ACTIVE_CHILD_g; - localDW->is_c783_HVAC_model = IN_AUTO_MODE_k; - - /* : out_auto = 1; */ - *rty_out_auto = 1U; - - /* : out_def = 0; */ - *rty_out_def = 0U; - - /* : out_face = 0; */ - *rty_out_face = 0U; - - /* : out_foot = 0; */ - *rty_out_foot = 0U; - localDW->is_AC_SUB = IN_AC_On_k; - - /* : out_ac = 1; */ - *rty_out_ac = 1.0; - } else { - if (localDW->is_DEF_SUB == IN_Def_Off_d) { - /* : sf_internal_predicateOutput = btn_def == 1; */ - if (rtu_btn_def == 1.0) { - /* : out_def=1 */ - *rty_out_def = 1U; - localDW->is_DEF_SUB = IN_Def_On_k; - } - - /* case IN_Def_On: */ - /* : sf_internal_predicateOutput = btn_def == 0; */ - } else if (rtu_btn_def == 0.0) { - /* : out_def=0 */ - *rty_out_def = 0U; - localDW->is_DEF_SUB = IN_Def_Off_d; - } - - if (localDW->is_FACE_SUB == IN_Face_Off_n) { - /* : sf_internal_predicateOutput = btn_face == 1; */ - if (rtu_btn_face == 1) { - /* : out_face=1 */ - *rty_out_face = 1U; - localDW->is_FACE_SUB = IN_Face_On_k; - } - - /* case IN_Face_On: */ - /* : sf_internal_predicateOutput = btn_face == 0; */ - } else if (rtu_btn_face == 0) { - /* : out_face=0 */ - *rty_out_face = 0U; - localDW->is_FACE_SUB = IN_Face_Off_n; - } - - if (localDW->is_FOOT_SUB == IN_Foot_Off_o) { - /* : sf_internal_predicateOutput = btn_foot == 1; */ - if (rtu_btn_foot == 1) { - /* : out_foot=1 */ - *rty_out_foot = 1U; - localDW->is_FOOT_SUB = IN_Foot_On_j; - } - - /* case IN_Foot_On: */ - /* : sf_internal_predicateOutput = btn_foot == 0; */ - } else if (rtu_btn_foot == 0) { - /* : out_foot=0 */ - *rty_out_foot = 0U; - localDW->is_FOOT_SUB = IN_Foot_Off_o; - } - - if (localDW->is_AC_SUB_b == IN_AC_Off_p) { - /* : sf_internal_predicateOutput = btn_ac == 1; */ - if (rtu_btn_ac == 1) { - /* : out_ac=1 */ - *rty_out_ac = 1.0; - localDW->is_AC_SUB_b = IN_AC_On_k; - } - - /* case IN_AC_On: */ - /* : sf_internal_predicateOutput = btn_ac == 0; */ - } else if (rtu_btn_ac == 0) { - /* : out_ac=0 */ - *rty_out_ac = 0.0; - localDW->is_AC_SUB_b = IN_AC_Off_p; - } - } - - /* End of Chart: '/Zone_Climate_Logic_Auto_FL2' */ -} - -/* - * Output and update for atomic system: - * '/AF for Bi Level' - * '/AF for Bi Level' + * '/AF for Bi Level' + * '/AF for Bi Level' */ void AFforBiLevel(uint8_t rtu_blower_speed, uint16_t *rty_out) { @@ -4264,8 +7377,8 @@ void AFforBiLevel(uint8_t rtu_blower_speed, uint16_t *rty_out) /* * Output and update for atomic system: - * '/AF for Def' - * '/AF for Def' + * '/AF for Def' + * '/AF for Def' */ void AFforDef(uint8_t rtu_blower_speed, uint16_t *rty_out) { @@ -4282,8 +7395,8 @@ void AFforDef(uint8_t rtu_blower_speed, uint16_t *rty_out) /* * Output and update for atomic system: - * '/AF for Foor + Def' - * '/AF for Foor + Def' + * '/AF for Foor + Def' + * '/AF for Foor + Def' */ void AFforFoorDef(uint8_t rtu_blower_speed, uint16_t *rty_out) { @@ -4300,8 +7413,8 @@ void AFforFoorDef(uint8_t rtu_blower_speed, uint16_t *rty_out) /* * Output and update for atomic system: - * '/AF for Foot' - * '/AF for Foot' + * '/AF for Foot' + * '/AF for Foot' */ void AFforFoot(uint8_t rtu_blower_speed, uint16_t *rty_out) { @@ -4318,8 +7431,8 @@ void AFforFoot(uint8_t rtu_blower_speed, uint16_t *rty_out) /* * Output and update for atomic system: - * '/AF for Hi_Level' - * '/AF for Hi_Level' + * '/AF for Hi_Level' + * '/AF for Hi_Level' */ void AFforHi_Level(uint8_t rtu_blower_speed, uint16_t *rty_out) { @@ -4336,8 +7449,8 @@ void AFforHi_Level(uint8_t rtu_blower_speed, uint16_t *rty_out) /* * Output and update for atomic system: - * '/AF for Tri-Level' - * '/AF for Tri-Level' + * '/AF for Tri-Level' + * '/AF for Tri-Level' */ void AFforTriLevel(uint8_t rtu_blower_speed, uint16_t *rty_out) { @@ -4354,8 +7467,8 @@ void AFforTriLevel(uint8_t rtu_blower_speed, uint16_t *rty_out) /* * Output and update for atomic system: - * '/AF for Vent mode' - * '/AF for Vent mode' + * '/AF for Vent mode' + * '/AF for Vent mode' */ void AFforVentmode(uint8_t rtu_blower_speed, uint16_t *rty_out) { @@ -4372,29 +7485,29 @@ void AFforVentmode(uint8_t rtu_blower_speed, uint16_t *rty_out) /* * Output and update for enable system: - * '/Rear Left AF - manual directions' - * '/Rear Right AF - manual directions' + * '/Rear Left AF - manual directions' + * '/Rear Right AF - manual directions' */ void RearLeftAFmanualdirections(bool rtu_Enable, uint8_t rtu_blowerspeed, uint8_t rtu_faceison, uint8_t rtu_footison, uint16_t *rty_AFout) { int32_t tmp; - /* Outputs for Enabled SubSystem: '/Rear Left AF - manual directions' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Rear Left AF - manual directions' incorporates: + * EnablePort: '/Enable' */ if (rtu_Enable) { - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Gain: '/Gain2' - * MATLAB Function: '/AF for Bi Level R' - * MATLAB Function: '/AF for Foot R' - * MATLAB Function: '/AF for Vent mode R' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Gain: '/Gain2' + * MATLAB Function: '/AF for Bi Level R' + * MATLAB Function: '/AF for Foot R' + * MATLAB Function: '/AF for Vent mode R' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * Sum: '/Add' */ /* : out = uint16(g_ausFLOW_RE_BI2BLR_AF(blower_speed + 1)); */ /* : out = uint16(g_ausFLOW_RE_FO2BLR_AF(blower_speed + 1)); */ @@ -4406,7 +7519,7 @@ void RearLeftAFmanualdirections(bool rtu_Enable, uint8_t rtu_blowerspeed, break; case 1: - /* MATLAB Function: '/AF for Vent mode R' */ + /* MATLAB Function: '/AF for Vent mode R' */ tmp = (int32_t)(rtu_blowerspeed + 1U); if (rtu_blowerspeed + 1U > 255U) { tmp = 255; @@ -4416,7 +7529,7 @@ void RearLeftAFmanualdirections(bool rtu_Enable, uint8_t rtu_blowerspeed, break; case 2: - /* MATLAB Function: '/AF for Foot R' */ + /* MATLAB Function: '/AF for Foot R' */ tmp = (int32_t)(rtu_blowerspeed + 1U); if (rtu_blowerspeed + 1U > 255U) { tmp = 255; @@ -4426,7 +7539,7 @@ void RearLeftAFmanualdirections(bool rtu_Enable, uint8_t rtu_blowerspeed, break; default: - /* MATLAB Function: '/AF for Bi Level R' */ + /* MATLAB Function: '/AF for Bi Level R' */ tmp = (int32_t)(rtu_blowerspeed + 1U); if (rtu_blowerspeed + 1U > 255U) { tmp = 255; @@ -4436,31 +7549,31 @@ void RearLeftAFmanualdirections(bool rtu_Enable, uint8_t rtu_blowerspeed, break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ } - /* End of Outputs for SubSystem: '/Rear Left AF - manual directions' */ + /* End of Outputs for SubSystem: '/Rear Left AF - manual directions' */ } /* * Output and update for atomic system: - * '/func g_ascAUTO_STEP_AF_F' - * '/func g_ascAUTO_STEP_AF_F' + * '/func g_ascAUTO_STEP_AF_F' + * '/func g_ascAUTO_STEP_AF_F' */ -void funcg_ascAUTO_STEP_AF_F(int8_t rtu_AF_STEP, int8_t *rty_y) +void funcg_ascAUTO_STEP_AF_F(double rtu_AF_STEP, int8_t *rty_y) { /* : y = g_ascAUTO_STEP_AF_F(AF_STEP); */ - *rty_y = g_ascAUTO_STEP_AF_F[rtu_AF_STEP - 1]; + *rty_y = g_ascAUTO_STEP_AF_F[(int32_t)rtu_AF_STEP - 1]; } /* * Output and update for atomic system: - * '/обычное понижение темп.' - * '/обычное повышение темп.' - * '/обычное понижение темп.' - * '/обычное повышение темп.' - * '/обычное понижение темп.' - * '/обычное повышение темп.' + * '/обычное понижение темп.' + * '/обычное повышение темп.' + * '/обычное понижение темп.' + * '/обычное повышение темп.' + * '/обычное понижение темп.' + * '/обычное повышение темп.' */ void u_m2(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_FALLING) { @@ -4477,130 +7590,130 @@ void u_m2(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_FALLING) /* * Output and update for action system: - * '/включен ускоренный режим' - * '/включен ускоренный режим' - * '/включен ускоренный режим' + * '/включен ускоренный режим' + * '/включен ускоренный режим' + * '/включен ускоренный режим' */ void u_kb(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_out, const double *rtd_AMB_store, double *rtd_KEEP_FALLING_UNTIL_LIMIT) { int32_t tmp; - /* If: '/If' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * MATLAB Function: '/AMBRATE_RISING_DIFF[8]' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * MATLAB Function: '/AMBRATE_RISING_DIFF[8]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ /* : f_g_aucAMBRATE_FALLING_DIFF = g_aucAMBRATE_FALLING_DIFF(8); */ if (fabs((double)rtu_amb_raw - *rtd_AMB_store) <= g_aucAMBRATE_FALLING_DIFF[7]) { - /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ *rtd_KEEP_FALLING_UNTIL_LIMIT = 0.0; - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/обычное понижение темп.' - * Merge: '/Merge' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/обычное понижение темп.' + * Merge: '/Merge' */ u_m2(rtu_lvl, rty_out); - /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ + /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/ускоренное повышение темп.' */ + /* MATLAB Function: '/ускоренное повышение темп.' */ /* : f_g_aucAMBRATE_FALLING_DIFF = g_aucAMBRATE_FALLING_DIFF(lvl + 1); */ tmp = rtu_lvl + 1; if (rtu_lvl + 1 > 32767) { tmp = 32767; } - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/ускоренное повышение темп.' - * Merge: '/Merge' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/ускоренное повышение темп.' + * Merge: '/Merge' */ *rty_out = g_aucAMBRATE_FALLING_DIFF[tmp - 1]; - /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ + /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ } /* * Output and update for action system: - * '/обычный режим' - * '/обычный режим' - * '/обычный режим' + * '/обычный режим' + * '/обычный режим' + * '/обычный режим' */ void u_my(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_riseperminute, const double *rtd_AMB_store, double *rtd_KEEP_FALLING_UNTIL_LIMIT) { int32_t tmp; - /* If: '/If' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * MATLAB Function: '/AMBRATE_FALLING_DIFF[7]' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * MATLAB Function: '/AMBRATE_FALLING_DIFF[7]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ /* : f_g_aucAMBRATE_FALLING_DIFF = g_aucAMBRATE_FALLING_DIFF(7); */ if (fabs((double)rtu_amb_raw - *rtd_AMB_store) > g_aucAMBRATE_FALLING_DIFF[6]) { - /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ *rtd_KEEP_FALLING_UNTIL_LIMIT = 1.0; - /* MATLAB Function: '/ускоренное повышение темп.' */ + /* MATLAB Function: '/ускоренное повышение темп.' */ /* : f_g_aucAMBRATE_FALLING_DIFF_LVL = g_aucAMBRATE_FALLING_DIFF(lvl + 1); */ tmp = rtu_lvl + 1; if (rtu_lvl + 1 > 32767) { tmp = 32767; } - /* SignalConversion generated from: '/rise per minute' incorporates: - * MATLAB Function: '/ускоренное повышение темп.' - * Merge: '/Merge' + /* SignalConversion generated from: '/rise per minute' incorporates: + * MATLAB Function: '/ускоренное повышение темп.' + * Merge: '/Merge' */ *rty_riseperminute = g_aucAMBRATE_FALLING_DIFF[tmp - 1]; - /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ + /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion generated from: '/rise per minute' incorporates: - * MATLAB Function: '/обычное повышение темп.' - * Merge: '/Merge' + /* SignalConversion generated from: '/rise per minute' incorporates: + * MATLAB Function: '/обычное повышение темп.' + * Merge: '/Merge' */ u_m2(rtu_lvl, rty_riseperminute); - /* End of Outputs for SubSystem: '/обычный режим повышения' */ + /* End of Outputs for SubSystem: '/обычный режим повышения' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ } /* * Output and update for atomic system: - * '/обычное повышение темп.' - * '/обычное повышение темп.' - * '/обычное повышение темп.' - * '/обычное повышение темп.' - * '/обычное повышение темп.' - * '/обычное повышение темп.' + * '/обычное повышение темп.' + * '/обычное повышение темп.' + * '/обычное повышение темп.' + * '/обычное повышение темп.' + * '/обычное повышение темп.' + * '/обычное повышение темп.' */ void u_h3(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_RISING) { @@ -4617,12 +7730,12 @@ void u_h3(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_RISING) /* * Output and update for atomic system: - * '/ускоренное повышение темп.' - * '/ускоренное повышение темп.' - * '/ускоренное повышение темп.' - * '/ускоренное повышение темп.' - * '/ускоренное повышение темп.' - * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' + * '/ускоренное повышение темп.' */ void u_fr(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_RISING_DIFF_LVL) { @@ -4639,137 +7752,137 @@ void u_fr(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_RISING_DIFF_LVL) /* * Output and update for action system: - * '/включен ускоренный режим' - * '/включен ускоренный режим' - * '/включен ускоренный режим' + * '/включен ускоренный режим' + * '/включен ускоренный режим' + * '/включен ускоренный режим' */ void u_p(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_out, const double *rtd_AMB_store, double *rtd_KEEP_RISING_UNTIL_LIMIT) { - /* If: '/If' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * MATLAB Function: '/AMBRATE_RISING_DIFF[8]' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * MATLAB Function: '/AMBRATE_RISING_DIFF[8]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ /* : f_g_aucAMBRATE_RISING_DIFF = g_aucAMBRATE_RISING_DIFF(8); */ if (fabs((double)rtu_amb_raw - *rtd_AMB_store) <= g_aucAMBRATE_RISING_DIFF[7]) { - /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ *rtd_KEEP_RISING_UNTIL_LIMIT = 0.0; - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/обычное повышение темп.' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/обычное повышение темп.' */ u_h3(rtu_lvl, rty_out); - /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ + /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/ускоренное повышение темп.' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/ускоренное повышение темп.' */ u_fr(rtu_lvl, rty_out); - /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ + /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ } /* * Output and update for action system: - * '/обычный режим' - * '/обычный режим' - * '/обычный режим' + * '/обычный режим' + * '/обычный режим' + * '/обычный режим' */ void u_g2(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_riseperminute, const double *rtd_AMB_store, double *rtd_KEEP_RISING_UNTIL_LIMIT) { - /* If: '/If' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * MATLAB Function: '/AMBRATE_RISING_DIFF[7]' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * MATLAB Function: '/AMBRATE_RISING_DIFF[7]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ /* : f_g_aucAMBRATE_RISING_DIFF = g_aucAMBRATE_RISING_DIFF(7); */ if (fabs((double)rtu_amb_raw - *rtd_AMB_store) > g_aucAMBRATE_RISING_DIFF[6]) { - /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ *rtd_KEEP_RISING_UNTIL_LIMIT = 1.0; - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/ускоренное повышение темп.' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/ускоренное повышение темп.' */ u_fr(rtu_lvl, rty_riseperminute); - /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ + /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion generated from: '/out' incorporates: - * MATLAB Function: '/обычное повышение темп.' + /* SignalConversion generated from: '/out' incorporates: + * MATLAB Function: '/обычное повышение темп.' */ u_h3(rtu_lvl, rty_riseperminute); - /* End of Outputs for SubSystem: '/обычный режим повышения' */ + /* End of Outputs for SubSystem: '/обычный режим повышения' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ } /* * Output and update for action system: - * '/If Action Subsystem' - * '/If Action Subsystem' - * '/If Action Subsystem' + * '/If Action Subsystem' + * '/If Action Subsystem' + * '/If Action Subsystem' */ void IfActionSubsystem_h(int8_t *rty_Out1, double *rtd_ErrorHomming_private, double *rtd_Start_timer_n, int8_t *rtd_stepSig_private) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ *rtd_stepSig_private = 1; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * Sum: '/step inc' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * Sum: '/step inc' */ (*rtd_ErrorHomming_private)++; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant3' */ *rtd_Start_timer_n = 0.0; - /* SignalConversion generated from: '/Out1' incorporates: - * Constant: '/Constant1' + /* SignalConversion generated from: '/Out1' incorporates: + * Constant: '/Constant1' */ *rty_Out1 = 2; } /* * System initialize for atomic system: - * '/MATLAB Function' - * '/MATLAB Function' - * '/MATLAB Function' + * '/MATLAB Function' + * '/MATLAB Function' + * '/MATLAB Function' */ void MATLABFunction_Init(DW_MATLABFunction *localDW) { @@ -4779,9 +7892,9 @@ void MATLABFunction_Init(DW_MATLABFunction *localDW) /* * Output and update for atomic system: - * '/MATLAB Function' - * '/MATLAB Function' - * '/MATLAB Function' + * '/MATLAB Function' + * '/MATLAB Function' + * '/MATLAB Function' */ void MATLABFunction(double rtu_cond, uint32_t rtu_t_now, uint32_t *rty_dt, DW_MATLABFunction *localDW) @@ -4828,9 +7941,9 @@ void MATLABFunction(double rtu_cond, uint32_t rtu_t_now, uint32_t *rty_dt, /* * Output and update for action system: - * '/If Action Subsystem1' - * '/If Action Subsystem1' - * '/If Action Subsystem1' + * '/If Action Subsystem1' + * '/If Action Subsystem1' + * '/If Action Subsystem1' */ void IfActionSubsystem1_h(int8_t *rty_Output, uint8_t *rtd_CCU_ActuatorErrF_Stat_private, uint8_t rtd_COM_private[9], uint8_t @@ -4841,32 +7954,32 @@ void IfActionSubsystem1_h(int8_t *rty_Output, uint8_t int32_t i; bool tmp; - /* Logic: '/Logical Operator' incorporates: - * DataStoreRead: '/Data Store Read' + /* Logic: '/Logical Operator' incorporates: + * DataStoreRead: '/Data Store Read' */ tmp = (rtd_ErrorCalibration_private[0] != 0); for (i = 0; i < 8; i++) { tmp = (tmp || (rtd_ErrorCalibration_private[i + 1] != 0)); } - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' */ *rtd_CCU_ActuatorErrF_Stat_private = tmp; for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write2' incorporates: - * DataStoreRead: '/Data Store Read' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * DataStoreRead: '/Data Store Read' */ rtd_COM_private[i] = rtd_ErrorCalibration_private[i]; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtd_MODE_private[i] = 2U; } - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read6' + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read6' */ /* : if(LOGGER==1) */ if (*rtd_LOGGER_LIN == 1.0) { @@ -4881,40 +7994,40 @@ void IfActionSubsystem1_h(int8_t *rty_Output, uint8_t } } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ for (i = 0; i < 9; i++) { uint8_t rtd_ErrorCalibration_private_0; - /* Logic: '/Logical Operator1' incorporates: - * DataStoreRead: '/Data Store Read' + /* Logic: '/Logical Operator1' incorporates: + * DataStoreRead: '/Data Store Read' */ rtd_ErrorCalibration_private_0 = rtd_ErrorCalibration_private[i]; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write3' - * Logic: '/Logical Operator1' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write3' + * Logic: '/Logical Operator1' */ rtd_ErrorActuator[i] = (uint8_t)((rtd_ErrorCalibration_private_0 != 0) || (rtd_ErrorActuator[i] != 0)); - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtd_dtc_state_error_model[i + 54] = rtd_ErrorCalibration_private_0; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtd_ErrorCalibration_private[i] = 0U; } - /* SignalConversion generated from: '/Output' incorporates: - * Constant: '/Constant' + /* SignalConversion generated from: '/Output' incorporates: + * Constant: '/Constant' */ *rty_Output = 4; } /* * Output and update for atomic system: - * '/valves for mode' - * '/valves_front_right' + * '/valves for mode' + * '/valves_front_right' */ void valvesformode(uint8_t rtu_MODE, uint16_t rty_get_valves[9]) { @@ -4943,8 +8056,8 @@ void valvesformode(uint8_t rtu_MODE, uint16_t rty_get_valves[9]) /* * Output and update for atomic system: - * '/valves_rear_left' - * '/valves_rear_right' + * '/valves_rear_left' + * '/valves_rear_right' */ void valves_rear_left(uint8_t rtu_MODE, uint16_t rty_get_valves[6]) { @@ -4991,8 +8104,8 @@ void valves_rear_left(uint8_t rtu_MODE, uint16_t rty_get_valves[6]) /* * Output and update for atomic system: - * '/MODE_for_set_and_lvl' - * '/MODE_for_set_and_lvl1' + * '/MODE_for_set_and_lvl' + * '/MODE_for_set_and_lvl1' */ void MODE_for_set_and_lvl(uint8_t rtu_LVL, int16_t rtu_SET, uint8_t *rty_get_mode) @@ -5033,8 +8146,8 @@ void MODE_for_set_and_lvl(uint8_t rtu_LVL, int16_t rtu_SET, uint8_t /* * Output and update for atomic system: - * '/increase' - * '/increase' + * '/increase' + * '/increase' */ void increase(int16_t rtu_duct_tg, const uint16_t rtu_mode_array[7], uint16_t *rty_y) @@ -5061,8 +8174,8 @@ void increase(int16_t rtu_duct_tg, const uint16_t rtu_mode_array[7], uint16_t /* * Output and update for atomic system: - * '/decrease' - * '/decrease' + * '/decrease' + * '/decrease' */ void decrease(int16_t rtu_duct_tg, const uint16_t rtu_mode_array[7], uint16_t *rty_y) @@ -5089,10 +8202,10 @@ void decrease(int16_t rtu_duct_tg, const uint16_t rtu_mode_array[7], uint16_t /* * Output and update for atomic system: - * '/valves_rear_left' - * '/valves_rear_right' + * '/valves_rear_left' + * '/valves_rear_right' */ -void valves_rear_left_d(uint16_t rtu_MODE, uint16_t rty_get_valves[6]) +void valves_rear_left_h(uint16_t rtu_MODE, uint16_t rty_get_valves[6]) { int32_t q0; uint32_t qY; @@ -5137,8 +8250,8 @@ void valves_rear_left_d(uint16_t rtu_MODE, uint16_t rty_get_valves[6]) /* * Output and update for atomic system: - * '/Valves for Bi Level' - * '/Valves for Bi Level' + * '/Valves for Bi Level' + * '/Valves for Bi Level' */ void ValvesforBiLevel(uint16_t rty_out[9]) { @@ -5152,8 +8265,8 @@ void ValvesforBiLevel(uint16_t rty_out[9]) /* * Output and update for atomic system: - * '/Valves for Foot + Def' - * '/Valves for Foot + Def' + * '/Valves for Foot + Def' + * '/Valves for Foot + Def' */ void ValvesforFootDef(uint16_t rty_out[9]) { @@ -5167,8 +8280,8 @@ void ValvesforFootDef(uint16_t rty_out[9]) /* * Output and update for atomic system: - * '/Valves for Hi_Level' - * '/Valves for Hi_Level' + * '/Valves for Hi_Level' + * '/Valves for Hi_Level' */ void ValvesforHi_Level(uint16_t rty_out[9]) { @@ -5182,8 +8295,8 @@ void ValvesforHi_Level(uint16_t rty_out[9]) /* * Output and update for atomic system: - * '/Valves for Tri-Level' - * '/Valves for Tri-Level' + * '/Valves for Tri-Level' + * '/Valves for Tri-Level' */ void ValvesforTriLevel(uint16_t rty_out[9]) { @@ -5197,10 +8310,10 @@ void ValvesforTriLevel(uint16_t rty_out[9]) /* * Output and update for atomic system: - * '/AF for Bi Level' - * '/AF for Bi Level' + * '/AF for Bi Level' + * '/AF for Bi Level' */ -void AFforBiLevel_a(uint16_t rty_out[6]) +void AFforBiLevel_b(uint16_t rty_out[6]) { int32_t i; for (i = 0; i < 6; i++) { @@ -5212,8 +8325,8 @@ void AFforBiLevel_a(uint16_t rty_out[6]) /* * Output and update for atomic system: - * '/valves for Vent mode' - * '/valves for Vent mode' + * '/valves for Vent mode' + * '/valves for Vent mode' */ void valvesforVentmode(uint16_t rty_out[6]) { @@ -5226,8 +8339,8 @@ void valvesforVentmode(uint16_t rty_out[6]) } /* Function for Chart: '/A//C Control' */ -static void E_COMP_MANAGER(bool *Enable_Comp_PID, const int16_t - *g_assEVA_TG_AMB_F_n, const int16_t *g_assEVA_TG_AMB_R_h) +static void E_COMP_MANAGER(bool *Enable_Comp_PID, const int16_t *Switch2, const + int16_t *Switch3) { if (rtDW.is_E_COMP_MANAGER == IN_COMP_OFF) { *Enable_Comp_PID = false; @@ -5309,14 +8422,14 @@ static void E_COMP_MANAGER(bool *Enable_Comp_PID, const int16_t rtB.Comp_Feedback_Temp = rtDW.Eva_R; /* : Comp_Target_Temp = Target_Rear; */ - rtB.Comp_Target_Temp = *g_assEVA_TG_AMB_R_h; + rtB.Comp_Target_Temp = *Switch3; } else { /* : else */ /* : Comp_Feedback_Temp = Eva_F; */ rtB.Comp_Feedback_Temp = rtDW.Eva_F; /* : Comp_Target_Temp = Target_Front; */ - rtB.Comp_Target_Temp = *g_assEVA_TG_AMB_F_n; + rtB.Comp_Target_Temp = *Switch2; } } else if (rtDW.FRONT_Start_request) { /* : elseif FRONT_Start_request == 1 */ @@ -5324,21 +8437,21 @@ static void E_COMP_MANAGER(bool *Enable_Comp_PID, const int16_t rtB.Comp_Feedback_Temp = rtDW.Eva_F; /* : Comp_Target_Temp = Target_Front; */ - rtB.Comp_Target_Temp = *g_assEVA_TG_AMB_F_n; + rtB.Comp_Target_Temp = *Switch2; } else if (rtDW.REAR_Start_request) { /* : elseif REAR_Start_request == 1 */ /* : Comp_Feedback_Temp = Eva_R; */ rtB.Comp_Feedback_Temp = rtDW.Eva_R; /* : Comp_Target_Temp = Target_Rear; */ - rtB.Comp_Target_Temp = *g_assEVA_TG_AMB_R_h; + rtB.Comp_Target_Temp = *Switch3; } else { /* : else */ /* : Comp_Feedback_Temp = Eva_F; */ rtB.Comp_Feedback_Temp = rtDW.Eva_F; /* : Comp_Target_Temp = Target_Front; */ - rtB.Comp_Target_Temp = *g_assEVA_TG_AMB_F_n; + rtB.Comp_Target_Temp = *Switch2; } /* : if Comp_Feedback_Temp == Eva_R */ @@ -5582,7 +8695,7 @@ static void enter_atomic_NO_SYNC(void) } /* - * Function for Chart: '/Chart' + * Function for Chart: '/Partial REC' * function idx = find_index(delta) */ static double find_index(int16_t delta) @@ -5610,7 +8723,9 @@ static double find_index(int16_t delta) void HVAC_model_step(void) { double rtb_Divide1_a4[9]; + double rtb_Saturation_m[8]; double rtb_f_lower_upper_bounds[2]; + double rtb_Add_p4; double rtb_Divide10; double rtb_Divide11; double rtb_Divide3; @@ -5619,14 +8734,13 @@ void HVAC_model_step(void) double rtb_Divide6; double rtb_Divide7; double rtb_Divide8; - double rtb_Gain_e; - double rtb_Switch1_oh; + double rtb_Switch2_by; int64_t tmp_3; int32_t i; - int32_t i_0; int32_t rtb_Gain1_f; - uint32_t rtb_Gain2_l_tmp_tmp; - uint32_t rtb_Gain2_l_tmp_tmp_0; + int32_t rtb_Switch5; + uint32_t rtb_Divide5_m_tmp_tmp; + uint32_t rtb_Divide5_m_tmp_tmp_0; uint32_t rtb_Subtract; uint32_t rtb_dt_nx; int16_t rtb_MultiportSwitch1_p2[7]; @@ -5634,158 +8748,159 @@ void HVAC_model_step(void) int16_t tmp_2[6]; int16_t Duct_FRU_Tg_DBG[5]; int16_t Duct_RR_Tg_DBG[5]; - int16_t rtb_VectorConcatenate_gl[5]; - int16_t rtb_VectorConcatenate_ic[5]; - int16_t rtb_VectorConcatenate_jn[5]; - int16_t rtb_VectorConcatenate_lo[5]; - int16_t rtb_VectorConcatenate_gu[3]; - int16_t rtb_VectorConcatenate_jb[3]; - int16_t rtb_VectorConcatenate_l0[3]; + int16_t rtb_VectorConcatenate_by[5]; + int16_t rtb_VectorConcatenate_fnw[5]; + int16_t rtb_VectorConcatenate_kz[5]; + int16_t rtb_VectorConcatenate_p[5]; + int16_t rtb_VectorConcatenate_g[3]; + int16_t rtb_VectorConcatenate_im[3]; + int16_t rtb_VectorConcatenate_iw[3]; int16_t rtb_VectorConcatenate_mx[3]; + int16_t rtb_out_kvd[2]; + int16_t Duct1_F; int16_t Duct1_R; int16_t Duct2_R; + int16_t Duct3_F; int16_t Duct3_R; + int16_t Duct4_F; int16_t Duct4_R; int16_t Duct5_F; int16_t Duct6_F; - int16_t g_assEVA_TG_AMB_F_n; - int16_t g_assEVA_TG_AMB_R_h; + int16_t Eva_Target; + int16_t Switch2; + int16_t Switch3; int16_t rtb_Bias1_h; - int16_t rtb_Bias2_n; int16_t rtb_Bias3; int16_t rtb_Bias4; int16_t rtb_Bias5; int16_t rtb_Bias_ct; - int16_t rtb_DeadZone10; - int16_t rtb_DeadZone7; - int16_t rtb_DeadZone8; - int16_t rtb_DeadZone9; int16_t rtb_FLU_tg_correct; - int16_t rtb_FLU_tg_correct_a; - int16_t rtb_FLU_tg_correct_i; - int16_t rtb_FLU_tg_correct_me; + int16_t rtb_FLU_tg_correct1; + int16_t rtb_FLU_tg_correct_o; + int16_t rtb_Merge_by; int16_t rtb_Merge_h; int16_t rtb_MultiportSwitch1_oi; - int16_t rtb_MultiportSwitch_ag; int16_t rtb_MultiportSwitch_c; - int16_t rtb_MultiportSwitch_dv; - int16_t rtb_MultiportSwitch_e; - int16_t rtb_MultiportSwitch_g; - int16_t rtb_MultiportSwitch_j; + int16_t rtb_MultiportSwitch_cn; + int16_t rtb_MultiportSwitch_ev; + int16_t rtb_MultiportSwitch_h; + int16_t rtb_MultiportSwitch_i; + int16_t rtb_MultiportSwitch_k; + int16_t rtb_MultiportSwitch_l; + int16_t rtb_MultiportSwitch_l4; int16_t rtb_MultiportSwitch_m; - int16_t rtb_MultiportSwitch_oi; - int16_t rtb_MultiportSwitch_p; - int16_t rtb_MultiportSwitch_pp; - int16_t rtb_Switch2_p0; + int16_t rtb_MultiportSwitch_om; int16_t rtb_X; - int16_t rtb_u5FLU_tg_incar_ce; - int16_t rtb_u5FLU_tg_incar_o; + int16_t rtb_u5FLU_tg_incar_b; + int16_t rtb_u5FLU_tg_incar_g; + int16_t rtb_u5FLU_tg_incar_k; int16_t rtb_u5FRU_tg_incar; int16_t rtb_u5R_tg_incar; - int16_t rtb_u6FLU_tg_amb_e; + int16_t rtb_u6FLU_tg_amb_d; int16_t rtb_u6FLU_tg_amb_f; - int16_t rtb_u6FLU_tg_amb_hk; - int16_t rtb_u6FLU_tg_amb_i; + int16_t rtb_u6FLU_tg_amb_fi; + int16_t rtb_u6FLU_tg_amb_h; int16_t rtb_u6FLU_tg_amb_l; int16_t rtb_u6FLU_tg_amb_o; int16_t rtb_u6FRU_tg_amb; - int16_t rtb_u6FRU_tg_amb_h; - int16_t test_Pid_D; - int16_t test_Pid_I; - int16_t test_Pid_P; + int16_t rtb_u6FRU_tg_amb_f; + int16_t rtb_y_fq; + int16_t rtb_y_il; + int16_t rtb_y_j1; + int16_t rtb_y_k; uint16_t tmp_0[99]; uint16_t tmp[45]; uint16_t tmp_1[42]; - uint16_t rtb_get_valves[9]; - uint16_t rtb_out_a2[9]; - uint16_t rtb_out_j[9]; - uint16_t rtb_out_lf[9]; - uint16_t rtb_out_nf[9]; - uint16_t rtb_out_oz[9]; + uint16_t rtb_out_ak[9]; + uint16_t rtb_out_bql[9]; + uint16_t rtb_out_du[9]; + uint16_t rtb_out_o3[9]; + uint16_t rtb_out_p[9]; + uint16_t rtb_out_pv[9]; + uint16_t rtb_vals[9]; uint16_t rtb_get_mode[7]; - uint16_t rtb_Gain1_h[6]; - uint16_t rtb_TmpSignalConversionAt1DLookupTable7Inport1[6]; + uint16_t rtb_Gain1_o3[6]; + uint16_t rtb_out[6]; + uint16_t rtb_out_ix5[2]; uint16_t Gain; uint16_t Gain1; uint16_t rtb_Saturation2_a; - uint16_t rtb_out_ee; - uint16_t rtb_out_nq; - uint16_t rtb_out_os; - uint16_t rtb_out_p1; - int8_t rtb_y_c; + uint16_t rtb_out_iu; + uint16_t rtb_out_j3; + uint16_t rtb_out_oe; + uint16_t rtb_out_px; + int8_t rtb_y_f; uint8_t rtb_get_modes_for_levels[78]; uint8_t Actuator_pos_percent_Ch1[9]; - uint8_t rtb_DataTypeConversion_hon[9]; - uint8_t rtb_DataTypeConversion_p3[9]; - uint8_t rtb_DataTypeConversion_p4[9]; + uint8_t rtb_DataTypeConversion_eg[9]; + uint8_t rtb_DataTypeConversion_fv[9]; + uint8_t rtb_DataTypeConversion_jn[9]; uint8_t rtb_DataTypeConversion2_ie[6]; - uint8_t CCU_AC_MAX; - uint8_t CCU_Defrost; + uint8_t Blower_AF_FR; + uint8_t Blower_AF_RL; + uint8_t Blower_AF_RR; + uint8_t CCU_FRONT_SYNC; uint8_t Comp_Max_RPM_Allowed; uint8_t EN_BATTChiller; - uint8_t LowTempValve; + uint8_t El_window_heating; + uint8_t ShutOffFront_EN; uint8_t ShutOffRear_EN; uint8_t fan_speed_out; - uint8_t rtb_DataTypeConversion1_ao; - uint8_t rtb_DataTypeConversion1_pk; - uint8_t rtb_DataTypeConversion3_j0; + uint8_t rtb_Cmd_3Way; + uint8_t rtb_DataTypeConversion1_nc; + uint8_t rtb_DataTypeConversion3_gs; + uint8_t rtb_DataTypeConversion3_k; + uint8_t rtb_DataTypeConversion_ca; uint8_t rtb_DataTypeConversion_kv; uint8_t rtb_Gain2_hu; uint8_t rtb_Gain_l; - uint8_t rtb_Merge_aj; - uint8_t rtb_Merge_gk; - uint8_t rtb_Merge_gw; - uint8_t rtb_Merge_p3; - uint8_t rtb_Saturation4; + uint8_t rtb_Merge_e; + uint8_t rtb_Merge_f3; + uint8_t rtb_Merge_mi; + uint8_t rtb_Merge_nt; uint8_t rtb_Saturation4_l; - uint8_t rtb_Sum1; - uint8_t rtb_Switch_db; uint8_t rtb_timer_out; - uint8_t rtb_u_pc; - uint8_t u0; bool rtb_LogicalOperator3_nq[9]; bool rtb_Compare_fe[8]; bool rtb_LogicalOperator3_k[6]; bool Enable_Comp_PID; + bool eComp_stop; bool guard1; bool guard2; bool rtb_Compare_af; - bool rtb_Compare_an; bool rtb_Compare_au; - bool rtb_Compare_ba; bool rtb_Compare_bn; bool rtb_Compare_bq; bool rtb_Compare_d5; - bool rtb_Compare_dn; - bool rtb_Compare_ec; - bool rtb_Compare_et; - bool rtb_Compare_fq; - bool rtb_Compare_gp; - bool rtb_Compare_gy; + bool rtb_Compare_df; + bool rtb_Compare_dw; + bool rtb_Compare_e1; + bool rtb_Compare_edx; + bool rtb_Compare_fi; + bool rtb_Compare_g1; + bool rtb_Compare_gwb; bool rtb_Compare_h2; - bool rtb_Compare_hj; + bool rtb_Compare_hs; bool rtb_Compare_hv; bool rtb_Compare_i5; - bool rtb_Compare_ie; - bool rtb_Compare_ij; + bool rtb_Compare_il; bool rtb_Compare_iy; - bool rtb_Compare_kf; - bool rtb_Compare_m0e; + bool rtb_Compare_kb; + bool rtb_Compare_l; + bool rtb_Compare_ls; bool rtb_Compare_mg; - bool rtb_Compare_ni; - bool rtb_Compare_od; - bool rtb_Compare_og; - bool rtb_Compare_oj; - bool rtb_Compare_oo; - bool rtb_Compare_pt; + bool rtb_Compare_ne; + bool rtb_Compare_ohx; + bool rtb_Compare_oi1; + bool rtb_Compare_pjy; + bool rtb_Compare_ps1; bool rtb_FailCond_a; + bool rtb_FailCond_ad; + bool rtb_FailCond_d; bool rtb_FailCond_e; - bool rtb_FailCond_gv; - bool rtb_FailCond_i4; bool rtb_FailCond_jb; - bool rtb_FailCond_kz; + bool rtb_FailCond_kd; bool rtb_FailCond_l; - bool rtb_FailCond_n2; bool rtb_LogicalOperator1; bool rtb_LogicalOperator10; bool rtb_LogicalOperator11; @@ -5810,22 +8925,55 @@ void HVAC_model_step(void) */ Gain1 = (uint16_t)(10U * rtDW.PWM_rear); - /* Lookup_n-D: '/g_assEVA_TG_AMB_F' incorporates: - * DataStoreRead: '/Data Store Read45' + /* Switch: '/Switch4' incorporates: + * Constant: '/Constant8' + * DataStoreRead: '/Data Store Read44' + * DataStoreRead: '/Data Store Read77' + * RelationalOperator: '/Relational Operator2' */ - g_assEVA_TG_AMB_F_n = look1_is16lu64n32Ds32_binlcs(rtDW.AMB, - &g_assFAILURE_AMB_TEMP[0], &g_assEVA_TG_AMB_F[0], 12U); + if (rtDW.condition_ac_max == 1.0) { + rtb_MultiportSwitch_cn = 1; + } else { + rtb_MultiportSwitch_cn = rtDW.CCU_AC_FRONT; + } - /* Lookup_n-D: '/g_assEVA_TG_AMB_R' incorporates: - * DataStoreRead: '/Data Store Read45' + /* End of Switch: '/Switch4' */ + + /* Switch: '/Switch2' incorporates: + * DataStoreRead: '/Data Store Read76' + * Switch: '/Switch3' */ - g_assEVA_TG_AMB_R_h = look1_is16lu64n32Ds32_binlcs(rtDW.AMB, - &g_assFAILURE_AMB_TEMP[0], &g_assEVA_TG_AMB_R[0], 12U); + if (rtDW.CCU_AC_MAX > 0) { + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant12' + */ + Switch2 = 2; + + /* Switch: '/Switch3' incorporates: + * Constant: '/Constant12' + */ + Switch3 = 2; + } else { + /* Switch: '/Switch2' incorporates: + * DataStoreRead: '/Data Store Read45' + * Lookup_n-D: '/g_assEVA_TG_AMB_F' + */ + Switch2 = look1_is16lu64n32Ds32_binlcs(rtDW.AMB, &g_assFAILURE_AMB_TEMP[0], + &g_assEVA_TG_AMB_F[0], 12U); + + /* Switch: '/Switch3' incorporates: + * DataStoreRead: '/Data Store Read45' + * Lookup_n-D: '/g_assEVA_TG_AMB_R' + */ + Switch3 = look1_is16lu64n32Ds32_binlcs(rtDW.AMB, &g_assFAILURE_AMB_TEMP[0], + &g_assEVA_TG_AMB_R[0], 12U); + } + + /* End of Switch: '/Switch2' */ /* Chart: '/A//C Control' incorporates: * DataStoreRead: '/Data Store Read2' * DataStoreRead: '/Data Store Read37' - * DataStoreRead: '/Data Store Read44' * DataStoreRead: '/Data Store Read45' * DataStoreRead: '/Data Store Read50' * DataStoreRead: '/Data Store Read51' @@ -5833,6 +8981,9 @@ void HVAC_model_step(void) * DataStoreRead: '/Data Store Read53' * DataStoreRead: '/Data Store Read58' * DataStoreRead: '/Data Store Read59' + * DataStoreRead: '/Data Store Read74' + * DataStoreRead: '/Data Store Read79' + * DataStoreRead: '/Data Store Read80' * DataTypeConversion: '/Data Type Conversion' * DataTypeConversion: '/Data Type Conversion3' * Gain: '/Gain2' @@ -5885,8 +9036,8 @@ void HVAC_model_step(void) rtB.Eva_Ctrl = 0U; rtDW.is_COMP_PROTECTION = IN_PROT_LEVEL_0; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* : Logic_Ac_Comp_Protection_Level = 0; */ rtDW.dbg_Logic_Ac_model.Logic_Ac_Comp_Protection_Level = 0U; @@ -5895,7 +9046,7 @@ void HVAC_model_step(void) Comp_Max_RPM_Allowed = 170U; /* : Evap_Target_Offset = 0; */ - g_assEVA_TG_AMB_F_n = 0; + Switch2 = 0; } else { switch (rtDW.is_PRESSURE_MONITOR) { case IN_FAULT_HIGH_PRESS: @@ -5906,15 +9057,15 @@ void HVAC_model_step(void) */ /* : sf_internal_predicateOutput = Pressure_sen < P_Hi_CutOff; */ if (rtDW.AMB > 400) { - rtb_Switch2_p0 = g_assAC_PRESSURE_HYS_HI_ENG_ON[0]; + rtb_y_fq = g_assAC_PRESSURE_HYS_HI_ENG_ON[0]; } else { - rtb_Switch2_p0 = g_assAC_PRESSURE_HYS_HI_ENG_ON[2]; + rtb_y_fq = g_assAC_PRESSURE_HYS_HI_ENG_ON[2]; } /* Gain: '/Gain2' incorporates: * Switch: '/Switch' */ - i = 15857 * rtb_Switch2_p0; + i = 15857 * rtb_y_fq; if (rtDW.Pressure < ((((uint32_t)i & 8192U) != 0U) && ((((uint32_t)i & 8191U) != 0U) || (i > 0))) + (i >> 14)) { rtDW.is_PRESSURE_MONITOR = IN_PRESSURE_OK; @@ -5974,8 +9125,9 @@ void HVAC_model_step(void) rtb_Subtract = 0U; } - if ((rtDW.CCU_AC_FRONT != 0) && ((Gain >= (int32_t)rtb_Subtract) && - ((rtDW.Eva_F > 0) && ((rtDW.AMB > g_assAC_CUT_OFF_AMB_F[0]) && + if ((rtb_MultiportSwitch_cn != 0) && ((Gain >= (int32_t)rtb_Subtract) && + ((rtDW.CCU_PressSenErr_Stat == 0) && (rtDW.CCU_EvaTempSenErrF_Stat == + 0) && (rtDW.Eva_F > 0) && ((rtDW.AMB > g_assAC_CUT_OFF_AMB_F[0]) && rtDW.Pressure_Condition_table_OK)))) { rtDW.is_FRONT_CONTOUR = IN_Front_A_C_ON; @@ -5984,15 +9136,16 @@ void HVAC_model_step(void) } } else { /* case IN_Front_A_C_ON: */ - /* : sf_internal_predicateOutput = AC_Req_MMS == 0 || pwm_front < (g_ausMIN_PWM(1)-1) || Error_PressSen == 1 || Error_Eva_F == 1 || Eva_F <= 0 || amb_temp<=g_assAC_CUT_OFF_AMB_F(1) || Pressure_Condition_table_OK == 0; */ + /* : sf_internal_predicateOutput = AC_Req_MMS == 0 || pwm_front < (g_ausMIN_PWM(1)-1) || Error_PressSen == 1 || Error_Eva_F == 1 || Eva_F <= 0 || amb_temp<=g_assAC_CUT_OFF_AMB_F(2) || Pressure_Condition_table_OK == 0; */ rtb_Subtract = g_ausMIN_PWM[0] - 1U; if (g_ausMIN_PWM[0] - 1U > g_ausMIN_PWM[0]) { rtb_Subtract = 0U; } - if ((rtDW.CCU_AC_FRONT == 0) || ((Gain < (int32_t)rtb_Subtract) || - ((rtDW.Eva_F <= 0) || ((rtDW.AMB <= g_assAC_CUT_OFF_AMB_F[0]) || - ((rtDW.AMB > g_assAC_CUT_OFF_AMB_F[0]) && + if ((rtb_MultiportSwitch_cn == 0) || ((Gain < (int32_t)rtb_Subtract) || + ((rtDW.CCU_PressSenErr_Stat == 1) || (rtDW.CCU_EvaTempSenErrF_Stat == + 1) || (rtDW.Eva_F <= 0) || ((rtDW.AMB <= g_assAC_CUT_OFF_AMB_F[1]) || + ((rtDW.AMB > g_assAC_CUT_OFF_AMB_F[1]) && (!rtDW.Pressure_Condition_table_OK)))))) { rtDW.is_FRONT_CONTOUR = IN_Front_A_C_OFF; @@ -6002,14 +9155,15 @@ void HVAC_model_step(void) } if (rtDW.is_REAR_CONTOUR == IN_Rear_A_C_OFF) { - /* : sf_internal_predicateOutput = AC_Req_MMS_Rear == 1 && pwm_rear >= (g_ausMIN_PWM(2)-1) && Error_PressSen == 0 && Error_Eva_R == 0 && Eva_R > 0 && amb_temp>g_assAC_CUT_OFF_AMB_F(2) && Pressure_Condition_table_OK == 1; */ + /* : sf_internal_predicateOutput = AC_Req_MMS_Rear == 1 && pwm_rear >= (g_ausMIN_PWM(2)-1) && Error_PressSen == 0 && Error_Eva_R == 0 && Eva_R > 0 && amb_temp>g_assAC_CUT_OFF_AMB_R(2) && Pressure_Condition_table_OK == 1; */ rtb_Subtract = g_ausMIN_PWM[1] - 1U; if (g_ausMIN_PWM[1] - 1U > g_ausMIN_PWM[1]) { rtb_Subtract = 0U; } if ((rtDW.CCU_AC_REAR != 0) && ((Gain1 >= (int32_t)rtb_Subtract) && - ((rtDW.Eva_R > 0) && ((rtDW.AMB > g_assAC_CUT_OFF_AMB_F[1]) && + ((rtDW.CCU_PressSenErr_Stat == 0) && (rtDW.CCU_EvaTempSenErrR_Stat == + 0) && (rtDW.Eva_R > 0) && ((rtDW.AMB > g_assAC_CUT_OFF_AMB_R[1]) && rtDW.Pressure_Condition_table_OK)))) { rtDW.is_REAR_CONTOUR = IN_Rear_A_C_ON; @@ -6018,15 +9172,16 @@ void HVAC_model_step(void) } } else { /* case IN_Rear_A_C_ON: */ - /* : sf_internal_predicateOutput = [AC_Req_MMS_Rear == 0 || pwm_rear < (g_ausMIN_PWM(2)-1) || Error_PressSen == 1 || Error_Eva_R == 1 || Eva_R <= 0 || amb_temp<=g_assAC_CUT_OFF_AMB_F(2) || Pressure_Condition_table_OK == 0]; */ + /* : sf_internal_predicateOutput = [AC_Req_MMS_Rear == 0 || pwm_rear < (g_ausMIN_PWM(2)-1) || Error_PressSen == 1 || Error_Eva_R == 1 || Eva_R <= 0 || amb_temp<=g_assAC_CUT_OFF_AMB_R(1) || Pressure_Condition_table_OK == 0]; */ rtb_Subtract = g_ausMIN_PWM[1] - 1U; if (g_ausMIN_PWM[1] - 1U > g_ausMIN_PWM[1]) { rtb_Subtract = 0U; } if ((rtDW.CCU_AC_REAR == 0) || ((Gain1 < (int32_t)rtb_Subtract) || - ((rtDW.Eva_R <= 0) || ((rtDW.AMB <= g_assAC_CUT_OFF_AMB_F[1]) || - ((rtDW.AMB > g_assAC_CUT_OFF_AMB_F[1]) && + ((rtDW.CCU_PressSenErr_Stat == 1) || (rtDW.CCU_EvaTempSenErrR_Stat == + 1) || (rtDW.Eva_R <= 0) || ((rtDW.AMB <= g_assAC_CUT_OFF_AMB_R[0]) || + ((rtDW.AMB > g_assAC_CUT_OFF_AMB_R[0]) && (!rtDW.Pressure_Condition_table_OK)))))) { rtDW.is_REAR_CONTOUR = IN_Rear_A_C_OFF; @@ -6038,7 +9193,7 @@ void HVAC_model_step(void) if (rtDW.is_CHILLER_CONTOUR == IN_Chiller_OFF) { /* : sf_internal_predicateOutput = eCompChiller_Req==1 && Pressure_Condition_table_OK == 1 && Error_PressSen == 0 && BCM_T15_Stat==1; */ if ((rtDW.eCompChiller_Req == 1) && rtDW.Pressure_Condition_table_OK && - (rtDW.BCM_T15_Stat == 1)) { + (rtDW.CCU_PressSenErr_Stat == 0) && (rtDW.BCM_T15_Stat == 1)) { rtDW.is_CHILLER_CONTOUR = IN_Chiller_ON; /* : Chiller_Start_request = true; */ @@ -6048,29 +9203,30 @@ void HVAC_model_step(void) /* case IN_Chiller_ON: */ /* : sf_internal_predicateOutput = eCompChiller_Req==0 || Pressure_Condition_table_OK == 0 || Error_PressSen == 1; */ } else if ((rtDW.eCompChiller_Req == 0) || - (!rtDW.Pressure_Condition_table_OK)) { + (!rtDW.Pressure_Condition_table_OK) || (rtDW.CCU_PressSenErr_Stat + == 1)) { rtDW.is_CHILLER_CONTOUR = IN_Chiller_OFF; /* : Chiller_Start_request = false; */ rtDW.Chiller_Start_request = false; } - E_COMP_MANAGER(&Enable_Comp_PID, &g_assEVA_TG_AMB_F_n, &g_assEVA_TG_AMB_R_h); + E_COMP_MANAGER(&Enable_Comp_PID, &Switch2, &Switch3); switch (rtDW.is_COMP_PROTECTION) { case IN_PROT_LEVEL_0: - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbg_Logic_Ac_model.Logic_Ac_Comp_Protection_Level = 0U; Comp_Max_RPM_Allowed = 170U; - g_assEVA_TG_AMB_F_n = 0; + Switch2 = 0; /* : sf_internal_predicateOutput = HVC_CompInputC_Val >= 160 || HVC_CompInvTemp_Val >= 1100; */ if ((rtDW.eComp_InputC >= 40960) || (rtDW.eComp_Temp >= 1100)) { rtDW.is_COMP_PROTECTION = IN_PROT_LEVEL_1; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* : Logic_Ac_Comp_Protection_Level = 1; */ rtDW.dbg_Logic_Ac_model.Logic_Ac_Comp_Protection_Level = 1U; @@ -6079,24 +9235,24 @@ void HVAC_model_step(void) Comp_Max_RPM_Allowed = 140U; /* : Evap_Target_Offset = 10; */ - g_assEVA_TG_AMB_F_n = 10; + Switch2 = 10; } break; case IN_PROT_LEVEL_1: - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbg_Logic_Ac_model.Logic_Ac_Comp_Protection_Level = 1U; Comp_Max_RPM_Allowed = 140U; - g_assEVA_TG_AMB_F_n = 10; + Switch2 = 10; /* : sf_internal_predicateOutput = HVC_CompInputC_Val < 155 && HVC_CompInvTemp_Val < 1090; */ if ((rtDW.eComp_InputC < 39680) && (rtDW.eComp_Temp < 1090)) { rtDW.is_COMP_PROTECTION = IN_PROT_LEVEL_0; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* : Logic_Ac_Comp_Protection_Level = 0; */ rtDW.dbg_Logic_Ac_model.Logic_Ac_Comp_Protection_Level = 0U; @@ -6105,14 +9261,14 @@ void HVAC_model_step(void) Comp_Max_RPM_Allowed = 170U; /* : Evap_Target_Offset = 0; */ - g_assEVA_TG_AMB_F_n = 0; + Switch2 = 0; /* : sf_internal_predicateOutput = HVC_CompInputC_Val >= 180 || HVC_CompInvTemp_Val >= 1200; */ } else if ((rtDW.eComp_InputC >= 46080) || (rtDW.eComp_Temp >= 1200)) { rtDW.is_COMP_PROTECTION = IN_PROT_LEVEL_2; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* : Logic_Ac_Comp_Protection_Level = 2; */ rtDW.dbg_Logic_Ac_model.Logic_Ac_Comp_Protection_Level = 2U; @@ -6121,25 +9277,25 @@ void HVAC_model_step(void) Comp_Max_RPM_Allowed = 120U; /* : Evap_Target_Offset = 20; */ - g_assEVA_TG_AMB_F_n = 20; + Switch2 = 20; } break; default: - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* case IN_PROT_LEVEL_2: */ rtDW.dbg_Logic_Ac_model.Logic_Ac_Comp_Protection_Level = 2U; Comp_Max_RPM_Allowed = 120U; - g_assEVA_TG_AMB_F_n = 20; + Switch2 = 20; /* : sf_internal_predicateOutput = HVC_CompInputC_Val < 175 && HVC_CompInvTemp_Val < 1190; */ if ((rtDW.eComp_InputC < 44800) && (rtDW.eComp_Temp < 1190)) { rtDW.is_COMP_PROTECTION = IN_PROT_LEVEL_1; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* : Logic_Ac_Comp_Protection_Level = 1; */ rtDW.dbg_Logic_Ac_model.Logic_Ac_Comp_Protection_Level = 1U; @@ -6148,7 +9304,7 @@ void HVAC_model_step(void) Comp_Max_RPM_Allowed = 140U; /* : Evap_Target_Offset = 10; */ - g_assEVA_TG_AMB_F_n = 10; + Switch2 = 10; } break; } @@ -6163,7 +9319,7 @@ void HVAC_model_step(void) /* MATLAB Function: '/MATLAB Function1' incorporates: * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/MATLAB Function' + * MATLAB Function: '/external fan' */ /* : if isempty(t_start) */ if (!rtDW.t_start_not_empty) { @@ -6197,10 +9353,7 @@ void HVAC_model_step(void) } /* : if (t_now - t_start) >= 60000.0 */ - /* MW:begin MISRA2012:D4.1 CERT-C:INT30-C 'Justifying MISRA CPP rule violation' */ rtb_Subtract = rtDW.t_now - /*MW:OvSatOk*/ rtDW.t_start; - - /* MW:end MISRA2012:D4.1 CERT-C:INT30-C */ if (rtb_Subtract > rtDW.t_now) { rtb_Subtract = 0U; } @@ -6218,10 +9371,10 @@ void HVAC_model_step(void) /* End of MATLAB Function: '/MATLAB Function1' */ /* Switch: '/Switch2' incorporates: - * Constant: '/Constant' + * Constant: '/Constant' * DataStoreRead: '/Data Store Read32' * Gain: '/Gain2' - * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ if (rtDW.Engine_speed > 500.0) { /* Switch: '/Switch' incorporates: @@ -6246,62 +9399,62 @@ void HVAC_model_step(void) /* Sum: '/Sum' incorporates: * DataStoreWrite: '/Data Store Write14' */ - g_assEVA_TG_AMB_F_n += rtB.Comp_Target_Temp; + Eva_Target = (int16_t)(rtB.Comp_Target_Temp + Switch2); /* Sum: '/Sum' incorporates: * DataStoreWrite: '/Data Store Write14' */ - rtb_Merge_h = (int16_t)(rtB.Comp_Feedback_Temp - g_assEVA_TG_AMB_F_n); + rtb_MultiportSwitch_cn = (int16_t)(rtB.Comp_Feedback_Temp - Eva_Target); /* DeadZone: '/Dead Zone' */ - if (rtb_Merge_h > g_assPID_COMPRESSOR[4]) { - i = rtb_Merge_h - g_assPID_COMPRESSOR[4]; + if (rtb_MultiportSwitch_cn > g_assPID_COMPRESSOR[4]) { + i = rtb_MultiportSwitch_cn - g_assPID_COMPRESSOR[4]; if (i > 32767) { i = 32767; } else if (i < -32768) { i = -32768; } - g_assEVA_TG_AMB_R_h = (int16_t)i; - } else if (rtb_Merge_h >= (int16_t)-g_assPID_COMPRESSOR[4]) { - g_assEVA_TG_AMB_R_h = 0; + Switch2 = (int16_t)i; + } else if (rtb_MultiportSwitch_cn >= (int16_t)-g_assPID_COMPRESSOR[4]) { + Switch2 = 0; } else { - i = rtb_Merge_h - (int16_t)-g_assPID_COMPRESSOR[4]; + i = rtb_MultiportSwitch_cn - (int16_t)-g_assPID_COMPRESSOR[4]; if (i > 32767) { i = 32767; } else if (i < -32768) { i = -32768; } - g_assEVA_TG_AMB_R_h = (int16_t)i; + Switch2 = (int16_t)i; } /* End of DeadZone: '/Dead Zone' */ - /* Gain: '/Gain1' */ + /* Gain: '/Gain1' */ rtb_Gain1_f = (int32_t)(10000U * Comp_Max_RPM_Allowed); - /* Sum: '/Sum' incorporates: + /* Sum: '/Sum' incorporates: * Constant: '/Constant7' - * Memory: '/Memory1' - * Product: '/Divide4' + * Memory: '/Memory1' + * Product: '/Divide4' */ tmp_3 = (int64_t)floor((double)g_assPID_COMPRESSOR[1] / 100.0 * (double) - g_assEVA_TG_AMB_R_h) + rtDW.MemComp_I_Value; + Switch2) + rtDW.MemComp_I_Value; if (tmp_3 > 2147483647LL) { tmp_3 = 2147483647LL; } else if (tmp_3 < -2147483648LL) { tmp_3 = -2147483648LL; } - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * Sum: '/Sum' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * Sum: '/Sum' */ if ((int32_t)tmp_3 <= rtb_Gain1_f) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant3' - * RelationalOperator: '/UpperRelop' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant3' + * RelationalOperator: '/UpperRelop' */ if ((int32_t)tmp_3 < 0) { rtb_Gain1_f = 0; @@ -6309,83 +9462,83 @@ void HVAC_model_step(void) rtb_Gain1_f = (int32_t)tmp_3; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch' incorporates: - * Constant: '/Constant12' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant12' */ if (Enable_Comp_PID) { - /* Sum: '/Sum2' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' + /* Sum: '/Sum2' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' * Constant: '/Constant6' * Constant: '/Constant8' - * Memory: '/pError' - * Product: '/Divide1' - * Product: '/Divide2' - * Product: '/Divide3' - * Product: '/Divide5' - * Product: '/Divide6' - * Sum: '/Sum1' + * Memory: '/pError' + * Product: '/Divide1' + * Product: '/Divide2' + * Product: '/Divide3' + * Product: '/Divide5' + * Product: '/Divide6' + * Sum: '/Sum1' * - * Block description for '/Divide1': + * Block description for '/Divide1': * Round * - * Block description for '/Divide3': + * Block description for '/Divide3': * Round * - * Block description for '/Divide6': + * Block description for '/Divide6': * Round */ - i = ((int16_t)div_nzp_s32_round((int16_t)(g_assEVA_TG_AMB_R_h * - g_assPID_COMPRESSOR[0]), 10) + (int16_t)div_nzp_s32_round(rtb_Gain1_f, - 10000)) + (int16_t)div_nzp_s32_round((int16_t)(g_assEVA_TG_AMB_R_h - - rtDW.pError_PreviousInput) * g_assPID_COMPRESSOR[2], 100); + i = ((int16_t)div_nzp_s32_round((int16_t)(Switch2 * g_assPID_COMPRESSOR[0]), + 10) + (int16_t)div_nzp_s32_round(rtb_Gain1_f, 10000)) + (int16_t) + div_nzp_s32_round((int16_t)(Switch2 - rtDW.pError_PreviousInput) * + g_assPID_COMPRESSOR[2], 100); if (i < 0) { i = 0; } else if (i > 255) { i = 255; } - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Sum: '/Sum2' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Sum: '/Sum2' + * Switch: '/Switch' */ if (i > Comp_Max_RPM_Allowed) { rtb_DataTypeConversion_kv = Comp_Max_RPM_Allowed; } else if (i < 16) { - /* Switch: '/Switch' */ + /* Switch: '/Switch' */ rtb_DataTypeConversion_kv = 16U; } else { rtb_DataTypeConversion_kv = (uint8_t)i; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ } else { rtb_DataTypeConversion_kv = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ /* RateLimiter: '/Rate Limiter' incorporates: * DataTypeConversion: '/Data Type Conversion1' */ - rtb_Switch1_oh = (double)rtb_DataTypeConversion_kv - rtDW.PrevY; - if (rtb_Switch1_oh > 0.5) { - rtb_Gain_e = rtDW.PrevY + 0.5; - } else if (rtb_Switch1_oh < -0.5) { - rtb_Gain_e = rtDW.PrevY - 0.5; + rtb_Switch2_by = (double)rtb_DataTypeConversion_kv - rtDW.PrevY; + if (rtb_Switch2_by > 5.0) { + rtb_Add_p4 = rtDW.PrevY + 5.0; + } else if (rtb_Switch2_by < -5.0) { + rtb_Add_p4 = rtDW.PrevY - 5.0; } else { - rtb_Gain_e = rtb_DataTypeConversion_kv; + rtb_Add_p4 = rtb_DataTypeConversion_kv; } - rtDW.PrevY = rtb_Gain_e; + rtDW.PrevY = rtb_Add_p4; /* End of RateLimiter: '/Rate Limiter' */ @@ -6393,7 +9546,7 @@ void HVAC_model_step(void) * Constant: '/Constant' */ if (rtB.Chiller_Only_Flag > 0.0) { - rtb_Gain_e = g_ucAC_EXTRA_RPM; + rtb_Add_p4 = g_ucAC_EXTRA_RPM; } /* End of Switch: '/Switch1' */ @@ -6402,7 +9555,7 @@ void HVAC_model_step(void) * Constant: '/Constant2' */ for (i = 0; i < 6; i++) { - rtb_Gain1_h[i] = (uint16_t)((41943U * g_ausCMP_RPM_RESONANCE[i]) >> 21); + rtb_Gain1_o3[i] = (uint16_t)((41943U * g_ausCMP_RPM_RESONANCE[i]) >> 21); } /* End of Gain: '/Gain1' */ @@ -6416,110 +9569,122 @@ void HVAC_model_step(void) /* : low3 = double(res_cal(5)); */ /* : high3 = double(res_cal(6)); */ /* : if (rpm_phys >= low1) && (rpm_phys <= high1) */ - if ((rtb_Gain_e >= rtb_Gain1_h[0]) && (rtb_Gain_e <= rtb_Gain1_h[1])) { + if ((rtb_Add_p4 >= rtb_Gain1_o3[0]) && (rtb_Add_p4 <= rtb_Gain1_o3[1])) { /* : if (rpm_phys - low1) < (high1 - rpm_phys) */ - if (rtb_Gain_e - (double)rtb_Gain1_h[0] < (double)rtb_Gain1_h[1] - - rtb_Gain_e) { + if (rtb_Add_p4 - (double)rtb_Gain1_o3[0] < (double)rtb_Gain1_o3[1] - + rtb_Add_p4) { /* : rpm_phys = low1; */ - rtb_Gain_e = rtb_Gain1_h[0]; + rtb_Add_p4 = rtb_Gain1_o3[0]; } else { /* : else */ /* : rpm_phys = high1; */ - rtb_Gain_e = rtb_Gain1_h[1]; + rtb_Add_p4 = rtb_Gain1_o3[1]; } } /* : if (rpm_phys >= low2) && (rpm_phys <= high2) */ - if ((rtb_Gain_e >= rtb_Gain1_h[2]) && (rtb_Gain_e <= rtb_Gain1_h[3])) { + if ((rtb_Add_p4 >= rtb_Gain1_o3[2]) && (rtb_Add_p4 <= rtb_Gain1_o3[3])) { /* : if (rpm_phys - low2) < (high2 - rpm_phys) */ - if (rtb_Gain_e - (double)rtb_Gain1_h[2] < (double)rtb_Gain1_h[3] - - rtb_Gain_e) { + if (rtb_Add_p4 - (double)rtb_Gain1_o3[2] < (double)rtb_Gain1_o3[3] - + rtb_Add_p4) { /* : rpm_phys = low2; */ - rtb_Gain_e = rtb_Gain1_h[2]; + rtb_Add_p4 = rtb_Gain1_o3[2]; } else { /* : else */ /* : rpm_phys = high2; */ - rtb_Gain_e = rtb_Gain1_h[3]; + rtb_Add_p4 = rtb_Gain1_o3[3]; } } /* : if (rpm_phys >= low3) && (rpm_phys <= high3) */ - if ((rtb_Gain_e >= rtb_Gain1_h[4]) && (rtb_Gain_e <= rtb_Gain1_h[5])) { + if ((rtb_Add_p4 >= rtb_Gain1_o3[4]) && (rtb_Add_p4 <= rtb_Gain1_o3[5])) { /* : if (rpm_phys - low3) < (high3 - rpm_phys) */ - if (rtb_Gain_e - (double)rtb_Gain1_h[4] < (double)rtb_Gain1_h[5] - - rtb_Gain_e) { + if (rtb_Add_p4 - (double)rtb_Gain1_o3[4] < (double)rtb_Gain1_o3[5] - + rtb_Add_p4) { /* : rpm_phys = low3; */ - rtb_Gain_e = rtb_Gain1_h[4]; + rtb_Add_p4 = rtb_Gain1_o3[4]; } else { /* : else */ /* : rpm_phys = high3; */ - rtb_Gain_e = rtb_Gain1_h[5]; + rtb_Add_p4 = rtb_Gain1_o3[5]; } } /* : rpm_can = uint8(rpm_phys); */ - rtb_Switch1_oh = rt_roundd(rtb_Gain_e); - if (rtb_Switch1_oh < 256.0) { - if (rtb_Switch1_oh >= 0.0) { - u0 = (uint8_t)rtb_Switch1_oh; + rtb_Switch2_by = rt_roundd(rtb_Add_p4); + if (rtb_Switch2_by < 256.0) { + if (rtb_Switch2_by >= 0.0) { + El_window_heating = (uint8_t)rtb_Switch2_by; } else { - u0 = 0U; + El_window_heating = 0U; } } else { - u0 = UINT8_MAX; + El_window_heating = UINT8_MAX; } - /* MATLAB Function: '/MATLAB Function' incorporates: + /* MATLAB Function: '/external fan' incorporates: * Constant: '/Constant1' * Constant: '/Constant6' - * Constant: '/Constant' + * Constant: '/Constant' * DataStoreRead: '/Data Store Read31' * DataStoreRead: '/Data Store Read32' + * DataStoreRead: '/Data Store Read81' + * DataStoreWrite: '/Data Store Write25' * Lookup_n-D: '/Fan_Speed_By_Pressure' - * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ /* : fan_speed_out = uint8(0); */ fan_speed_out = 0U; /* : comp_emergency_stop = false; */ + eComp_stop = false; + /* : if (comp_state ~= 1) */ - if ((!rtb_err) && (rtDW.Pressure > g_assPRESSURE_TO_FAN_X[0])) { + if (!rtb_err) { /* : if pressure_failed */ - /* : if pressure_val <= g_assPRESSURE_TO_FAN_X */ - /* : fan_speed_out = uint8(fan_speed_table); */ - rtb_Switch2_p0 = look1_is16lu64n32tu8Ds16Is16_binlcs(rtDW.Pressure, - &g_assPRESSURE_TO_FAN_X[0], &g_aucPRESSURE_TO_FAN_Y[0], 6U); - if (rtb_Switch2_p0 < 0) { - rtb_Switch2_p0 = 0; - } else if (rtb_Switch2_p0 > 255) { - rtb_Switch2_p0 = 255; - } + if (rtDW.CCU_PressSenErr_Stat != 0) { + /* : fan_speed_out = uint8(100); */ + fan_speed_out = 100U; - fan_speed_out = (uint8_t)rtb_Switch2_p0; + /* : comp_emergency_stop = true; */ + eComp_stop = true; - /* : if engine_on == false */ - if ((rtDW.Engine_speed <= 500.0) && (rtb_Switch2_p0 > g_ucFAN_MAX_ENG_OFF)) - { - /* : if(fan_speed_out>g_ucFAN_MAX_ENG_OFF) */ - /* : fan_speed_out = uint8(g_ucFAN_MAX_ENG_OFF); */ - fan_speed_out = g_ucFAN_MAX_ENG_OFF; + /* : if pressure_val <= g_assPRESSURE_TO_FAN_X */ + } else if (rtDW.Pressure > g_assPRESSURE_TO_FAN_X[0]) { + /* : fan_speed_out = uint8(fan_speed_table); */ + rtb_y_fq = look1_is16lu64n32tu8Ds16Is16_binlcs(rtDW.Pressure, + &g_assPRESSURE_TO_FAN_X[0], &g_aucPRESSURE_TO_FAN_Y[0], 6U); + if (rtb_y_fq < 0) { + rtb_y_fq = 0; + } else if (rtb_y_fq > 255) { + rtb_y_fq = 255; + } + + fan_speed_out = (uint8_t)rtb_y_fq; + + /* : if engine_on == false */ + if ((rtDW.Engine_speed <= 500.0) && (rtb_y_fq > g_ucFAN_MAX_ENG_OFF)) { + /* : if(fan_speed_out>g_ucFAN_MAX_ENG_OFF) */ + /* : fan_speed_out = uint8(g_ucFAN_MAX_ENG_OFF); */ + fan_speed_out = g_ucFAN_MAX_ENG_OFF; + } + } else { + /* : fan_speed_out = uint8(0); */ } - } else { - /* : fan_speed_out = uint8(0); */ } /* DataTypeConversion: '/Data Type Conversion1' incorporates: * DataStoreWrite: '/Data Store Write8' */ - rtb_timer_out = rtB.FRONT_eTXV; + ShutOffFront_EN = rtB.FRONT_eTXV; /* DataTypeConversion: '/Data Type Conversion4' incorporates: * DataStoreWrite: '/Data Store Write9' */ ShutOffRear_EN = rtB.REAR_eTXV; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' * DataStoreRead: '/Data Store Read12' */ rtb_Compare_i5 = (rtDW.CAN_LoHi_Front == 11); @@ -6528,14 +9693,13 @@ void HVAC_model_step(void) * DataStoreRead: '/Data Store Read15' * DataStoreRead: '/Data Store Read34' * DataStoreRead: '/Data Store Read36' - * DataStoreWrite: '/Data Store Write1' */ if (rtDW.is_active_c775_HVAC_model == 0U) { rtDW.is_active_c775_HVAC_model = 1U; rtDW.is_ThreeWay_Logic = IN_Wait_3W; /* : Cmd_3Way = 2; */ - LowTempValve = 2U; + rtb_Cmd_3Way = 2U; /* : Cmd_FrontTemp = -1; */ /* : Cmd_RearTemp_3W = -1; */ @@ -6549,7 +9713,7 @@ void HVAC_model_step(void) rtDW.Cmd_RearTemp_2W = -1.0; } else { if (rtDW.is_ThreeWay_Logic == IN_Entry_3W) { - LowTempValve = 1U; + rtb_Cmd_3Way = 1U; /* : sf_internal_predicateOutput = D_tg_RR > g_assTHREEWAY_DUCT_TGT_R(1) && LO_MODE_FULL == false && ECT>g_ssTHREEWAY_WATER; */ if ((rtDW.Duct_RR_Tg > g_assTHREEWAY_DUCT_TGT_R[0]) && ((!rtb_Compare_i5) && @@ -6557,7 +9721,7 @@ void HVAC_model_step(void) rtDW.is_ThreeWay_Logic = IN_Wait_3W; /* : Cmd_3Way = 2; */ - LowTempValve = 2U; + rtb_Cmd_3Way = 2U; /* : Cmd_FrontTemp = -1; */ /* : Cmd_RearTemp_3W = -1; */ @@ -6565,7 +9729,7 @@ void HVAC_model_step(void) } } else { /* case IN_Wait_3W: */ - LowTempValve = 2U; + rtb_Cmd_3Way = 2U; /* : sf_internal_predicateOutput = D_tg_RR <= g_assTHREEWAY_DUCT_TGT_R(2) || LO_MODE_FULL == true || ECT<=g_ssTHREEWAY_WATER; */ if ((rtDW.Duct_RR_Tg <= g_assTHREEWAY_DUCT_TGT_R[1]) || (rtb_Compare_i5 || @@ -6573,7 +9737,7 @@ void HVAC_model_step(void) rtDW.is_ThreeWay_Logic = IN_Entry_3W; /* : Cmd_3Way = 1; */ - LowTempValve = 1U; + rtb_Cmd_3Way = 1U; /* : t_start_1 = t_now; */ } @@ -6602,7 +9766,7 @@ void HVAC_model_step(void) /* : t_start_3 = t_now; */ /* : if RL_Seat_Occupied == 0 */ - if (rtDW.SeatOccupied == 0) { + if (rtDW.SeatOccupiedRL == 0) { /* : Cmd_RearTemp_2W = 10; */ rtDW.Cmd_RearTemp_2W = 10.0; } else { @@ -6623,26 +9787,47 @@ void HVAC_model_step(void) /* End of Chart: '/13,1,3,15 Valve control' */ + /* Switch: '/Switch5' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read74' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/AND' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + */ + if ((rtDW.condition_ac_max == 1.0) && (rtDW.SeatOccupiedRL == 0) && + (rtDW.SeatOccupiedRL == 0)) { + rtb_Cmd_3Way = 1U; + } + + /* End of Switch: '/Switch5' */ + /* Saturate: '/Saturation4' incorporates: * DataStoreRead: '/Data Store Read28' */ if (rtDW.LEVEL <= 5) { - rtb_Saturation4 = rtDW.LEVEL; + rtb_timer_out = rtDW.LEVEL; } else { - rtb_Saturation4 = 5U; + rtb_timer_out = 5U; } /* End of Saturate: '/Saturation4' */ - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant10' + * Constant: '/Constant11' + * Constant: '/Constant12' + * Constant: '/Constant7' + * Constant: '/Constant8' + * Constant: '/Constant9' */ - switch (rtb_Saturation4) { + switch (rtb_timer_out) { case 0: for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_MAX_LV0[i]; @@ -6680,7 +9865,7 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ /* Saturate: '/Saturation' incorporates: * DataStoreRead: '/Data Store Read16' @@ -6695,60 +9880,123 @@ void HVAC_model_step(void) /* End of Saturate: '/Saturation' */ - /* Gain: '/Gain' incorporates: - * Gain: '/Gain2' + /* Gain: '/Gain' incorporates: + * Gain: '/Gain' + * Gain: '/Gain2' */ rtb_Subtract = 52429U * Gain; - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * Gain: '/Gain' - * Gain: '/Gain2' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * DataTypeConversion: '/Data Type Conversion1' + * DataTypeConversion: '/Data Type Conversion1' + * Gain: '/Gain' + * Gain: '/Gain1' + */ + rtb_Switch5 = (int32_t)floor(((double)((int32_t)rtb_Subtract >> 19) - 15.0) * + 0.5 + 0.5); + + /* Selector: '/Selector' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtb_MultiportSwitch_cn = rtb_uDLookupTable7_g[(uint8_t)rtb_Switch5 - 1]; + + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' + */ + switch (rtb_timer_out) { + case 0: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FU_MAX_LV0[i]; + } + break; + + case 1: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FU_MAX_LV1[i]; + } + break; + + case 2: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FU_MAX_LV2[i]; + } + break; + + case 3: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FU_MAX_LV3[i]; + } + break; + + case 4: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FU_MAX_LV4[i]; + } + break; + + default: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FU_MAX_LV5[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch1' */ + + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * Gain: '/Gain2' */ rtb_dt_nx = rtb_Subtract >> 19; - /* Gain: '/Gain1' incorporates: - * Bias: '/Bias' - * DataTypeConversion: '/Data Type Conversion2' - * Gain: '/Gain3' + /* Gain: '/Gain1' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion2' + * Gain: '/Gain3' */ i = ((int32_t)rtb_dt_nx + -15) << 14; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataTypeConversion: '/Data Type Conversion3' - * Gain: '/Gain1' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataTypeConversion: '/Data Type Conversion3' + * Gain: '/Gain1' */ - rtb_DataTypeConversion_kv = (uint8_t)((((uint32_t)i & 16384U) != 0U) + (i >> + rtb_DataTypeConversion3_gs = (uint8_t)((((uint32_t)i & 16384U) != 0U) + (i >> 15)); - /* Selector: '/Selector' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* Selector: '/Selector' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtb_Merge_h = rtb_uDLookupTable7_g[rtb_DataTypeConversion_kv - 1]; + rtb_Merge_h = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_gs - 1]; - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table' - * Lookup_n-D: '/1-D Lookup Table1' - * Lookup_n-D: '/1-D Lookup Table2' - * Lookup_n-D: '/1-D Lookup Table3' - * Lookup_n-D: '/1-D Lookup Table4' - * Lookup_n-D: '/1-D Lookup Table5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table' + * Lookup_n-D: '/1-D Lookup Table1' + * Lookup_n-D: '/1-D Lookup Table2' + * Lookup_n-D: '/1-D Lookup Table3' + * Lookup_n-D: '/1-D Lookup Table4' + * Lookup_n-D: '/1-D Lookup Table5' * Saturate: '/Saturation' */ - switch (rtb_Saturation4) { + switch (rtb_timer_out) { case 0: - rtb_MultiportSwitch_c = look1_iu16lu64n48ts16Ds32_binlcs(Gain, - rtConstP.pooled69, &g_assTG_FLU_LV0[0], 12U); + rtb_MultiportSwitch_om = look1_iu16lu64n48ts16Ds32_binlcs(Gain, + rtConstP.pooled77, &g_assTG_FLU_LV0[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table' - * Lookup_n-D: '/1-D Lookup Table' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table' + * Lookup_n-D: '/1-D Lookup Table' * Saturate: '/Saturation' */ - rtb_MultiportSwitch_p = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, - rtConstP.pooled46, &g_assINCAR_TG_FL_LV0[0], 12U); + rtb_MultiportSwitch_m = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, + rtConstP.pooled51, &g_assINCAR_TG_FL_LV0[0], 12U); - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_INC_Y1_LV0[i]; @@ -6756,19 +10004,19 @@ void HVAC_model_step(void) break; case 1: - rtb_MultiportSwitch_c = look1_iu16lu64n48ts16Ds32_binlcs(Gain, - rtConstP.pooled69, &g_assTG_FLU_LV1[0], 12U); + rtb_MultiportSwitch_om = look1_iu16lu64n48ts16Ds32_binlcs(Gain, + rtConstP.pooled77, &g_assTG_FLU_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table1' - * Lookup_n-D: '/1-D Lookup Table1' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table1' + * Lookup_n-D: '/1-D Lookup Table1' * Saturate: '/Saturation' */ - rtb_MultiportSwitch_p = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, - rtConstP.pooled46, &g_assINCAR_TG_FL_LV1[0], 12U); + rtb_MultiportSwitch_m = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, + rtConstP.pooled51, &g_assINCAR_TG_FL_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant1' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant1' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_INC_Y1_LV1[i]; @@ -6776,19 +10024,19 @@ void HVAC_model_step(void) break; case 2: - rtb_MultiportSwitch_c = look1_iu16lu64n48ts16Ds32_binlcs(Gain, - rtConstP.pooled69, &g_assTG_FLU_LV2[0], 12U); + rtb_MultiportSwitch_om = look1_iu16lu64n48ts16Ds32_binlcs(Gain, + rtConstP.pooled77, &g_assTG_FLU_LV2[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table2' - * Lookup_n-D: '/1-D Lookup Table2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table2' + * Lookup_n-D: '/1-D Lookup Table2' * Saturate: '/Saturation' */ - rtb_MultiportSwitch_p = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, - rtConstP.pooled46, &g_assINCAR_TG_FL_LV2[0], 12U); + rtb_MultiportSwitch_m = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, + rtConstP.pooled51, &g_assINCAR_TG_FL_LV2[0], 12U); - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant2' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant2' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_INC_Y1_LV2[i]; @@ -6796,19 +10044,19 @@ void HVAC_model_step(void) break; case 3: - rtb_MultiportSwitch_c = look1_iu16lu64n48ts16Ds32_binlcs(Gain, - rtConstP.pooled69, &g_assTG_FLU_LV3[0], 12U); + rtb_MultiportSwitch_om = look1_iu16lu64n48ts16Ds32_binlcs(Gain, + rtConstP.pooled77, &g_assTG_FLU_LV3[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table3' - * Lookup_n-D: '/1-D Lookup Table3' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table3' + * Lookup_n-D: '/1-D Lookup Table3' * Saturate: '/Saturation' */ - rtb_MultiportSwitch_p = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, - rtConstP.pooled46, &g_assINCAR_TG_FL_LV3[0], 12U); + rtb_MultiportSwitch_m = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, + rtConstP.pooled51, &g_assINCAR_TG_FL_LV3[0], 12U); - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant3' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant3' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_INC_Y1_LV3[i]; @@ -6816,19 +10064,19 @@ void HVAC_model_step(void) break; case 4: - rtb_MultiportSwitch_c = look1_iu16lu64n48ts16Ds32_binlcs(Gain, - rtConstP.pooled69, &g_assTG_FLU_LV4[0], 12U); + rtb_MultiportSwitch_om = look1_iu16lu64n48ts16Ds32_binlcs(Gain, + rtConstP.pooled77, &g_assTG_FLU_LV4[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table4' - * Lookup_n-D: '/1-D Lookup Table4' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table4' + * Lookup_n-D: '/1-D Lookup Table4' * Saturate: '/Saturation' */ - rtb_MultiportSwitch_p = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, - rtConstP.pooled46, &g_assINCAR_TG_FL_LV4[0], 12U); + rtb_MultiportSwitch_m = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, + rtConstP.pooled51, &g_assINCAR_TG_FL_LV4[0], 12U); - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant4' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant4' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_INC_Y1_LV4[i]; @@ -6836,19 +10084,19 @@ void HVAC_model_step(void) break; default: - rtb_MultiportSwitch_c = look1_iu16lu64n48ts16Ds32_binlcs(Gain, - rtConstP.pooled69, &g_assTG_FLU_LV5[0], 12U); + rtb_MultiportSwitch_om = look1_iu16lu64n48ts16Ds32_binlcs(Gain, + rtConstP.pooled77, &g_assTG_FLU_LV5[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table5' - * Lookup_n-D: '/1-D Lookup Table5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table5' + * Lookup_n-D: '/1-D Lookup Table5' * Saturate: '/Saturation' */ - rtb_MultiportSwitch_p = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, - rtConstP.pooled46, &g_assINCAR_TG_FL_LV5[0], 12U); + rtb_MultiportSwitch_m = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, + rtConstP.pooled51, &g_assINCAR_TG_FL_LV5[0], 12U); - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant5' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_INC_Y1_LV5[i]; @@ -6856,107 +10104,107 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Selector: '/Selector' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[0] = rtb_uDLookupTable7_g[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_kz[0] = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_gs + - 1]; - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_FU_INC_Y2_LV0[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_FU_INC_Y2_LV0[rtb_DataTypeConversion3_gs - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_FU_INC_Y2_LV1[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_FU_INC_Y2_LV1[rtb_DataTypeConversion3_gs - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_FU_INC_Y2_LV2[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_FU_INC_Y2_LV2[rtb_DataTypeConversion3_gs - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_FU_INC_Y2_LV3[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_FU_INC_Y2_LV3[rtb_DataTypeConversion3_gs - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_FU_INC_Y2_LV4[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_FU_INC_Y2_LV4[rtb_DataTypeConversion3_gs - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_FU_INC_Y2_LV5[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_FU_INC_Y2_LV5[rtb_DataTypeConversion3_gs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_lo[2] = 0; + rtb_VectorConcatenate_kz[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch3' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_FU_INC_Y3_LV0[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_FU_INC_Y3_LV0[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_FU_INC_Y4_LV0[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_FU_INC_Y4_LV0[rtb_DataTypeConversion3_gs - 1]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_INC_X1_LV0[i]; @@ -6964,25 +10212,25 @@ void HVAC_model_step(void) break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_FU_INC_Y3_LV1[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_FU_INC_Y3_LV1[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_FU_INC_Y4_LV1[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_FU_INC_Y4_LV1[rtb_DataTypeConversion3_gs - 1]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant1' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant1' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_INC_X1_LV1[i]; @@ -6990,25 +10238,25 @@ void HVAC_model_step(void) break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_FU_INC_Y3_LV2[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_FU_INC_Y3_LV2[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_FU_INC_Y4_LV2[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_FU_INC_Y4_LV2[rtb_DataTypeConversion3_gs - 1]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant2' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant2' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_INC_X1_LV2[i]; @@ -7016,25 +10264,25 @@ void HVAC_model_step(void) break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_FU_INC_Y3_LV3[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_FU_INC_Y3_LV3[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_FU_INC_Y4_LV3[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_FU_INC_Y4_LV3[rtb_DataTypeConversion3_gs - 1]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant3' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant3' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_INC_X1_LV3[i]; @@ -7042,25 +10290,25 @@ void HVAC_model_step(void) break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_FU_INC_Y3_LV4[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_FU_INC_Y3_LV4[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_FU_INC_Y4_LV4[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_FU_INC_Y4_LV4[rtb_DataTypeConversion3_gs - 1]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant4' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant4' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_INC_X1_LV4[i]; @@ -7068,25 +10316,25 @@ void HVAC_model_step(void) break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_FU_INC_Y3_LV5[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_FU_INC_Y3_LV5[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_FU_INC_Y4_LV5[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_FU_INC_Y4_LV5[rtb_DataTypeConversion3_gs - 1]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant5' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_INC_X1_LV5[i]; @@ -7094,221 +10342,221 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* Selector: '/Selector' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[0] = rtb_uDLookupTable7_g[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_by[0] = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_gs + - 1]; - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_FU_INC_X2_LV0[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_FU_INC_X2_LV0[rtb_DataTypeConversion3_gs - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_FU_INC_X2_LV1[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_FU_INC_X2_LV1[rtb_DataTypeConversion3_gs - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_FU_INC_X2_LV2[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_FU_INC_X2_LV2[rtb_DataTypeConversion3_gs - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_FU_INC_X2_LV3[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_FU_INC_X2_LV3[rtb_DataTypeConversion3_gs - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_FU_INC_X2_LV4[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_FU_INC_X2_LV4[rtb_DataTypeConversion3_gs - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_FU_INC_X2_LV5[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_FU_INC_X2_LV5[rtb_DataTypeConversion3_gs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_jn[2] = 0; + rtb_VectorConcatenate_by[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch3' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_FU_INC_X3_LV0[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_FU_INC_X3_LV0[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_FU_INC_X4_LV0[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_FU_INC_X4_LV0[rtb_DataTypeConversion3_gs - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_FU_INC_X3_LV1[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_FU_INC_X3_LV1[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_FU_INC_X4_LV1[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_FU_INC_X4_LV1[rtb_DataTypeConversion3_gs - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_FU_INC_X3_LV2[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_FU_INC_X3_LV2[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_FU_INC_X4_LV2[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_FU_INC_X4_LV2[rtb_DataTypeConversion3_gs - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_FU_INC_X3_LV3[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_FU_INC_X3_LV3[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_FU_INC_X4_LV3[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_FU_INC_X4_LV3[rtb_DataTypeConversion3_gs - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_FU_INC_X3_LV4[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_FU_INC_X3_LV4[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_FU_INC_X4_LV4[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_FU_INC_X4_LV4[rtb_DataTypeConversion3_gs - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_FU_INC_X3_LV5[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_FU_INC_X3_LV5[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_FU_INC_X4_LV5[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_FU_INC_X4_LV5[rtb_DataTypeConversion3_gs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: + /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: * DataStoreRead: '/Data Store Read21' - * Sum: '/2.5. X = Inc_Tg - Incar_fb' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' */ - rtb_u5FLU_tg_incar_o = look1_is16lu64n32Ds32_binlcn((int16_t) - (rtb_MultiportSwitch_p - rtDW.Incar_FL), rtb_VectorConcatenate_jn, - rtb_VectorConcatenate_lo, 4U); + rtb_u5FLU_tg_incar_b = look1_is16lu64n32Ds32_binlcn((int16_t) + (rtb_MultiportSwitch_m - rtDW.Incar_FL), rtb_VectorConcatenate_by, + rtb_VectorConcatenate_kz, 4U); - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ - switch (rtb_Saturation4) { + switch (rtb_timer_out) { case 0: for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_AMB_Y1_LV0[i]; @@ -7346,33 +10594,33 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[0] = rtb_uDLookupTable7_g[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_mx[0] = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_gs + - 1]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_mx[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_mx[2] = - g_assDTG_FU_AMB_Y2_LV0[rtb_DataTypeConversion_kv - 1]; + g_assDTG_FU_AMB_Y2_LV0[rtb_DataTypeConversion3_gs - 1]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_AMB_X1_LV0[i]; @@ -7380,16 +10628,16 @@ void HVAC_model_step(void) break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_mx[2] = - g_assDTG_FU_AMB_Y2_LV1[rtb_DataTypeConversion_kv - 1]; + g_assDTG_FU_AMB_Y2_LV1[rtb_DataTypeConversion3_gs - 1]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant1' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant1' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_AMB_X1_LV1[i]; @@ -7397,16 +10645,16 @@ void HVAC_model_step(void) break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_mx[2] = - g_assDTG_FU_AMB_Y2_LV2[rtb_DataTypeConversion_kv - 1]; + g_assDTG_FU_AMB_Y2_LV2[rtb_DataTypeConversion3_gs - 1]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant2' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant2' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_AMB_X1_LV2[i]; @@ -7414,16 +10662,16 @@ void HVAC_model_step(void) break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_mx[2] = - g_assDTG_FU_AMB_Y2_LV3[rtb_DataTypeConversion_kv - 1]; + g_assDTG_FU_AMB_Y2_LV3[rtb_DataTypeConversion3_gs - 1]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant3' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant3' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_AMB_X1_LV3[i]; @@ -7431,16 +10679,16 @@ void HVAC_model_step(void) break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_mx[2] = - g_assDTG_FU_AMB_Y2_LV4[rtb_DataTypeConversion_kv - 1]; + g_assDTG_FU_AMB_Y2_LV4[rtb_DataTypeConversion3_gs - 1]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant4' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant4' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_AMB_X1_LV4[i]; @@ -7448,16 +10696,16 @@ void HVAC_model_step(void) break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_mx[2] = - g_assDTG_FU_AMB_Y2_LV5[rtb_DataTypeConversion_kv - 1]; + g_assDTG_FU_AMB_Y2_LV5[rtb_DataTypeConversion3_gs - 1]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant5' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_AMB_X1_LV5[i]; @@ -7465,378 +10713,377 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* Selector: '/Selector' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[0] = rtb_uDLookupTable7_g[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_g[0] = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_gs - 1]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_jb[1] = 0; + rtb_VectorConcatenate_g[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_FU_AMB_X2_LV0[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_g[2] = + g_assDTG_FU_AMB_X2_LV0[rtb_DataTypeConversion3_gs - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_FU_AMB_X2_LV1[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_g[2] = + g_assDTG_FU_AMB_X2_LV1[rtb_DataTypeConversion3_gs - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_FU_AMB_X2_LV2[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_g[2] = + g_assDTG_FU_AMB_X2_LV2[rtb_DataTypeConversion3_gs - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_FU_AMB_X2_LV3[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_g[2] = + g_assDTG_FU_AMB_X2_LV3[rtb_DataTypeConversion3_gs - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_FU_AMB_X2_LV4[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_g[2] = + g_assDTG_FU_AMB_X2_LV4[rtb_DataTypeConversion3_gs - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_FU_AMB_X2_LV5[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_g[2] = + g_assDTG_FU_AMB_X2_LV5[rtb_DataTypeConversion3_gs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* Sum: '/2.6. X = Amb_Tg - Amb_Fb' incorporates: - * Bias: '/Bias' - * Constant: '/Constant' + /* Sum: '/2.6. X = Amb_Tg - Amb_Fb' incorporates: + * Bias: '/Bias' + * Constant: '/Constant' * DataStoreRead: '/Data Store Read20' - * Selector: '/Selector1' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + * Selector: '/Selector1' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' */ - rtb_FLU_tg_correct_a = (int16_t)(g_assAMB_LV_TG[rtb_Saturation4] - rtDW.AMB); + rtb_Bias_ct = (int16_t)(g_assAMB_LV_TG[rtb_timer_out] - rtDW.AMB); - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' */ - rtb_u6FLU_tg_amb_e = look1_is16lu64n32Ds32_binlcn(rtb_FLU_tg_correct_a, - rtb_VectorConcatenate_jb, rtb_VectorConcatenate_mx, 2U); + rtb_u6FLU_tg_amb_h = look1_is16lu64n32Ds32_binlcn(rtb_Bias_ct, + rtb_VectorConcatenate_g, rtb_VectorConcatenate_mx, 2U); - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_gu[0] = 0; + rtb_VectorConcatenate_iw[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_FU_SUN_Y1_LV0[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_iw[1] = + g_assDTG_FU_SUN_Y1_LV0[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_FU_SUN_Y2_LV0[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_iw[2] = + g_assDTG_FU_SUN_Y2_LV0[rtb_DataTypeConversion3_gs - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_FU_SUN_Y1_LV1[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_iw[1] = + g_assDTG_FU_SUN_Y1_LV1[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_FU_SUN_Y2_LV1[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_iw[2] = + g_assDTG_FU_SUN_Y2_LV1[rtb_DataTypeConversion3_gs - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_FU_SUN_Y1_LV2[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_iw[1] = + g_assDTG_FU_SUN_Y1_LV2[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_FU_SUN_Y2_LV2[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_iw[2] = + g_assDTG_FU_SUN_Y2_LV2[rtb_DataTypeConversion3_gs - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_FU_SUN_Y1_LV3[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_iw[1] = + g_assDTG_FU_SUN_Y1_LV3[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_FU_SUN_Y2_LV3[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_iw[2] = + g_assDTG_FU_SUN_Y2_LV3[rtb_DataTypeConversion3_gs - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_FU_SUN_Y1_LV4[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_iw[1] = + g_assDTG_FU_SUN_Y1_LV4[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_FU_SUN_Y2_LV4[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_iw[2] = + g_assDTG_FU_SUN_Y2_LV4[rtb_DataTypeConversion3_gs - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_FU_SUN_Y1_LV5[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_iw[1] = + g_assDTG_FU_SUN_Y1_LV5[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_FU_SUN_Y2_LV5[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_iw[2] = + g_assDTG_FU_SUN_Y2_LV5[rtb_DataTypeConversion3_gs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_l0[0] = 0; + rtb_VectorConcatenate_im[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FU_SUN_X1_LV0[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_im[1] = + g_assDTG_FU_SUN_X1_LV0[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FU_SUN_X2_LV0[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_im[2] = + g_assDTG_FU_SUN_X2_LV0[rtb_DataTypeConversion3_gs - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FU_SUN_X1_LV1[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_im[1] = + g_assDTG_FU_SUN_X1_LV1[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FU_SUN_X2_LV1[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_im[2] = + g_assDTG_FU_SUN_X2_LV1[rtb_DataTypeConversion3_gs - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FU_SUN_X1_LV2[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_im[1] = + g_assDTG_FU_SUN_X1_LV2[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FU_SUN_X2_LV2[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_im[2] = + g_assDTG_FU_SUN_X2_LV2[rtb_DataTypeConversion3_gs - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FU_SUN_X1_LV3[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_im[1] = + g_assDTG_FU_SUN_X1_LV3[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FU_SUN_X2_LV3[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_im[2] = + g_assDTG_FU_SUN_X2_LV3[rtb_DataTypeConversion3_gs - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FU_SUN_X1_LV4[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_im[1] = + g_assDTG_FU_SUN_X1_LV4[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FU_SUN_X2_LV4[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_im[2] = + g_assDTG_FU_SUN_X2_LV4[rtb_DataTypeConversion3_gs - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FU_SUN_X1_LV5[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_im[1] = + g_assDTG_FU_SUN_X1_LV5[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FU_SUN_X2_LV5[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_im[2] = + g_assDTG_FU_SUN_X2_LV5[rtb_DataTypeConversion3_gs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: * DataStoreRead: '/Data Store Read26' */ - rtb_u6FLU_tg_amb_i = look1_bs16ts16Dd_binlc(rtDW.Sun_L, - rtb_VectorConcatenate_l0, rtb_VectorConcatenate_gu, 2U); + rtb_u6FLU_tg_amb_o = look1_bs16ts16Dd_binlc(rtDW.Sun_L, + rtb_VectorConcatenate_im, rtb_VectorConcatenate_iw, 2U); - /* Sum: '/FLU_tg_correct' */ - rtb_FLU_tg_correct = (int16_t)((int16_t)((int16_t)(rtb_MultiportSwitch_c + - rtb_u5FLU_tg_incar_o) + rtb_u6FLU_tg_amb_e) + rtb_u6FLU_tg_amb_i); + /* Sum: '/FLU_tg_correct' */ + rtb_FLU_tg_correct = (int16_t)((int16_t)((int16_t)(rtb_MultiportSwitch_om + + rtb_u5FLU_tg_incar_b) + rtb_u6FLU_tg_amb_h) + rtb_u6FLU_tg_amb_o); - /* Switch: '/Switch2' incorporates: - * DataStoreWrite: '/Data Store Write' - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ if (rtb_FLU_tg_correct > rtb_Merge_h) { rtb_FLU_tg_correct = rtb_Merge_h; } else { - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ - switch (rtb_Saturation4) { + switch (rtb_timer_out) { case 0: for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_MIN_LV0[i]; @@ -7874,63 +11121,176 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_Switch2_p0 = rtb_uDLookupTable7_g[rtb_DataTypeConversion_kv - 1]; + rtb_y_fq = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_gs - 1]; - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write' - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector' */ - if (rtb_FLU_tg_correct < rtb_Switch2_p0) { - rtb_FLU_tg_correct = rtb_Switch2_p0; + if (rtb_FLU_tg_correct < rtb_y_fq) { + rtb_FLU_tg_correct = rtb_y_fq; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* If: '/If' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant12' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read76' + */ + if (rtDW.CCU_AC_MAX > 0) { + i = 5; + } else { + i = rtDW.CCU_AUTOMODE_FL; + } + + /* MATLAB Function: '/func g_assAUTO_STEP_DUCT_TG_U' incorporates: + * DataStoreRead: '/Data Store Read20' + * Switch: '/Switch2' + */ + funcg_assAUTO_STEP_DUCT_TG_U(rtDW.LEVEL, (double)i, &Switch3); + + /* Switch: '/Switch' incorporates: + * Constant: '/manual' + * DataStoreRead: '/Data Store Read46' + * DataStoreWrite: '/Data Store Write' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + if (rtDW.CCU_MODE_FL != 0) { + rtb_FLU_tg_correct += Switch3; + } + + /* End of Switch: '/Switch' */ + + /* If: '/If' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ if ((rtDW.step_start_controle_front == 0) || (rtDW.step_start_controle_front == 1) || (rtDW.step_start_controle_front == 2)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * DataStoreRead: '/dtg from Start Control' - * DataTypeConversion: '/Data Type Conversion' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/dtg from Start Control' */ - rtb_FLU_tg_correct = (int16_t)rtDW.Dtg_FUL; + rtb_Merge_by = (int16_t)rtDW.Dtg_FUL; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion generated from: '/FXU' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + rtb_Merge_by = rtb_FLU_tg_correct; + + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* Switch: '/Switch2' incorporates: + * DataStoreWrite: '/Data Store Write2' + * RelationalOperator: '/LowerRelop1' */ - switch (rtb_Saturation4) { + if (rtb_Merge_by > rtb_MultiportSwitch_cn) { + rtb_Merge_by = rtb_MultiportSwitch_cn; + } else { + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' + * Constant: '/Constant6' + */ + switch (rtb_timer_out) { + case 0: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FU_MIN_LV0[i]; + } + break; + + case 1: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FU_MIN_LV1[i]; + } + break; + + case 2: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FU_MIN_LV2[i]; + } + break; + + case 3: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FU_MIN_LV3[i]; + } + break; + + case 4: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FU_MIN_LV4[i]; + } + break; + + default: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FU_MIN_LV5[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* Selector: '/Selector1' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_y_fq = rtb_uDLookupTable7_g[(uint8_t)rtb_Switch5 - 1]; + + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write2' + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector1' + */ + if (rtb_Merge_by < rtb_y_fq) { + rtb_Merge_by = rtb_y_fq; + } + + /* End of Switch: '/Switch' */ + } + + /* End of Switch: '/Switch2' */ + + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant10' + * Constant: '/Constant11' + * Constant: '/Constant12' + * Constant: '/Constant7' + * Constant: '/Constant8' + * Constant: '/Constant9' + */ + switch (rtb_timer_out) { case 0: for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_MAX_LV0[i]; @@ -7968,7 +11328,61 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ + + /* Selector: '/Selector' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_Merge_h = rtb_uDLookupTable7_g[(uint8_t)rtb_Switch5 - 1]; + + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' + */ + switch (rtb_timer_out) { + case 0: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FU_MAX_LV0[i]; + } + break; + + case 1: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FU_MAX_LV1[i]; + } + break; + + case 2: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FU_MAX_LV2[i]; + } + break; + + case 3: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FU_MAX_LV3[i]; + } + break; + + case 4: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FU_MAX_LV4[i]; + } + break; + + default: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FU_MAX_LV5[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch1' */ /* Saturate: '/Saturation1' incorporates: * DataStoreRead: '/Data Store Read17' @@ -7983,1085 +11397,987 @@ void HVAC_model_step(void) /* End of Saturate: '/Saturation1' */ - /* Gain: '/Gain' incorporates: - * Gain: '/Gain2' + /* Gain: '/Gain' incorporates: + * Gain: '/Gain2' */ - rtb_Gain2_l_tmp_tmp = 52429U * Gain1; + rtb_Divide5_m_tmp_tmp = 52429U * Gain1; - /* DataTypeConversion: '/Data Type Conversion3' incorporates: - * Gain: '/Gain' - * Gain: '/Gain2' + /* DataTypeConversion: '/Data Type Conversion3' incorporates: + * Gain: '/Gain' + * Gain: '/Gain2' */ - rtb_Gain2_l_tmp_tmp_0 = rtb_Gain2_l_tmp_tmp >> 19; + rtb_Divide5_m_tmp_tmp_0 = rtb_Divide5_m_tmp_tmp >> 19; - /* Gain: '/Gain1' incorporates: - * Bias: '/Bias' - * DataTypeConversion: '/Data Type Conversion3' - * Gain: '/Gain3' + /* Gain: '/Gain1' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion3' + * Gain: '/Gain3' */ - i = ((int32_t)rtb_Gain2_l_tmp_tmp_0 + -15) << 14; + i = ((int32_t)rtb_Divide5_m_tmp_tmp_0 + -15) << 14; - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataTypeConversion: '/Data Type Conversion3' - * Gain: '/Gain1' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataTypeConversion: '/Data Type Conversion3' + * Gain: '/Gain1' */ - rtb_DataTypeConversion1_ao = (uint8_t)((((uint32_t)i & 16384U) != 0U) + (i >> - 15)); + CCU_FRONT_SYNC = (uint8_t)((((uint32_t)i & 16384U) != 0U) + (i >> 15)); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table' - * Lookup_n-D: '/1-D Lookup Table1' - * Lookup_n-D: '/1-D Lookup Table2' - * Lookup_n-D: '/1-D Lookup Table3' - * Lookup_n-D: '/1-D Lookup Table4' - * Lookup_n-D: '/1-D Lookup Table5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table' + * Lookup_n-D: '/1-D Lookup Table1' + * Lookup_n-D: '/1-D Lookup Table2' + * Lookup_n-D: '/1-D Lookup Table3' + * Lookup_n-D: '/1-D Lookup Table4' + * Lookup_n-D: '/1-D Lookup Table5' * Saturate: '/Saturation1' */ - switch (rtb_Saturation4) { + switch (rtb_timer_out) { case 0: - rtb_MultiportSwitch_g = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, - rtConstP.pooled69, &g_assTG_FRU_LV0[0], 12U); + rtb_MultiportSwitch_k = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, + rtConstP.pooled77, &g_assTG_FRU_LV0[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table' - * Lookup_n-D: '/1-D Lookup Table' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table' + * Lookup_n-D: '/1-D Lookup Table' * Saturate: '/Saturation1' */ - rtb_MultiportSwitch_dv = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, - rtConstP.pooled46, &g_assINCAR_TG_FR_LV0[0], 12U); + rtb_MultiportSwitch_ev = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, + rtConstP.pooled51, &g_assINCAR_TG_FR_LV0[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_jn[0] = - g_assDTG_FU_INC_Y1_LV0[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[0] = g_assDTG_FU_INC_Y1_LV0[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_FU_INC_Y2_LV0[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[1] = g_assDTG_FU_INC_Y2_LV0[CCU_FRONT_SYNC - 1]; break; case 1: - rtb_MultiportSwitch_g = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, - rtConstP.pooled69, &g_assTG_FRU_LV1[0], 12U); + rtb_MultiportSwitch_k = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, + rtConstP.pooled77, &g_assTG_FRU_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table1' - * Lookup_n-D: '/1-D Lookup Table1' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table1' + * Lookup_n-D: '/1-D Lookup Table1' * Saturate: '/Saturation1' */ - rtb_MultiportSwitch_dv = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, - rtConstP.pooled46, &g_assINCAR_TG_FR_LV1[0], 12U); + rtb_MultiportSwitch_ev = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, + rtConstP.pooled51, &g_assINCAR_TG_FR_LV1[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_jn[0] = - g_assDTG_FU_INC_Y1_LV1[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[0] = g_assDTG_FU_INC_Y1_LV1[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_FU_INC_Y2_LV1[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[1] = g_assDTG_FU_INC_Y2_LV1[CCU_FRONT_SYNC - 1]; break; case 2: - rtb_MultiportSwitch_g = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, - rtConstP.pooled69, &g_assTG_FRU_LV2[0], 12U); + rtb_MultiportSwitch_k = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, + rtConstP.pooled77, &g_assTG_FRU_LV2[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table2' - * Lookup_n-D: '/1-D Lookup Table2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table2' + * Lookup_n-D: '/1-D Lookup Table2' * Saturate: '/Saturation1' */ - rtb_MultiportSwitch_dv = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, - rtConstP.pooled46, &g_assINCAR_TG_FR_LV2[0], 12U); + rtb_MultiportSwitch_ev = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, + rtConstP.pooled51, &g_assINCAR_TG_FR_LV2[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_jn[0] = - g_assDTG_FU_INC_Y1_LV2[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[0] = g_assDTG_FU_INC_Y1_LV2[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_FU_INC_Y2_LV2[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[1] = g_assDTG_FU_INC_Y2_LV2[CCU_FRONT_SYNC - 1]; break; case 3: - rtb_MultiportSwitch_g = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, - rtConstP.pooled69, &g_assTG_FRU_LV3[0], 12U); + rtb_MultiportSwitch_k = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, + rtConstP.pooled77, &g_assTG_FRU_LV3[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table3' - * Lookup_n-D: '/1-D Lookup Table3' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table3' + * Lookup_n-D: '/1-D Lookup Table3' * Saturate: '/Saturation1' */ - rtb_MultiportSwitch_dv = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, - rtConstP.pooled46, &g_assINCAR_TG_FR_LV3[0], 12U); + rtb_MultiportSwitch_ev = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, + rtConstP.pooled51, &g_assINCAR_TG_FR_LV3[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_jn[0] = - g_assDTG_FU_INC_Y1_LV3[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[0] = g_assDTG_FU_INC_Y1_LV3[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_FU_INC_Y2_LV3[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[1] = g_assDTG_FU_INC_Y2_LV3[CCU_FRONT_SYNC - 1]; break; case 4: - rtb_MultiportSwitch_g = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, - rtConstP.pooled69, &g_assTG_FRU_LV4[0], 12U); + rtb_MultiportSwitch_k = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, + rtConstP.pooled77, &g_assTG_FRU_LV4[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table4' - * Lookup_n-D: '/1-D Lookup Table4' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table4' + * Lookup_n-D: '/1-D Lookup Table4' * Saturate: '/Saturation1' */ - rtb_MultiportSwitch_dv = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, - rtConstP.pooled46, &g_assINCAR_TG_FR_LV4[0], 12U); + rtb_MultiportSwitch_ev = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, + rtConstP.pooled51, &g_assINCAR_TG_FR_LV4[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_jn[0] = - g_assDTG_FU_INC_Y1_LV4[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[0] = g_assDTG_FU_INC_Y1_LV4[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_FU_INC_Y2_LV4[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[1] = g_assDTG_FU_INC_Y2_LV4[CCU_FRONT_SYNC - 1]; break; default: - rtb_MultiportSwitch_g = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, - rtConstP.pooled69, &g_assTG_FRU_LV5[0], 12U); + rtb_MultiportSwitch_k = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, + rtConstP.pooled77, &g_assTG_FRU_LV5[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table5' - * Lookup_n-D: '/1-D Lookup Table5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table5' + * Lookup_n-D: '/1-D Lookup Table5' * Saturate: '/Saturation1' */ - rtb_MultiportSwitch_dv = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, - rtConstP.pooled46, &g_assINCAR_TG_FR_LV5[0], 12U); + rtb_MultiportSwitch_ev = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, + rtConstP.pooled51, &g_assINCAR_TG_FR_LV5[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_jn[0] = - g_assDTG_FU_INC_Y1_LV5[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[0] = g_assDTG_FU_INC_Y1_LV5[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_FU_INC_Y2_LV5[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[1] = g_assDTG_FU_INC_Y2_LV5[CCU_FRONT_SYNC - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_jn[2] = 0; + rtb_VectorConcatenate_by[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch3' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_FU_INC_Y3_LV0[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[3] = g_assDTG_FU_INC_Y3_LV0[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_FU_INC_Y4_LV0[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[4] = g_assDTG_FU_INC_Y4_LV0[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[0] = - g_assDTG_FU_INC_X1_LV0[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV0[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_FU_INC_X2_LV0[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV0[CCU_FRONT_SYNC - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_FU_INC_Y3_LV1[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[3] = g_assDTG_FU_INC_Y3_LV1[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_FU_INC_Y4_LV1[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[4] = g_assDTG_FU_INC_Y4_LV1[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[0] = - g_assDTG_FU_INC_X1_LV1[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV1[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_FU_INC_X2_LV1[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV1[CCU_FRONT_SYNC - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_FU_INC_Y3_LV2[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[3] = g_assDTG_FU_INC_Y3_LV2[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_FU_INC_Y4_LV2[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[4] = g_assDTG_FU_INC_Y4_LV2[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[0] = - g_assDTG_FU_INC_X1_LV2[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV2[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_FU_INC_X2_LV2[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV2[CCU_FRONT_SYNC - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_FU_INC_Y3_LV3[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[3] = g_assDTG_FU_INC_Y3_LV3[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_FU_INC_Y4_LV3[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[4] = g_assDTG_FU_INC_Y4_LV3[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[0] = - g_assDTG_FU_INC_X1_LV3[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV3[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_FU_INC_X2_LV3[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV3[CCU_FRONT_SYNC - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_FU_INC_Y3_LV4[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[3] = g_assDTG_FU_INC_Y3_LV4[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_FU_INC_Y4_LV4[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[4] = g_assDTG_FU_INC_Y4_LV4[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[0] = - g_assDTG_FU_INC_X1_LV4[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV4[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_FU_INC_X2_LV4[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV4[CCU_FRONT_SYNC - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_FU_INC_Y3_LV5[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[3] = g_assDTG_FU_INC_Y3_LV5[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_FU_INC_Y4_LV5[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[4] = g_assDTG_FU_INC_Y4_LV5[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[0] = - g_assDTG_FU_INC_X1_LV5[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV5[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_FU_INC_X2_LV5[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV5[CCU_FRONT_SYNC - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_lo[2] = 0; + rtb_VectorConcatenate_kz[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch3' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_FU_INC_X3_LV0[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV0[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_FU_INC_X4_LV0[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV0[CCU_FRONT_SYNC - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_FU_INC_X3_LV1[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV1[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_FU_INC_X4_LV1[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV1[CCU_FRONT_SYNC - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_FU_INC_X3_LV2[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV2[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_FU_INC_X4_LV2[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV2[CCU_FRONT_SYNC - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_FU_INC_X3_LV3[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV3[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_FU_INC_X4_LV3[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV3[CCU_FRONT_SYNC - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_FU_INC_X3_LV4[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV4[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_FU_INC_X4_LV4[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV4[CCU_FRONT_SYNC - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_FU_INC_X3_LV5[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV5[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_FU_INC_X4_LV5[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV5[CCU_FRONT_SYNC - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* Lookup_n-D: '/2.5 FRU_tg_incar' incorporates: + /* Lookup_n-D: '/2.5 FRU_tg_incar' incorporates: * DataStoreRead: '/Data Store Read22' - * Sum: '/2.5. X = Inc_Tg - Incar_fb' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' */ rtb_u5FRU_tg_incar = look1_is16lu64n32Ds32_binlcn((int16_t) - (rtb_MultiportSwitch_dv - rtDW.Incar_FR), rtb_VectorConcatenate_lo, - rtb_VectorConcatenate_jn, 4U); + (rtb_MultiportSwitch_ev - rtDW.Incar_FR), rtb_VectorConcatenate_kz, + rtb_VectorConcatenate_by, 4U); - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_jb[0] = - g_assDTG_FU_AMB_Y1_LV0[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_g[0] = g_assDTG_FU_AMB_Y1_LV0[CCU_FRONT_SYNC - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_jb[0] = - g_assDTG_FU_AMB_Y1_LV1[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_g[0] = g_assDTG_FU_AMB_Y1_LV1[CCU_FRONT_SYNC - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_jb[0] = - g_assDTG_FU_AMB_Y1_LV2[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_g[0] = g_assDTG_FU_AMB_Y1_LV2[CCU_FRONT_SYNC - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_jb[0] = - g_assDTG_FU_AMB_Y1_LV3[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_g[0] = g_assDTG_FU_AMB_Y1_LV3[CCU_FRONT_SYNC - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_jb[0] = - g_assDTG_FU_AMB_Y1_LV4[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_g[0] = g_assDTG_FU_AMB_Y1_LV4[CCU_FRONT_SYNC - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_jb[0] = - g_assDTG_FU_AMB_Y1_LV5[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_g[0] = g_assDTG_FU_AMB_Y1_LV5[CCU_FRONT_SYNC - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_jb[1] = 0; + rtb_VectorConcatenate_g[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_FU_AMB_Y2_LV0[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_g[2] = g_assDTG_FU_AMB_Y2_LV0[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_mx[0] = - g_assDTG_FU_AMB_X1_LV0[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_mx[0] = g_assDTG_FU_AMB_X1_LV0[CCU_FRONT_SYNC - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_FU_AMB_Y2_LV1[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_g[2] = g_assDTG_FU_AMB_Y2_LV1[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_mx[0] = - g_assDTG_FU_AMB_X1_LV1[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_mx[0] = g_assDTG_FU_AMB_X1_LV1[CCU_FRONT_SYNC - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_FU_AMB_Y2_LV2[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_g[2] = g_assDTG_FU_AMB_Y2_LV2[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_mx[0] = - g_assDTG_FU_AMB_X1_LV2[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_mx[0] = g_assDTG_FU_AMB_X1_LV2[CCU_FRONT_SYNC - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_FU_AMB_Y2_LV3[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_g[2] = g_assDTG_FU_AMB_Y2_LV3[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_mx[0] = - g_assDTG_FU_AMB_X1_LV3[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_mx[0] = g_assDTG_FU_AMB_X1_LV3[CCU_FRONT_SYNC - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_FU_AMB_Y2_LV4[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_g[2] = g_assDTG_FU_AMB_Y2_LV4[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_mx[0] = - g_assDTG_FU_AMB_X1_LV4[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_mx[0] = g_assDTG_FU_AMB_X1_LV4[CCU_FRONT_SYNC - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_FU_AMB_Y2_LV5[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_g[2] = g_assDTG_FU_AMB_Y2_LV5[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_mx[0] = - g_assDTG_FU_AMB_X1_LV5[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_mx[0] = g_assDTG_FU_AMB_X1_LV5[CCU_FRONT_SYNC - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_mx[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_mx[2] = - g_assDTG_FU_AMB_X2_LV0[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_mx[2] = g_assDTG_FU_AMB_X2_LV0[CCU_FRONT_SYNC - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_mx[2] = - g_assDTG_FU_AMB_X2_LV1[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_mx[2] = g_assDTG_FU_AMB_X2_LV1[CCU_FRONT_SYNC - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_mx[2] = - g_assDTG_FU_AMB_X2_LV2[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_mx[2] = g_assDTG_FU_AMB_X2_LV2[CCU_FRONT_SYNC - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_mx[2] = - g_assDTG_FU_AMB_X2_LV3[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_mx[2] = g_assDTG_FU_AMB_X2_LV3[CCU_FRONT_SYNC - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_mx[2] = - g_assDTG_FU_AMB_X2_LV4[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_mx[2] = g_assDTG_FU_AMB_X2_LV4[CCU_FRONT_SYNC - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_mx[2] = - g_assDTG_FU_AMB_X2_LV5[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_mx[2] = g_assDTG_FU_AMB_X2_LV5[CCU_FRONT_SYNC - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* Lookup_n-D: '/2.6 FRU_tg_amb' */ - rtb_u6FRU_tg_amb_h = look1_is16lu64n32Ds32_binlcn(rtb_FLU_tg_correct_a, - rtb_VectorConcatenate_mx, rtb_VectorConcatenate_jb, 2U); + /* Lookup_n-D: '/2.6 FRU_tg_amb' */ + rtb_u6FRU_tg_amb_f = look1_is16lu64n32Ds32_binlcn(rtb_Bias_ct, + rtb_VectorConcatenate_mx, rtb_VectorConcatenate_g, 2U); - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_gu[0] = 0; + rtb_VectorConcatenate_iw[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_FU_SUN_Y1_LV0[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_iw[1] = g_assDTG_FU_SUN_Y1_LV0[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_FU_SUN_Y2_LV0[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_iw[2] = g_assDTG_FU_SUN_Y2_LV0[CCU_FRONT_SYNC - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_FU_SUN_Y1_LV1[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_iw[1] = g_assDTG_FU_SUN_Y1_LV1[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_FU_SUN_Y2_LV1[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_iw[2] = g_assDTG_FU_SUN_Y2_LV1[CCU_FRONT_SYNC - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_FU_SUN_Y1_LV2[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_iw[1] = g_assDTG_FU_SUN_Y1_LV2[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_FU_SUN_Y2_LV2[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_iw[2] = g_assDTG_FU_SUN_Y2_LV2[CCU_FRONT_SYNC - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_FU_SUN_Y1_LV3[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_iw[1] = g_assDTG_FU_SUN_Y1_LV3[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_FU_SUN_Y2_LV3[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_iw[2] = g_assDTG_FU_SUN_Y2_LV3[CCU_FRONT_SYNC - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_FU_SUN_Y1_LV4[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_iw[1] = g_assDTG_FU_SUN_Y1_LV4[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_FU_SUN_Y2_LV4[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_iw[2] = g_assDTG_FU_SUN_Y2_LV4[CCU_FRONT_SYNC - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_FU_SUN_Y1_LV5[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_iw[1] = g_assDTG_FU_SUN_Y1_LV5[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_FU_SUN_Y2_LV5[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_iw[2] = g_assDTG_FU_SUN_Y2_LV5[CCU_FRONT_SYNC - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_l0[0] = 0; + rtb_VectorConcatenate_im[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FU_SUN_X1_LV0[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_im[1] = g_assDTG_FU_SUN_X1_LV0[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FU_SUN_X2_LV0[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_im[2] = g_assDTG_FU_SUN_X2_LV0[CCU_FRONT_SYNC - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FU_SUN_X1_LV1[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_im[1] = g_assDTG_FU_SUN_X1_LV1[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FU_SUN_X2_LV1[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_im[2] = g_assDTG_FU_SUN_X2_LV1[CCU_FRONT_SYNC - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FU_SUN_X1_LV2[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_im[1] = g_assDTG_FU_SUN_X1_LV2[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FU_SUN_X2_LV2[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_im[2] = g_assDTG_FU_SUN_X2_LV2[CCU_FRONT_SYNC - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FU_SUN_X1_LV3[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_im[1] = g_assDTG_FU_SUN_X1_LV3[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FU_SUN_X2_LV3[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_im[2] = g_assDTG_FU_SUN_X2_LV3[CCU_FRONT_SYNC - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FU_SUN_X1_LV4[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_im[1] = g_assDTG_FU_SUN_X1_LV4[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FU_SUN_X2_LV4[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_im[2] = g_assDTG_FU_SUN_X2_LV4[CCU_FRONT_SYNC - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FU_SUN_X1_LV5[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_im[1] = g_assDTG_FU_SUN_X1_LV5[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FU_SUN_X2_LV5[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_im[2] = g_assDTG_FU_SUN_X2_LV5[CCU_FRONT_SYNC - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Lookup_n-D: '/2.6 FRU_tg_amb' incorporates: + /* Lookup_n-D: '/2.6 FRU_tg_amb' incorporates: * DataStoreRead: '/Data Store Read27' */ - rtb_u6FRU_tg_amb = look1_bs16ts16Dd_binlc(rtDW.Sun_R, rtb_VectorConcatenate_l0, - rtb_VectorConcatenate_gu, 2U); + rtb_u6FRU_tg_amb = look1_bs16ts16Dd_binlc(rtDW.Sun_R, rtb_VectorConcatenate_im, + rtb_VectorConcatenate_iw, 2U); - /* Sum: '/FLU_tg_correct1' */ - rtb_Merge_h = (int16_t)((int16_t)((int16_t)(rtb_MultiportSwitch_g + - rtb_u5FRU_tg_incar) + rtb_u6FRU_tg_amb_h) + rtb_u6FRU_tg_amb); + /* Sum: '/FLU_tg_correct1' */ + rtb_FLU_tg_correct1 = (int16_t)((int16_t)((int16_t)(rtb_MultiportSwitch_k + + rtb_u5FRU_tg_incar) + rtb_u6FRU_tg_amb_f) + rtb_u6FRU_tg_amb); - /* Switch: '/Switch2' incorporates: - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion2' - * RelationalOperator: '/LowerRelop1' - * Selector: '/Selector' + /* Switch: '/Switch2' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + * RelationalOperator: '/LowerRelop1' + * Selector: '/Selector' */ - if (rtb_Merge_h > rtb_uDLookupTable7_g[rtb_DataTypeConversion1_ao - 1]) { - rtb_Merge_h = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_ao - 1]; + if (rtb_FLU_tg_correct1 > rtb_uDLookupTable7_g[CCU_FRONT_SYNC - 1]) { + rtb_FLU_tg_correct1 = rtb_uDLookupTable7_g[CCU_FRONT_SYNC - 1]; } else { - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ - switch (rtb_Saturation4) { + switch (rtb_timer_out) { case 0: for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FU_MIN_LV0[i]; @@ -9099,60 +12415,165 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' */ - rtb_Switch2_p0 = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_ao - 1]; + /* Selector: '/Selector' */ + rtb_y_fq = rtb_uDLookupTable7_g[CCU_FRONT_SYNC - 1]; - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector' */ - if (rtb_Merge_h < rtb_Switch2_p0) { - rtb_Merge_h = rtb_Switch2_p0; + if (rtb_FLU_tg_correct1 < rtb_y_fq) { + rtb_FLU_tg_correct1 = rtb_y_fq; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* If: '/If' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant12' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read76' + */ + if (rtDW.CCU_AC_MAX > 0) { + i = 5; + } else { + i = rtDW.CCU_AUTOMODE_FR; + } + + /* MATLAB Function: '/func g_assAUTO_STEP_DUCT_TG_U' incorporates: + * DataStoreRead: '/Data Store Read20' + * Switch: '/Switch2' + */ + funcg_assAUTO_STEP_DUCT_TG_U(rtDW.LEVEL, (double)i, &Switch3); + + /* If: '/If' incorporates: + * Constant: '/manual' + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * Switch: '/Switch' */ if ((rtDW.step_start_controle_front == 0) || (rtDW.step_start_controle_front == 1) || (rtDW.step_start_controle_front == 2)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataStoreRead: '/dtg from Start Control' - * DataTypeConversion: '/Data Type Conversion' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/dtg from Start Control' */ - rtb_Merge_h = (int16_t)rtDW.Dtg_FUR; + rtb_FLU_tg_correct1 = (int16_t)rtDW.Dtg_FUR; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ + } else if (rtDW.CCU_MODE_FR != 0) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion generated from: '/FXU' incorporates: + * Sum: '/Add' + * Switch: '/Switch' + */ + rtb_FLU_tg_correct1 += Switch3; + + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* Switch: '/Switch2' incorporates: + * DataStoreWrite: '/Data Store Write3' + * RelationalOperator: '/LowerRelop1' */ - switch (rtb_Saturation4) { + if (rtb_FLU_tg_correct1 > rtb_Merge_h) { + rtb_FLU_tg_correct1 = rtb_Merge_h; + } else { + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' + * Constant: '/Constant6' + */ + switch (rtb_timer_out) { + case 0: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FU_MIN_LV0[i]; + } + break; + + case 1: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FU_MIN_LV1[i]; + } + break; + + case 2: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FU_MIN_LV2[i]; + } + break; + + case 3: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FU_MIN_LV3[i]; + } + break; + + case 4: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FU_MIN_LV4[i]; + } + break; + + default: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FU_MIN_LV5[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* Selector: '/Selector1' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_y_fq = rtb_uDLookupTable7_g[(uint8_t)rtb_Switch5 - 1]; + + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write3' + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector1' + */ + if (rtb_FLU_tg_correct1 < rtb_y_fq) { + rtb_FLU_tg_correct1 = rtb_y_fq; + } + + /* End of Switch: '/Switch' */ + } + + /* End of Switch: '/Switch2' */ + + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' + */ + switch (rtb_timer_out) { case 0: for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_R_MAX_LV0[i]; @@ -9190,7 +12611,7 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ /* Saturate: '/Saturation2' incorporates: * DataStoreRead: '/Data Store Read18' @@ -9205,979 +12626,977 @@ void HVAC_model_step(void) /* End of Saturate: '/Saturation2' */ - /* Gain: '/Gain1' incorporates: - * Bias: '/Bias' - * DataTypeConversion: '/Data Type Conversion2' - * Gain: '/Gain2' - * Gain: '/Gain' + /* Gain: '/Gain1' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion2' + * Gain: '/Gain' + * Product: '/Divide5' */ i = ((int32_t)((52429U * rtb_Saturation2_a) >> 19) + -15) << 14; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Gain: '/Gain2' - * Saturate: '/Saturation' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Product: '/Divide5' + * Saturate: '/Saturation' */ - rtb_DataTypeConversion1_pk = (uint8_t)((((uint32_t)i & 16384U) != 0U) + (i >> + rtb_DataTypeConversion1_nc = (uint8_t)((((uint32_t)i & 16384U) != 0U) + (i >> 15)); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table' - * Lookup_n-D: '/1-D Lookup Table1' - * Lookup_n-D: '/1-D Lookup Table2' - * Lookup_n-D: '/1-D Lookup Table3' - * Lookup_n-D: '/1-D Lookup Table4' - * Lookup_n-D: '/1-D Lookup Table5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table' + * Lookup_n-D: '/1-D Lookup Table1' + * Lookup_n-D: '/1-D Lookup Table2' + * Lookup_n-D: '/1-D Lookup Table3' + * Lookup_n-D: '/1-D Lookup Table4' + * Lookup_n-D: '/1-D Lookup Table5' * Saturate: '/Saturation2' */ - switch (rtb_Saturation4) { + switch (rtb_timer_out) { case 0: - rtb_MultiportSwitch_oi = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled69, &g_assTG_RL_LV0[0], 12U); + rtb_MultiportSwitch_cn = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, + rtConstP.pooled77, &g_assTG_RL_LV0[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table' - * Lookup_n-D: '/1-D Lookup Table' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table' + * Lookup_n-D: '/1-D Lookup Table' * Saturate: '/Saturation2' */ - rtb_MultiportSwitch_e = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2_a, rtConstP.pooled46, &g_assINCAR_TG_RL_LV0[0], 12U); + rtb_MultiportSwitch_i = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation2_a, rtConstP.pooled51, &g_assINCAR_TG_RL_LV0[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_jn[0] = - g_assDTG_R_INC_Y1_LV0[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[0] = + g_assDTG_R_INC_Y1_LV0[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_R_INC_Y2_LV0[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_R_INC_Y2_LV0[rtb_DataTypeConversion1_nc - 1]; break; case 1: - rtb_MultiportSwitch_oi = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled69, &g_assTG_RL_LV1[0], 12U); + rtb_MultiportSwitch_cn = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, + rtConstP.pooled77, &g_assTG_RL_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table1' - * Lookup_n-D: '/1-D Lookup Table1' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table1' + * Lookup_n-D: '/1-D Lookup Table1' * Saturate: '/Saturation2' */ - rtb_MultiportSwitch_e = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2_a, rtConstP.pooled46, &g_assINCAR_TG_RL_LV1[0], 12U); + rtb_MultiportSwitch_i = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation2_a, rtConstP.pooled51, &g_assINCAR_TG_RL_LV1[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_jn[0] = - g_assDTG_R_INC_Y1_LV1[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[0] = + g_assDTG_R_INC_Y1_LV1[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_R_INC_Y2_LV1[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_R_INC_Y2_LV1[rtb_DataTypeConversion1_nc - 1]; break; case 2: - rtb_MultiportSwitch_oi = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled69, &g_assTG_RL_LV2[0], 12U); + rtb_MultiportSwitch_cn = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, + rtConstP.pooled77, &g_assTG_RL_LV2[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table2' - * Lookup_n-D: '/1-D Lookup Table2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table2' + * Lookup_n-D: '/1-D Lookup Table2' * Saturate: '/Saturation2' */ - rtb_MultiportSwitch_e = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2_a, rtConstP.pooled46, &g_assINCAR_TG_RL_LV2[0], 12U); + rtb_MultiportSwitch_i = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation2_a, rtConstP.pooled51, &g_assINCAR_TG_RL_LV2[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_jn[0] = - g_assDTG_R_INC_Y1_LV2[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[0] = + g_assDTG_R_INC_Y1_LV2[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_R_INC_Y2_LV2[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_R_INC_Y2_LV2[rtb_DataTypeConversion1_nc - 1]; break; case 3: - rtb_MultiportSwitch_oi = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled69, &g_assTG_RL_LV3[0], 12U); + rtb_MultiportSwitch_cn = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, + rtConstP.pooled77, &g_assTG_RL_LV3[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table3' - * Lookup_n-D: '/1-D Lookup Table3' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table3' + * Lookup_n-D: '/1-D Lookup Table3' * Saturate: '/Saturation2' */ - rtb_MultiportSwitch_e = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2_a, rtConstP.pooled46, &g_assINCAR_TG_RL_LV3[0], 12U); + rtb_MultiportSwitch_i = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation2_a, rtConstP.pooled51, &g_assINCAR_TG_RL_LV3[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_jn[0] = - g_assDTG_R_INC_Y1_LV3[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[0] = + g_assDTG_R_INC_Y1_LV3[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_R_INC_Y2_LV3[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_R_INC_Y2_LV3[rtb_DataTypeConversion1_nc - 1]; break; case 4: - rtb_MultiportSwitch_oi = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled69, &g_assTG_RL_LV4[0], 12U); + rtb_MultiportSwitch_cn = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, + rtConstP.pooled77, &g_assTG_RL_LV4[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table4' - * Lookup_n-D: '/1-D Lookup Table4' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table4' + * Lookup_n-D: '/1-D Lookup Table4' * Saturate: '/Saturation2' */ - rtb_MultiportSwitch_e = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2_a, rtConstP.pooled46, &g_assINCAR_TG_RL_LV4[0], 12U); + rtb_MultiportSwitch_i = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation2_a, rtConstP.pooled51, &g_assINCAR_TG_RL_LV4[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_jn[0] = - g_assDTG_R_INC_Y1_LV4[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[0] = + g_assDTG_R_INC_Y1_LV4[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_R_INC_Y2_LV4[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_R_INC_Y2_LV4[rtb_DataTypeConversion1_nc - 1]; break; default: - rtb_MultiportSwitch_oi = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled69, &g_assTG_RL_LV5[0], 12U); + rtb_MultiportSwitch_cn = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, + rtConstP.pooled77, &g_assTG_RL_LV5[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table5' - * Lookup_n-D: '/1-D Lookup Table5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table5' + * Lookup_n-D: '/1-D Lookup Table5' * Saturate: '/Saturation2' */ - rtb_MultiportSwitch_e = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2_a, rtConstP.pooled46, &g_assINCAR_TG_RL_LV5[0], 12U); + rtb_MultiportSwitch_i = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation2_a, rtConstP.pooled51, &g_assINCAR_TG_RL_LV5[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_jn[0] = - g_assDTG_R_INC_Y1_LV5[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[0] = + g_assDTG_R_INC_Y1_LV5[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_R_INC_Y2_LV5[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_R_INC_Y2_LV5[rtb_DataTypeConversion1_nc - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_jn[2] = 0; + rtb_VectorConcatenate_by[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch3' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_R_INC_Y3_LV0[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_R_INC_Y3_LV0[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_R_INC_Y4_LV0[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_R_INC_Y4_LV0[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[0] = - g_assDTG_R_INC_X1_LV0[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[0] = + g_assDTG_R_INC_X1_LV0[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_R_INC_X2_LV0[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_R_INC_X2_LV0[rtb_DataTypeConversion1_nc - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_R_INC_Y3_LV1[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_R_INC_Y3_LV1[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_R_INC_Y4_LV1[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_R_INC_Y4_LV1[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[0] = - g_assDTG_R_INC_X1_LV1[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[0] = + g_assDTG_R_INC_X1_LV1[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_R_INC_X2_LV1[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_R_INC_X2_LV1[rtb_DataTypeConversion1_nc - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_R_INC_Y3_LV2[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_R_INC_Y3_LV2[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_R_INC_Y4_LV2[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_R_INC_Y4_LV2[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[0] = - g_assDTG_R_INC_X1_LV2[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[0] = + g_assDTG_R_INC_X1_LV2[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_R_INC_X2_LV2[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_R_INC_X2_LV2[rtb_DataTypeConversion1_nc - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_R_INC_Y3_LV3[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_R_INC_Y3_LV3[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_R_INC_Y4_LV3[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_R_INC_Y4_LV3[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[0] = - g_assDTG_R_INC_X1_LV3[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[0] = + g_assDTG_R_INC_X1_LV3[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_R_INC_X2_LV3[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_R_INC_X2_LV3[rtb_DataTypeConversion1_nc - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_R_INC_Y3_LV4[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_R_INC_Y3_LV4[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_R_INC_Y4_LV4[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_R_INC_Y4_LV4[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[0] = - g_assDTG_R_INC_X1_LV4[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[0] = + g_assDTG_R_INC_X1_LV4[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_R_INC_X2_LV4[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_R_INC_X2_LV4[rtb_DataTypeConversion1_nc - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_R_INC_Y3_LV5[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_R_INC_Y3_LV5[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_R_INC_Y4_LV5[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_R_INC_Y4_LV5[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[0] = - g_assDTG_R_INC_X1_LV5[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[0] = + g_assDTG_R_INC_X1_LV5[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_R_INC_X2_LV5[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_R_INC_X2_LV5[rtb_DataTypeConversion1_nc - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_lo[2] = 0; + rtb_VectorConcatenate_kz[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch3' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_R_INC_X3_LV0[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_R_INC_X3_LV0[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_R_INC_X4_LV0[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_R_INC_X4_LV0[rtb_DataTypeConversion1_nc - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_R_INC_X3_LV1[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_R_INC_X3_LV1[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_R_INC_X4_LV1[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_R_INC_X4_LV1[rtb_DataTypeConversion1_nc - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_R_INC_X3_LV2[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_R_INC_X3_LV2[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_R_INC_X4_LV2[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_R_INC_X4_LV2[rtb_DataTypeConversion1_nc - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_R_INC_X3_LV3[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_R_INC_X3_LV3[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_R_INC_X4_LV3[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_R_INC_X4_LV3[rtb_DataTypeConversion1_nc - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_R_INC_X3_LV4[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_R_INC_X3_LV4[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_R_INC_X4_LV4[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_R_INC_X4_LV4[rtb_DataTypeConversion1_nc - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_R_INC_X3_LV5[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_R_INC_X3_LV5[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_R_INC_X4_LV5[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_R_INC_X4_LV5[rtb_DataTypeConversion1_nc - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* Lookup_n-D: '/2.5 R_tg_incar' incorporates: + /* Lookup_n-D: '/2.5 R_tg_incar' incorporates: * DataStoreRead: '/Data Store Read23' - * Sum: '/2.5. X = Inc_Tg - Incar_fb' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' */ rtb_u5R_tg_incar = look1_is16lu64n32Ds32_binlcn((int16_t) - (rtb_MultiportSwitch_e - rtDW.Incar_RL), rtb_VectorConcatenate_lo, - rtb_VectorConcatenate_jn, 4U); + (rtb_MultiportSwitch_i - rtDW.Incar_RL), rtb_VectorConcatenate_kz, + rtb_VectorConcatenate_by, 4U); - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' */ - rtb_VectorConcatenate_jb[0] = - g_assDTG_R_AMB_Y1_LV0[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_g[0] = + g_assDTG_R_AMB_Y1_LV0[rtb_DataTypeConversion1_nc - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' */ - rtb_VectorConcatenate_jb[0] = - g_assDTG_R_AMB_Y1_LV1[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_g[0] = + g_assDTG_R_AMB_Y1_LV1[rtb_DataTypeConversion1_nc - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' */ - rtb_VectorConcatenate_jb[0] = - g_assDTG_R_AMB_Y1_LV2[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_g[0] = + g_assDTG_R_AMB_Y1_LV2[rtb_DataTypeConversion1_nc - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' */ - rtb_VectorConcatenate_jb[0] = - g_assDTG_R_AMB_Y1_LV3[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_g[0] = + g_assDTG_R_AMB_Y1_LV3[rtb_DataTypeConversion1_nc - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' */ - rtb_VectorConcatenate_jb[0] = - g_assDTG_R_AMB_Y1_LV4[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_g[0] = + g_assDTG_R_AMB_Y1_LV4[rtb_DataTypeConversion1_nc - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' */ - rtb_VectorConcatenate_jb[0] = - g_assDTG_R_AMB_Y1_LV5[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_g[0] = + g_assDTG_R_AMB_Y1_LV5[rtb_DataTypeConversion1_nc - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_jb[1] = 0; + rtb_VectorConcatenate_g[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_R_AMB_Y2_LV0[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_g[2] = + g_assDTG_R_AMB_Y2_LV0[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ rtb_VectorConcatenate_mx[0] = - g_assDTG_R_AMB_X1_LV0[rtb_DataTypeConversion1_pk - 1]; + g_assDTG_R_AMB_X1_LV0[rtb_DataTypeConversion1_nc - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_R_AMB_Y2_LV1[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_g[2] = + g_assDTG_R_AMB_Y2_LV1[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ rtb_VectorConcatenate_mx[0] = - g_assDTG_R_AMB_X1_LV1[rtb_DataTypeConversion1_pk - 1]; + g_assDTG_R_AMB_X1_LV1[rtb_DataTypeConversion1_nc - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_R_AMB_Y2_LV2[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_g[2] = + g_assDTG_R_AMB_Y2_LV2[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ rtb_VectorConcatenate_mx[0] = - g_assDTG_R_AMB_X1_LV2[rtb_DataTypeConversion1_pk - 1]; + g_assDTG_R_AMB_X1_LV2[rtb_DataTypeConversion1_nc - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_R_AMB_Y2_LV3[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_g[2] = + g_assDTG_R_AMB_Y2_LV3[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ rtb_VectorConcatenate_mx[0] = - g_assDTG_R_AMB_X1_LV3[rtb_DataTypeConversion1_pk - 1]; + g_assDTG_R_AMB_X1_LV3[rtb_DataTypeConversion1_nc - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_R_AMB_Y2_LV4[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_g[2] = + g_assDTG_R_AMB_Y2_LV4[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ rtb_VectorConcatenate_mx[0] = - g_assDTG_R_AMB_X1_LV4[rtb_DataTypeConversion1_pk - 1]; + g_assDTG_R_AMB_X1_LV4[rtb_DataTypeConversion1_nc - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_R_AMB_Y2_LV5[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_g[2] = + g_assDTG_R_AMB_Y2_LV5[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ rtb_VectorConcatenate_mx[0] = - g_assDTG_R_AMB_X1_LV5[rtb_DataTypeConversion1_pk - 1]; + g_assDTG_R_AMB_X1_LV5[rtb_DataTypeConversion1_nc - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_mx[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' */ rtb_VectorConcatenate_mx[2] = - g_assDTG_R_AMB_X2_LV0[rtb_DataTypeConversion1_pk - 1]; + g_assDTG_R_AMB_X2_LV0[rtb_DataTypeConversion1_nc - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' */ rtb_VectorConcatenate_mx[2] = - g_assDTG_R_AMB_X2_LV1[rtb_DataTypeConversion1_pk - 1]; + g_assDTG_R_AMB_X2_LV1[rtb_DataTypeConversion1_nc - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' */ rtb_VectorConcatenate_mx[2] = - g_assDTG_R_AMB_X2_LV2[rtb_DataTypeConversion1_pk - 1]; + g_assDTG_R_AMB_X2_LV2[rtb_DataTypeConversion1_nc - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' */ rtb_VectorConcatenate_mx[2] = - g_assDTG_R_AMB_X2_LV3[rtb_DataTypeConversion1_pk - 1]; + g_assDTG_R_AMB_X2_LV3[rtb_DataTypeConversion1_nc - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' */ rtb_VectorConcatenate_mx[2] = - g_assDTG_R_AMB_X2_LV4[rtb_DataTypeConversion1_pk - 1]; + g_assDTG_R_AMB_X2_LV4[rtb_DataTypeConversion1_nc - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' */ rtb_VectorConcatenate_mx[2] = - g_assDTG_R_AMB_X2_LV5[rtb_DataTypeConversion1_pk - 1]; + g_assDTG_R_AMB_X2_LV5[rtb_DataTypeConversion1_nc - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* Lookup_n-D: '/2.6 FLU_tg_amb' */ - rtb_u6FLU_tg_amb_hk = look1_is16lu64n32Ds32_binlcn(rtb_FLU_tg_correct_a, - rtb_VectorConcatenate_mx, rtb_VectorConcatenate_jb, 2U); + /* Lookup_n-D: '/2.6 FLU_tg_amb' */ + rtb_u6FLU_tg_amb_d = look1_is16lu64n32Ds32_binlcn(rtb_Bias_ct, + rtb_VectorConcatenate_mx, rtb_VectorConcatenate_g, 2U); - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_gu[0] = 0; + rtb_VectorConcatenate_iw[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_R_SUN_Y1_LV0[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_iw[1] = + g_assDTG_R_SUN_Y1_LV0[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_R_SUN_Y2_LV0[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_iw[2] = + g_assDTG_R_SUN_Y2_LV0[rtb_DataTypeConversion1_nc - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_R_SUN_Y1_LV1[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_iw[1] = + g_assDTG_R_SUN_Y1_LV1[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_R_SUN_Y2_LV1[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_iw[2] = + g_assDTG_R_SUN_Y2_LV1[rtb_DataTypeConversion1_nc - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_R_SUN_Y1_LV2[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_iw[1] = + g_assDTG_R_SUN_Y1_LV2[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_R_SUN_Y2_LV2[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_iw[2] = + g_assDTG_R_SUN_Y2_LV2[rtb_DataTypeConversion1_nc - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_R_SUN_Y1_LV3[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_iw[1] = + g_assDTG_R_SUN_Y1_LV3[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_R_SUN_Y2_LV3[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_iw[2] = + g_assDTG_R_SUN_Y2_LV3[rtb_DataTypeConversion1_nc - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_R_SUN_Y1_LV4[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_iw[1] = + g_assDTG_R_SUN_Y1_LV4[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_R_SUN_Y2_LV4[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_iw[2] = + g_assDTG_R_SUN_Y2_LV4[rtb_DataTypeConversion1_nc - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_R_SUN_Y1_LV5[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_iw[1] = + g_assDTG_R_SUN_Y1_LV5[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_R_SUN_Y2_LV5[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_iw[2] = + g_assDTG_R_SUN_Y2_LV5[rtb_DataTypeConversion1_nc - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_l0[0] = 0; + rtb_VectorConcatenate_im[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FU_SUN_X1_LV0[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_im[1] = + g_assDTG_FU_SUN_X1_LV0[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FU_SUN_X2_LV0[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_im[2] = + g_assDTG_FU_SUN_X2_LV0[rtb_DataTypeConversion1_nc - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FU_SUN_X1_LV1[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_im[1] = + g_assDTG_FU_SUN_X1_LV1[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FU_SUN_X2_LV1[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_im[2] = + g_assDTG_FU_SUN_X2_LV1[rtb_DataTypeConversion1_nc - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FU_SUN_X1_LV2[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_im[1] = + g_assDTG_FU_SUN_X1_LV2[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FU_SUN_X2_LV2[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_im[2] = + g_assDTG_FU_SUN_X2_LV2[rtb_DataTypeConversion1_nc - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FU_SUN_X1_LV3[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_im[1] = + g_assDTG_FU_SUN_X1_LV3[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FU_SUN_X2_LV3[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_im[2] = + g_assDTG_FU_SUN_X2_LV3[rtb_DataTypeConversion1_nc - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FU_SUN_X1_LV4[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_im[1] = + g_assDTG_FU_SUN_X1_LV4[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FU_SUN_X2_LV4[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_im[2] = + g_assDTG_FU_SUN_X2_LV4[rtb_DataTypeConversion1_nc - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FU_SUN_X1_LV5[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_im[1] = + g_assDTG_FU_SUN_X1_LV5[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FU_SUN_X2_LV5[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_im[2] = + g_assDTG_FU_SUN_X2_LV5[rtb_DataTypeConversion1_nc - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: * DataStoreRead: '/Data Store Read26' */ - rtb_u6FLU_tg_amb_o = look1_bs16ts16Dd_binlc(rtDW.Sun_L, - rtb_VectorConcatenate_l0, rtb_VectorConcatenate_gu, 2U); + rtb_u6FLU_tg_amb_fi = look1_bs16ts16Dd_binlc(rtDW.Sun_L, + rtb_VectorConcatenate_im, rtb_VectorConcatenate_iw, 2U); - /* Sum: '/FLU_tg_correct' */ - rtb_FLU_tg_correct_me = (int16_t)((int16_t)((int16_t)(rtb_MultiportSwitch_oi + - rtb_u5R_tg_incar) + rtb_u6FLU_tg_amb_hk) + rtb_u6FLU_tg_amb_o); + /* Sum: '/FLU_tg_correct' */ + Switch3 = (int16_t)((int16_t)((int16_t)(rtb_MultiportSwitch_cn + + rtb_u5R_tg_incar) + rtb_u6FLU_tg_amb_d) + rtb_u6FLU_tg_amb_fi); - /* Switch: '/Switch2' incorporates: - * DataStoreWrite: '/Data Store Write2' - * RelationalOperator: '/LowerRelop1' - * Selector: '/Selector' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * Selector: '/Selector' */ - if (rtb_FLU_tg_correct_me > rtb_uDLookupTable7_g[rtb_DataTypeConversion1_pk - - 1]) { - rtb_FLU_tg_correct_me = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_pk - 1]; + if (Switch3 > rtb_uDLookupTable7_g[rtb_DataTypeConversion1_nc - 1]) { + Switch3 = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_nc - 1]; } else { - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ - switch (rtb_Saturation4) { + switch (rtb_timer_out) { case 0: for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_R_MIN_LV0[i]; @@ -10215,60 +13634,86 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' */ - rtb_Switch2_p0 = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_pk - 1]; + /* Selector: '/Selector' */ + rtb_y_fq = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_nc - 1]; - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write2' - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector' */ - if (rtb_FLU_tg_correct_me < rtb_Switch2_p0) { - rtb_FLU_tg_correct_me = rtb_Switch2_p0; + if (Switch3 < rtb_y_fq) { + Switch3 = rtb_y_fq; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* If: '/If' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant12' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read76' + */ + if (rtDW.CCU_AC_MAX > 0) { + i = 5; + } else { + i = rtDW.CCU_AUTOMODE_RL; + } + + /* MATLAB Function: '/func g_assAUTO_STEP_DUCT_TG_R' incorporates: + * DataStoreRead: '/Data Store Read20' + * Switch: '/Switch2' + */ + funcg_assAUTO_STEP_DUCT_TG_R(rtDW.LEVEL, (double)i, &rtb_y_il); + + /* If: '/If' incorporates: + * Constant: '/manual' + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * Switch: '/Switch' */ if ((rtDW.step_start_controle_rear == 0) || (rtDW.step_start_controle_rear == 1) || (rtDW.step_start_controle_rear == 2)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ /* DataStoreWrite: '/Data Store Write4' incorporates: - * DataStoreRead: '/dtg from Start Control' - * DataTypeConversion: '/Data Type Conversion' + * DataStoreRead: '/dtg from Start Control' + * DataTypeConversion: '/Data Type Conversion' */ - rtb_FLU_tg_correct_me = (int16_t)rtDW.Dtg_RL; + Switch3 = (int16_t)rtDW.Dtg_RL; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ + } else if (rtDW.CCU_MODE_RL != 0) { + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Sum: '/Add' + * Switch: '/Switch' + */ + Switch3 += rtb_y_il; } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ - switch (rtb_Saturation4) { + switch (rtb_timer_out) { case 0: for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_R_MAX_LV0[i]; @@ -10306,7 +13751,7 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ /* Saturate: '/Saturation3' incorporates: * DataStoreRead: '/Data Store Read19' @@ -10321,977 +13766,977 @@ void HVAC_model_step(void) /* End of Saturate: '/Saturation3' */ - /* Gain: '/Gain1' incorporates: - * Bias: '/Bias' - * DataTypeConversion: '/Data Type Conversion2' - * Gain: '/Gain2' - * Gain: '/Gain' + /* Gain: '/Gain1' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion2' + * Gain: '/Gain' + * Product: '/Divide5' */ i = ((int32_t)((52429U * rtb_Saturation2_a) >> 19) + -15) << 14; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Gain: '/Gain2' - * Saturate: '/Saturation' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Product: '/Divide5' + * Saturate: '/Saturation' */ - rtb_DataTypeConversion1_pk = (uint8_t)((((uint32_t)i & 16384U) != 0U) + (i >> + rtb_DataTypeConversion1_nc = (uint8_t)((((uint32_t)i & 16384U) != 0U) + (i >> 15)); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table' - * Lookup_n-D: '/1-D Lookup Table1' - * Lookup_n-D: '/1-D Lookup Table2' - * Lookup_n-D: '/1-D Lookup Table3' - * Lookup_n-D: '/1-D Lookup Table4' - * Lookup_n-D: '/1-D Lookup Table5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table' + * Lookup_n-D: '/1-D Lookup Table1' + * Lookup_n-D: '/1-D Lookup Table2' + * Lookup_n-D: '/1-D Lookup Table3' + * Lookup_n-D: '/1-D Lookup Table4' + * Lookup_n-D: '/1-D Lookup Table5' * Saturate: '/Saturation3' */ - switch (rtb_Saturation4) { + switch (rtb_timer_out) { case 0: - rtb_MultiportSwitch_pp = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled69, &g_assTG_RR_LV0[0], 12U); + rtb_MultiportSwitch_c = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, + rtConstP.pooled77, &g_assTG_RR_LV0[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table' - * Lookup_n-D: '/1-D Lookup Table' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table' + * Lookup_n-D: '/1-D Lookup Table' * Saturate: '/Saturation3' */ - rtb_MultiportSwitch_m = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2_a, rtConstP.pooled46, &g_assINCAR_TG_RR_LV0[0], 12U); + rtb_MultiportSwitch_l = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation2_a, rtConstP.pooled51, &g_assINCAR_TG_RR_LV0[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_jn[0] = - g_assDTG_R_INC_Y1_LV0[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[0] = + g_assDTG_R_INC_Y1_LV0[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_R_INC_Y2_LV0[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_R_INC_Y2_LV0[rtb_DataTypeConversion1_nc - 1]; break; case 1: - rtb_MultiportSwitch_pp = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled69, &g_assTG_RR_LV1[0], 12U); + rtb_MultiportSwitch_c = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, + rtConstP.pooled77, &g_assTG_RR_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table1' - * Lookup_n-D: '/1-D Lookup Table1' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table1' + * Lookup_n-D: '/1-D Lookup Table1' * Saturate: '/Saturation3' */ - rtb_MultiportSwitch_m = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2_a, rtConstP.pooled46, &g_assINCAR_TG_RR_LV1[0], 12U); + rtb_MultiportSwitch_l = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation2_a, rtConstP.pooled51, &g_assINCAR_TG_RR_LV1[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_jn[0] = - g_assDTG_R_INC_Y1_LV1[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[0] = + g_assDTG_R_INC_Y1_LV1[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_R_INC_Y2_LV1[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_R_INC_Y2_LV1[rtb_DataTypeConversion1_nc - 1]; break; case 2: - rtb_MultiportSwitch_pp = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled69, &g_assTG_RR_LV2[0], 12U); + rtb_MultiportSwitch_c = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, + rtConstP.pooled77, &g_assTG_RR_LV2[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table2' - * Lookup_n-D: '/1-D Lookup Table2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table2' + * Lookup_n-D: '/1-D Lookup Table2' * Saturate: '/Saturation3' */ - rtb_MultiportSwitch_m = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2_a, rtConstP.pooled46, &g_assINCAR_TG_RR_LV2[0], 12U); + rtb_MultiportSwitch_l = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation2_a, rtConstP.pooled51, &g_assINCAR_TG_RR_LV2[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_jn[0] = - g_assDTG_R_INC_Y1_LV2[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[0] = + g_assDTG_R_INC_Y1_LV2[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_R_INC_Y2_LV2[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_R_INC_Y2_LV2[rtb_DataTypeConversion1_nc - 1]; break; case 3: - rtb_MultiportSwitch_pp = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled69, &g_assTG_RR_LV3[0], 12U); + rtb_MultiportSwitch_c = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, + rtConstP.pooled77, &g_assTG_RR_LV3[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table3' - * Lookup_n-D: '/1-D Lookup Table3' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table3' + * Lookup_n-D: '/1-D Lookup Table3' * Saturate: '/Saturation3' */ - rtb_MultiportSwitch_m = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2_a, rtConstP.pooled46, &g_assINCAR_TG_RR_LV3[0], 12U); + rtb_MultiportSwitch_l = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation2_a, rtConstP.pooled51, &g_assINCAR_TG_RR_LV3[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_jn[0] = - g_assDTG_R_INC_Y1_LV3[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[0] = + g_assDTG_R_INC_Y1_LV3[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_R_INC_Y2_LV3[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_R_INC_Y2_LV3[rtb_DataTypeConversion1_nc - 1]; break; case 4: - rtb_MultiportSwitch_pp = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled69, &g_assTG_RR_LV4[0], 12U); + rtb_MultiportSwitch_c = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, + rtConstP.pooled77, &g_assTG_RR_LV4[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table4' - * Lookup_n-D: '/1-D Lookup Table4' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table4' + * Lookup_n-D: '/1-D Lookup Table4' * Saturate: '/Saturation3' */ - rtb_MultiportSwitch_m = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2_a, rtConstP.pooled46, &g_assINCAR_TG_RR_LV4[0], 12U); + rtb_MultiportSwitch_l = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation2_a, rtConstP.pooled51, &g_assINCAR_TG_RR_LV4[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_jn[0] = - g_assDTG_R_INC_Y1_LV4[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[0] = + g_assDTG_R_INC_Y1_LV4[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_R_INC_Y2_LV4[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_R_INC_Y2_LV4[rtb_DataTypeConversion1_nc - 1]; break; default: - rtb_MultiportSwitch_pp = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled69, &g_assTG_RR_LV5[0], 12U); + rtb_MultiportSwitch_c = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, + rtConstP.pooled77, &g_assTG_RR_LV5[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table5' - * Lookup_n-D: '/1-D Lookup Table5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table5' + * Lookup_n-D: '/1-D Lookup Table5' * Saturate: '/Saturation3' */ - rtb_MultiportSwitch_m = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2_a, rtConstP.pooled46, &g_assINCAR_TG_RR_LV5[0], 12U); + rtb_MultiportSwitch_l = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation2_a, rtConstP.pooled51, &g_assINCAR_TG_RR_LV5[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_jn[0] = - g_assDTG_R_INC_Y1_LV5[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[0] = + g_assDTG_R_INC_Y1_LV5[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_R_INC_Y2_LV5[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_R_INC_Y2_LV5[rtb_DataTypeConversion1_nc - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_jn[2] = 0; + rtb_VectorConcatenate_by[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch3' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_R_INC_Y3_LV0[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_R_INC_Y3_LV0[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_R_INC_Y4_LV0[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_R_INC_Y4_LV0[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[0] = - g_assDTG_R_INC_X1_LV0[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[0] = + g_assDTG_R_INC_X1_LV0[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_R_INC_X2_LV0[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_R_INC_X2_LV0[rtb_DataTypeConversion1_nc - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_R_INC_Y3_LV1[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_R_INC_Y3_LV1[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_R_INC_Y4_LV1[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_R_INC_Y4_LV1[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[0] = - g_assDTG_R_INC_X1_LV1[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[0] = + g_assDTG_R_INC_X1_LV1[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_R_INC_X2_LV1[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_R_INC_X2_LV1[rtb_DataTypeConversion1_nc - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_R_INC_Y3_LV2[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_R_INC_Y3_LV2[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_R_INC_Y4_LV2[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_R_INC_Y4_LV2[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[0] = - g_assDTG_R_INC_X1_LV2[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[0] = + g_assDTG_R_INC_X1_LV2[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_R_INC_X2_LV2[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_R_INC_X2_LV2[rtb_DataTypeConversion1_nc - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_R_INC_Y3_LV3[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_R_INC_Y3_LV3[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_R_INC_Y4_LV3[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_R_INC_Y4_LV3[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[0] = - g_assDTG_R_INC_X1_LV3[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[0] = + g_assDTG_R_INC_X1_LV3[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_R_INC_X2_LV3[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_R_INC_X2_LV3[rtb_DataTypeConversion1_nc - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_R_INC_Y3_LV4[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_R_INC_Y3_LV4[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_R_INC_Y4_LV4[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_R_INC_Y4_LV4[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[0] = - g_assDTG_R_INC_X1_LV4[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[0] = + g_assDTG_R_INC_X1_LV4[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_R_INC_X2_LV4[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_R_INC_X2_LV4[rtb_DataTypeConversion1_nc - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_R_INC_Y3_LV5[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_R_INC_Y3_LV5[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_R_INC_Y4_LV5[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_R_INC_Y4_LV5[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[0] = - g_assDTG_R_INC_X1_LV5[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[0] = + g_assDTG_R_INC_X1_LV5[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_R_INC_X2_LV5[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_R_INC_X2_LV5[rtb_DataTypeConversion1_nc - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_lo[2] = 0; + rtb_VectorConcatenate_kz[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch3' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_R_INC_X3_LV0[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_R_INC_X3_LV0[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_R_INC_X4_LV0[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_R_INC_X4_LV0[rtb_DataTypeConversion1_nc - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_R_INC_X3_LV1[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_R_INC_X3_LV1[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_R_INC_X4_LV1[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_R_INC_X4_LV1[rtb_DataTypeConversion1_nc - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_R_INC_X3_LV2[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_R_INC_X3_LV2[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_R_INC_X4_LV2[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_R_INC_X4_LV2[rtb_DataTypeConversion1_nc - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_R_INC_X3_LV3[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_R_INC_X3_LV3[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_R_INC_X4_LV3[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_R_INC_X4_LV3[rtb_DataTypeConversion1_nc - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_R_INC_X3_LV4[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_R_INC_X3_LV4[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_R_INC_X4_LV4[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_R_INC_X4_LV4[rtb_DataTypeConversion1_nc - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_R_INC_X3_LV5[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_R_INC_X3_LV5[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_R_INC_X4_LV5[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_R_INC_X4_LV5[rtb_DataTypeConversion1_nc - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: + /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: * DataStoreRead: '/Data Store Read24' - * Sum: '/2.5. X = Inc_Tg - Incar_fb' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' */ - rtb_X = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_MultiportSwitch_m - - rtDW.Incar_RR), rtb_VectorConcatenate_lo, rtb_VectorConcatenate_jn, 4U); + rtb_u5FLU_tg_incar_g = look1_is16lu64n32Ds32_binlcn((int16_t) + (rtb_MultiportSwitch_l - rtDW.Incar_RR), rtb_VectorConcatenate_kz, + rtb_VectorConcatenate_by, 4U); - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' */ - rtb_VectorConcatenate_jb[0] = - g_assDTG_R_AMB_Y1_LV0[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_g[0] = + g_assDTG_R_AMB_Y1_LV0[rtb_DataTypeConversion1_nc - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' */ - rtb_VectorConcatenate_jb[0] = - g_assDTG_R_AMB_Y1_LV1[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_g[0] = + g_assDTG_R_AMB_Y1_LV1[rtb_DataTypeConversion1_nc - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' */ - rtb_VectorConcatenate_jb[0] = - g_assDTG_R_AMB_Y1_LV2[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_g[0] = + g_assDTG_R_AMB_Y1_LV2[rtb_DataTypeConversion1_nc - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' */ - rtb_VectorConcatenate_jb[0] = - g_assDTG_R_AMB_Y1_LV3[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_g[0] = + g_assDTG_R_AMB_Y1_LV3[rtb_DataTypeConversion1_nc - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' */ - rtb_VectorConcatenate_jb[0] = - g_assDTG_R_AMB_Y1_LV4[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_g[0] = + g_assDTG_R_AMB_Y1_LV4[rtb_DataTypeConversion1_nc - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' */ - rtb_VectorConcatenate_jb[0] = - g_assDTG_R_AMB_Y1_LV5[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_g[0] = + g_assDTG_R_AMB_Y1_LV5[rtb_DataTypeConversion1_nc - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_jb[1] = 0; + rtb_VectorConcatenate_g[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_R_AMB_Y2_LV0[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_g[2] = + g_assDTG_R_AMB_Y2_LV0[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ rtb_VectorConcatenate_mx[0] = - g_assDTG_R_AMB_X1_LV0[rtb_DataTypeConversion1_pk - 1]; + g_assDTG_R_AMB_X1_LV0[rtb_DataTypeConversion1_nc - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_R_AMB_Y2_LV1[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_g[2] = + g_assDTG_R_AMB_Y2_LV1[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ rtb_VectorConcatenate_mx[0] = - g_assDTG_R_AMB_X1_LV1[rtb_DataTypeConversion1_pk - 1]; + g_assDTG_R_AMB_X1_LV1[rtb_DataTypeConversion1_nc - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_R_AMB_Y2_LV2[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_g[2] = + g_assDTG_R_AMB_Y2_LV2[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ rtb_VectorConcatenate_mx[0] = - g_assDTG_R_AMB_X1_LV2[rtb_DataTypeConversion1_pk - 1]; + g_assDTG_R_AMB_X1_LV2[rtb_DataTypeConversion1_nc - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_R_AMB_Y2_LV3[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_g[2] = + g_assDTG_R_AMB_Y2_LV3[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ rtb_VectorConcatenate_mx[0] = - g_assDTG_R_AMB_X1_LV3[rtb_DataTypeConversion1_pk - 1]; + g_assDTG_R_AMB_X1_LV3[rtb_DataTypeConversion1_nc - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_R_AMB_Y2_LV4[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_g[2] = + g_assDTG_R_AMB_Y2_LV4[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ rtb_VectorConcatenate_mx[0] = - g_assDTG_R_AMB_X1_LV4[rtb_DataTypeConversion1_pk - 1]; + g_assDTG_R_AMB_X1_LV4[rtb_DataTypeConversion1_nc - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_R_AMB_Y2_LV5[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_g[2] = + g_assDTG_R_AMB_Y2_LV5[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ rtb_VectorConcatenate_mx[0] = - g_assDTG_R_AMB_X1_LV5[rtb_DataTypeConversion1_pk - 1]; + g_assDTG_R_AMB_X1_LV5[rtb_DataTypeConversion1_nc - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_mx[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' */ rtb_VectorConcatenate_mx[2] = - g_assDTG_R_AMB_X2_LV0[rtb_DataTypeConversion1_pk - 1]; + g_assDTG_R_AMB_X2_LV0[rtb_DataTypeConversion1_nc - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' */ rtb_VectorConcatenate_mx[2] = - g_assDTG_R_AMB_X2_LV1[rtb_DataTypeConversion1_pk - 1]; + g_assDTG_R_AMB_X2_LV1[rtb_DataTypeConversion1_nc - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' */ rtb_VectorConcatenate_mx[2] = - g_assDTG_R_AMB_X2_LV2[rtb_DataTypeConversion1_pk - 1]; + g_assDTG_R_AMB_X2_LV2[rtb_DataTypeConversion1_nc - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' */ rtb_VectorConcatenate_mx[2] = - g_assDTG_R_AMB_X2_LV3[rtb_DataTypeConversion1_pk - 1]; + g_assDTG_R_AMB_X2_LV3[rtb_DataTypeConversion1_nc - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' */ rtb_VectorConcatenate_mx[2] = - g_assDTG_R_AMB_X2_LV4[rtb_DataTypeConversion1_pk - 1]; + g_assDTG_R_AMB_X2_LV4[rtb_DataTypeConversion1_nc - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' */ rtb_VectorConcatenate_mx[2] = - g_assDTG_R_AMB_X2_LV5[rtb_DataTypeConversion1_pk - 1]; + g_assDTG_R_AMB_X2_LV5[rtb_DataTypeConversion1_nc - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* Lookup_n-D: '/2.6 FLU_tg_amb' */ - rtb_MultiportSwitch_ag = look1_is16lu64n32Ds32_binlcn(rtb_FLU_tg_correct_a, - rtb_VectorConcatenate_mx, rtb_VectorConcatenate_jb, 2U); + /* Lookup_n-D: '/2.6 FLU_tg_amb' */ + rtb_X = look1_is16lu64n32Ds32_binlcn(rtb_Bias_ct, rtb_VectorConcatenate_mx, + rtb_VectorConcatenate_g, 2U); - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_gu[0] = 0; + rtb_VectorConcatenate_iw[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_R_SUN_Y1_LV0[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_iw[1] = + g_assDTG_R_SUN_Y1_LV0[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_R_SUN_Y2_LV0[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_iw[2] = + g_assDTG_R_SUN_Y2_LV0[rtb_DataTypeConversion1_nc - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_R_SUN_Y1_LV1[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_iw[1] = + g_assDTG_R_SUN_Y1_LV1[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_R_SUN_Y2_LV1[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_iw[2] = + g_assDTG_R_SUN_Y2_LV1[rtb_DataTypeConversion1_nc - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_R_SUN_Y1_LV2[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_iw[1] = + g_assDTG_R_SUN_Y1_LV2[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_R_SUN_Y2_LV2[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_iw[2] = + g_assDTG_R_SUN_Y2_LV2[rtb_DataTypeConversion1_nc - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_R_SUN_Y1_LV3[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_iw[1] = + g_assDTG_R_SUN_Y1_LV3[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_R_SUN_Y2_LV3[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_iw[2] = + g_assDTG_R_SUN_Y2_LV3[rtb_DataTypeConversion1_nc - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_R_SUN_Y1_LV4[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_iw[1] = + g_assDTG_R_SUN_Y1_LV4[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_R_SUN_Y2_LV4[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_iw[2] = + g_assDTG_R_SUN_Y2_LV4[rtb_DataTypeConversion1_nc - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_R_SUN_Y1_LV5[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_iw[1] = + g_assDTG_R_SUN_Y1_LV5[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_R_SUN_Y2_LV5[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_iw[2] = + g_assDTG_R_SUN_Y2_LV5[rtb_DataTypeConversion1_nc - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_l0[0] = 0; + rtb_VectorConcatenate_im[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FU_SUN_X1_LV0[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_im[1] = + g_assDTG_FU_SUN_X1_LV0[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FU_SUN_X2_LV0[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_im[2] = + g_assDTG_FU_SUN_X2_LV0[rtb_DataTypeConversion1_nc - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FU_SUN_X1_LV1[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_im[1] = + g_assDTG_FU_SUN_X1_LV1[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FU_SUN_X2_LV1[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_im[2] = + g_assDTG_FU_SUN_X2_LV1[rtb_DataTypeConversion1_nc - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FU_SUN_X1_LV2[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_im[1] = + g_assDTG_FU_SUN_X1_LV2[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FU_SUN_X2_LV2[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_im[2] = + g_assDTG_FU_SUN_X2_LV2[rtb_DataTypeConversion1_nc - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FU_SUN_X1_LV3[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_im[1] = + g_assDTG_FU_SUN_X1_LV3[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FU_SUN_X2_LV3[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_im[2] = + g_assDTG_FU_SUN_X2_LV3[rtb_DataTypeConversion1_nc - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FU_SUN_X1_LV4[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_im[1] = + g_assDTG_FU_SUN_X1_LV4[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FU_SUN_X2_LV4[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_im[2] = + g_assDTG_FU_SUN_X2_LV4[rtb_DataTypeConversion1_nc - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FU_SUN_X1_LV5[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_im[1] = + g_assDTG_FU_SUN_X1_LV5[rtb_DataTypeConversion1_nc - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FU_SUN_X2_LV5[rtb_DataTypeConversion1_pk - 1]; + rtb_VectorConcatenate_im[2] = + g_assDTG_FU_SUN_X2_LV5[rtb_DataTypeConversion1_nc - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: * DataStoreRead: '/Data Store Read27' */ - rtb_u6FLU_tg_amb_f = look1_bs16ts16Dd_binlc(rtDW.Sun_R, - rtb_VectorConcatenate_l0, rtb_VectorConcatenate_gu, 2U); + rtb_MultiportSwitch_h = look1_bs16ts16Dd_binlc(rtDW.Sun_R, + rtb_VectorConcatenate_im, rtb_VectorConcatenate_iw, 2U); - /* Sum: '/FLU_tg_correct' */ - rtDW.Duct_RR_Tg = (int16_t)((int16_t)((int16_t)(rtb_MultiportSwitch_pp + rtb_X) - + rtb_MultiportSwitch_ag) + rtb_u6FLU_tg_amb_f); + /* Sum: '/FLU_tg_correct' */ + rtb_y_il = (int16_t)((int16_t)((int16_t)(rtb_MultiportSwitch_c + + rtb_u5FLU_tg_incar_g) + rtb_X) + rtb_MultiportSwitch_h); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * Selector: '/Selector' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * Selector: '/Selector' */ - if (rtDW.Duct_RR_Tg > rtb_uDLookupTable7_g[rtb_DataTypeConversion1_pk - 1]) { - /* Sum: '/FLU_tg_correct' */ - rtDW.Duct_RR_Tg = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_pk - 1]; + if (rtb_y_il > rtb_uDLookupTable7_g[rtb_DataTypeConversion1_nc - 1]) { + rtb_y_il = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_nc - 1]; } else { - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ - switch (rtb_Saturation4) { + switch (rtb_timer_out) { case 0: for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_R_MIN_LV0[i]; @@ -11329,98 +14774,191 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' */ - rtb_Switch2_p0 = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_pk - 1]; + /* Selector: '/Selector' */ + rtb_y_fq = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_nc - 1]; - /* Switch: '/Switch' incorporates: - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector' */ - if (rtDW.Duct_RR_Tg < rtb_Switch2_p0) { - /* Sum: '/FLU_tg_correct' */ - rtDW.Duct_RR_Tg = rtb_Switch2_p0; + if (rtb_y_il < rtb_y_fq) { + rtb_y_il = rtb_y_fq; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* If: '/If' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant12' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read76' + */ + if (rtDW.CCU_AC_MAX > 0) { + i = 5; + } else { + i = rtDW.CCU_AUTOMODE_RR; + } + + /* MATLAB Function: '/func g_assAUTO_STEP_DUCT_TG_R' incorporates: + * DataStoreRead: '/Data Store Read20' + * Switch: '/Switch2' + */ + funcg_assAUTO_STEP_DUCT_TG_R(rtDW.LEVEL, (double)i, &rtb_y_k); + + /* Switch: '/Switch' incorporates: + * Constant: '/manual' + * DataStoreRead: '/Data Store Read46' + * DataStoreWrite: '/Data Store Write3' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + if (rtDW.CCU_MODE_RR != 0) { + rtb_y_il += rtb_y_k; + } + + /* End of Switch: '/Switch' */ + + /* If: '/If' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ if ((rtDW.step_start_controle_rear == 0) || (rtDW.step_start_controle_rear == 1) || (rtDW.step_start_controle_rear == 2)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* Sum: '/FLU_tg_correct' incorporates: - * DataStoreRead: '/dtg from Start Control' - * DataStoreWrite: '/Data Store Write5' - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * DataStoreRead: '/dtg from Start Control' + * DataTypeConversion: '/Data Type Conversion' */ rtDW.Duct_RR_Tg = (int16_t)rtDW.Dtg_RR; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write5' incorporates: + * DataStoreWrite: '/Data Store Write3' + * SignalConversion generated from: '/dtg' + */ + rtDW.Duct_RR_Tg = rtb_y_il; + + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant13' + * Constant: '/Constant14' + * Constant: '/Constant15' + * Constant: '/Constant16' + * Constant: '/Constant17' */ - switch (rtb_Saturation4) { + switch (rtb_timer_out) { + case 0: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FL_MAX_LV0[i]; + } + break; + + case 1: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FL_MAX_LV1[i]; + } + break; + + case 2: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FL_MAX_LV2[i]; + } + break; + + case 3: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FL_MAX_LV3[i]; + } + break; + + case 4: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FL_MAX_LV4[i]; + } + break; + + default: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FL_MAX_LV5[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch1' */ + + /* Selector: '/Selector' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_Merge_h = rtb_uDLookupTable7_g[(uint8_t)rtb_Switch5 - 1]; + + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' + */ + switch (rtb_timer_out) { case 0: for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FL_MAX_LV0[i]; } - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant' - * Lookup_n-D: '/1-D Lookup Table' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant' + * Lookup_n-D: '/1-D Lookup Table' * Saturate: '/Saturation' */ rtb_u6FLU_tg_amb_l = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, - rtConstP.pooled46, &g_assTG_FLL_LV0[0], 12U); + rtConstP.pooled51, &g_assTG_FLL_LV0[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table' * Saturate: '/Saturation' */ - rtb_u5FLU_tg_incar_ce = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, - rtConstP.pooled46, &g_assINCAR_TG_FL_LV0[0], 12U); + rtb_u5FLU_tg_incar_k = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, + rtConstP.pooled51, &g_assINCAR_TG_FL_LV0[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[0] = - g_assDTG_FL_INC_Y1_LV0[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[0] = + g_assDTG_FL_INC_Y1_LV0[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_FL_INC_Y2_LV0[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_FL_INC_Y2_LV0[rtb_DataTypeConversion3_gs - 1]; break; case 1: @@ -11428,38 +14966,38 @@ void HVAC_model_step(void) rtb_uDLookupTable7_g[i] = g_assDTG_FL_MAX_LV1[i]; } - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant1' - * Lookup_n-D: '/1-D Lookup Table1' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant1' + * Lookup_n-D: '/1-D Lookup Table1' * Saturate: '/Saturation' */ rtb_u6FLU_tg_amb_l = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, - rtConstP.pooled46, &g_assTG_FLL_LV1[0], 12U); + rtConstP.pooled51, &g_assTG_FLL_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table1' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table1' * Saturate: '/Saturation' */ - rtb_u5FLU_tg_incar_ce = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, - rtConstP.pooled46, &g_assINCAR_TG_FL_LV1[0], 12U); + rtb_u5FLU_tg_incar_k = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, + rtConstP.pooled51, &g_assINCAR_TG_FL_LV1[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[0] = - g_assDTG_FL_INC_Y1_LV1[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[0] = + g_assDTG_FL_INC_Y1_LV1[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_FL_INC_Y2_LV1[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_FL_INC_Y2_LV1[rtb_DataTypeConversion3_gs - 1]; break; case 2: @@ -11467,38 +15005,38 @@ void HVAC_model_step(void) rtb_uDLookupTable7_g[i] = g_assDTG_FL_MAX_LV2[i]; } - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant2' - * Lookup_n-D: '/1-D Lookup Table2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant2' + * Lookup_n-D: '/1-D Lookup Table2' * Saturate: '/Saturation' */ rtb_u6FLU_tg_amb_l = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, - rtConstP.pooled46, &g_assTG_FLL_LV2[0], 12U); + rtConstP.pooled51, &g_assTG_FLL_LV2[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table2' * Saturate: '/Saturation' */ - rtb_u5FLU_tg_incar_ce = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, - rtConstP.pooled46, &g_assINCAR_TG_FL_LV2[0], 12U); + rtb_u5FLU_tg_incar_k = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, + rtConstP.pooled51, &g_assINCAR_TG_FL_LV2[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[0] = - g_assDTG_FL_INC_Y1_LV2[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[0] = + g_assDTG_FL_INC_Y1_LV2[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_FL_INC_Y2_LV2[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_FL_INC_Y2_LV2[rtb_DataTypeConversion3_gs - 1]; break; case 3: @@ -11506,38 +15044,38 @@ void HVAC_model_step(void) rtb_uDLookupTable7_g[i] = g_assDTG_FL_MAX_LV3[i]; } - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant3' - * Lookup_n-D: '/1-D Lookup Table3' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant3' + * Lookup_n-D: '/1-D Lookup Table3' * Saturate: '/Saturation' */ rtb_u6FLU_tg_amb_l = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, - rtConstP.pooled46, &g_assTG_FLL_LV3[0], 12U); + rtConstP.pooled51, &g_assTG_FLL_LV3[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table3' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table3' * Saturate: '/Saturation' */ - rtb_u5FLU_tg_incar_ce = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, - rtConstP.pooled46, &g_assINCAR_TG_FL_LV3[0], 12U); + rtb_u5FLU_tg_incar_k = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, + rtConstP.pooled51, &g_assINCAR_TG_FL_LV3[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[0] = - g_assDTG_FL_INC_Y1_LV3[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[0] = + g_assDTG_FL_INC_Y1_LV3[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_FL_INC_Y2_LV3[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_FL_INC_Y2_LV3[rtb_DataTypeConversion3_gs - 1]; break; case 4: @@ -11545,38 +15083,38 @@ void HVAC_model_step(void) rtb_uDLookupTable7_g[i] = g_assDTG_FL_MAX_LV4[i]; } - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant4' - * Lookup_n-D: '/1-D Lookup Table4' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant4' + * Lookup_n-D: '/1-D Lookup Table4' * Saturate: '/Saturation' */ rtb_u6FLU_tg_amb_l = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, - rtConstP.pooled46, &g_assTG_FLL_LV4[0], 12U); + rtConstP.pooled51, &g_assTG_FLL_LV4[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table4' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table4' * Saturate: '/Saturation' */ - rtb_u5FLU_tg_incar_ce = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, - rtConstP.pooled46, &g_assINCAR_TG_FL_LV4[0], 12U); + rtb_u5FLU_tg_incar_k = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, + rtConstP.pooled51, &g_assINCAR_TG_FL_LV4[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[0] = - g_assDTG_FL_INC_Y1_LV4[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[0] = + g_assDTG_FL_INC_Y1_LV4[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_FL_INC_Y2_LV4[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_FL_INC_Y2_LV4[rtb_DataTypeConversion3_gs - 1]; break; default: @@ -11584,948 +15122,946 @@ void HVAC_model_step(void) rtb_uDLookupTable7_g[i] = g_assDTG_FL_MAX_LV5[i]; } - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant5' - * Lookup_n-D: '/1-D Lookup Table5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant5' + * Lookup_n-D: '/1-D Lookup Table5' * Saturate: '/Saturation' */ rtb_u6FLU_tg_amb_l = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, - rtConstP.pooled46, &g_assTG_FLL_LV5[0], 12U); + rtConstP.pooled51, &g_assTG_FLL_LV5[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table5' * Saturate: '/Saturation' */ - rtb_u5FLU_tg_incar_ce = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, - rtConstP.pooled46, &g_assINCAR_TG_FL_LV5[0], 12U); + rtb_u5FLU_tg_incar_k = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, + rtConstP.pooled51, &g_assINCAR_TG_FL_LV5[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[0] = - g_assDTG_FL_INC_Y1_LV5[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[0] = + g_assDTG_FL_INC_Y1_LV5[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_FL_INC_Y2_LV5[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_FL_INC_Y2_LV5[rtb_DataTypeConversion3_gs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_jn[2] = 0; + rtb_VectorConcatenate_by[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch3' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_FL_INC_Y3_LV0[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_FL_INC_Y3_LV0[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_FL_INC_Y4_LV0[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_FL_INC_Y4_LV0[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[0] = - g_assDTG_FU_INC_X1_LV0[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[0] = + g_assDTG_FU_INC_X1_LV0[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_FU_INC_X2_LV0[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_FU_INC_X2_LV0[rtb_DataTypeConversion3_gs - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_FL_INC_Y3_LV1[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_FL_INC_Y3_LV1[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_FL_INC_Y4_LV1[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_FL_INC_Y4_LV1[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[0] = - g_assDTG_FU_INC_X1_LV1[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[0] = + g_assDTG_FU_INC_X1_LV1[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_FU_INC_X2_LV1[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_FU_INC_X2_LV1[rtb_DataTypeConversion3_gs - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_FL_INC_Y3_LV2[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_FL_INC_Y3_LV2[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_FL_INC_Y4_LV2[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_FL_INC_Y4_LV2[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[0] = - g_assDTG_FU_INC_X1_LV2[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[0] = + g_assDTG_FU_INC_X1_LV2[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_FU_INC_X2_LV2[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_FU_INC_X2_LV2[rtb_DataTypeConversion3_gs - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_FL_INC_Y3_LV3[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_FL_INC_Y3_LV3[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_FL_INC_Y4_LV3[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_FL_INC_Y4_LV3[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[0] = - g_assDTG_FU_INC_X1_LV3[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[0] = + g_assDTG_FU_INC_X1_LV3[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_FU_INC_X2_LV3[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_FU_INC_X2_LV3[rtb_DataTypeConversion3_gs - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_FL_INC_Y3_LV4[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_FL_INC_Y3_LV4[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_FL_INC_Y4_LV4[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_FL_INC_Y4_LV4[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[0] = - g_assDTG_FU_INC_X1_LV4[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[0] = + g_assDTG_FU_INC_X1_LV4[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_FU_INC_X2_LV4[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_FU_INC_X2_LV4[rtb_DataTypeConversion3_gs - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_FL_INC_Y3_LV5[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_FL_INC_Y3_LV5[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_FL_INC_Y4_LV5[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_FL_INC_Y4_LV5[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[0] = - g_assDTG_FU_INC_X1_LV5[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[0] = + g_assDTG_FU_INC_X1_LV5[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_FU_INC_X2_LV5[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[1] = + g_assDTG_FU_INC_X2_LV5[rtb_DataTypeConversion3_gs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_lo[2] = 0; + rtb_VectorConcatenate_kz[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch3' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_FU_INC_X3_LV0[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_FU_INC_X3_LV0[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_FU_INC_X4_LV0[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_FU_INC_X4_LV0[rtb_DataTypeConversion3_gs - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_FU_INC_X3_LV1[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_FU_INC_X3_LV1[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_FU_INC_X4_LV1[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_FU_INC_X4_LV1[rtb_DataTypeConversion3_gs - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_FU_INC_X3_LV2[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_FU_INC_X3_LV2[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_FU_INC_X4_LV2[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_FU_INC_X4_LV2[rtb_DataTypeConversion3_gs - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_FU_INC_X3_LV3[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_FU_INC_X3_LV3[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_FU_INC_X4_LV3[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_FU_INC_X4_LV3[rtb_DataTypeConversion3_gs - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_FU_INC_X3_LV4[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_FU_INC_X3_LV4[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_FU_INC_X4_LV4[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_FU_INC_X4_LV4[rtb_DataTypeConversion3_gs - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_FU_INC_X3_LV5[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[3] = + g_assDTG_FU_INC_X3_LV5[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_FU_INC_X4_LV5[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_kz[4] = + g_assDTG_FU_INC_X4_LV5[rtb_DataTypeConversion3_gs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* Lookup_n-D: '/2.5 FLL_tg_incar' incorporates: + /* Lookup_n-D: '/2.5 FLL_tg_incar' incorporates: * DataStoreRead: '/Data Store Read21' - * Sum: '/2.5. X = Inc_Tg - Incar_fb' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' */ - rtb_MultiportSwitch_j = look1_is16lu64n32Ds32_binlcn((int16_t) - (rtb_u5FLU_tg_incar_ce - rtDW.Incar_FL), rtb_VectorConcatenate_lo, - rtb_VectorConcatenate_jn, 4U); + rtb_MultiportSwitch_l4 = look1_is16lu64n32Ds32_binlcn((int16_t) + (rtb_u5FLU_tg_incar_k - rtDW.Incar_FL), rtb_VectorConcatenate_kz, + rtb_VectorConcatenate_by, 4U); - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[0] = - g_assDTG_FL_AMB_Y1_LV0[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_g[0] = + g_assDTG_FL_AMB_Y1_LV0[rtb_DataTypeConversion3_gs - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[0] = - g_assDTG_FL_AMB_Y1_LV1[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_g[0] = + g_assDTG_FL_AMB_Y1_LV1[rtb_DataTypeConversion3_gs - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[0] = - g_assDTG_FL_AMB_Y1_LV2[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_g[0] = + g_assDTG_FL_AMB_Y1_LV2[rtb_DataTypeConversion3_gs - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[0] = - g_assDTG_FL_AMB_Y1_LV3[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_g[0] = + g_assDTG_FL_AMB_Y1_LV3[rtb_DataTypeConversion3_gs - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[0] = - g_assDTG_FL_AMB_Y1_LV4[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_g[0] = + g_assDTG_FL_AMB_Y1_LV4[rtb_DataTypeConversion3_gs - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[0] = - g_assDTG_FL_AMB_Y1_LV5[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_g[0] = + g_assDTG_FL_AMB_Y1_LV5[rtb_DataTypeConversion3_gs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_jb[1] = 0; + rtb_VectorConcatenate_g[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_FL_AMB_Y2_LV0[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_g[2] = + g_assDTG_FL_AMB_Y2_LV0[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ rtb_VectorConcatenate_mx[0] = - g_assDTG_FL_AMB_X1_LV0[rtb_DataTypeConversion_kv - 1]; + g_assDTG_FL_AMB_X1_LV0[rtb_DataTypeConversion3_gs - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_FL_AMB_Y2_LV1[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_g[2] = + g_assDTG_FL_AMB_Y2_LV1[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ rtb_VectorConcatenate_mx[0] = - g_assDTG_FL_AMB_X1_LV1[rtb_DataTypeConversion_kv - 1]; + g_assDTG_FL_AMB_X1_LV1[rtb_DataTypeConversion3_gs - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_FL_AMB_Y2_LV2[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_g[2] = + g_assDTG_FL_AMB_Y2_LV2[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ rtb_VectorConcatenate_mx[0] = - g_assDTG_FL_AMB_X1_LV2[rtb_DataTypeConversion_kv - 1]; + g_assDTG_FL_AMB_X1_LV2[rtb_DataTypeConversion3_gs - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_FL_AMB_Y2_LV3[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_g[2] = + g_assDTG_FL_AMB_Y2_LV3[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ rtb_VectorConcatenate_mx[0] = - g_assDTG_FL_AMB_X1_LV3[rtb_DataTypeConversion_kv - 1]; + g_assDTG_FL_AMB_X1_LV3[rtb_DataTypeConversion3_gs - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_FL_AMB_Y2_LV4[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_g[2] = + g_assDTG_FL_AMB_Y2_LV4[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ rtb_VectorConcatenate_mx[0] = - g_assDTG_FL_AMB_X1_LV4[rtb_DataTypeConversion_kv - 1]; + g_assDTG_FL_AMB_X1_LV4[rtb_DataTypeConversion3_gs - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_FL_AMB_Y2_LV5[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_g[2] = + g_assDTG_FL_AMB_Y2_LV5[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ rtb_VectorConcatenate_mx[0] = - g_assDTG_FL_AMB_X1_LV5[rtb_DataTypeConversion_kv - 1]; + g_assDTG_FL_AMB_X1_LV5[rtb_DataTypeConversion3_gs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_mx[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_mx[2] = - g_assDTG_FL_AMB_X2_LV0[rtb_DataTypeConversion_kv - 1]; + g_assDTG_FL_AMB_X2_LV0[rtb_DataTypeConversion3_gs - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_mx[2] = - g_assDTG_FL_AMB_X2_LV1[rtb_DataTypeConversion_kv - 1]; + g_assDTG_FL_AMB_X2_LV1[rtb_DataTypeConversion3_gs - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_mx[2] = - g_assDTG_FL_AMB_X2_LV2[rtb_DataTypeConversion_kv - 1]; + g_assDTG_FL_AMB_X2_LV2[rtb_DataTypeConversion3_gs - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_mx[2] = - g_assDTG_FL_AMB_X2_LV3[rtb_DataTypeConversion_kv - 1]; + g_assDTG_FL_AMB_X2_LV3[rtb_DataTypeConversion3_gs - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_mx[2] = - g_assDTG_FL_AMB_X2_LV4[rtb_DataTypeConversion_kv - 1]; + g_assDTG_FL_AMB_X2_LV4[rtb_DataTypeConversion3_gs - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_VectorConcatenate_mx[2] = - g_assDTG_FL_AMB_X2_LV5[rtb_DataTypeConversion_kv - 1]; + g_assDTG_FL_AMB_X2_LV5[rtb_DataTypeConversion3_gs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* Lookup_n-D: '/2.6 FLL_tg_amb' */ - rtb_MultiportSwitch1_oi = look1_is16lu64n32Ds32_binlcn(rtb_FLU_tg_correct_a, - rtb_VectorConcatenate_mx, rtb_VectorConcatenate_jb, 2U); + /* Lookup_n-D: '/2.6 FLL_tg_amb' */ + rtb_MultiportSwitch1_oi = look1_is16lu64n32Ds32_binlcn(rtb_Bias_ct, + rtb_VectorConcatenate_mx, rtb_VectorConcatenate_g, 2U); - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_gu[0] = 0; + rtb_VectorConcatenate_iw[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_FL_SUN_Y1_LV0[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_iw[1] = + g_assDTG_FL_SUN_Y1_LV0[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_FL_SUN_Y2_LV0[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_iw[2] = + g_assDTG_FL_SUN_Y2_LV0[rtb_DataTypeConversion3_gs - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_FL_SUN_Y1_LV1[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_iw[1] = + g_assDTG_FL_SUN_Y1_LV1[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_FL_SUN_Y2_LV1[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_iw[2] = + g_assDTG_FL_SUN_Y2_LV1[rtb_DataTypeConversion3_gs - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_FL_SUN_Y1_LV2[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_iw[1] = + g_assDTG_FL_SUN_Y1_LV2[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_FL_SUN_Y2_LV2[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_iw[2] = + g_assDTG_FL_SUN_Y2_LV2[rtb_DataTypeConversion3_gs - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_FL_SUN_Y1_LV3[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_iw[1] = + g_assDTG_FL_SUN_Y1_LV3[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_FL_SUN_Y2_LV3[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_iw[2] = + g_assDTG_FL_SUN_Y2_LV3[rtb_DataTypeConversion3_gs - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_FL_SUN_Y1_LV4[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_iw[1] = + g_assDTG_FL_SUN_Y1_LV4[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_FL_SUN_Y2_LV4[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_iw[2] = + g_assDTG_FL_SUN_Y2_LV4[rtb_DataTypeConversion3_gs - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_FL_SUN_Y1_LV5[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_iw[1] = + g_assDTG_FL_SUN_Y1_LV5[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_FL_SUN_Y2_LV5[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_iw[2] = + g_assDTG_FL_SUN_Y2_LV5[rtb_DataTypeConversion3_gs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_l0[0] = 0; + rtb_VectorConcatenate_im[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FL_SUN_X1_LV0[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_im[1] = + g_assDTG_FL_SUN_X1_LV0[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FL_SUN_X2_LV0[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_im[2] = + g_assDTG_FL_SUN_X2_LV0[rtb_DataTypeConversion3_gs - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FL_SUN_X1_LV1[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_im[1] = + g_assDTG_FL_SUN_X1_LV1[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FL_SUN_X2_LV1[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_im[2] = + g_assDTG_FL_SUN_X2_LV1[rtb_DataTypeConversion3_gs - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FL_SUN_X1_LV2[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_im[1] = + g_assDTG_FL_SUN_X1_LV2[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FL_SUN_X2_LV2[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_im[2] = + g_assDTG_FL_SUN_X2_LV2[rtb_DataTypeConversion3_gs - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FL_SUN_X1_LV3[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_im[1] = + g_assDTG_FL_SUN_X1_LV3[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FL_SUN_X2_LV3[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_im[2] = + g_assDTG_FL_SUN_X2_LV3[rtb_DataTypeConversion3_gs - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FL_SUN_X1_LV4[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_im[1] = + g_assDTG_FL_SUN_X1_LV4[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FL_SUN_X2_LV4[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_im[2] = + g_assDTG_FL_SUN_X2_LV4[rtb_DataTypeConversion3_gs - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FL_SUN_X1_LV5[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_im[1] = + g_assDTG_FL_SUN_X1_LV5[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FL_SUN_X2_LV5[rtb_DataTypeConversion_kv - 1]; + rtb_VectorConcatenate_im[2] = + g_assDTG_FL_SUN_X2_LV5[rtb_DataTypeConversion3_gs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Lookup_n-D: '/2.6 FLL_tg_amb' incorporates: + /* Lookup_n-D: '/2.6 FLL_tg_amb' incorporates: * DataStoreRead: '/Data Store Read26' */ - rtb_Bias3 = look1_bs16ts16Dd_binlc(rtDW.Sun_L, rtb_VectorConcatenate_l0, - rtb_VectorConcatenate_gu, 2U); + rtb_Bias3 = look1_bs16ts16Dd_binlc(rtDW.Sun_L, rtb_VectorConcatenate_im, + rtb_VectorConcatenate_iw, 2U); - /* Sum: '/FLU_tg_correct' */ - rtb_FLU_tg_correct_i = (int16_t)((int16_t)((int16_t)(rtb_u6FLU_tg_amb_l + - rtb_MultiportSwitch_j) + rtb_MultiportSwitch1_oi) + rtb_Bias3); + /* Sum: '/FLU_tg_correct' */ + rtb_y_k = (int16_t)((int16_t)((int16_t)(rtb_u6FLU_tg_amb_l + + rtb_MultiportSwitch_l4) + rtb_MultiportSwitch1_oi) + rtb_Bias3); - /* Switch: '/Switch2' incorporates: - * DataStoreWrite: '/Data Store Write4' - * DataTypeConversion: '/Data Type Conversion1' - * RelationalOperator: '/LowerRelop1' - * Selector: '/Selector' - * Selector: '/Selector' + /* Switch: '/Switch2' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * RelationalOperator: '/LowerRelop1' + * Selector: '/Selector' + * Selector: '/Selector' */ - if (rtb_FLU_tg_correct_i > rtb_uDLookupTable7_g[rtb_DataTypeConversion_kv - 1]) - { - rtb_FLU_tg_correct_i = rtb_uDLookupTable7_g[rtb_DataTypeConversion_kv - 1]; + if (rtb_y_k > rtb_uDLookupTable7_g[rtb_DataTypeConversion3_gs - 1]) { + rtb_y_k = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_gs - 1]; } else { - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ - switch (rtb_Saturation4) { + switch (rtb_timer_out) { case 0: for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FL_MIN_LV0[i]; @@ -12563,100 +16099,264 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' */ - rtb_Switch2_p0 = rtb_uDLookupTable7_g[rtb_DataTypeConversion_kv - 1]; + /* Selector: '/Selector' */ + rtb_y_fq = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_gs - 1]; - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write4' - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector' */ - if (rtb_FLU_tg_correct_i < rtb_Switch2_p0) { - rtb_FLU_tg_correct_i = rtb_Switch2_p0; + if (rtb_y_k < rtb_y_fq) { + rtb_y_k = rtb_y_fq; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* If: '/If' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/mode from Start Control' - * DataStoreWrite: '/Data Store Write6' - * DataTypeConversion: '/Data Type Conversion' - * Logic: '/Logical Operator' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * Sum: '/Sum' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant12' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read76' + */ + if (rtDW.CCU_AC_MAX > 0) { + i = 5; + } else { + i = rtDW.CCU_AUTOMODE_FL; + } + + /* MATLAB Function: '/func g_assAUTO_STEP_DUCT_TG_L' incorporates: + * DataStoreRead: '/Data Store Read20' + * Switch: '/Switch2' + */ + funcg_assAUTO_STEP_DUCT_TG_L(rtDW.LEVEL, (double)i, &rtb_y_j1); + + /* Switch: '/Switch' incorporates: + * Constant: '/manual' + * DataStoreRead: '/Data Store Read46' + * DataStoreWrite: '/Data Store Write4' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + if (rtDW.CCU_MODE_FL != 0) { + rtb_y_k += rtb_y_j1; + } + + /* End of Switch: '/Switch' */ + + /* If: '/If' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/mode from Start Control' + * DataStoreWrite: '/Data Store Write4' + * DataTypeConversion: '/Data Type Conversion' + * Logic: '/Logical Operator' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * SignalConversion generated from: '/FXU' + * Sum: '/Sum' */ if ((rtDW.step_start_controle_front == 0) || (rtDW.step_start_controle_front == 1) || (rtDW.step_start_controle_front == 2)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - rtb_FLU_tg_correct_i = (int16_t)rtDW.Dtg_FLL; + rtb_y_fq = (int16_t)rtDW.Dtg_FLL; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' + */ + rtb_y_fq = rtb_y_k; + + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - rtb_FLU_tg_correct_i += rtDW.Dtg_individual_foot_FL; + rtb_y_j1 = (int16_t)(rtb_y_fq + rtDW.Dtg_individual_foot_FL); - /* End of If: '/If' */ + /* End of If: '/If' */ - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* Switch: '/Switch2' incorporates: + * DataStoreWrite: '/Data Store Write6' + * RelationalOperator: '/LowerRelop1' */ - switch (rtb_Saturation4) { + if (rtb_y_j1 > rtb_Merge_h) { + rtb_y_j1 = rtb_Merge_h; + } else { + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' + * Constant: '/Constant6' + */ + switch (rtb_timer_out) { + case 0: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FL_MIN_LV0[i]; + } + break; + + case 1: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FL_MIN_LV1[i]; + } + break; + + case 2: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FL_MIN_LV2[i]; + } + break; + + case 3: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FL_MIN_LV3[i]; + } + break; + + case 4: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FL_MIN_LV4[i]; + } + break; + + default: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FL_MIN_LV5[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* Selector: '/Selector1' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_y_fq = rtb_uDLookupTable7_g[(uint8_t)rtb_Switch5 - 1]; + + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write6' + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector1' + */ + if (rtb_y_j1 < rtb_y_fq) { + rtb_y_j1 = rtb_y_fq; + } + + /* End of Switch: '/Switch' */ + } + + /* End of Switch: '/Switch2' */ + + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant13' + * Constant: '/Constant14' + * Constant: '/Constant15' + * Constant: '/Constant16' + * Constant: '/Constant17' + */ + switch (rtb_timer_out) { + case 0: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FL_MAX_LV0[i]; + } + break; + + case 1: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FL_MAX_LV1[i]; + } + break; + + case 2: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FL_MAX_LV2[i]; + } + break; + + case 3: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FL_MAX_LV3[i]; + } + break; + + case 4: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FL_MAX_LV4[i]; + } + break; + + default: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FL_MAX_LV5[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch1' */ + + /* Selector: '/Selector' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_u6FLU_tg_amb_f = rtb_uDLookupTable7_g[(uint8_t)rtb_Switch5 - 1]; + + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' + */ + switch (rtb_timer_out) { case 0: for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FL_MAX_LV0[i]; } - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant' - * Lookup_n-D: '/1-D Lookup Table' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant' + * Lookup_n-D: '/1-D Lookup Table' * Saturate: '/Saturation1' */ - rtb_Bias2_n = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled46, + rtb_Merge_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled51, &g_assTG_FRL_LV0[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table' * Saturate: '/Saturation1' */ - rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled46, + rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled51, &g_assINCAR_TG_FR_LV0[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[0] = - g_assDTG_FL_INC_Y1_LV0[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[0] = g_assDTG_FL_INC_Y1_LV0[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_FL_INC_Y2_LV0[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[1] = g_assDTG_FL_INC_Y2_LV0[CCU_FRONT_SYNC - 1]; break; case 1: @@ -12664,38 +16364,36 @@ void HVAC_model_step(void) rtb_uDLookupTable7_g[i] = g_assDTG_FL_MAX_LV1[i]; } - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant1' - * Lookup_n-D: '/1-D Lookup Table1' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant1' + * Lookup_n-D: '/1-D Lookup Table1' * Saturate: '/Saturation1' */ - rtb_Bias2_n = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled46, + rtb_Merge_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled51, &g_assTG_FRL_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table1' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table1' * Saturate: '/Saturation1' */ - rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled46, + rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled51, &g_assINCAR_TG_FR_LV1[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[0] = - g_assDTG_FL_INC_Y1_LV1[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[0] = g_assDTG_FL_INC_Y1_LV1[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_FL_INC_Y2_LV1[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[1] = g_assDTG_FL_INC_Y2_LV1[CCU_FRONT_SYNC - 1]; break; case 2: @@ -12703,38 +16401,36 @@ void HVAC_model_step(void) rtb_uDLookupTable7_g[i] = g_assDTG_FL_MAX_LV2[i]; } - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant2' - * Lookup_n-D: '/1-D Lookup Table2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant2' + * Lookup_n-D: '/1-D Lookup Table2' * Saturate: '/Saturation1' */ - rtb_Bias2_n = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled46, + rtb_Merge_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled51, &g_assTG_FRL_LV2[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table2' * Saturate: '/Saturation1' */ - rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled46, + rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled51, &g_assINCAR_TG_FR_LV2[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[0] = - g_assDTG_FL_INC_Y1_LV2[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[0] = g_assDTG_FL_INC_Y1_LV2[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_FL_INC_Y2_LV2[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[1] = g_assDTG_FL_INC_Y2_LV2[CCU_FRONT_SYNC - 1]; break; case 3: @@ -12742,38 +16438,36 @@ void HVAC_model_step(void) rtb_uDLookupTable7_g[i] = g_assDTG_FL_MAX_LV3[i]; } - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant3' - * Lookup_n-D: '/1-D Lookup Table3' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant3' + * Lookup_n-D: '/1-D Lookup Table3' * Saturate: '/Saturation1' */ - rtb_Bias2_n = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled46, + rtb_Merge_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled51, &g_assTG_FRL_LV3[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table3' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table3' * Saturate: '/Saturation1' */ - rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled46, + rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled51, &g_assINCAR_TG_FR_LV3[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[0] = - g_assDTG_FL_INC_Y1_LV3[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[0] = g_assDTG_FL_INC_Y1_LV3[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_FL_INC_Y2_LV3[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[1] = g_assDTG_FL_INC_Y2_LV3[CCU_FRONT_SYNC - 1]; break; case 4: @@ -12781,38 +16475,36 @@ void HVAC_model_step(void) rtb_uDLookupTable7_g[i] = g_assDTG_FL_MAX_LV4[i]; } - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant4' - * Lookup_n-D: '/1-D Lookup Table4' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant4' + * Lookup_n-D: '/1-D Lookup Table4' * Saturate: '/Saturation1' */ - rtb_Bias2_n = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled46, + rtb_Merge_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled51, &g_assTG_FRL_LV4[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table4' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table4' * Saturate: '/Saturation1' */ - rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled46, + rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled51, &g_assINCAR_TG_FR_LV4[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[0] = - g_assDTG_FL_INC_Y1_LV4[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[0] = g_assDTG_FL_INC_Y1_LV4[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_FL_INC_Y2_LV4[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[1] = g_assDTG_FL_INC_Y2_LV4[CCU_FRONT_SYNC - 1]; break; default: @@ -12820,947 +16512,859 @@ void HVAC_model_step(void) rtb_uDLookupTable7_g[i] = g_assDTG_FL_MAX_LV5[i]; } - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant5' - * Lookup_n-D: '/1-D Lookup Table5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant5' + * Lookup_n-D: '/1-D Lookup Table5' * Saturate: '/Saturation1' */ - rtb_Bias2_n = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled46, + rtb_Merge_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled51, &g_assTG_FRL_LV5[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table5' * Saturate: '/Saturation1' */ - rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled46, + rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled51, &g_assINCAR_TG_FR_LV5[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[0] = - g_assDTG_FL_INC_Y1_LV5[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[0] = g_assDTG_FL_INC_Y1_LV5[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[1] = - g_assDTG_FL_INC_Y2_LV5[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[1] = g_assDTG_FL_INC_Y2_LV5[CCU_FRONT_SYNC - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_jn[2] = 0; + rtb_VectorConcatenate_by[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch3' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_FL_INC_Y3_LV0[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[3] = g_assDTG_FL_INC_Y3_LV0[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_FL_INC_Y4_LV0[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[4] = g_assDTG_FL_INC_Y4_LV0[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[0] = - g_assDTG_FU_INC_X1_LV0[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV0[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_FU_INC_X2_LV0[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV0[CCU_FRONT_SYNC - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_FL_INC_Y3_LV1[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[3] = g_assDTG_FL_INC_Y3_LV1[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_FL_INC_Y4_LV1[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[4] = g_assDTG_FL_INC_Y4_LV1[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[0] = - g_assDTG_FU_INC_X1_LV1[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV1[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_FU_INC_X2_LV1[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV1[CCU_FRONT_SYNC - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_FL_INC_Y3_LV2[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[3] = g_assDTG_FL_INC_Y3_LV2[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_FL_INC_Y4_LV2[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[4] = g_assDTG_FL_INC_Y4_LV2[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[0] = - g_assDTG_FU_INC_X1_LV2[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV2[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_FU_INC_X2_LV2[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV2[CCU_FRONT_SYNC - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_FL_INC_Y3_LV3[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[3] = g_assDTG_FL_INC_Y3_LV3[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_FL_INC_Y4_LV3[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[4] = g_assDTG_FL_INC_Y4_LV3[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[0] = - g_assDTG_FU_INC_X1_LV3[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV3[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_FU_INC_X2_LV3[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV3[CCU_FRONT_SYNC - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_FL_INC_Y3_LV4[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[3] = g_assDTG_FL_INC_Y3_LV4[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_FL_INC_Y4_LV4[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[4] = g_assDTG_FL_INC_Y4_LV4[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[0] = - g_assDTG_FU_INC_X1_LV4[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV4[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_FU_INC_X2_LV4[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV4[CCU_FRONT_SYNC - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[3] = - g_assDTG_FL_INC_Y3_LV5[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[3] = g_assDTG_FL_INC_Y3_LV5[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jn[4] = - g_assDTG_FL_INC_Y4_LV5[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_by[4] = g_assDTG_FL_INC_Y4_LV5[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[0] = - g_assDTG_FU_INC_X1_LV5[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV5[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[1] = - g_assDTG_FU_INC_X2_LV5[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV5[CCU_FRONT_SYNC - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_lo[2] = 0; + rtb_VectorConcatenate_kz[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch3' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_FU_INC_X3_LV0[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV0[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_FU_INC_X4_LV0[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV0[CCU_FRONT_SYNC - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_FU_INC_X3_LV1[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV1[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_FU_INC_X4_LV1[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV1[CCU_FRONT_SYNC - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_FU_INC_X3_LV2[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV2[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_FU_INC_X4_LV2[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV2[CCU_FRONT_SYNC - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_FU_INC_X3_LV3[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV3[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_FU_INC_X4_LV3[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV3[CCU_FRONT_SYNC - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_FU_INC_X3_LV4[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV4[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_FU_INC_X4_LV4[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV4[CCU_FRONT_SYNC - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[3] = - g_assDTG_FU_INC_X3_LV5[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV5[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lo[4] = - g_assDTG_FU_INC_X4_LV5[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV5[CCU_FRONT_SYNC - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* Lookup_n-D: '/2.5 FRL_tg_incar' incorporates: + /* Lookup_n-D: '/2.5 FRL_tg_incar' incorporates: * DataStoreRead: '/Data Store Read22' - * Sum: '/2.5. X = Inc_Tg - Incar_fb' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' */ rtb_Bias1_h = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_Bias4 - rtDW.Incar_FR), - rtb_VectorConcatenate_lo, rtb_VectorConcatenate_jn, 4U); + rtb_VectorConcatenate_kz, rtb_VectorConcatenate_by, 4U); - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[0] = - g_assDTG_FL_AMB_Y1_LV0[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_g[0] = g_assDTG_FL_AMB_Y1_LV0[CCU_FRONT_SYNC - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[0] = - g_assDTG_FL_AMB_Y1_LV1[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_g[0] = g_assDTG_FL_AMB_Y1_LV1[CCU_FRONT_SYNC - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[0] = - g_assDTG_FL_AMB_Y1_LV2[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_g[0] = g_assDTG_FL_AMB_Y1_LV2[CCU_FRONT_SYNC - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[0] = - g_assDTG_FL_AMB_Y1_LV3[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_g[0] = g_assDTG_FL_AMB_Y1_LV3[CCU_FRONT_SYNC - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[0] = - g_assDTG_FL_AMB_Y1_LV4[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_g[0] = g_assDTG_FL_AMB_Y1_LV4[CCU_FRONT_SYNC - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[0] = - g_assDTG_FL_AMB_Y1_LV5[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_g[0] = g_assDTG_FL_AMB_Y1_LV5[CCU_FRONT_SYNC - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_jb[1] = 0; + rtb_VectorConcatenate_g[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_FL_AMB_Y2_LV0[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_g[2] = g_assDTG_FL_AMB_Y2_LV0[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[0] = - g_assDTG_FL_AMB_X1_LV0[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_mx[0] = g_assDTG_FL_AMB_X1_LV0[CCU_FRONT_SYNC - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_FL_AMB_Y2_LV1[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_g[2] = g_assDTG_FL_AMB_Y2_LV1[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[0] = - g_assDTG_FL_AMB_X1_LV1[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_mx[0] = g_assDTG_FL_AMB_X1_LV1[CCU_FRONT_SYNC - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_FL_AMB_Y2_LV2[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_g[2] = g_assDTG_FL_AMB_Y2_LV2[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[0] = - g_assDTG_FL_AMB_X1_LV2[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_mx[0] = g_assDTG_FL_AMB_X1_LV2[CCU_FRONT_SYNC - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_FL_AMB_Y2_LV3[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_g[2] = g_assDTG_FL_AMB_Y2_LV3[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[0] = - g_assDTG_FL_AMB_X1_LV3[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_mx[0] = g_assDTG_FL_AMB_X1_LV3[CCU_FRONT_SYNC - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_FL_AMB_Y2_LV4[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_g[2] = g_assDTG_FL_AMB_Y2_LV4[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[0] = - g_assDTG_FL_AMB_X1_LV4[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_mx[0] = g_assDTG_FL_AMB_X1_LV4[CCU_FRONT_SYNC - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[2] = - g_assDTG_FL_AMB_Y2_LV5[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_g[2] = g_assDTG_FL_AMB_Y2_LV5[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[0] = - g_assDTG_FL_AMB_X1_LV5[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_mx[0] = g_assDTG_FL_AMB_X1_LV5[CCU_FRONT_SYNC - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_mx[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[2] = - g_assDTG_FL_AMB_X2_LV0[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_mx[2] = g_assDTG_FL_AMB_X2_LV0[CCU_FRONT_SYNC - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[2] = - g_assDTG_FL_AMB_X2_LV1[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_mx[2] = g_assDTG_FL_AMB_X2_LV1[CCU_FRONT_SYNC - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[2] = - g_assDTG_FL_AMB_X2_LV2[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_mx[2] = g_assDTG_FL_AMB_X2_LV2[CCU_FRONT_SYNC - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[2] = - g_assDTG_FL_AMB_X2_LV3[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_mx[2] = g_assDTG_FL_AMB_X2_LV3[CCU_FRONT_SYNC - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[2] = - g_assDTG_FL_AMB_X2_LV4[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_mx[2] = g_assDTG_FL_AMB_X2_LV4[CCU_FRONT_SYNC - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[2] = - g_assDTG_FL_AMB_X2_LV5[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_mx[2] = g_assDTG_FL_AMB_X2_LV5[CCU_FRONT_SYNC - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* Lookup_n-D: '/2.6 FLL_tg_amb' */ - rtb_Bias_ct = look1_is16lu64n32Ds32_binlcn(rtb_FLU_tg_correct_a, - rtb_VectorConcatenate_mx, rtb_VectorConcatenate_jb, 2U); + /* Lookup_n-D: '/2.6 FLL_tg_amb' */ + rtb_Bias_ct = look1_is16lu64n32Ds32_binlcn(rtb_Bias_ct, + rtb_VectorConcatenate_mx, rtb_VectorConcatenate_g, 2U); - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_gu[0] = 0; + rtb_VectorConcatenate_iw[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_FL_SUN_Y1_LV0[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_iw[1] = g_assDTG_FL_SUN_Y1_LV0[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_FL_SUN_Y2_LV0[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_iw[2] = g_assDTG_FL_SUN_Y2_LV0[CCU_FRONT_SYNC - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_FL_SUN_Y1_LV1[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_iw[1] = g_assDTG_FL_SUN_Y1_LV1[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_FL_SUN_Y2_LV1[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_iw[2] = g_assDTG_FL_SUN_Y2_LV1[CCU_FRONT_SYNC - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_FL_SUN_Y1_LV2[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_iw[1] = g_assDTG_FL_SUN_Y1_LV2[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_FL_SUN_Y2_LV2[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_iw[2] = g_assDTG_FL_SUN_Y2_LV2[CCU_FRONT_SYNC - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_FL_SUN_Y1_LV3[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_iw[1] = g_assDTG_FL_SUN_Y1_LV3[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_FL_SUN_Y2_LV3[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_iw[2] = g_assDTG_FL_SUN_Y2_LV3[CCU_FRONT_SYNC - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_FL_SUN_Y1_LV4[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_iw[1] = g_assDTG_FL_SUN_Y1_LV4[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_FL_SUN_Y2_LV4[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_iw[2] = g_assDTG_FL_SUN_Y2_LV4[CCU_FRONT_SYNC - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[1] = - g_assDTG_FL_SUN_Y1_LV5[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_iw[1] = g_assDTG_FL_SUN_Y1_LV5[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = - g_assDTG_FL_SUN_Y2_LV5[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_iw[2] = g_assDTG_FL_SUN_Y2_LV5[CCU_FRONT_SYNC - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_l0[0] = 0; + rtb_VectorConcatenate_im[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FL_SUN_X1_LV0[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_im[1] = g_assDTG_FL_SUN_X1_LV0[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FL_SUN_X2_LV0[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_im[2] = g_assDTG_FL_SUN_X2_LV0[CCU_FRONT_SYNC - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FL_SUN_X1_LV1[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_im[1] = g_assDTG_FL_SUN_X1_LV1[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FL_SUN_X2_LV1[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_im[2] = g_assDTG_FL_SUN_X2_LV1[CCU_FRONT_SYNC - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FL_SUN_X1_LV2[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_im[1] = g_assDTG_FL_SUN_X1_LV2[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FL_SUN_X2_LV2[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_im[2] = g_assDTG_FL_SUN_X2_LV2[CCU_FRONT_SYNC - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FL_SUN_X1_LV3[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_im[1] = g_assDTG_FL_SUN_X1_LV3[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FL_SUN_X2_LV3[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_im[2] = g_assDTG_FL_SUN_X2_LV3[CCU_FRONT_SYNC - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FL_SUN_X1_LV4[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_im[1] = g_assDTG_FL_SUN_X1_LV4[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FL_SUN_X2_LV4[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_im[2] = g_assDTG_FL_SUN_X2_LV4[CCU_FRONT_SYNC - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[1] = - g_assDTG_FL_SUN_X1_LV5[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_im[1] = g_assDTG_FL_SUN_X1_LV5[CCU_FRONT_SYNC - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = - g_assDTG_FL_SUN_X2_LV5[rtb_DataTypeConversion1_ao - 1]; + rtb_VectorConcatenate_im[2] = g_assDTG_FL_SUN_X2_LV5[CCU_FRONT_SYNC - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Lookup_n-D: '/2.6 FLL_tg_amb' incorporates: + /* Lookup_n-D: '/2.6 FLL_tg_amb' incorporates: * DataStoreRead: '/Data Store Read27' */ - rtb_Bias5 = look1_bs16ts16Dd_binlc(rtDW.Sun_R, rtb_VectorConcatenate_l0, - rtb_VectorConcatenate_gu, 2U); + rtb_Bias5 = look1_bs16ts16Dd_binlc(rtDW.Sun_R, rtb_VectorConcatenate_im, + rtb_VectorConcatenate_iw, 2U); - /* Sum: '/FLU_tg_correct' */ - rtb_FLU_tg_correct_a = (int16_t)((int16_t)((int16_t)(rtb_Bias2_n + rtb_Bias1_h) + /* Sum: '/FLU_tg_correct' */ + rtb_FLU_tg_correct_o = (int16_t)((int16_t)((int16_t)(rtb_Merge_h + rtb_Bias1_h) + rtb_Bias_ct) + rtb_Bias5); - /* Switch: '/Switch2' incorporates: - * DataStoreWrite: '/Data Store Write5' - * DataTypeConversion: '/Data Type Conversion2' - * RelationalOperator: '/LowerRelop1' - * Selector: '/Selector' - * Selector: '/Selector' + /* Switch: '/Switch2' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + * RelationalOperator: '/LowerRelop1' + * Selector: '/Selector' + * Selector: '/Selector' */ - if (rtb_FLU_tg_correct_a > rtb_uDLookupTable7_g[rtb_DataTypeConversion1_ao - 1]) - { - rtb_FLU_tg_correct_a = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_ao - 1]; + if (rtb_FLU_tg_correct_o > rtb_uDLookupTable7_g[CCU_FRONT_SYNC - 1]) { + rtb_FLU_tg_correct_o = rtb_uDLookupTable7_g[CCU_FRONT_SYNC - 1]; } else { - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ - switch (rtb_Saturation4) { + switch (rtb_timer_out) { case 0: for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assDTG_FL_MIN_LV0[i]; @@ -13798,281 +17402,401 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' */ - rtb_Switch2_p0 = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_ao - 1]; + /* Selector: '/Selector' */ + rtb_y_fq = rtb_uDLookupTable7_g[CCU_FRONT_SYNC - 1]; - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write5' - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector' */ - if (rtb_FLU_tg_correct_a < rtb_Switch2_p0) { - rtb_FLU_tg_correct_a = rtb_Switch2_p0; + if (rtb_FLU_tg_correct_o < rtb_y_fq) { + rtb_FLU_tg_correct_o = rtb_y_fq; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* If: '/If' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/mode from Start Control' - * DataStoreWrite: '/Data Store Write7' - * DataTypeConversion: '/Data Type Conversion' - * Logic: '/Logical Operator' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * Sum: '/Sum' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant12' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read76' + */ + if (rtDW.CCU_AC_MAX > 0) { + i = 5; + } else { + i = rtDW.CCU_AUTOMODE_FR; + } + + /* MATLAB Function: '/func g_assAUTO_STEP_DUCT_TG_L' incorporates: + * DataStoreRead: '/Data Store Read20' + * Switch: '/Switch2' + */ + funcg_assAUTO_STEP_DUCT_TG_L(rtDW.LEVEL, (double)i, &rtb_y_fq); + + /* If: '/If' incorporates: + * Constant: '/manual' + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/mode from Start Control' + * DataTypeConversion: '/Data Type Conversion' + * Logic: '/Logical Operator' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * Sum: '/Sum' + * Sum: '/Add' + * Switch: '/Switch' */ if ((rtDW.step_start_controle_front == 0) || (rtDW.step_start_controle_front == 1) || (rtDW.step_start_controle_front == 2)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - rtb_FLU_tg_correct_a = (int16_t)rtDW.Dtg_FLR; + rtb_FLU_tg_correct_o = (int16_t)rtDW.Dtg_FLR; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ + } else if (rtDW.CCU_MODE_FR != 0) { + rtb_FLU_tg_correct_o += rtb_y_fq; } - rtb_FLU_tg_correct_a += rtDW.Dtg_individual_foot_FR; + rtb_FLU_tg_correct_o += rtDW.Dtg_individual_foot_FR; - /* End of If: '/If' */ + /* End of If: '/If' */ - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_lo[0] = rtb_u6FLU_tg_amb_l; + /* Switch: '/Switch2' incorporates: + * DataStoreWrite: '/Data Store Write7' + * RelationalOperator: '/LowerRelop1' + */ + if (rtb_FLU_tg_correct_o > rtb_u6FLU_tg_amb_f) { + rtb_FLU_tg_correct_o = rtb_u6FLU_tg_amb_f; + } else { + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' + * Constant: '/Constant6' + */ + switch (rtb_timer_out) { + case 0: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FL_MIN_LV0[i]; + } + break; - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_lo[1] = rtb_MultiportSwitch_j; + case 1: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FL_MIN_LV1[i]; + } + break; - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_lo[2] = rtb_MultiportSwitch1_oi; + case 2: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FL_MIN_LV2[i]; + } + break; - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_lo[3] = rtb_Bias3; + case 3: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FL_MIN_LV3[i]; + } + break; - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_lo[4] = rtb_u5FLU_tg_incar_ce; + case 4: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FL_MIN_LV4[i]; + } + break; - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_jn[0] = rtb_Bias2_n; + default: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assDTG_FL_MIN_LV5[i]; + } + break; + } - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_jn[1] = rtb_Bias1_h; + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_jn[2] = rtb_Bias_ct; + /* Selector: '/Selector1' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_y_fq = rtb_uDLookupTable7_g[(uint8_t)rtb_Switch5 - 1]; - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_jn[3] = rtb_Bias5; + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write7' + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector1' + */ + if (rtb_FLU_tg_correct_o < rtb_y_fq) { + rtb_FLU_tg_correct_o = rtb_y_fq; + } - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_jn[4] = rtb_Bias4; + /* End of Switch: '/Switch' */ + } - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_ic[0] = rtb_MultiportSwitch_pp; + /* End of Switch: '/Switch2' */ - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_ic[1] = rtb_X; + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_kz[0] = rtb_u6FLU_tg_amb_l; - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_ic[2] = rtb_MultiportSwitch_ag; + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_kz[1] = rtb_MultiportSwitch_l4; - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_ic[3] = rtb_u6FLU_tg_amb_f; + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_kz[2] = rtb_MultiportSwitch1_oi; - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_ic[4] = rtb_MultiportSwitch_m; + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_kz[3] = rtb_Bias3; - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_gl[0] = rtb_MultiportSwitch_g; + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_kz[4] = rtb_u5FLU_tg_incar_k; - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_gl[1] = rtb_u5FRU_tg_incar; + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_by[0] = rtb_Merge_h; - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_gl[2] = rtb_u6FRU_tg_amb_h; + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_by[1] = rtb_Bias1_h; - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_gl[3] = rtb_u6FRU_tg_amb; + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_by[2] = rtb_Bias_ct; - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_gl[4] = rtb_MultiportSwitch_dv; + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_by[3] = rtb_Bias5; + + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_by[4] = rtb_Bias4; + + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_p[0] = rtb_MultiportSwitch_c; + + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_p[1] = rtb_u5FLU_tg_incar_g; + + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_p[2] = rtb_X; + + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_p[3] = rtb_MultiportSwitch_h; + + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_p[4] = rtb_MultiportSwitch_l; + + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_fnw[0] = rtb_MultiportSwitch_k; + + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_fnw[1] = rtb_u5FRU_tg_incar; + + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_fnw[2] = rtb_u6FRU_tg_amb_f; + + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_fnw[3] = rtb_u6FRU_tg_amb; + + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_fnw[4] = rtb_MultiportSwitch_ev; for (i = 0; i < 5; i++) { - /* DataStoreWrite: '/Data Store Write' */ - Duct_RR_Tg_DBG[i] = rtb_VectorConcatenate_ic[i]; + /* DataStoreWrite: '/Data Store Write' */ + Duct_RR_Tg_DBG[i] = rtb_VectorConcatenate_p[i]; - /* DataStoreWrite: '/Data Store Write' */ - Duct_FRU_Tg_DBG[i] = rtb_VectorConcatenate_gl[i]; + /* DataStoreWrite: '/Data Store Write' */ + Duct_FRU_Tg_DBG[i] = rtb_VectorConcatenate_fnw[i]; } - /* MATLAB Function: '/is_ending_with_5' */ + /* MATLAB Function: '/is_ending_with_5' */ is_ending_with_5(Gain, &rtb_Compare_i5); - /* MATLAB Function: '/correction rate' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/correction rate' incorporates: + * Gain: '/Gain2' */ /* : correct_after_time = [g_assCORRECT_DUCT_MAX_LV0; g_assCORRECT_DUCT_MAX_LV1; g_assCORRECT_DUCT_MAX_LV2; g_assCORRECT_DUCT_MAX_LV3; g_assCORRECT_DUCT_MAX_LV4; g_assCORRECT_DUCT_MAX_LV5]; */ /* : y = correct_after_time(LVL + 1, idivide(SET - 16 + 1, 2)); */ correctionrate((int16_t)(rtb_dt_nx + (uint32_t)((rtb_Subtract & 262144U) != 0U)), - rtb_Saturation4, &rtb_Bias3); + rtb_timer_out, &rtb_Bias3); - /* MATLAB Function: '/is_ending_with_5' */ + /* MATLAB Function: '/is_ending_with_5' */ /* : correct_after_time = [g_assCORRECT_DUCT_TIME_FL_LV0; g_assCORRECT_DUCT_TIME_FL_LV1; g_assCORRECT_DUCT_TIME_FL_LV2; g_assCORRECT_DUCT_TIME_FL_LV3; g_assCORRECT_DUCT_TIME_FL_LV4; g_assCORRECT_DUCT_TIME_FL_LV5]; */ /* : y = correct_after_time(LVL + 1, idivide(SET - 16 + 1, 2)); */ is_ending_with_5(Gain1, &rtb_Compare_i5); - /* MATLAB Function: '/correction rate' incorporates: - * Gain: '/Gain2' + /* MATLAB Function: '/correction rate' incorporates: + * Gain: '/Gain2' */ /* : correct_after_time = [g_assCORRECT_DUCT_MAX_LV0; g_assCORRECT_DUCT_MAX_LV1; g_assCORRECT_DUCT_MAX_LV2; g_assCORRECT_DUCT_MAX_LV3; g_assCORRECT_DUCT_MAX_LV4; g_assCORRECT_DUCT_MAX_LV5]; */ /* : y = correct_after_time(LVL + 1, idivide(SET - 16 + 1, 2)); */ - correctionrate((int16_t)(rtb_Gain2_l_tmp_tmp_0 + (uint32_t) - ((rtb_Gain2_l_tmp_tmp & 262144U) != 0U)), rtb_Saturation4, &rtb_Bias3); + correctionrate((int16_t)(rtb_Divide5_m_tmp_tmp_0 + (uint32_t) + ((rtb_Divide5_m_tmp_tmp & 262144U) != 0U)), rtb_timer_out, &rtb_Bias3); - /* Outputs for Enabled SubSystem: '/Front Left AF - manual directions' incorporates: - * EnablePort: '/Enable' - */ - /* RelationalOperator: '/Equal2' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read44' + /* Switch: '/Switch5' incorporates: + * Constant: '/Constant12' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read76' */ /* : correct_after_time = [g_assCORRECT_DUCT_TIME_FR_LV0; g_assCORRECT_DUCT_TIME_FR_LV1; g_assCORRECT_DUCT_TIME_FR_LV2; g_assCORRECT_DUCT_TIME_FR_LV3; g_assCORRECT_DUCT_TIME_FR_LV4; g_assCORRECT_DUCT_TIME_FR_LV5]; */ /* : y = correct_after_time(LVL + 1, idivide(SET - 16 + 1, 2)); */ + if (rtDW.CCU_AC_MAX > 0) { + rtb_Switch5 = 7; + } else { + rtb_Switch5 = rtDW.CCU_BLOWERS_FL; + } + + /* End of Switch: '/Switch5' */ + + /* Outputs for Enabled SubSystem: '/Front Left AF - manual directions' incorporates: + * EnablePort: '/Enable' + */ + /* RelationalOperator: '/Equal2' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read44' + */ if (rtDW.CCU_MODE_FL == 0) { - /* MATLAB Function: '/AF for Bi Level' incorporates: - * DataStoreRead: '/Data Store Read11' + /* MATLAB Function: '/AF for Bi Level' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforBiLevel(rtDW.CCU_BLOWERS_FL, &Gain); + AFforBiLevel((uint8_t)rtb_Switch5, &Gain); - /* MATLAB Function: '/AF for Def' incorporates: - * DataStoreRead: '/Data Store Read11' + /* MATLAB Function: '/AF for Def' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforDef(rtDW.CCU_BLOWERS_FL, &Gain1); + AFforDef((uint8_t)rtb_Switch5, &Gain1); - /* MATLAB Function: '/AF for Foor + Def' incorporates: - * DataStoreRead: '/Data Store Read11' + /* MATLAB Function: '/AF for Foor + Def' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforFoorDef(rtDW.CCU_BLOWERS_FL, &rtb_Saturation2_a); + AFforFoorDef((uint8_t)rtb_Switch5, &rtb_Saturation2_a); - /* MATLAB Function: '/AF for Foot' incorporates: - * DataStoreRead: '/Data Store Read11' + /* MATLAB Function: '/AF for Foot' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforFoot(rtDW.CCU_BLOWERS_FL, &rtb_out_os); + AFforFoot((uint8_t)rtb_Switch5, &rtb_out_px); - /* MATLAB Function: '/AF for Hi_Level' incorporates: - * DataStoreRead: '/Data Store Read11' + /* MATLAB Function: '/AF for Hi_Level' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforHi_Level(rtDW.CCU_BLOWERS_FL, &rtb_out_nq); + AFforHi_Level((uint8_t)rtb_Switch5, &rtb_out_iu); - /* MATLAB Function: '/AF for Tri-Level' incorporates: - * DataStoreRead: '/Data Store Read11' + /* MATLAB Function: '/AF for Tri-Level' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforTriLevel(rtDW.CCU_BLOWERS_FL, &rtB.MultiportSwitch_o2); + AFforTriLevel((uint8_t)rtb_Switch5, &rtB.MultiportSwitch_o2); - /* MATLAB Function: '/AF for Vent mode' incorporates: - * DataStoreRead: '/Data Store Read11' + /* MATLAB Function: '/AF for Vent mode' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforVentmode(rtDW.CCU_BLOWERS_FL, &rtb_out_ee); + AFforVentmode((uint8_t)rtb_Switch5, &rtb_out_oe); - /* RelationalOperator: '/Relational Operator2' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read9' + /* RelationalOperator: '/Relational Operator2' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read9' */ rtb_Compare_i5 = (rtDW.CCU_FOOT_FL == 1); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read8' - * DataTypeConversion: '/Data Type Conversion5' - * Gain: '/Gain1' - * Gain: '/Gain2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read8' + * DataTypeConversion: '/Data Type Conversion5' + * Gain: '/Gain1' + * Gain: '/Gain2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * Sum: '/Add' */ switch ((int32_t)(((uint32_t)((rtDW.CCU_FACE_FL == 1) << 1) + (uint32_t) (rtDW.CCU_DEF_FL == 1)) + (uint32_t)(rtb_Compare_i5 << 2))) { case 0: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant3' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant3' */ rtB.MultiportSwitch_o2 = 0U; break; case 1: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ rtB.MultiportSwitch_o2 = Gain1; break; case 2: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_o2 = rtb_out_ee; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_o2 = rtb_out_oe; break; case 3: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_o2 = rtb_out_nq; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_o2 = rtb_out_iu; break; case 4: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_o2 = rtb_out_os; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_o2 = rtb_out_px; break; case 5: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ rtB.MultiportSwitch_o2 = rtb_Saturation2_a; break; case 6: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ rtB.MultiportSwitch_o2 = Gain; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ } - /* End of RelationalOperator: '/Equal2' */ - /* End of Outputs for SubSystem: '/Front Left AF - manual directions' */ + /* End of RelationalOperator: '/Equal2' */ + /* End of Outputs for SubSystem: '/Front Left AF - manual directions' */ - /* MATLAB Function: '/func g_ascAUTO_STEP_AF_F' incorporates: - * DataStoreRead: '/Data Store Read' - * DataTypeConversion: '/Data Type Conversion1' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant12' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read76' */ - funcg_ascAUTO_STEP_AF_F((int8_t)rtDW.CCU_AUTOMODE_FL, &rtb_y_c); + if (rtDW.CCU_AC_MAX > 0) { + i = 5; + } else { + i = rtDW.CCU_AUTOMODE_FL; + } - /* Saturate: '/Saturation9' incorporates: - * DataStoreRead: '/Data Store Read42' + /* MATLAB Function: '/func g_ascAUTO_STEP_AF_F' incorporates: + * Switch: '/Switch2' + */ + funcg_ascAUTO_STEP_AF_F((double)i, &rtb_y_f); + + /* Saturate: '/Saturation9' incorporates: + * DataStoreRead: '/Data Store Read42' */ if (rtDW.LEVEL <= 5) { - rtb_DataTypeConversion1_pk = rtDW.LEVEL; + rtb_timer_out = rtDW.LEVEL; } else { - rtb_DataTypeConversion1_pk = 5U; + rtb_timer_out = 5U; } - /* End of Saturate: '/Saturation9' */ + /* End of Saturate: '/Saturation9' */ - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ - switch (rtb_DataTypeConversion1_pk) { + switch (rtb_timer_out) { case 0: for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assVF_MAX_LV0[i]; @@ -14110,10 +17834,10 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Saturate: '/Saturation5' incorporates: - * DataStoreRead: '/Data Store Read30' + /* Saturate: '/Saturation5' incorporates: + * DataStoreRead: '/Data Store Read30' */ if (rtDW.CCU_SET_FL > 290) { Gain = 290U; @@ -14123,943 +17847,1039 @@ void HVAC_model_step(void) Gain = rtDW.CCU_SET_FL; } - /* End of Saturate: '/Saturation5' */ + /* End of Saturate: '/Saturation5' */ - /* Gain: '/Gain4' incorporates: - * Bias: '/Bias1' - * DataTypeConversion: '/Data Type Conversion4' - * Gain: '/Gain2' - * Gain: '/Gain3' + /* Gain: '/Gain4' incorporates: + * Bias: '/Bias1' + * DataTypeConversion: '/Data Type Conversion4' + * Gain: '/Gain3' + * Product: '/Divide5' */ i = ((int32_t)((52429U * Gain) >> 19) + -15) << 14; - /* DataTypeConversion: '/Data Type Conversion3' incorporates: - * Gain: '/Gain2' - * Saturate: '/Saturation1' + /* DataTypeConversion: '/Data Type Conversion3' incorporates: + * Product: '/Divide5' + * Saturate: '/Saturation1' */ - rtb_Saturation4 = (uint8_t)((((uint32_t)i & 16384U) != 0U) + (i >> 15)); + rtb_DataTypeConversion3_gs = (uint8_t)((((uint32_t)i & 16384U) != 0U) + (i >> + 15)); - /* Selector: '/Selector' */ - rtb_Bias5 = rtb_uDLookupTable7_g[rtb_Saturation4 - 1]; + /* Selector: '/Selector' */ + rtb_Bias5 = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_gs - 1]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Lookup_n-D: '/1-D Lookup Table10' - * Lookup_n-D: '/1-D Lookup Table11' - * Lookup_n-D: '/1-D Lookup Table6' - * Lookup_n-D: '/1-D Lookup Table7' - * Lookup_n-D: '/1-D Lookup Table8' - * Lookup_n-D: '/1-D Lookup Table9' - * Saturate: '/Saturation5' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Lookup_n-D: '/1-D Lookup Table10' + * Lookup_n-D: '/1-D Lookup Table11' + * Lookup_n-D: '/1-D Lookup Table6' + * Lookup_n-D: '/1-D Lookup Table7' + * Lookup_n-D: '/1-D Lookup Table8' + * Lookup_n-D: '/1-D Lookup Table9' + * Saturate: '/Saturation5' */ - switch (rtb_DataTypeConversion1_pk) { + switch (rtb_timer_out) { case 0: - rtb_Bias_ct = look1_iu16lu64n48ts16Ds32_binlcs(Gain, rtConstP.pooled69, + rtb_Bias_ct = look1_iu16lu64n48ts16Ds32_binlcs(Gain, rtConstP.pooled77, &g_assVTG_FL_LV0[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table6' - * Lookup_n-D: '/1-D Lookup Table' - * Saturate: '/Saturation5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table6' + * Lookup_n-D: '/1-D Lookup Table' + * Saturate: '/Saturation5' */ - rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, rtConstP.pooled46, + rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, rtConstP.pooled51, &g_assINCAR_TG_FL_LV0[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[0] = g_assVF_INC_Y1_LV0[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_fnw[0] = g_assVF_INC_Y1_LV0[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[1] = g_assVF_INC_Y2_LV0[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_fnw[1] = g_assVF_INC_Y2_LV0[rtb_DataTypeConversion3_gs + - 1]; break; case 1: - rtb_Bias_ct = look1_iu16lu64n48ts16Ds32_binlcs(Gain, rtConstP.pooled69, + rtb_Bias_ct = look1_iu16lu64n48ts16Ds32_binlcs(Gain, rtConstP.pooled77, &g_assVTG_FL_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table7' - * Lookup_n-D: '/1-D Lookup Table1' - * Saturate: '/Saturation5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table7' + * Lookup_n-D: '/1-D Lookup Table1' + * Saturate: '/Saturation5' */ - rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, rtConstP.pooled46, + rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, rtConstP.pooled51, &g_assINCAR_TG_FL_LV1[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[0] = g_assVF_INC_Y1_LV1[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_fnw[0] = g_assVF_INC_Y1_LV1[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[1] = g_assVF_INC_Y2_LV1[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_fnw[1] = g_assVF_INC_Y2_LV1[rtb_DataTypeConversion3_gs + - 1]; break; case 2: - rtb_Bias_ct = look1_iu16lu64n48ts16Ds32_binlcs(Gain, rtConstP.pooled69, + rtb_Bias_ct = look1_iu16lu64n48ts16Ds32_binlcs(Gain, rtConstP.pooled77, &g_assVTG_FL_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table8' - * Lookup_n-D: '/1-D Lookup Table2' - * Saturate: '/Saturation5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table8' + * Lookup_n-D: '/1-D Lookup Table2' + * Saturate: '/Saturation5' */ - rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, rtConstP.pooled46, + rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, rtConstP.pooled51, &g_assINCAR_TG_FL_LV2[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[0] = g_assVF_INC_Y1_LV2[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_fnw[0] = g_assVF_INC_Y1_LV2[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[1] = g_assVF_INC_Y2_LV2[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_fnw[1] = g_assVF_INC_Y2_LV2[rtb_DataTypeConversion3_gs + - 1]; break; case 3: - rtb_Bias_ct = look1_iu16lu64n48ts16Ds32_binlcs(Gain, rtConstP.pooled69, + rtb_Bias_ct = look1_iu16lu64n48ts16Ds32_binlcs(Gain, rtConstP.pooled77, &g_assVTG_FL_LV3[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table9' - * Lookup_n-D: '/1-D Lookup Table3' - * Saturate: '/Saturation5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table9' + * Lookup_n-D: '/1-D Lookup Table3' + * Saturate: '/Saturation5' */ - rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, rtConstP.pooled46, + rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, rtConstP.pooled51, &g_assINCAR_TG_FL_LV3[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[0] = g_assVF_INC_Y1_LV3[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_fnw[0] = g_assVF_INC_Y1_LV3[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[1] = g_assVF_INC_Y2_LV3[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_fnw[1] = g_assVF_INC_Y2_LV3[rtb_DataTypeConversion3_gs + - 1]; break; case 4: - rtb_Bias_ct = look1_iu16lu64n48ts16Ds32_binlcs(Gain, rtConstP.pooled69, + rtb_Bias_ct = look1_iu16lu64n48ts16Ds32_binlcs(Gain, rtConstP.pooled77, &g_assVTG_FL_LV4[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table10' - * Lookup_n-D: '/1-D Lookup Table4' - * Saturate: '/Saturation5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table10' + * Lookup_n-D: '/1-D Lookup Table4' + * Saturate: '/Saturation5' */ - rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, rtConstP.pooled46, + rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, rtConstP.pooled51, &g_assINCAR_TG_FL_LV4[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[0] = g_assVF_INC_Y1_LV4[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_fnw[0] = g_assVF_INC_Y1_LV4[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[1] = g_assVF_INC_Y2_LV4[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_fnw[1] = g_assVF_INC_Y2_LV4[rtb_DataTypeConversion3_gs + - 1]; break; default: - rtb_Bias_ct = look1_iu16lu64n48ts16Ds32_binlcs(Gain, rtConstP.pooled69, + rtb_Bias_ct = look1_iu16lu64n48ts16Ds32_binlcs(Gain, rtConstP.pooled77, &g_assVTG_FL_LV5[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table11' - * Lookup_n-D: '/1-D Lookup Table5' - * Saturate: '/Saturation5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table11' + * Lookup_n-D: '/1-D Lookup Table5' + * Saturate: '/Saturation5' */ - rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, rtConstP.pooled46, + rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain, rtConstP.pooled51, &g_assINCAR_TG_FL_LV5[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[0] = g_assVF_INC_Y1_LV5[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_fnw[0] = g_assVF_INC_Y1_LV5[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[1] = g_assVF_INC_Y2_LV5[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_fnw[1] = g_assVF_INC_Y2_LV5[rtb_DataTypeConversion3_gs + - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_gl[2] = 0; + rtb_VectorConcatenate_fnw[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ - switch (rtb_DataTypeConversion1_pk) { + /* MultiPortSwitch: '/Multiport Switch3' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[3] = g_assVF_INC_Y3_LV0[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_fnw[3] = g_assVF_INC_Y3_LV0[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[4] = g_assVF_INC_Y4_LV0[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_fnw[4] = g_assVF_INC_Y4_LV0[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[0] = g_assVF_INC_X1_LV0[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_p[0] = g_assVF_INC_X1_LV0[rtb_DataTypeConversion3_gs - + 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[1] = g_assVF_INC_X2_LV0[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_p[1] = g_assVF_INC_X2_LV0[rtb_DataTypeConversion3_gs - + 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[3] = g_assVF_INC_Y3_LV1[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_fnw[3] = g_assVF_INC_Y3_LV1[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[4] = g_assVF_INC_Y4_LV1[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_fnw[4] = g_assVF_INC_Y4_LV1[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[0] = g_assVF_INC_X1_LV1[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_p[0] = g_assVF_INC_X1_LV1[rtb_DataTypeConversion3_gs - + 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[1] = g_assVF_INC_X2_LV1[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_p[1] = g_assVF_INC_X2_LV1[rtb_DataTypeConversion3_gs - + 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[3] = g_assVF_INC_Y3_LV2[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_fnw[3] = g_assVF_INC_Y3_LV2[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[4] = g_assVF_INC_Y4_LV2[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_fnw[4] = g_assVF_INC_Y4_LV2[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[0] = g_assVF_INC_X1_LV2[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_p[0] = g_assVF_INC_X1_LV2[rtb_DataTypeConversion3_gs - + 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[1] = g_assVF_INC_X2_LV2[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_p[1] = g_assVF_INC_X2_LV2[rtb_DataTypeConversion3_gs - + 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[3] = g_assVF_INC_Y3_LV3[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_fnw[3] = g_assVF_INC_Y3_LV3[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[4] = g_assVF_INC_Y4_LV3[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_fnw[4] = g_assVF_INC_Y4_LV3[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[0] = g_assVF_INC_X1_LV3[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_p[0] = g_assVF_INC_X1_LV3[rtb_DataTypeConversion3_gs - + 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[1] = g_assVF_INC_X2_LV3[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_p[1] = g_assVF_INC_X2_LV3[rtb_DataTypeConversion3_gs - + 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[3] = g_assVF_INC_Y3_LV4[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_fnw[3] = g_assVF_INC_Y3_LV4[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[4] = g_assVF_INC_Y4_LV4[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_fnw[4] = g_assVF_INC_Y4_LV4[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[0] = g_assVF_INC_X1_LV4[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_p[0] = g_assVF_INC_X1_LV4[rtb_DataTypeConversion3_gs - + 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[1] = g_assVF_INC_X2_LV4[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_p[1] = g_assVF_INC_X2_LV4[rtb_DataTypeConversion3_gs - + 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[3] = g_assVF_INC_Y3_LV5[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_fnw[3] = g_assVF_INC_Y3_LV5[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[4] = g_assVF_INC_Y4_LV5[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_fnw[4] = g_assVF_INC_Y4_LV5[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[0] = g_assVF_INC_X1_LV5[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_p[0] = g_assVF_INC_X1_LV5[rtb_DataTypeConversion3_gs - + 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[1] = g_assVF_INC_X2_LV5[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_p[1] = g_assVF_INC_X2_LV5[rtb_DataTypeConversion3_gs - + 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_ic[2] = 0; + rtb_VectorConcatenate_p[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ - switch (rtb_DataTypeConversion1_pk) { + /* MultiPortSwitch: '/Multiport Switch3' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[3] = g_assVF_INC_X3_LV0[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_p[3] = g_assVF_INC_X3_LV0[rtb_DataTypeConversion3_gs - + 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[4] = g_assVF_INC_X4_LV0[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_p[4] = g_assVF_INC_X4_LV0[rtb_DataTypeConversion3_gs - + 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[3] = g_assVF_INC_X3_LV1[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_p[3] = g_assVF_INC_X3_LV1[rtb_DataTypeConversion3_gs - + 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[4] = g_assVF_INC_X4_LV1[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_p[4] = g_assVF_INC_X4_LV1[rtb_DataTypeConversion3_gs - + 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[3] = g_assVF_INC_X3_LV2[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_p[3] = g_assVF_INC_X3_LV2[rtb_DataTypeConversion3_gs - + 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[4] = g_assVF_INC_X4_LV2[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_p[4] = g_assVF_INC_X4_LV2[rtb_DataTypeConversion3_gs - + 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[3] = g_assVF_INC_X3_LV3[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_p[3] = g_assVF_INC_X3_LV3[rtb_DataTypeConversion3_gs - + 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[4] = g_assVF_INC_X4_LV3[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_p[4] = g_assVF_INC_X4_LV3[rtb_DataTypeConversion3_gs - + 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[3] = g_assVF_INC_X3_LV4[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_p[3] = g_assVF_INC_X3_LV4[rtb_DataTypeConversion3_gs - + 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[4] = g_assVF_INC_X4_LV4[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_p[4] = g_assVF_INC_X4_LV4[rtb_DataTypeConversion3_gs - + 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[3] = g_assVF_INC_X3_LV5[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_p[3] = g_assVF_INC_X3_LV5[rtb_DataTypeConversion3_gs - + 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[4] = g_assVF_INC_X4_LV5[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_p[4] = g_assVF_INC_X4_LV5[rtb_DataTypeConversion3_gs - + 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* Lookup_n-D: '/2.5 Vtg_Fx_tg_incar' incorporates: - * DataStoreRead: '/Data Store Read35' - * Sum: '/2.5. X = Incar_Tg - Incar_fb' + /* Lookup_n-D: '/2.5 Vtg_Fx_tg_incar' incorporates: + * DataStoreRead: '/Data Store Read35' + * Sum: '/2.5. X = Incar_Tg - Incar_fb' */ rtb_Bias4 = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_Bias1_h - rtDW.Incar_FL), - rtb_VectorConcatenate_ic, rtb_VectorConcatenate_gl, 4U); + rtb_VectorConcatenate_p, rtb_VectorConcatenate_fnw, 4U); - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_DataTypeConversion1_pk) { + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[0] = g_assVF_AMB_Y1_LV0[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_g[0] = g_assVF_AMB_Y1_LV0[rtb_DataTypeConversion3_gs - + 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[0] = g_assVF_AMB_Y1_LV1[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_g[0] = g_assVF_AMB_Y1_LV1[rtb_DataTypeConversion3_gs - + 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[0] = g_assVF_AMB_Y1_LV2[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_g[0] = g_assVF_AMB_Y1_LV2[rtb_DataTypeConversion3_gs - + 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[0] = g_assVF_AMB_Y1_LV3[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_g[0] = g_assVF_AMB_Y1_LV3[rtb_DataTypeConversion3_gs - + 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[0] = g_assVF_AMB_Y1_LV4[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_g[0] = g_assVF_AMB_Y1_LV4[rtb_DataTypeConversion3_gs - + 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[0] = g_assVF_AMB_Y1_LV5[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_g[0] = g_assVF_AMB_Y1_LV5[rtb_DataTypeConversion3_gs - + 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_jb[1] = 0; + rtb_VectorConcatenate_g[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_DataTypeConversion1_pk) { + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[2] = g_assVF_AMB_Y2_LV0[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_g[2] = g_assVF_AMB_Y2_LV0[rtb_DataTypeConversion3_gs - + 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[0] = g_assVF_AMB_X1_LV0[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_mx[0] = g_assVF_AMB_X1_LV0[rtb_DataTypeConversion3_gs + - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[2] = g_assVF_AMB_Y2_LV1[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_g[2] = g_assVF_AMB_Y2_LV1[rtb_DataTypeConversion3_gs - + 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[0] = g_assVF_AMB_X1_LV1[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_mx[0] = g_assVF_AMB_X1_LV1[rtb_DataTypeConversion3_gs + - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[2] = g_assVF_AMB_Y2_LV2[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_g[2] = g_assVF_AMB_Y2_LV2[rtb_DataTypeConversion3_gs - + 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[0] = g_assVF_AMB_X1_LV2[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_mx[0] = g_assVF_AMB_X1_LV2[rtb_DataTypeConversion3_gs + - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[2] = g_assVF_AMB_Y2_LV3[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_g[2] = g_assVF_AMB_Y2_LV3[rtb_DataTypeConversion3_gs - + 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[0] = g_assVF_AMB_X1_LV3[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_mx[0] = g_assVF_AMB_X1_LV3[rtb_DataTypeConversion3_gs + - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[2] = g_assVF_AMB_Y2_LV4[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_g[2] = g_assVF_AMB_Y2_LV4[rtb_DataTypeConversion3_gs - + 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[0] = g_assVF_AMB_X1_LV4[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_mx[0] = g_assVF_AMB_X1_LV4[rtb_DataTypeConversion3_gs + - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[2] = g_assVF_AMB_Y2_LV5[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_g[2] = g_assVF_AMB_Y2_LV5[rtb_DataTypeConversion3_gs - + 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[0] = g_assVF_AMB_X1_LV5[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_mx[0] = g_assVF_AMB_X1_LV5[rtb_DataTypeConversion3_gs + - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_mx[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_DataTypeConversion1_pk) { + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[2] = g_assVF_AMB_X2_LV0[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_mx[2] = g_assVF_AMB_X2_LV0[rtb_DataTypeConversion3_gs + - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[2] = g_assVF_AMB_X2_LV1[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_mx[2] = g_assVF_AMB_X2_LV1[rtb_DataTypeConversion3_gs + - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[2] = g_assVF_AMB_X2_LV2[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_mx[2] = g_assVF_AMB_X2_LV2[rtb_DataTypeConversion3_gs + - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[2] = g_assVF_AMB_X2_LV3[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_mx[2] = g_assVF_AMB_X2_LV3[rtb_DataTypeConversion3_gs + - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[2] = g_assVF_AMB_X2_LV4[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_mx[2] = g_assVF_AMB_X2_LV4[rtb_DataTypeConversion3_gs + - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[2] = g_assVF_AMB_X2_LV5[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_mx[2] = g_assVF_AMB_X2_LV5[rtb_DataTypeConversion3_gs + - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* Sum: '/2.6. X = Amb_Tg - Amb_Fb' incorporates: - * Bias: '/Bias1' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read34' - * Selector: '/Selector2' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + /* Sum: '/2.6. X = Amb_Tg - Amb_Fb' incorporates: + * Bias: '/Bias1' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read34' + * Selector: '/Selector2' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' */ - rtb_u6FRU_tg_amb = (int16_t)(g_assAMB_LV_TG[rtb_DataTypeConversion1_pk] - - rtDW.AMB); + rtb_y_fq = (int16_t)(g_assAMB_LV_TG[rtb_timer_out] - rtDW.AMB); - /* Lookup_n-D: '/2.6 Vtg_Fx_tg_amb' incorporates: - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + /* Lookup_n-D: '/2.6 Vtg_Fx_tg_amb' incorporates: + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' */ - rtb_Bias2_n = look1_is16lu64n32Ds32_binlcn(rtb_u6FRU_tg_amb, - rtb_VectorConcatenate_mx, rtb_VectorConcatenate_jb, 2U); + rtb_Merge_h = look1_is16lu64n32Ds32_binlcn(rtb_y_fq, rtb_VectorConcatenate_mx, + rtb_VectorConcatenate_g, 2U); - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_gu[0] = 0; + rtb_VectorConcatenate_iw[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_DataTypeConversion1_pk) { + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[1] = g_assVF_SUN_Y1_LV0[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_iw[1] = g_assVF_SUN_Y1_LV0[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = g_assVF_SUN_Y2_LV0[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_iw[2] = g_assVF_SUN_Y2_LV0[rtb_DataTypeConversion3_gs + - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[1] = g_assVF_SUN_Y1_LV1[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_iw[1] = g_assVF_SUN_Y1_LV1[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = g_assVF_SUN_Y2_LV1[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_iw[2] = g_assVF_SUN_Y2_LV1[rtb_DataTypeConversion3_gs + - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[1] = g_assVF_SUN_Y1_LV2[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_iw[1] = g_assVF_SUN_Y1_LV2[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = g_assVF_SUN_Y2_LV2[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_iw[2] = g_assVF_SUN_Y2_LV2[rtb_DataTypeConversion3_gs + - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[1] = g_assVF_SUN_Y1_LV3[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_iw[1] = g_assVF_SUN_Y1_LV3[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = g_assVF_SUN_Y2_LV3[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_iw[2] = g_assVF_SUN_Y2_LV3[rtb_DataTypeConversion3_gs + - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[1] = g_assVF_SUN_Y1_LV4[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_iw[1] = g_assVF_SUN_Y1_LV4[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = g_assVF_SUN_Y2_LV4[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_iw[2] = g_assVF_SUN_Y2_LV4[rtb_DataTypeConversion3_gs + - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[1] = g_assVF_SUN_Y1_LV5[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_iw[1] = g_assVF_SUN_Y1_LV5[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = g_assVF_SUN_Y2_LV5[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_iw[2] = g_assVF_SUN_Y2_LV5[rtb_DataTypeConversion3_gs + - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_l0[0] = 0; + rtb_VectorConcatenate_im[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_DataTypeConversion1_pk) { + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[1] = g_assVF_SUN_X1_LV0[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_im[1] = g_assVF_SUN_X1_LV0[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = g_assVF_SUN_X2_LV0[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_im[2] = g_assVF_SUN_X2_LV0[rtb_DataTypeConversion3_gs + - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[1] = g_assVF_SUN_X1_LV1[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_im[1] = g_assVF_SUN_X1_LV1[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = g_assVF_SUN_X2_LV1[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_im[2] = g_assVF_SUN_X2_LV1[rtb_DataTypeConversion3_gs + - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[1] = g_assVF_SUN_X1_LV2[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_im[1] = g_assVF_SUN_X1_LV2[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = g_assVF_SUN_X2_LV2[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_im[2] = g_assVF_SUN_X2_LV2[rtb_DataTypeConversion3_gs + - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[1] = g_assVF_SUN_X1_LV3[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_im[1] = g_assVF_SUN_X1_LV3[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = g_assVF_SUN_X2_LV3[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_im[2] = g_assVF_SUN_X2_LV3[rtb_DataTypeConversion3_gs + - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[1] = g_assVF_SUN_X1_LV4[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_im[1] = g_assVF_SUN_X1_LV4[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = g_assVF_SUN_X2_LV4[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_im[2] = g_assVF_SUN_X2_LV4[rtb_DataTypeConversion3_gs + - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[1] = g_assVF_SUN_X1_LV5[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_im[1] = g_assVF_SUN_X1_LV5[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = g_assVF_SUN_X2_LV5[rtb_Saturation4 - 1]; + rtb_VectorConcatenate_im[2] = g_assVF_SUN_X2_LV5[rtb_DataTypeConversion3_gs + - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Lookup_n-D: '/2.6 Vtg_Fx_tg_amb' incorporates: - * DataStoreRead: '/Data Store Read39' + /* Lookup_n-D: '/2.6 Vtg_Fx_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read39' */ - rtb_Bias3 = look1_bs16ts16Dd_binlc(rtDW.Sun_L, rtb_VectorConcatenate_l0, - rtb_VectorConcatenate_gu, 2U); + rtb_Bias3 = look1_bs16ts16Dd_binlc(rtDW.Sun_L, rtb_VectorConcatenate_im, + rtb_VectorConcatenate_iw, 2U); - /* Sum: '/2.8. Vtg_FX_plus' */ - rtb_u6FLU_tg_amb_f = (int16_t)((int16_t)((int16_t)(rtb_Bias_ct + rtb_Bias4) + - rtb_Bias2_n) + rtb_Bias3); + /* Sum: '/2.8. Vtg_FX_plus' */ + rtb_u6FLU_tg_amb_l = (int16_t)((int16_t)((int16_t)(rtb_Bias_ct + rtb_Bias4) + + rtb_Merge_h) + rtb_Bias3); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ - if (rtb_u6FLU_tg_amb_f <= rtb_Bias5) { - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + if (rtb_u6FLU_tg_amb_l <= rtb_Bias5) { + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ - switch (rtb_DataTypeConversion1_pk) { + switch (rtb_timer_out) { case 0: for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assVF_MIN_LV0[i]; @@ -15097,186 +18917,235 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' incorporates: - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Selector: '/Selector' */ - rtb_Bias5 = rtb_uDLookupTable7_g[rtb_Saturation4 - 1]; + rtb_Bias5 = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_gs - 1]; - /* Switch: '/Switch' incorporates: - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector' */ - if (rtb_u6FLU_tg_amb_f >= rtb_Bias5) { - rtb_Bias5 = rtb_u6FLU_tg_amb_f; + if (rtb_u6FLU_tg_amb_l >= rtb_Bias5) { + rtb_Bias5 = rtb_u6FLU_tg_amb_l; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/manual' - * DataStoreRead: '/AF from Start Control' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read46' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion3' - * Gain: '/Gain' - * Logic: '/Logical Operator' - * Product: '/Product' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - * Switch: '/Switch' - */ - if ((rtDW.step_start_controle_front == 0) || (rtDW.step_start_controle_front == - 1) || (rtDW.step_start_controle_front == 2)) { - rtb_DataTypeConversion_kv = rtDW.Blower_FL; - } else if (rtDW.CCU_MODE_FL == 0) { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion3' - */ - rtb_DataTypeConversion_kv = (uint8_t)rtB.MultiportSwitch_o2; - } else { - rtb_DataTypeConversion_kv = (uint8_t)(0.01 * (double)rtb_y_c * (double) - (uint8_t)rtb_Bias5 + (double)(uint8_t)rtb_Bias5); - } - - /* End of Switch: '/Switch' */ - - /* Sum: '/Sum' incorporates: - * DataStoreRead: '/Data Store Read2' + /* Switch: '/Switch6' incorporates: + * Constant: '/Constant12' + * Constant: '/manual' + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read' * DataStoreWrite: '/Data Store Write19' + * Logic: '/Logical Operator' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * Sum: '/Sum' + * Switch: '/Switch' + * Switch: '/Switch4' + * Switch: '/Switch' */ - rtb_Saturation4 = (uint8_t)(rtb_DataTypeConversion_kv + - rtDW.Blower_individual_foot_FL); + if (rtDW.CCU_AC_MAX > 0) { + /* Switch: '/Switch' incorporates: + * Constant: '/manual' + * DataStoreRead: '/Data Store Read46' + * DataStoreWrite: '/Data Store Write19' + * DataTypeConversion: '/Data Type Conversion3' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion3' + * Gain: '/Gain' + * Product: '/Product' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + if (rtDW.CCU_MODE_FL == 0) { + rtb_DataTypeConversion1_nc = (uint8_t)rtB.MultiportSwitch_o2; + } else { + rtb_DataTypeConversion1_nc = (uint8_t)(0.01 * (double)rtb_y_f * (double) + (uint8_t)rtb_Bias5 + (double)(uint8_t)rtb_Bias5); + } - /* Outputs for Enabled SubSystem: '/Front Right AF - manual directions' incorporates: - * EnablePort: '/Enable' + rtb_Switch5 = 7; + } else { + if ((rtDW.step_start_controle_front == 0) || (rtDW.step_start_controle_front + == 1) || (rtDW.step_start_controle_front == 2)) { + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/AF from Start Control' + */ + rtb_DataTypeConversion3_gs = rtDW.Blower_FL; + } else if (rtDW.CCU_MODE_FL == 0) { + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion3' + * Switch: '/Switch' + */ + rtb_DataTypeConversion3_gs = (uint8_t)rtB.MultiportSwitch_o2; + } else { + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion3' + * Gain: '/Gain' + * Product: '/Product' + * Sum: '/Add' + * Switch: '/Switch' + */ + rtb_DataTypeConversion3_gs = (uint8_t)(0.01 * (double)rtb_y_f * (double) + (uint8_t)rtb_Bias5 + (double)(uint8_t)rtb_Bias5); + } + + rtb_DataTypeConversion1_nc = (uint8_t)(rtb_DataTypeConversion3_gs + + rtDW.Blower_individual_foot_FL); + rtb_Switch5 = rtDW.CCU_BLOWERS_FR; + } + + /* End of Switch: '/Switch6' */ + + /* Outputs for Enabled SubSystem: '/Front Right AF - manual directions' incorporates: + * EnablePort: '/Enable' */ - /* RelationalOperator: '/Equal3' incorporates: - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read45' + /* RelationalOperator: '/Equal3' incorporates: + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read45' */ if (rtDW.CCU_MODE_FR == 0) { - /* MATLAB Function: '/AF for Bi Level' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/AF for Bi Level' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforBiLevel(rtDW.CCU_BLOWERS_FR, &Gain1); + AFforBiLevel((uint8_t)rtb_Switch5, &Gain1); - /* MATLAB Function: '/AF for Def' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/AF for Def' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforDef(rtDW.CCU_BLOWERS_FR, &rtb_Saturation2_a); + AFforDef((uint8_t)rtb_Switch5, &rtb_Saturation2_a); - /* MATLAB Function: '/AF for Foor + Def' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/AF for Foor + Def' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforFoorDef(rtDW.CCU_BLOWERS_FR, &rtb_out_os); + AFforFoorDef((uint8_t)rtb_Switch5, &rtb_out_px); - /* MATLAB Function: '/AF for Foot' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/AF for Foot' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforFoot(rtDW.CCU_BLOWERS_FR, &rtb_out_nq); + AFforFoot((uint8_t)rtb_Switch5, &rtb_out_iu); - /* MATLAB Function: '/AF for Hi_Level' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/AF for Hi_Level' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforHi_Level(rtDW.CCU_BLOWERS_FR, &rtb_out_ee); + AFforHi_Level((uint8_t)rtb_Switch5, &rtb_out_oe); - /* MATLAB Function: '/AF for Tri-Level' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/AF for Tri-Level' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforTriLevel(rtDW.CCU_BLOWERS_FR, &rtB.MultiportSwitch_a); + AFforTriLevel((uint8_t)rtb_Switch5, &rtB.MultiportSwitch_a); - /* MATLAB Function: '/AF for Vent mode' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/AF for Vent mode' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforVentmode(rtDW.CCU_BLOWERS_FR, &rtb_out_p1); + AFforVentmode((uint8_t)rtb_Switch5, &rtb_out_j3); - /* RelationalOperator: '/Relational Operator2' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read14' + /* RelationalOperator: '/Relational Operator2' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read14' */ rtb_Compare_i5 = (rtDW.CCU_FOOT_FR == 1); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read12' - * DataStoreRead: '/Data Store Read13' - * DataTypeConversion: '/Data Type Conversion5' - * Gain: '/Gain1' - * Gain: '/Gain2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/Data Store Read13' + * DataTypeConversion: '/Data Type Conversion5' + * Gain: '/Gain1' + * Gain: '/Gain2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * Sum: '/Add' */ switch ((int32_t)(((uint32_t)((rtDW.CCU_FACE_FR == 1) << 1) + (uint32_t) (rtDW.CCU_DEF_FR == 1)) + (uint32_t)(rtb_Compare_i5 << 2))) { case 0: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant3' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant3' */ rtB.MultiportSwitch_a = 0U; break; case 1: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ rtB.MultiportSwitch_a = rtb_Saturation2_a; break; case 2: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_a = rtb_out_p1; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_a = rtb_out_j3; break; case 3: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_a = rtb_out_ee; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_a = rtb_out_oe; break; case 4: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_a = rtb_out_nq; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_a = rtb_out_iu; break; case 5: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_a = rtb_out_os; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_a = rtb_out_px; break; case 6: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ rtB.MultiportSwitch_a = Gain1; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ } - /* End of RelationalOperator: '/Equal3' */ - /* End of Outputs for SubSystem: '/Front Right AF - manual directions' */ + /* End of RelationalOperator: '/Equal3' */ + /* End of Outputs for SubSystem: '/Front Right AF - manual directions' */ - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant12' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read76' */ - /* : y = g_ascAUTO_STEP_AF_F(AF_STEP); */ - switch (rtb_DataTypeConversion1_pk) { + if (rtDW.CCU_AC_MAX > 0) { + i = 5; + } else { + i = rtDW.CCU_AUTOMODE_FR; + } + + /* MATLAB Function: '/func g_ascAUTO_STEP_AF_F' incorporates: + * Switch: '/Switch2' + */ + funcg_ascAUTO_STEP_AF_F((double)i, &rtb_y_f); + + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' + */ + switch (rtb_timer_out) { case 0: for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assVF_MAX_LV0[i]; @@ -15314,10 +19183,10 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Saturate: '/Saturation6' incorporates: - * DataStoreRead: '/Data Store Read31' + /* Saturate: '/Saturation6' incorporates: + * DataStoreRead: '/Data Store Read31' */ if (rtDW.CCU_SET_FR > 290) { Gain1 = 290U; @@ -15327,1027 +19196,1027 @@ void HVAC_model_step(void) Gain1 = rtDW.CCU_SET_FR; } - /* End of Saturate: '/Saturation6' */ + /* End of Saturate: '/Saturation6' */ - /* Gain: '/Gain4' incorporates: - * Bias: '/Bias1' - * DataTypeConversion: '/Data Type Conversion4' - * Gain: '/Gain2' - * Gain: '/Gain3' + /* Gain: '/Gain4' incorporates: + * Bias: '/Bias1' + * DataTypeConversion: '/Data Type Conversion4' + * Gain: '/Gain3' + * Product: '/Divide5' */ i = ((int32_t)((52429U * Gain1) >> 19) + -15) << 14; - /* DataTypeConversion: '/Data Type Conversion3' incorporates: - * Gain: '/Gain2' - * Saturate: '/Saturation1' + /* DataTypeConversion: '/Data Type Conversion3' incorporates: + * Product: '/Divide5' + * Saturate: '/Saturation1' */ - rtb_DataTypeConversion_kv = (uint8_t)((((uint32_t)i & 16384U) != 0U) + (i >> + rtb_DataTypeConversion3_gs = (uint8_t)((((uint32_t)i & 16384U) != 0U) + (i >> 15)); - /* Selector: '/Selector' */ - rtb_Bias5 = rtb_uDLookupTable7_g[rtb_DataTypeConversion_kv - 1]; + /* Selector: '/Selector' */ + rtb_Bias5 = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_gs - 1]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Lookup_n-D: '/1-D Lookup Table10' - * Lookup_n-D: '/1-D Lookup Table11' - * Lookup_n-D: '/1-D Lookup Table6' - * Lookup_n-D: '/1-D Lookup Table7' - * Lookup_n-D: '/1-D Lookup Table8' - * Lookup_n-D: '/1-D Lookup Table9' - * Saturate: '/Saturation6' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Lookup_n-D: '/1-D Lookup Table10' + * Lookup_n-D: '/1-D Lookup Table11' + * Lookup_n-D: '/1-D Lookup Table6' + * Lookup_n-D: '/1-D Lookup Table7' + * Lookup_n-D: '/1-D Lookup Table8' + * Lookup_n-D: '/1-D Lookup Table9' + * Saturate: '/Saturation6' */ - switch (rtb_DataTypeConversion1_pk) { + switch (rtb_timer_out) { case 0: rtb_MultiportSwitch1_oi = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, - rtConstP.pooled69, &g_assVTG_FR_LV0[0], 12U); + rtConstP.pooled77, &g_assVTG_FR_LV0[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table6' - * Lookup_n-D: '/1-D Lookup Table' - * Saturate: '/Saturation6' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table6' + * Lookup_n-D: '/1-D Lookup Table' + * Saturate: '/Saturation6' */ - rtb_MultiportSwitch_j = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, - rtConstP.pooled46, &g_assINCAR_TG_FR_LV0[0], 12U); + rtb_MultiportSwitch_l4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, + rtConstP.pooled51, &g_assINCAR_TG_FR_LV0[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[0] = g_assVF_INC_Y1_LV0[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_fnw[0] = g_assVF_INC_Y1_LV0[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[1] = g_assVF_INC_Y2_LV0[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_fnw[1] = g_assVF_INC_Y2_LV0[rtb_DataTypeConversion3_gs + - 1]; break; case 1: rtb_MultiportSwitch1_oi = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, - rtConstP.pooled69, &g_assVTG_FR_LV1[0], 12U); + rtConstP.pooled77, &g_assVTG_FR_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table7' - * Lookup_n-D: '/1-D Lookup Table1' - * Saturate: '/Saturation6' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table7' + * Lookup_n-D: '/1-D Lookup Table1' + * Saturate: '/Saturation6' */ - rtb_MultiportSwitch_j = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, - rtConstP.pooled46, &g_assINCAR_TG_FR_LV1[0], 12U); + rtb_MultiportSwitch_l4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, + rtConstP.pooled51, &g_assINCAR_TG_FR_LV1[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[0] = g_assVF_INC_Y1_LV1[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_fnw[0] = g_assVF_INC_Y1_LV1[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[1] = g_assVF_INC_Y2_LV1[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_fnw[1] = g_assVF_INC_Y2_LV1[rtb_DataTypeConversion3_gs + - 1]; break; case 2: rtb_MultiportSwitch1_oi = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, - rtConstP.pooled69, &g_assVTG_FR_LV1[0], 12U); + rtConstP.pooled77, &g_assVTG_FR_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table8' - * Lookup_n-D: '/1-D Lookup Table2' - * Saturate: '/Saturation6' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table8' + * Lookup_n-D: '/1-D Lookup Table2' + * Saturate: '/Saturation6' */ - rtb_MultiportSwitch_j = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, - rtConstP.pooled46, &g_assINCAR_TG_FR_LV2[0], 12U); + rtb_MultiportSwitch_l4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, + rtConstP.pooled51, &g_assINCAR_TG_FR_LV2[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[0] = g_assVF_INC_Y1_LV2[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_fnw[0] = g_assVF_INC_Y1_LV2[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[1] = g_assVF_INC_Y2_LV2[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_fnw[1] = g_assVF_INC_Y2_LV2[rtb_DataTypeConversion3_gs + - 1]; break; case 3: rtb_MultiportSwitch1_oi = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, - rtConstP.pooled69, &g_assVTG_FR_LV3[0], 12U); + rtConstP.pooled77, &g_assVTG_FR_LV3[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table9' - * Lookup_n-D: '/1-D Lookup Table3' - * Saturate: '/Saturation6' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table9' + * Lookup_n-D: '/1-D Lookup Table3' + * Saturate: '/Saturation6' */ - rtb_MultiportSwitch_j = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, - rtConstP.pooled46, &g_assINCAR_TG_FR_LV3[0], 12U); + rtb_MultiportSwitch_l4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, + rtConstP.pooled51, &g_assINCAR_TG_FR_LV3[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[0] = g_assVF_INC_Y1_LV3[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_fnw[0] = g_assVF_INC_Y1_LV3[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[1] = g_assVF_INC_Y2_LV3[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_fnw[1] = g_assVF_INC_Y2_LV3[rtb_DataTypeConversion3_gs + - 1]; break; case 4: rtb_MultiportSwitch1_oi = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, - rtConstP.pooled69, &g_assVTG_FR_LV4[0], 12U); + rtConstP.pooled77, &g_assVTG_FR_LV4[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table10' - * Lookup_n-D: '/1-D Lookup Table4' - * Saturate: '/Saturation6' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table10' + * Lookup_n-D: '/1-D Lookup Table4' + * Saturate: '/Saturation6' */ - rtb_MultiportSwitch_j = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, - rtConstP.pooled46, &g_assINCAR_TG_FR_LV4[0], 12U); + rtb_MultiportSwitch_l4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, + rtConstP.pooled51, &g_assINCAR_TG_FR_LV4[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[0] = g_assVF_INC_Y1_LV4[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_fnw[0] = g_assVF_INC_Y1_LV4[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[1] = g_assVF_INC_Y2_LV4[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_fnw[1] = g_assVF_INC_Y2_LV4[rtb_DataTypeConversion3_gs + - 1]; break; default: rtb_MultiportSwitch1_oi = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, - rtConstP.pooled69, &g_assVTG_FR_LV5[0], 12U); + rtConstP.pooled77, &g_assVTG_FR_LV5[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table11' - * Lookup_n-D: '/1-D Lookup Table5' - * Saturate: '/Saturation6' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table11' + * Lookup_n-D: '/1-D Lookup Table5' + * Saturate: '/Saturation6' */ - rtb_MultiportSwitch_j = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, - rtConstP.pooled46, &g_assINCAR_TG_FR_LV5[0], 12U); + rtb_MultiportSwitch_l4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, + rtConstP.pooled51, &g_assINCAR_TG_FR_LV5[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[0] = g_assVF_INC_Y1_LV5[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_fnw[0] = g_assVF_INC_Y1_LV5[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[1] = g_assVF_INC_Y2_LV5[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_fnw[1] = g_assVF_INC_Y2_LV5[rtb_DataTypeConversion3_gs + - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_gl[2] = 0; + rtb_VectorConcatenate_fnw[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ - switch (rtb_DataTypeConversion1_pk) { + /* MultiPortSwitch: '/Multiport Switch3' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[3] = g_assVF_INC_Y3_LV0[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_fnw[3] = g_assVF_INC_Y3_LV0[rtb_DataTypeConversion3_gs + - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_fnw[4] = g_assVF_INC_Y4_LV0[rtb_DataTypeConversion3_gs + - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_p[0] = g_assVF_INC_X1_LV0[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[4] = g_assVF_INC_Y4_LV0[rtb_DataTypeConversion_kv - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_ic[0] = g_assVF_INC_X1_LV0[rtb_DataTypeConversion_kv - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_ic[1] = g_assVF_INC_X2_LV0[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_p[1] = g_assVF_INC_X2_LV0[rtb_DataTypeConversion3_gs - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[3] = g_assVF_INC_Y3_LV1[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_fnw[3] = g_assVF_INC_Y3_LV1[rtb_DataTypeConversion3_gs + - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_fnw[4] = g_assVF_INC_Y4_LV1[rtb_DataTypeConversion3_gs + - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_p[0] = g_assVF_INC_X1_LV1[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[4] = g_assVF_INC_Y4_LV1[rtb_DataTypeConversion_kv - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_ic[0] = g_assVF_INC_X1_LV1[rtb_DataTypeConversion_kv - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_ic[1] = g_assVF_INC_X2_LV1[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_p[1] = g_assVF_INC_X2_LV1[rtb_DataTypeConversion3_gs - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[3] = g_assVF_INC_Y3_LV2[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_fnw[3] = g_assVF_INC_Y3_LV2[rtb_DataTypeConversion3_gs + - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_fnw[4] = g_assVF_INC_Y4_LV2[rtb_DataTypeConversion3_gs + - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_p[0] = g_assVF_INC_X1_LV2[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[4] = g_assVF_INC_Y4_LV2[rtb_DataTypeConversion_kv - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_ic[0] = g_assVF_INC_X1_LV2[rtb_DataTypeConversion_kv - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_ic[1] = g_assVF_INC_X2_LV2[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_p[1] = g_assVF_INC_X2_LV2[rtb_DataTypeConversion3_gs - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[3] = g_assVF_INC_Y3_LV3[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_fnw[3] = g_assVF_INC_Y3_LV3[rtb_DataTypeConversion3_gs + - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_fnw[4] = g_assVF_INC_Y4_LV3[rtb_DataTypeConversion3_gs + - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_p[0] = g_assVF_INC_X1_LV3[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[4] = g_assVF_INC_Y4_LV3[rtb_DataTypeConversion_kv - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_ic[0] = g_assVF_INC_X1_LV3[rtb_DataTypeConversion_kv - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_ic[1] = g_assVF_INC_X2_LV3[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_p[1] = g_assVF_INC_X2_LV3[rtb_DataTypeConversion3_gs - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[3] = g_assVF_INC_Y3_LV4[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_fnw[3] = g_assVF_INC_Y3_LV4[rtb_DataTypeConversion3_gs + - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_fnw[4] = g_assVF_INC_Y4_LV4[rtb_DataTypeConversion3_gs + - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_p[0] = g_assVF_INC_X1_LV4[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[4] = g_assVF_INC_Y4_LV4[rtb_DataTypeConversion_kv - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_ic[0] = g_assVF_INC_X1_LV4[rtb_DataTypeConversion_kv - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_ic[1] = g_assVF_INC_X2_LV4[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_p[1] = g_assVF_INC_X2_LV4[rtb_DataTypeConversion3_gs - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[3] = g_assVF_INC_Y3_LV5[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_fnw[3] = g_assVF_INC_Y3_LV5[rtb_DataTypeConversion3_gs + - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_fnw[4] = g_assVF_INC_Y4_LV5[rtb_DataTypeConversion3_gs + - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_p[0] = g_assVF_INC_X1_LV5[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[4] = g_assVF_INC_Y4_LV5[rtb_DataTypeConversion_kv - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_ic[0] = g_assVF_INC_X1_LV5[rtb_DataTypeConversion_kv - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_ic[1] = g_assVF_INC_X2_LV5[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_p[1] = g_assVF_INC_X2_LV5[rtb_DataTypeConversion3_gs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_ic[2] = 0; + rtb_VectorConcatenate_p[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ - switch (rtb_DataTypeConversion1_pk) { + /* MultiPortSwitch: '/Multiport Switch3' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[3] = g_assVF_INC_X3_LV0[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_p[3] = g_assVF_INC_X3_LV0[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[4] = g_assVF_INC_X4_LV0[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_p[4] = g_assVF_INC_X4_LV0[rtb_DataTypeConversion3_gs - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[3] = g_assVF_INC_X3_LV1[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_p[3] = g_assVF_INC_X3_LV1[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[4] = g_assVF_INC_X4_LV1[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_p[4] = g_assVF_INC_X4_LV1[rtb_DataTypeConversion3_gs - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[3] = g_assVF_INC_X3_LV2[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_p[3] = g_assVF_INC_X3_LV2[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[4] = g_assVF_INC_X4_LV2[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_p[4] = g_assVF_INC_X4_LV2[rtb_DataTypeConversion3_gs - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[3] = g_assVF_INC_X3_LV3[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_p[3] = g_assVF_INC_X3_LV3[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[4] = g_assVF_INC_X4_LV3[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_p[4] = g_assVF_INC_X4_LV3[rtb_DataTypeConversion3_gs - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[3] = g_assVF_INC_X3_LV4[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_p[3] = g_assVF_INC_X3_LV4[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[4] = g_assVF_INC_X4_LV4[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_p[4] = g_assVF_INC_X4_LV4[rtb_DataTypeConversion3_gs - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[3] = g_assVF_INC_X3_LV5[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_p[3] = g_assVF_INC_X3_LV5[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_ic[4] = g_assVF_INC_X4_LV5[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_p[4] = g_assVF_INC_X4_LV5[rtb_DataTypeConversion3_gs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: - * DataStoreRead: '/Data Store Read36' - * Sum: '/2.5. X = Inc_Tg - Incar_fb' + /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: + * DataStoreRead: '/Data Store Read36' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' */ - rtb_u5FLU_tg_incar_ce = look1_is16lu64n32Ds32_binlcn((int16_t) - (rtb_MultiportSwitch_j - rtDW.Incar_FR), rtb_VectorConcatenate_ic, - rtb_VectorConcatenate_gl, 4U); + rtb_u5FLU_tg_incar_k = look1_is16lu64n32Ds32_binlcn((int16_t) + (rtb_MultiportSwitch_l4 - rtDW.Incar_FR), rtb_VectorConcatenate_p, + rtb_VectorConcatenate_fnw, 4U); - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_DataTypeConversion1_pk) { + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[0] = g_assVF_AMB_Y1_LV0[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_g[0] = g_assVF_AMB_Y1_LV0[rtb_DataTypeConversion3_gs - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[0] = g_assVF_AMB_Y1_LV1[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_g[0] = g_assVF_AMB_Y1_LV1[rtb_DataTypeConversion3_gs - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[0] = g_assVF_AMB_Y1_LV2[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_g[0] = g_assVF_AMB_Y1_LV2[rtb_DataTypeConversion3_gs - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[0] = g_assVF_AMB_Y1_LV3[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_g[0] = g_assVF_AMB_Y1_LV3[rtb_DataTypeConversion3_gs - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[0] = g_assVF_AMB_Y1_LV4[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_g[0] = g_assVF_AMB_Y1_LV4[rtb_DataTypeConversion3_gs - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[0] = g_assVF_AMB_Y1_LV5[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_g[0] = g_assVF_AMB_Y1_LV5[rtb_DataTypeConversion3_gs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_jb[1] = 0; + rtb_VectorConcatenate_g[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_DataTypeConversion1_pk) { + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[2] = g_assVF_AMB_Y2_LV0[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_g[2] = g_assVF_AMB_Y2_LV0[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[0] = g_assVF_AMB_X1_LV0[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_mx[0] = g_assVF_AMB_X1_LV0[rtb_DataTypeConversion3_gs + - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[2] = g_assVF_AMB_Y2_LV1[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_g[2] = g_assVF_AMB_Y2_LV1[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[0] = g_assVF_AMB_X1_LV1[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_mx[0] = g_assVF_AMB_X1_LV1[rtb_DataTypeConversion3_gs + - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[2] = g_assVF_AMB_Y2_LV2[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_g[2] = g_assVF_AMB_Y2_LV2[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[0] = g_assVF_AMB_X1_LV2[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_mx[0] = g_assVF_AMB_X1_LV2[rtb_DataTypeConversion3_gs + - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[2] = g_assVF_AMB_Y2_LV3[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_g[2] = g_assVF_AMB_Y2_LV3[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[0] = g_assVF_AMB_X1_LV3[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_mx[0] = g_assVF_AMB_X1_LV3[rtb_DataTypeConversion3_gs + - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[2] = g_assVF_AMB_Y2_LV4[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_g[2] = g_assVF_AMB_Y2_LV4[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[0] = g_assVF_AMB_X1_LV4[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_mx[0] = g_assVF_AMB_X1_LV4[rtb_DataTypeConversion3_gs + - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * Selector: '/Selector' */ - rtb_VectorConcatenate_jb[2] = g_assVF_AMB_Y2_LV5[rtb_DataTypeConversion_kv - + rtb_VectorConcatenate_g[2] = g_assVF_AMB_Y2_LV5[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[0] = g_assVF_AMB_X1_LV5[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_mx[0] = g_assVF_AMB_X1_LV5[rtb_DataTypeConversion3_gs + - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_mx[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_DataTypeConversion1_pk) { + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[2] = g_assVF_AMB_X2_LV0[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_mx[2] = g_assVF_AMB_X2_LV0[rtb_DataTypeConversion3_gs + - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[2] = g_assVF_AMB_X2_LV1[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_mx[2] = g_assVF_AMB_X2_LV1[rtb_DataTypeConversion3_gs + - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[2] = g_assVF_AMB_X2_LV2[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_mx[2] = g_assVF_AMB_X2_LV2[rtb_DataTypeConversion3_gs + - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[2] = g_assVF_AMB_X2_LV3[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_mx[2] = g_assVF_AMB_X2_LV3[rtb_DataTypeConversion3_gs + - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[2] = g_assVF_AMB_X2_LV4[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_mx[2] = g_assVF_AMB_X2_LV4[rtb_DataTypeConversion3_gs + - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * Selector: '/Selector' */ - rtb_VectorConcatenate_mx[2] = g_assVF_AMB_X2_LV5[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_mx[2] = g_assVF_AMB_X2_LV5[rtb_DataTypeConversion3_gs + - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* Lookup_n-D: '/2.6 FLU_tg_amb' */ - rtb_u6FLU_tg_amb_l = look1_is16lu64n32Ds32_binlcn(rtb_u6FRU_tg_amb, - rtb_VectorConcatenate_mx, rtb_VectorConcatenate_jb, 2U); + /* Lookup_n-D: '/2.6 FLU_tg_amb' */ + rtb_u6FLU_tg_amb_l = look1_is16lu64n32Ds32_binlcn(rtb_y_fq, + rtb_VectorConcatenate_mx, rtb_VectorConcatenate_g, 2U); - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_gu[0] = 0; + rtb_VectorConcatenate_iw[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_DataTypeConversion1_pk) { + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[1] = g_assVF_SUN_Y1_LV0[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_iw[1] = g_assVF_SUN_Y1_LV0[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = g_assVF_SUN_Y2_LV0[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_iw[2] = g_assVF_SUN_Y2_LV0[rtb_DataTypeConversion3_gs + - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[1] = g_assVF_SUN_Y1_LV1[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_iw[1] = g_assVF_SUN_Y1_LV1[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = g_assVF_SUN_Y2_LV1[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_iw[2] = g_assVF_SUN_Y2_LV1[rtb_DataTypeConversion3_gs + - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[1] = g_assVF_SUN_Y1_LV2[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_iw[1] = g_assVF_SUN_Y1_LV2[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = g_assVF_SUN_Y2_LV2[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_iw[2] = g_assVF_SUN_Y2_LV2[rtb_DataTypeConversion3_gs + - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[1] = g_assVF_SUN_Y1_LV3[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_iw[1] = g_assVF_SUN_Y1_LV3[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = g_assVF_SUN_Y2_LV3[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_iw[2] = g_assVF_SUN_Y2_LV3[rtb_DataTypeConversion3_gs + - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[1] = g_assVF_SUN_Y1_LV4[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_iw[1] = g_assVF_SUN_Y1_LV4[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = g_assVF_SUN_Y2_LV4[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_iw[2] = g_assVF_SUN_Y2_LV4[rtb_DataTypeConversion3_gs + - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[1] = g_assVF_SUN_Y1_LV5[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_iw[1] = g_assVF_SUN_Y1_LV5[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = g_assVF_SUN_Y2_LV5[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_iw[2] = g_assVF_SUN_Y2_LV5[rtb_DataTypeConversion3_gs + - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_l0[0] = 0; + rtb_VectorConcatenate_im[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_DataTypeConversion1_pk) { + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[1] = g_assVF_SUN_X1_LV0[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_im[1] = g_assVF_SUN_X1_LV0[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = g_assVF_SUN_X2_LV0[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_im[2] = g_assVF_SUN_X2_LV0[rtb_DataTypeConversion3_gs + - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[1] = g_assVF_SUN_X1_LV1[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_im[1] = g_assVF_SUN_X1_LV1[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = g_assVF_SUN_X2_LV1[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_im[2] = g_assVF_SUN_X2_LV1[rtb_DataTypeConversion3_gs + - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[1] = g_assVF_SUN_X1_LV2[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_im[1] = g_assVF_SUN_X1_LV2[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = g_assVF_SUN_X2_LV2[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_im[2] = g_assVF_SUN_X2_LV2[rtb_DataTypeConversion3_gs + - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[1] = g_assVF_SUN_X1_LV3[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_im[1] = g_assVF_SUN_X1_LV3[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = g_assVF_SUN_X2_LV3[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_im[2] = g_assVF_SUN_X2_LV3[rtb_DataTypeConversion3_gs + - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[1] = g_assVF_SUN_X1_LV4[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_im[1] = g_assVF_SUN_X1_LV4[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = g_assVF_SUN_X2_LV4[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_im[2] = g_assVF_SUN_X2_LV4[rtb_DataTypeConversion3_gs + - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[1] = g_assVF_SUN_X1_LV5[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_im[1] = g_assVF_SUN_X1_LV5[rtb_DataTypeConversion3_gs + - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = g_assVF_SUN_X2_LV5[rtb_DataTypeConversion_kv - - 1]; + rtb_VectorConcatenate_im[2] = g_assVF_SUN_X2_LV5[rtb_DataTypeConversion3_gs + - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: - * DataStoreRead: '/Data Store Read41' + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read41' */ rtb_u6FLU_tg_amb_f = look1_bs16ts16Dd_binlc(rtDW.Sun_R, - rtb_VectorConcatenate_l0, rtb_VectorConcatenate_gu, 2U); + rtb_VectorConcatenate_im, rtb_VectorConcatenate_iw, 2U); - /* Sum: '/FLU_tg_correct' */ - rtb_MultiportSwitch_j = (int16_t)((int16_t)((int16_t)(rtb_MultiportSwitch1_oi - + rtb_u5FLU_tg_incar_ce) + rtb_u6FLU_tg_amb_l) + rtb_u6FLU_tg_amb_f); + /* Sum: '/FLU_tg_correct' */ + rtb_MultiportSwitch_h = (int16_t)((int16_t)((int16_t)(rtb_MultiportSwitch1_oi + + rtb_u5FLU_tg_incar_k) + rtb_u6FLU_tg_amb_l) + rtb_u6FLU_tg_amb_f); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ - if (rtb_MultiportSwitch_j <= rtb_Bias5) { - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + if (rtb_MultiportSwitch_h <= rtb_Bias5) { + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ - switch (rtb_DataTypeConversion1_pk) { + switch (rtb_timer_out) { case 0: for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assVF_MIN_LV0[i]; @@ -16385,91 +20254,111 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' incorporates: - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Selector: '/Selector' */ - rtb_Bias5 = rtb_uDLookupTable7_g[rtb_DataTypeConversion_kv - 1]; + rtb_Bias5 = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_gs - 1]; - /* Switch: '/Switch' incorporates: - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector' */ - if (rtb_MultiportSwitch_j >= rtb_Bias5) { - rtb_Bias5 = rtb_MultiportSwitch_j; + if (rtb_MultiportSwitch_h >= rtb_Bias5) { + rtb_Bias5 = rtb_MultiportSwitch_h; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/manual1' - * DataStoreRead: '/AF from Start Control' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Logic: '/Logical Operator' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Equal2' - * Switch: '/Switch1' - */ - if ((rtDW.step_start_controle_front == 0) || (rtDW.step_start_controle_front == - 1) || (rtDW.step_start_controle_front == 2)) { - rtb_DataTypeConversion_kv = rtDW.Blower_FR; - } else { - if (rtDW.CCU_MODE_FR == 0) { - /* Switch: '/Switch1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_Switch1_oh = (uint8_t)rtB.MultiportSwitch_a; - } else { - /* Switch: '/Switch1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * MATLAB Function: '/func g_ascAUTO_STEP_AF_F' - * Product: '/Product' - * Sum: '/Add' - */ - rtb_Switch1_oh = (double)g_ascAUTO_STEP_AF_F[rtDW.CCU_AUTOMODE_FR - 1] * - 0.01 * (double)(uint8_t)rtb_Bias5 + (double)(uint8_t)rtb_Bias5; - } - - rtb_DataTypeConversion_kv = (uint8_t)rtb_Switch1_oh; - } - - /* End of Switch: '/Switch' */ - - /* Sum: '/Sum' incorporates: - * DataStoreRead: '/Data Store Read2' + /* Switch: '/Switch7' incorporates: + * Constant: '/manual1' + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read' * DataStoreWrite: '/Data Store Write20' + * Logic: '/Logical Operator' + * RelationalOperator: '/Equal2' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * Sum: '/Sum' + * Switch: '/Switch1' + * Switch: '/Switch' */ - rtb_DataTypeConversion_kv = (uint8_t)(rtb_DataTypeConversion_kv + - rtDW.Blower_individual_foot_FR); + if (rtDW.CCU_AC_MAX > 0) { + /* Switch: '/Switch1' incorporates: + * Constant: '/manual1' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write20' + * DataTypeConversion: '/Data Type Conversion2' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Product: '/Product' + * RelationalOperator: '/Equal2' + * Sum: '/Add' + */ + if (rtDW.CCU_MODE_FR == 0) { + Blower_AF_FR = (uint8_t)rtB.MultiportSwitch_a; + } else { + Blower_AF_FR = (uint8_t)(0.01 * (double)rtb_y_f * (double)(uint8_t) + rtb_Bias5 + (double)(uint8_t)rtb_Bias5); + } + } else { + if ((rtDW.step_start_controle_front == 0) || (rtDW.step_start_controle_front + == 1) || (rtDW.step_start_controle_front == 2)) { + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/AF from Start Control' + */ + rtb_DataTypeConversion3_gs = rtDW.Blower_FR; + } else if (rtDW.CCU_MODE_FR == 0) { + /* Switch: '/Switch1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + * Switch: '/Switch' + */ + rtb_DataTypeConversion3_gs = (uint8_t)rtB.MultiportSwitch_a; + } else { + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Product: '/Product' + * Sum: '/Add' + * Switch: '/Switch1' + */ + rtb_DataTypeConversion3_gs = (uint8_t)(0.01 * (double)rtb_y_f * (double) + (uint8_t)rtb_Bias5 + (double)(uint8_t)rtb_Bias5); + } - /* Outputs for Enabled SubSystem: '/Rear Left AF - manual directions' */ - /* RelationalOperator: '/Equal2' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read44' - * DataStoreRead: '/Data Store Read18' - * DataStoreRead: '/Data Store Read19' - * DataStoreRead: '/Data Store Read20' + Blower_AF_FR = (uint8_t)(rtb_DataTypeConversion3_gs + + rtDW.Blower_individual_foot_FR); + } + + /* End of Switch: '/Switch7' */ + + /* Outputs for Enabled SubSystem: '/Rear Left AF - manual directions' */ + /* RelationalOperator: '/Equal2' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read18' + * DataStoreRead: '/Data Store Read19' + * DataStoreRead: '/Data Store Read20' + * DataStoreRead: '/Data Store Read44' */ RearLeftAFmanualdirections((rtDW.CCU_MODE_RL == 0), rtDW.CCU_BLOWERS_RL, rtDW.CCU_FACE_RL, rtDW.CCU_FOOT_RL, &rtB.MultiportSwitch_j); - /* End of Outputs for SubSystem: '/Rear Left AF - manual directions' */ + /* End of Outputs for SubSystem: '/Rear Left AF - manual directions' */ - /* Saturate: '/Saturation7' incorporates: - * DataStoreRead: '/Data Store Read32' + /* Saturate: '/Saturation7' incorporates: + * DataStoreRead: '/Data Store Read32' */ /* : y = g_ascAUTO_STEP_AF_R(AF_STEP); */ if (rtDW.CCU_SET_RL > 290) { @@ -16480,1000 +20369,1000 @@ void HVAC_model_step(void) rtb_Saturation2_a = rtDW.CCU_SET_RL; } - /* End of Saturate: '/Saturation7' */ + /* End of Saturate: '/Saturation7' */ - /* Gain: '/Gain2' incorporates: - * Bias: '/Bias2' - * DataTypeConversion: '/Data Type Conversion2' - * Gain: '/Gain2' - * Gain: '/Gain1' + /* Gain: '/Gain2' incorporates: + * Bias: '/Bias2' + * DataTypeConversion: '/Data Type Conversion2' + * Gain: '/Gain1' + * Product: '/Divide5' */ i = ((int32_t)((52429U * rtb_Saturation2_a) >> 19) + -15) << 14; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Gain: '/Gain2' - * Saturate: '/Saturation2' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Product: '/Divide5' + * Saturate: '/Saturation2' */ - rtb_DataTypeConversion1_ao = (uint8_t)((((uint32_t)i & 16384U) != 0U) + (i >> + rtb_DataTypeConversion3_gs = (uint8_t)((((uint32_t)i & 16384U) != 0U) + (i >> 15)); - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Lookup_n-D: '/1-D Lookup Table10' - * Lookup_n-D: '/1-D Lookup Table11' - * Lookup_n-D: '/1-D Lookup Table6' - * Lookup_n-D: '/1-D Lookup Table7' - * Lookup_n-D: '/1-D Lookup Table8' - * Lookup_n-D: '/1-D Lookup Table9' - * Saturate: '/Saturation7' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Lookup_n-D: '/1-D Lookup Table10' + * Lookup_n-D: '/1-D Lookup Table11' + * Lookup_n-D: '/1-D Lookup Table6' + * Lookup_n-D: '/1-D Lookup Table7' + * Lookup_n-D: '/1-D Lookup Table8' + * Lookup_n-D: '/1-D Lookup Table9' + * Saturate: '/Saturation7' */ - switch (rtb_DataTypeConversion1_pk) { + switch (rtb_timer_out) { case 0: - rtb_MultiportSwitch_j = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled69, &g_assVTG_RL_LV0[0], 12U); + rtb_u6FRU_tg_amb_f = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, + rtConstP.pooled77, &g_assVTG_RL_LV0[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table6' - * Lookup_n-D: '/1-D Lookup Table' - * Saturate: '/Saturation7' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table6' + * Lookup_n-D: '/1-D Lookup Table' + * Saturate: '/Saturation7' */ rtb_Bias5 = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled46, &g_assINCAR_TG_RL_LV0[0], 12U); + rtConstP.pooled51, &g_assINCAR_TG_RL_LV0[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_gl[0] = g_assVR_INC_Y1_LV0[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_fnw[0] = g_assVR_INC_Y1_LV0[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[1] = g_assVR_INC_Y2_LV0[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_fnw[1] = g_assVR_INC_Y2_LV0[rtb_DataTypeConversion3_gs - 1]; break; case 1: - rtb_MultiportSwitch_j = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled69, &g_assVTG_RL_LV1[0], 12U); + rtb_u6FRU_tg_amb_f = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, + rtConstP.pooled77, &g_assVTG_RL_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table7' - * Lookup_n-D: '/1-D Lookup Table1' - * Saturate: '/Saturation7' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table7' + * Lookup_n-D: '/1-D Lookup Table1' + * Saturate: '/Saturation7' */ rtb_Bias5 = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled46, &g_assINCAR_TG_RL_LV1[0], 12U); + rtConstP.pooled51, &g_assINCAR_TG_RL_LV1[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_gl[0] = g_assVR_INC_Y1_LV1[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_fnw[0] = g_assVR_INC_Y1_LV1[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[1] = g_assVR_INC_Y2_LV1[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_fnw[1] = g_assVR_INC_Y2_LV1[rtb_DataTypeConversion3_gs - 1]; break; case 2: - rtb_MultiportSwitch_j = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled69, &g_assVTG_RL_LV1[0], 12U); + rtb_u6FRU_tg_amb_f = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, + rtConstP.pooled77, &g_assVTG_RL_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table8' - * Lookup_n-D: '/1-D Lookup Table2' - * Saturate: '/Saturation7' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table8' + * Lookup_n-D: '/1-D Lookup Table2' + * Saturate: '/Saturation7' */ rtb_Bias5 = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled46, &g_assINCAR_TG_RL_LV2[0], 12U); + rtConstP.pooled51, &g_assINCAR_TG_RL_LV2[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_gl[0] = g_assVR_INC_Y1_LV2[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_fnw[0] = g_assVR_INC_Y1_LV2[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[1] = g_assVR_INC_Y2_LV2[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_fnw[1] = g_assVR_INC_Y2_LV2[rtb_DataTypeConversion3_gs - 1]; break; case 3: - rtb_MultiportSwitch_j = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled69, &g_assVTG_RL_LV3[0], 12U); + rtb_u6FRU_tg_amb_f = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, + rtConstP.pooled77, &g_assVTG_RL_LV3[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table9' - * Lookup_n-D: '/1-D Lookup Table3' - * Saturate: '/Saturation7' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table9' + * Lookup_n-D: '/1-D Lookup Table3' + * Saturate: '/Saturation7' */ rtb_Bias5 = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled46, &g_assINCAR_TG_RL_LV3[0], 12U); + rtConstP.pooled51, &g_assINCAR_TG_RL_LV3[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_gl[0] = g_assVR_INC_Y1_LV3[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_fnw[0] = g_assVR_INC_Y1_LV3[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[1] = g_assVR_INC_Y2_LV3[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_fnw[1] = g_assVR_INC_Y2_LV3[rtb_DataTypeConversion3_gs - 1]; break; case 4: - rtb_MultiportSwitch_j = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled69, &g_assVTG_RL_LV4[0], 12U); + rtb_u6FRU_tg_amb_f = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, + rtConstP.pooled77, &g_assVTG_RL_LV4[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table10' - * Lookup_n-D: '/1-D Lookup Table4' - * Saturate: '/Saturation7' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table10' + * Lookup_n-D: '/1-D Lookup Table4' + * Saturate: '/Saturation7' */ rtb_Bias5 = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled46, &g_assINCAR_TG_RL_LV4[0], 12U); + rtConstP.pooled51, &g_assINCAR_TG_RL_LV4[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_gl[0] = g_assVR_INC_Y1_LV4[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_fnw[0] = g_assVR_INC_Y1_LV4[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[1] = g_assVR_INC_Y2_LV4[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_fnw[1] = g_assVR_INC_Y2_LV4[rtb_DataTypeConversion3_gs - 1]; break; default: - rtb_MultiportSwitch_j = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled69, &g_assVTG_RL_LV5[0], 12U); + rtb_u6FRU_tg_amb_f = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, + rtConstP.pooled77, &g_assVTG_RL_LV5[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table11' - * Lookup_n-D: '/1-D Lookup Table5' - * Saturate: '/Saturation7' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table11' + * Lookup_n-D: '/1-D Lookup Table5' + * Saturate: '/Saturation7' */ rtb_Bias5 = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled46, &g_assINCAR_TG_RL_LV5[0], 12U); + rtConstP.pooled51, &g_assINCAR_TG_RL_LV5[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_gl[0] = g_assVR_INC_Y1_LV5[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_fnw[0] = g_assVR_INC_Y1_LV5[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[1] = g_assVR_INC_Y2_LV5[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_fnw[1] = g_assVR_INC_Y2_LV5[rtb_DataTypeConversion3_gs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_gl[2] = 0; + rtb_VectorConcatenate_fnw[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ - switch (rtb_DataTypeConversion1_pk) { + /* MultiPortSwitch: '/Multiport Switch3' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' */ - rtb_VectorConcatenate_gl[3] = g_assVR_INC_Y3_LV0[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_fnw[3] = g_assVR_INC_Y3_LV0[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_gl[4] = g_assVR_INC_Y4_LV0[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_fnw[4] = g_assVR_INC_Y4_LV0[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_ic[0] = g_assVR_INC_X1_LV0[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_p[0] = g_assVR_INC_X1_LV0[rtb_DataTypeConversion3_gs - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[1] = g_assVR_INC_X2_LV0[rtb_DataTypeConversion3_gs - + 1]; + break; + + case 1: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + */ + rtb_VectorConcatenate_fnw[3] = g_assVR_INC_Y3_LV1[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_ic[1] = g_assVR_INC_X2_LV0[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_fnw[4] = g_assVR_INC_Y4_LV1[rtb_DataTypeConversion3_gs + - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[0] = g_assVR_INC_X1_LV1[rtb_DataTypeConversion3_gs - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[1] = g_assVR_INC_X2_LV1[rtb_DataTypeConversion3_gs - + 1]; + break; + + case 2: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + */ + rtb_VectorConcatenate_fnw[3] = g_assVR_INC_Y3_LV2[rtb_DataTypeConversion3_gs + - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_fnw[4] = g_assVR_INC_Y4_LV2[rtb_DataTypeConversion3_gs + - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[0] = g_assVR_INC_X1_LV2[rtb_DataTypeConversion3_gs - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[1] = g_assVR_INC_X2_LV2[rtb_DataTypeConversion3_gs - + 1]; + break; + + case 3: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + */ + rtb_VectorConcatenate_fnw[3] = g_assVR_INC_Y3_LV3[rtb_DataTypeConversion3_gs + - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_fnw[4] = g_assVR_INC_Y4_LV3[rtb_DataTypeConversion3_gs + - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[0] = g_assVR_INC_X1_LV3[rtb_DataTypeConversion3_gs - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[1] = g_assVR_INC_X2_LV3[rtb_DataTypeConversion3_gs - + 1]; + break; + + case 4: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + */ + rtb_VectorConcatenate_fnw[3] = g_assVR_INC_Y3_LV4[rtb_DataTypeConversion3_gs + - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_fnw[4] = g_assVR_INC_Y4_LV4[rtb_DataTypeConversion3_gs + - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[0] = g_assVR_INC_X1_LV4[rtb_DataTypeConversion3_gs - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[1] = g_assVR_INC_X2_LV4[rtb_DataTypeConversion3_gs - + 1]; + break; + + default: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + */ + rtb_VectorConcatenate_fnw[3] = g_assVR_INC_Y3_LV5[rtb_DataTypeConversion3_gs + - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_fnw[4] = g_assVR_INC_Y4_LV5[rtb_DataTypeConversion3_gs + - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[0] = g_assVR_INC_X1_LV5[rtb_DataTypeConversion3_gs - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[1] = g_assVR_INC_X2_LV5[rtb_DataTypeConversion3_gs - + 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch3' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_p[2] = 0; + + /* MultiPortSwitch: '/Multiport Switch3' */ + switch (rtb_timer_out) { + case 0: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + */ + rtb_VectorConcatenate_p[3] = g_assVR_INC_X3_LV0[rtb_DataTypeConversion3_gs - + 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[4] = g_assVR_INC_X4_LV0[rtb_DataTypeConversion3_gs - + 1]; + break; + + case 1: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + */ + rtb_VectorConcatenate_p[3] = g_assVR_INC_X3_LV1[rtb_DataTypeConversion3_gs - + 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[4] = g_assVR_INC_X4_LV1[rtb_DataTypeConversion3_gs - + 1]; + break; + + case 2: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + */ + rtb_VectorConcatenate_p[3] = g_assVR_INC_X3_LV2[rtb_DataTypeConversion3_gs - + 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[4] = g_assVR_INC_X4_LV2[rtb_DataTypeConversion3_gs - + 1]; + break; + + case 3: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + */ + rtb_VectorConcatenate_p[3] = g_assVR_INC_X3_LV3[rtb_DataTypeConversion3_gs - + 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[4] = g_assVR_INC_X4_LV3[rtb_DataTypeConversion3_gs - + 1]; + break; + + case 4: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + */ + rtb_VectorConcatenate_p[3] = g_assVR_INC_X3_LV4[rtb_DataTypeConversion3_gs - + 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[4] = g_assVR_INC_X4_LV4[rtb_DataTypeConversion3_gs - + 1]; + break; + + default: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + */ + rtb_VectorConcatenate_p[3] = g_assVR_INC_X3_LV5[rtb_DataTypeConversion3_gs - + 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[4] = g_assVR_INC_X4_LV5[rtb_DataTypeConversion3_gs - + 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch3' */ + + /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: + * DataStoreRead: '/Data Store Read37' + * Sum: '/2.5. X = Incar_Tg - Incar_fb' + */ + rtb_u6FRU_tg_amb = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_Bias5 - + rtDW.Incar_RL), rtb_VectorConcatenate_p, rtb_VectorConcatenate_fnw, 4U); + + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_timer_out) { + case 0: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + */ + rtb_VectorConcatenate_g[0] = g_assVR_AMB_Y1_LV0[rtb_DataTypeConversion3_gs - + 1]; + break; + + case 1: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + */ + rtb_VectorConcatenate_g[0] = g_assVR_AMB_Y1_LV1[rtb_DataTypeConversion3_gs - + 1]; + break; + + case 2: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + */ + rtb_VectorConcatenate_g[0] = g_assVR_AMB_Y1_LV2[rtb_DataTypeConversion3_gs - + 1]; + break; + + case 3: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + */ + rtb_VectorConcatenate_g[0] = g_assVR_AMB_Y1_LV3[rtb_DataTypeConversion3_gs - + 1]; + break; + + case 4: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + */ + rtb_VectorConcatenate_g[0] = g_assVR_AMB_Y1_LV4[rtb_DataTypeConversion3_gs - + 1]; + break; + + default: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + */ + rtb_VectorConcatenate_g[0] = g_assVR_AMB_Y1_LV5[rtb_DataTypeConversion3_gs - + 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch1' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_g[1] = 0; + + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_timer_out) { + case 0: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + */ + rtb_VectorConcatenate_g[2] = g_assVR_AMB_Y2_LV0[rtb_DataTypeConversion3_gs - + 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' + */ + rtb_VectorConcatenate_mx[0] = g_assVR_AMB_X1_LV0[rtb_DataTypeConversion3_gs - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' */ - rtb_VectorConcatenate_gl[3] = g_assVR_INC_Y3_LV1[rtb_DataTypeConversion1_ao - - 1]; + rtb_VectorConcatenate_g[2] = g_assVR_AMB_Y2_LV1[rtb_DataTypeConversion3_gs - + 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_gl[4] = g_assVR_INC_Y4_LV1[rtb_DataTypeConversion1_ao - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_ic[0] = g_assVR_INC_X1_LV1[rtb_DataTypeConversion1_ao - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_ic[1] = g_assVR_INC_X2_LV1[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_mx[0] = g_assVR_AMB_X1_LV1[rtb_DataTypeConversion3_gs - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' */ - rtb_VectorConcatenate_gl[3] = g_assVR_INC_Y3_LV2[rtb_DataTypeConversion1_ao - - 1]; + rtb_VectorConcatenate_g[2] = g_assVR_AMB_Y2_LV2[rtb_DataTypeConversion3_gs - + 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_gl[4] = g_assVR_INC_Y4_LV2[rtb_DataTypeConversion1_ao - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_ic[0] = g_assVR_INC_X1_LV2[rtb_DataTypeConversion1_ao - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_ic[1] = g_assVR_INC_X2_LV2[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_mx[0] = g_assVR_AMB_X1_LV2[rtb_DataTypeConversion3_gs - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' */ - rtb_VectorConcatenate_gl[3] = g_assVR_INC_Y3_LV3[rtb_DataTypeConversion1_ao - - 1]; + rtb_VectorConcatenate_g[2] = g_assVR_AMB_Y2_LV3[rtb_DataTypeConversion3_gs - + 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_gl[4] = g_assVR_INC_Y4_LV3[rtb_DataTypeConversion1_ao - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_ic[0] = g_assVR_INC_X1_LV3[rtb_DataTypeConversion1_ao - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_ic[1] = g_assVR_INC_X2_LV3[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_mx[0] = g_assVR_AMB_X1_LV3[rtb_DataTypeConversion3_gs - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' */ - rtb_VectorConcatenate_gl[3] = g_assVR_INC_Y3_LV4[rtb_DataTypeConversion1_ao - - 1]; + rtb_VectorConcatenate_g[2] = g_assVR_AMB_Y2_LV4[rtb_DataTypeConversion3_gs - + 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_gl[4] = g_assVR_INC_Y4_LV4[rtb_DataTypeConversion1_ao - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_ic[0] = g_assVR_INC_X1_LV4[rtb_DataTypeConversion1_ao - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_ic[1] = g_assVR_INC_X2_LV4[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_mx[0] = g_assVR_AMB_X1_LV4[rtb_DataTypeConversion3_gs - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' */ - rtb_VectorConcatenate_gl[3] = g_assVR_INC_Y3_LV5[rtb_DataTypeConversion1_ao - - 1]; + rtb_VectorConcatenate_g[2] = g_assVR_AMB_Y2_LV5[rtb_DataTypeConversion3_gs - + 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_gl[4] = g_assVR_INC_Y4_LV5[rtb_DataTypeConversion1_ao - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_ic[0] = g_assVR_INC_X1_LV5[rtb_DataTypeConversion1_ao - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_ic[1] = g_assVR_INC_X2_LV5[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_mx[0] = g_assVR_AMB_X1_LV5[rtb_DataTypeConversion3_gs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_ic[2] = 0; - - /* MultiPortSwitch: '/Multiport Switch3' */ - switch (rtb_DataTypeConversion1_pk) { - case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - */ - rtb_VectorConcatenate_ic[3] = g_assVR_INC_X3_LV0[rtb_DataTypeConversion1_ao - - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_ic[4] = g_assVR_INC_X4_LV0[rtb_DataTypeConversion1_ao - - 1]; - break; - - case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - */ - rtb_VectorConcatenate_ic[3] = g_assVR_INC_X3_LV1[rtb_DataTypeConversion1_ao - - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_ic[4] = g_assVR_INC_X4_LV1[rtb_DataTypeConversion1_ao - - 1]; - break; - - case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - */ - rtb_VectorConcatenate_ic[3] = g_assVR_INC_X3_LV2[rtb_DataTypeConversion1_ao - - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_ic[4] = g_assVR_INC_X4_LV2[rtb_DataTypeConversion1_ao - - 1]; - break; - - case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - */ - rtb_VectorConcatenate_ic[3] = g_assVR_INC_X3_LV3[rtb_DataTypeConversion1_ao - - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_ic[4] = g_assVR_INC_X4_LV3[rtb_DataTypeConversion1_ao - - 1]; - break; - - case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - */ - rtb_VectorConcatenate_ic[3] = g_assVR_INC_X3_LV4[rtb_DataTypeConversion1_ao - - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_ic[4] = g_assVR_INC_X4_LV4[rtb_DataTypeConversion1_ao - - 1]; - break; - - default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - */ - rtb_VectorConcatenate_ic[3] = g_assVR_INC_X3_LV5[rtb_DataTypeConversion1_ao - - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_ic[4] = g_assVR_INC_X4_LV5[rtb_DataTypeConversion1_ao - - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch3' */ - - /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: - * DataStoreRead: '/Data Store Read37' - * Sum: '/2.5. X = Incar_Tg - Incar_fb' - */ - rtb_MultiportSwitch_g = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_Bias5 - - rtDW.Incar_RL), rtb_VectorConcatenate_ic, rtb_VectorConcatenate_gl, 4U); - - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_DataTypeConversion1_pk) { - case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - */ - rtb_VectorConcatenate_jb[0] = g_assVR_AMB_Y1_LV0[rtb_DataTypeConversion1_ao - - 1]; - break; - - case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - */ - rtb_VectorConcatenate_jb[0] = g_assVR_AMB_Y1_LV1[rtb_DataTypeConversion1_ao - - 1]; - break; - - case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - */ - rtb_VectorConcatenate_jb[0] = g_assVR_AMB_Y1_LV2[rtb_DataTypeConversion1_ao - - 1]; - break; - - case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - */ - rtb_VectorConcatenate_jb[0] = g_assVR_AMB_Y1_LV3[rtb_DataTypeConversion1_ao - - 1]; - break; - - case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - */ - rtb_VectorConcatenate_jb[0] = g_assVR_AMB_Y1_LV4[rtb_DataTypeConversion1_ao - - 1]; - break; - - default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - */ - rtb_VectorConcatenate_jb[0] = g_assVR_AMB_Y1_LV5[rtb_DataTypeConversion1_ao - - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch1' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_jb[1] = 0; - - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_DataTypeConversion1_pk) { - case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - */ - rtb_VectorConcatenate_jb[2] = g_assVR_AMB_Y2_LV0[rtb_DataTypeConversion1_ao - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_mx[0] = g_assVR_AMB_X1_LV0[rtb_DataTypeConversion1_ao - - 1]; - break; - - case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - */ - rtb_VectorConcatenate_jb[2] = g_assVR_AMB_Y2_LV1[rtb_DataTypeConversion1_ao - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_mx[0] = g_assVR_AMB_X1_LV1[rtb_DataTypeConversion1_ao - - 1]; - break; - - case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - */ - rtb_VectorConcatenate_jb[2] = g_assVR_AMB_Y2_LV2[rtb_DataTypeConversion1_ao - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_mx[0] = g_assVR_AMB_X1_LV2[rtb_DataTypeConversion1_ao - - 1]; - break; - - case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - */ - rtb_VectorConcatenate_jb[2] = g_assVR_AMB_Y2_LV3[rtb_DataTypeConversion1_ao - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_mx[0] = g_assVR_AMB_X1_LV3[rtb_DataTypeConversion1_ao - - 1]; - break; - - case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - */ - rtb_VectorConcatenate_jb[2] = g_assVR_AMB_Y2_LV4[rtb_DataTypeConversion1_ao - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_mx[0] = g_assVR_AMB_X1_LV4[rtb_DataTypeConversion1_ao - - 1]; - break; - - default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - */ - rtb_VectorConcatenate_jb[2] = g_assVR_AMB_Y2_LV5[rtb_DataTypeConversion1_ao - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_mx[0] = g_assVR_AMB_X1_LV5[rtb_DataTypeConversion1_ao - - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch2' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_mx[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_DataTypeConversion1_pk) { + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' */ - rtb_VectorConcatenate_mx[2] = g_assVR_AMB_X2_LV0[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_mx[2] = g_assVR_AMB_X2_LV0[rtb_DataTypeConversion3_gs - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' */ - rtb_VectorConcatenate_mx[2] = g_assVR_AMB_X2_LV1[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_mx[2] = g_assVR_AMB_X2_LV1[rtb_DataTypeConversion3_gs - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' */ - rtb_VectorConcatenate_mx[2] = g_assVR_AMB_X2_LV2[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_mx[2] = g_assVR_AMB_X2_LV2[rtb_DataTypeConversion3_gs - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' */ - rtb_VectorConcatenate_mx[2] = g_assVR_AMB_X2_LV3[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_mx[2] = g_assVR_AMB_X2_LV3[rtb_DataTypeConversion3_gs - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' */ - rtb_VectorConcatenate_mx[2] = g_assVR_AMB_X2_LV4[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_mx[2] = g_assVR_AMB_X2_LV4[rtb_DataTypeConversion3_gs - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' */ - rtb_VectorConcatenate_mx[2] = g_assVR_AMB_X2_LV5[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_mx[2] = g_assVR_AMB_X2_LV5[rtb_DataTypeConversion3_gs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* Lookup_n-D: '/2.6 FLU_tg_amb' */ - rtb_MultiportSwitch_dv = look1_is16lu64n32Ds32_binlcn(rtb_u6FRU_tg_amb, - rtb_VectorConcatenate_mx, rtb_VectorConcatenate_jb, 2U); + /* Lookup_n-D: '/2.6 FLU_tg_amb' */ + rtb_MultiportSwitch_c = look1_is16lu64n32Ds32_binlcn(rtb_y_fq, + rtb_VectorConcatenate_mx, rtb_VectorConcatenate_g, 2U); - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_gu[0] = 0; + rtb_VectorConcatenate_iw[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_DataTypeConversion1_pk) { + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' */ - rtb_VectorConcatenate_gu[1] = g_assVR_SUN_Y1_LV0[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_iw[1] = g_assVR_SUN_Y1_LV0[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = g_assVR_SUN_Y2_LV0[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_iw[2] = g_assVR_SUN_Y2_LV0[rtb_DataTypeConversion3_gs - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' */ - rtb_VectorConcatenate_gu[1] = g_assVR_SUN_Y1_LV1[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_iw[1] = g_assVR_SUN_Y1_LV1[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = g_assVR_SUN_Y2_LV1[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_iw[2] = g_assVR_SUN_Y2_LV1[rtb_DataTypeConversion3_gs - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' */ - rtb_VectorConcatenate_gu[1] = g_assVR_SUN_Y1_LV2[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_iw[1] = g_assVR_SUN_Y1_LV2[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = g_assVR_SUN_Y2_LV2[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_iw[2] = g_assVR_SUN_Y2_LV2[rtb_DataTypeConversion3_gs - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' */ - rtb_VectorConcatenate_gu[1] = g_assVR_SUN_Y1_LV3[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_iw[1] = g_assVR_SUN_Y1_LV3[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = g_assVR_SUN_Y2_LV3[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_iw[2] = g_assVR_SUN_Y2_LV3[rtb_DataTypeConversion3_gs - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' */ - rtb_VectorConcatenate_gu[1] = g_assVR_SUN_Y1_LV4[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_iw[1] = g_assVR_SUN_Y1_LV4[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = g_assVR_SUN_Y2_LV4[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_iw[2] = g_assVR_SUN_Y2_LV4[rtb_DataTypeConversion3_gs - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' */ - rtb_VectorConcatenate_gu[1] = g_assVR_SUN_Y1_LV5[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_iw[1] = g_assVR_SUN_Y1_LV5[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gu[2] = g_assVR_SUN_Y2_LV5[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_iw[2] = g_assVR_SUN_Y2_LV5[rtb_DataTypeConversion3_gs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_l0[0] = 0; + rtb_VectorConcatenate_im[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_DataTypeConversion1_pk) { + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' */ - rtb_VectorConcatenate_l0[1] = g_assVR_SUN_X1_LV0[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_im[1] = g_assVR_SUN_X1_LV0[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = g_assVR_SUN_X2_LV0[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_im[2] = g_assVR_SUN_X2_LV0[rtb_DataTypeConversion3_gs - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' */ - rtb_VectorConcatenate_l0[1] = g_assVR_SUN_X1_LV1[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_im[1] = g_assVR_SUN_X1_LV1[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = g_assVR_SUN_X2_LV1[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_im[2] = g_assVR_SUN_X2_LV1[rtb_DataTypeConversion3_gs - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' */ - rtb_VectorConcatenate_l0[1] = g_assVR_SUN_X1_LV2[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_im[1] = g_assVR_SUN_X1_LV2[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = g_assVR_SUN_X2_LV2[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_im[2] = g_assVR_SUN_X2_LV2[rtb_DataTypeConversion3_gs - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' */ - rtb_VectorConcatenate_l0[1] = g_assVR_SUN_X1_LV3[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_im[1] = g_assVR_SUN_X1_LV3[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = g_assVR_SUN_X2_LV3[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_im[2] = g_assVR_SUN_X2_LV3[rtb_DataTypeConversion3_gs - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' */ - rtb_VectorConcatenate_l0[1] = g_assVR_SUN_X1_LV4[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_im[1] = g_assVR_SUN_X1_LV4[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = g_assVR_SUN_X2_LV4[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_im[2] = g_assVR_SUN_X2_LV4[rtb_DataTypeConversion3_gs - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' */ - rtb_VectorConcatenate_l0[1] = g_assVR_SUN_X1_LV5[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_im[1] = g_assVR_SUN_X1_LV5[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_l0[2] = g_assVR_SUN_X2_LV5[rtb_DataTypeConversion1_ao + rtb_VectorConcatenate_im[2] = g_assVR_SUN_X2_LV5[rtb_DataTypeConversion3_gs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: - * DataStoreRead: '/Data Store Read39' + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read39' */ - rtb_u5FRU_tg_incar = look1_bs16ts16Dd_binlc(rtDW.Sun_L, - rtb_VectorConcatenate_l0, rtb_VectorConcatenate_gu, 2U); + rtb_MultiportSwitch_l = look1_bs16ts16Dd_binlc(rtDW.Sun_L, + rtb_VectorConcatenate_im, rtb_VectorConcatenate_iw, 2U); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/manual2' - * DataStoreRead: '/AF from Start Control' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' + /* Switch: '/Switch' incorporates: + * Constant: '/manual2' + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/AF from Start Control' + * DataStoreRead: '/Data Store Read' * DataStoreWrite: '/Data Store Write21' - * Logic: '/Logical Operator' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Equal3' - * Switch: '/Switch2' + * Logic: '/Logical Operator' + * RelationalOperator: '/Equal3' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * Switch: '/Switch2' */ if ((rtDW.step_start_controle_rear == 0) || (rtDW.step_start_controle_rear == 1) || (rtDW.step_start_controle_rear == 2)) { - rtb_DataTypeConversion1_ao = rtDW.Blower_RL; + Blower_AF_RL = rtDW.Blower_RL; } else { if (rtDW.CCU_MODE_RL == 0) { - /* Switch: '/Switch2' incorporates: - * DataTypeConversion: '/Data Type Conversion4' + /* Switch: '/Switch2' incorporates: + * DataTypeConversion: '/Data Type Conversion4' */ - rtb_Switch1_oh = (uint8_t)rtB.MultiportSwitch_j; + rtb_Switch2_by = (uint8_t)rtB.MultiportSwitch_j; } else { - /* Sum: '/2.8. Vtg_FX_plus' incorporates: - * Switch: '/Switch2' + /* Sum: '/2.8. Vtg_FX_plus' incorporates: + * Switch: '/Switch2' */ - rtb_Bias5 = (int16_t)((int16_t)((int16_t)(rtb_MultiportSwitch_j + - rtb_MultiportSwitch_g) + rtb_MultiportSwitch_dv) + rtb_u5FRU_tg_incar); + rtb_MultiportSwitch_h = (int16_t)((int16_t)((int16_t)(rtb_u6FRU_tg_amb_f + + rtb_u6FRU_tg_amb) + rtb_MultiportSwitch_c) + rtb_MultiportSwitch_l); - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' - * Switch: '/Switch2' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' + * Switch: '/Switch2' */ - switch (rtb_DataTypeConversion1_pk) { + switch (rtb_timer_out) { case 0: for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assVR_MAX_LV0[i]; @@ -17511,27 +21400,28 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' incorporates: - * Switch: '/Switch2' + /* Selector: '/Selector' incorporates: + * Switch: '/Switch2' */ - rtb_u6FRU_tg_amb_h = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_ao - 1]; + rtb_MultiportSwitch_k = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_gs - + 1]; - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * Switch: '/Switch2' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * Switch: '/Switch2' */ - if (rtb_Bias5 <= rtb_u6FRU_tg_amb_h) { - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + if (rtb_MultiportSwitch_h <= rtb_MultiportSwitch_k) { + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ - switch (rtb_DataTypeConversion1_pk) { + switch (rtb_timer_out) { case 0: for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assVR_MIN_LV0[i]; @@ -17569,68 +21459,64 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' incorporates: - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Selector: '/Selector' */ - rtb_u6FRU_tg_amb_h = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_ao - 1]; + rtb_MultiportSwitch_k = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_gs + - 1]; - /* Switch: '/Switch' incorporates: - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector' */ - if (rtb_Bias5 >= rtb_u6FRU_tg_amb_h) { - rtb_u6FRU_tg_amb_h = rtb_Bias5; + if (rtb_MultiportSwitch_h >= rtb_MultiportSwitch_k) { + rtb_MultiportSwitch_k = rtb_MultiportSwitch_h; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch2' incorporates: - * DataStoreRead: '/Data Store Read' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * DataTypeConversion: '/Data Type Conversion2' - * Gain: '/Gain' - * MATLAB Function: '/func g_ascAUTO_STEP_AF_F' - * Product: '/Product' - * Sum: '/Add' + /* Switch: '/Switch2' incorporates: + * DataStoreRead: '/Data Store Read' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * DataTypeConversion: '/Data Type Conversion2' + * Gain: '/Gain' + * MATLAB Function: '/func g_ascAUTO_STEP_AF_F' + * Product: '/Product' + * Sum: '/Add' */ - rtb_Switch1_oh = (double)g_ascAUTO_STEP_AF_R[(int8_t)rtDW.CCU_AUTOMODE_RL - - 1] * 0.01 * (double)(uint8_t)rtb_u6FRU_tg_amb_h + (double)(uint8_t) - rtb_u6FRU_tg_amb_h; + rtb_Switch2_by = (double)g_ascAUTO_STEP_AF_R[(int8_t)rtDW.CCU_AUTOMODE_RL + - 1] * 0.01 * (double)(uint8_t)rtb_MultiportSwitch_k + (double)(uint8_t) + rtb_MultiportSwitch_k; } - rtb_DataTypeConversion1_ao = (uint8_t)rtb_Switch1_oh; + Blower_AF_RL = (uint8_t)rtb_Switch2_by; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Outputs for Enabled SubSystem: '/Rear Right AF - manual directions' */ - /* RelationalOperator: '/Equal1' incorporates: - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read45' - * DataStoreRead: '/Data Store Read15' - * DataStoreRead: '/Data Store Read16' - * DataStoreRead: '/Data Store Read17' + /* Outputs for Enabled SubSystem: '/Rear Right AF - manual directions' */ + /* RelationalOperator: '/Equal1' incorporates: + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read15' + * DataStoreRead: '/Data Store Read16' + * DataStoreRead: '/Data Store Read17' + * DataStoreRead: '/Data Store Read45' */ RearLeftAFmanualdirections((rtDW.CCU_MODE_RR == 0), rtDW.CCU_BLOWERS_RR, - rtDW.CCU_FACE_RR, rtDW.CCU_FOOT_RR, &rtB.MultiportSwitch_of); + rtDW.CCU_FACE_RR, rtDW.CCU_FOOT_RR, &rtB.MultiportSwitch_o); - /* End of Outputs for SubSystem: '/Rear Right AF - manual directions' */ + /* End of Outputs for SubSystem: '/Rear Right AF - manual directions' */ - /* MATLAB Function: '/func g_ascAUTO_STEP_AF_F' incorporates: - * DataStoreRead: '/Data Store Read' - * DataTypeConversion: '/Data Type Conversion1' - */ - funcg_ascAUTO_STEP_AF_F((int8_t)rtDW.CCU_AUTOMODE_RR, &rtb_y_c); - - /* Saturate: '/Saturation8' incorporates: - * DataStoreRead: '/Data Store Read33' + /* Saturate: '/Saturation8' incorporates: + * DataStoreRead: '/Data Store Read33' */ + /* : y = g_ascAUTO_STEP_AF_F(AF_STEP); */ if (rtDW.CCU_SET_RR > 290) { rtb_Saturation2_a = 290U; } else if (rtDW.CCU_SET_RR < 170) { @@ -17639,702 +21525,701 @@ void HVAC_model_step(void) rtb_Saturation2_a = rtDW.CCU_SET_RR; } - /* End of Saturate: '/Saturation8' */ + /* End of Saturate: '/Saturation8' */ - /* Gain: '/Gain4' incorporates: - * Bias: '/Bias1' - * DataTypeConversion: '/Data Type Conversion4' - * Gain: '/Gain2' - * Gain: '/Gain2' + /* Gain: '/Gain4' incorporates: + * Bias: '/Bias1' + * DataTypeConversion: '/Data Type Conversion4' + * Gain: '/Gain2' + * Product: '/Divide5' */ i = ((int32_t)((52429U * rtb_Saturation2_a) >> 19) + -15) << 14; - /* DataTypeConversion: '/Data Type Conversion3' incorporates: - * Gain: '/Gain2' - * Saturate: '/Saturation1' + /* DataTypeConversion: '/Data Type Conversion3' incorporates: + * Product: '/Divide5' + * Saturate: '/Saturation1' */ - rtb_DataTypeConversion3_j0 = (uint8_t)((((uint32_t)i & 16384U) != 0U) + (i >> + rtb_DataTypeConversion3_gs = (uint8_t)((((uint32_t)i & 16384U) != 0U) + (i >> 15)); - /* MultiPortSwitch: '/Multiport Switch2' incorporates: - * Lookup_n-D: '/1-D Lookup Table1' - * Lookup_n-D: '/1-D Lookup Table12' - * Lookup_n-D: '/1-D Lookup Table2' - * Lookup_n-D: '/1-D Lookup Table3' - * Lookup_n-D: '/1-D Lookup Table4' - * Lookup_n-D: '/1-D Lookup Table5' - * Saturate: '/Saturation8' + /* MultiPortSwitch: '/Multiport Switch2' incorporates: + * Lookup_n-D: '/1-D Lookup Table1' + * Lookup_n-D: '/1-D Lookup Table12' + * Lookup_n-D: '/1-D Lookup Table2' + * Lookup_n-D: '/1-D Lookup Table3' + * Lookup_n-D: '/1-D Lookup Table4' + * Lookup_n-D: '/1-D Lookup Table5' + * Saturate: '/Saturation8' */ - switch (rtb_DataTypeConversion1_pk) { + switch (rtb_timer_out) { case 0: - rtb_u6FRU_tg_amb_h = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled69, &g_assVTG_RR_LV0[0], 12U); + rtb_u5FLU_tg_incar_g = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, + rtConstP.pooled77, &g_assVTG_RR_LV0[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table3' - * Lookup_n-D: '/1-D Lookup Table' - * Saturate: '/Saturation8' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table3' + * Lookup_n-D: '/1-D Lookup Table' + * Saturate: '/Saturation8' */ - rtb_MultiportSwitch_ag = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2_a, rtConstP.pooled46, &g_assINCAR_TG_RR_LV0[0], 12U); + rtb_MultiportSwitch_h = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation2_a, rtConstP.pooled51, &g_assINCAR_TG_RR_LV0[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_gl[0] = g_assVR_INC_Y1_LV0[rtb_DataTypeConversion3_j0 + rtb_VectorConcatenate_fnw[0] = g_assVR_INC_Y1_LV0[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[1] = g_assVR_INC_Y2_LV0[rtb_DataTypeConversion3_j0 + rtb_VectorConcatenate_fnw[1] = g_assVR_INC_Y2_LV0[rtb_DataTypeConversion3_gs - 1]; break; case 1: - rtb_u6FRU_tg_amb_h = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled69, &g_assVTG_RR_LV1[0], 12U); + rtb_u5FLU_tg_incar_g = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, + rtConstP.pooled77, &g_assVTG_RR_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table4' - * Lookup_n-D: '/1-D Lookup Table1' - * Saturate: '/Saturation8' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table4' + * Lookup_n-D: '/1-D Lookup Table1' + * Saturate: '/Saturation8' */ - rtb_MultiportSwitch_ag = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2_a, rtConstP.pooled46, &g_assINCAR_TG_RR_LV1[0], 12U); + rtb_MultiportSwitch_h = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation2_a, rtConstP.pooled51, &g_assINCAR_TG_RR_LV1[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_gl[0] = g_assVR_INC_Y1_LV1[rtb_DataTypeConversion3_j0 + rtb_VectorConcatenate_fnw[0] = g_assVR_INC_Y1_LV1[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[1] = g_assVR_INC_Y2_LV1[rtb_DataTypeConversion3_j0 + rtb_VectorConcatenate_fnw[1] = g_assVR_INC_Y2_LV1[rtb_DataTypeConversion3_gs - 1]; break; case 2: - rtb_u6FRU_tg_amb_h = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled69, &g_assVTG_RR_LV1[0], 12U); + rtb_u5FLU_tg_incar_g = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, + rtConstP.pooled77, &g_assVTG_RR_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table5' - * Lookup_n-D: '/1-D Lookup Table2' - * Saturate: '/Saturation8' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table5' + * Lookup_n-D: '/1-D Lookup Table2' + * Saturate: '/Saturation8' */ - rtb_MultiportSwitch_ag = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2_a, rtConstP.pooled46, &g_assINCAR_TG_RR_LV2[0], 12U); + rtb_MultiportSwitch_h = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation2_a, rtConstP.pooled51, &g_assINCAR_TG_RR_LV2[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_gl[0] = g_assVR_INC_Y1_LV2[rtb_DataTypeConversion3_j0 + rtb_VectorConcatenate_fnw[0] = g_assVR_INC_Y1_LV2[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[1] = g_assVR_INC_Y2_LV2[rtb_DataTypeConversion3_j0 + rtb_VectorConcatenate_fnw[1] = g_assVR_INC_Y2_LV2[rtb_DataTypeConversion3_gs - 1]; break; case 3: - rtb_u6FRU_tg_amb_h = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled69, &g_assVTG_RR_LV3[0], 12U); + rtb_u5FLU_tg_incar_g = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, + rtConstP.pooled77, &g_assVTG_RR_LV3[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table12' - * Lookup_n-D: '/1-D Lookup Table3' - * Saturate: '/Saturation8' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table12' + * Lookup_n-D: '/1-D Lookup Table3' + * Saturate: '/Saturation8' */ - rtb_MultiportSwitch_ag = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2_a, rtConstP.pooled46, &g_assINCAR_TG_RR_LV3[0], 12U); + rtb_MultiportSwitch_h = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation2_a, rtConstP.pooled51, &g_assINCAR_TG_RR_LV3[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_gl[0] = g_assVR_INC_Y1_LV3[rtb_DataTypeConversion3_j0 + rtb_VectorConcatenate_fnw[0] = g_assVR_INC_Y1_LV3[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[1] = g_assVR_INC_Y2_LV3[rtb_DataTypeConversion3_j0 + rtb_VectorConcatenate_fnw[1] = g_assVR_INC_Y2_LV3[rtb_DataTypeConversion3_gs - 1]; break; case 4: - rtb_u6FRU_tg_amb_h = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled69, &g_assVTG_RR_LV4[0], 12U); + rtb_u5FLU_tg_incar_g = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, + rtConstP.pooled77, &g_assVTG_RR_LV4[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table1' - * Lookup_n-D: '/1-D Lookup Table4' - * Saturate: '/Saturation8' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table1' + * Lookup_n-D: '/1-D Lookup Table4' + * Saturate: '/Saturation8' */ - rtb_MultiportSwitch_ag = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2_a, rtConstP.pooled46, &g_assINCAR_TG_RR_LV4[0], 12U); + rtb_MultiportSwitch_h = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation2_a, rtConstP.pooled51, &g_assINCAR_TG_RR_LV4[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_gl[0] = g_assVR_INC_Y1_LV4[rtb_DataTypeConversion3_j0 + rtb_VectorConcatenate_fnw[0] = g_assVR_INC_Y1_LV4[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[1] = g_assVR_INC_Y2_LV4[rtb_DataTypeConversion3_j0 + rtb_VectorConcatenate_fnw[1] = g_assVR_INC_Y2_LV4[rtb_DataTypeConversion3_gs - 1]; break; default: - rtb_u6FRU_tg_amb_h = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, - rtConstP.pooled69, &g_assVTG_RR_LV5[0], 12U); + rtb_u5FLU_tg_incar_g = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2_a, + rtConstP.pooled77, &g_assVTG_RR_LV5[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table2' - * Lookup_n-D: '/1-D Lookup Table5' - * Saturate: '/Saturation8' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table2' + * Lookup_n-D: '/1-D Lookup Table5' + * Saturate: '/Saturation8' */ - rtb_MultiportSwitch_ag = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2_a, rtConstP.pooled46, &g_assINCAR_TG_RR_LV5[0], 12U); + rtb_MultiportSwitch_h = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation2_a, rtConstP.pooled51, &g_assINCAR_TG_RR_LV5[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_gl[0] = g_assVR_INC_Y1_LV5[rtb_DataTypeConversion3_j0 + rtb_VectorConcatenate_fnw[0] = g_assVR_INC_Y1_LV5[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gl[1] = g_assVR_INC_Y2_LV5[rtb_DataTypeConversion3_j0 + rtb_VectorConcatenate_fnw[1] = g_assVR_INC_Y2_LV5[rtb_DataTypeConversion3_gs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ - rtb_VectorConcatenate_gl[2] = 0; + rtb_VectorConcatenate_fnw[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ - switch (rtb_DataTypeConversion1_pk) { + /* MultiPortSwitch: '/Multiport Switch3' */ + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' */ - rtb_VectorConcatenate_gl[3] = g_assVR_INC_Y3_LV0[rtb_DataTypeConversion3_j0 + rtb_VectorConcatenate_fnw[3] = g_assVR_INC_Y3_LV0[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_gl[4] = g_assVR_INC_Y4_LV0[rtb_DataTypeConversion3_j0 + rtb_VectorConcatenate_fnw[4] = g_assVR_INC_Y4_LV0[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_ic[0] = g_assVR_INC_X1_LV0[rtb_DataTypeConversion3_j0 + rtb_VectorConcatenate_p[0] = g_assVR_INC_X1_LV0[rtb_DataTypeConversion3_gs - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[1] = g_assVR_INC_X2_LV0[rtb_DataTypeConversion3_gs - + 1]; + break; + + case 1: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + */ + rtb_VectorConcatenate_fnw[3] = g_assVR_INC_Y3_LV1[rtb_DataTypeConversion3_gs - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_ic[1] = g_assVR_INC_X2_LV0[rtb_DataTypeConversion3_j0 + rtb_VectorConcatenate_fnw[4] = g_assVR_INC_Y4_LV1[rtb_DataTypeConversion3_gs + - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[0] = g_assVR_INC_X1_LV1[rtb_DataTypeConversion3_gs - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[1] = g_assVR_INC_X2_LV1[rtb_DataTypeConversion3_gs - + 1]; + break; + + case 2: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + */ + rtb_VectorConcatenate_fnw[3] = g_assVR_INC_Y3_LV2[rtb_DataTypeConversion3_gs + - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_fnw[4] = g_assVR_INC_Y4_LV2[rtb_DataTypeConversion3_gs + - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[0] = g_assVR_INC_X1_LV2[rtb_DataTypeConversion3_gs - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[1] = g_assVR_INC_X2_LV2[rtb_DataTypeConversion3_gs - + 1]; + break; + + case 3: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + */ + rtb_VectorConcatenate_fnw[3] = g_assVR_INC_Y3_LV3[rtb_DataTypeConversion3_gs + - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_fnw[4] = g_assVR_INC_Y4_LV3[rtb_DataTypeConversion3_gs + - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[0] = g_assVR_INC_X1_LV3[rtb_DataTypeConversion3_gs - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[1] = g_assVR_INC_X2_LV3[rtb_DataTypeConversion3_gs - + 1]; + break; + + case 4: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + */ + rtb_VectorConcatenate_fnw[3] = g_assVR_INC_Y3_LV4[rtb_DataTypeConversion3_gs + - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_fnw[4] = g_assVR_INC_Y4_LV4[rtb_DataTypeConversion3_gs + - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[0] = g_assVR_INC_X1_LV4[rtb_DataTypeConversion3_gs - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[1] = g_assVR_INC_X2_LV4[rtb_DataTypeConversion3_gs - + 1]; + break; + + default: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + */ + rtb_VectorConcatenate_fnw[3] = g_assVR_INC_Y3_LV5[rtb_DataTypeConversion3_gs + - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_fnw[4] = g_assVR_INC_Y4_LV5[rtb_DataTypeConversion3_gs + - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[0] = g_assVR_INC_X1_LV5[rtb_DataTypeConversion3_gs - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[1] = g_assVR_INC_X2_LV5[rtb_DataTypeConversion3_gs - + 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch3' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_p[2] = 0; + + /* MultiPortSwitch: '/Multiport Switch3' */ + switch (rtb_timer_out) { + case 0: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + */ + rtb_VectorConcatenate_p[3] = g_assVR_INC_X3_LV0[rtb_DataTypeConversion3_gs - + 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[4] = g_assVR_INC_X4_LV0[rtb_DataTypeConversion3_gs - + 1]; + break; + + case 1: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + */ + rtb_VectorConcatenate_p[3] = g_assVR_INC_X3_LV1[rtb_DataTypeConversion3_gs - + 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[4] = g_assVR_INC_X4_LV1[rtb_DataTypeConversion3_gs - + 1]; + break; + + case 2: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + */ + rtb_VectorConcatenate_p[3] = g_assVR_INC_X3_LV2[rtb_DataTypeConversion3_gs - + 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[4] = g_assVR_INC_X4_LV2[rtb_DataTypeConversion3_gs - + 1]; + break; + + case 3: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + */ + rtb_VectorConcatenate_p[3] = g_assVR_INC_X3_LV3[rtb_DataTypeConversion3_gs - + 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[4] = g_assVR_INC_X4_LV3[rtb_DataTypeConversion3_gs - + 1]; + break; + + case 4: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + */ + rtb_VectorConcatenate_p[3] = g_assVR_INC_X3_LV4[rtb_DataTypeConversion3_gs - + 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[4] = g_assVR_INC_X4_LV4[rtb_DataTypeConversion3_gs - + 1]; + break; + + default: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + */ + rtb_VectorConcatenate_p[3] = g_assVR_INC_X3_LV5[rtb_DataTypeConversion3_gs - + 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_p[4] = g_assVR_INC_X4_LV5[rtb_DataTypeConversion3_gs - + 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch3' */ + + /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: + * DataStoreRead: '/Data Store Read38' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' + */ + rtb_X = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_MultiportSwitch_h - + rtDW.Incar_RR), rtb_VectorConcatenate_p, rtb_VectorConcatenate_fnw, 4U); + + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_timer_out) { + case 0: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + */ + rtb_VectorConcatenate_g[0] = g_assVR_AMB_Y1_LV0[rtb_DataTypeConversion3_gs - + 1]; + break; + + case 1: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + */ + rtb_VectorConcatenate_g[0] = g_assVR_AMB_Y1_LV1[rtb_DataTypeConversion3_gs - + 1]; + break; + + case 2: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + */ + rtb_VectorConcatenate_g[0] = g_assVR_AMB_Y1_LV2[rtb_DataTypeConversion3_gs - + 1]; + break; + + case 3: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + */ + rtb_VectorConcatenate_g[0] = g_assVR_AMB_Y1_LV3[rtb_DataTypeConversion3_gs - + 1]; + break; + + case 4: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + */ + rtb_VectorConcatenate_g[0] = g_assVR_AMB_Y1_LV4[rtb_DataTypeConversion3_gs - + 1]; + break; + + default: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + */ + rtb_VectorConcatenate_g[0] = g_assVR_AMB_Y1_LV5[rtb_DataTypeConversion3_gs - + 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch1' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_g[1] = 0; + + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_timer_out) { + case 0: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + */ + rtb_VectorConcatenate_g[2] = g_assVR_AMB_Y2_LV0[rtb_DataTypeConversion3_gs - + 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' + */ + rtb_VectorConcatenate_mx[0] = g_assVR_AMB_X1_LV0[rtb_DataTypeConversion3_gs - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' */ - rtb_VectorConcatenate_gl[3] = g_assVR_INC_Y3_LV1[rtb_DataTypeConversion3_j0 - - 1]; + rtb_VectorConcatenate_g[2] = g_assVR_AMB_Y2_LV1[rtb_DataTypeConversion3_gs - + 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_gl[4] = g_assVR_INC_Y4_LV1[rtb_DataTypeConversion3_j0 - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_ic[0] = g_assVR_INC_X1_LV1[rtb_DataTypeConversion3_j0 - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_ic[1] = g_assVR_INC_X2_LV1[rtb_DataTypeConversion3_j0 + rtb_VectorConcatenate_mx[0] = g_assVR_AMB_X1_LV1[rtb_DataTypeConversion3_gs - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' */ - rtb_VectorConcatenate_gl[3] = g_assVR_INC_Y3_LV2[rtb_DataTypeConversion3_j0 - - 1]; + rtb_VectorConcatenate_g[2] = g_assVR_AMB_Y2_LV2[rtb_DataTypeConversion3_gs - + 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_gl[4] = g_assVR_INC_Y4_LV2[rtb_DataTypeConversion3_j0 - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_ic[0] = g_assVR_INC_X1_LV2[rtb_DataTypeConversion3_j0 - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_ic[1] = g_assVR_INC_X2_LV2[rtb_DataTypeConversion3_j0 + rtb_VectorConcatenate_mx[0] = g_assVR_AMB_X1_LV2[rtb_DataTypeConversion3_gs - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' */ - rtb_VectorConcatenate_gl[3] = g_assVR_INC_Y3_LV3[rtb_DataTypeConversion3_j0 - - 1]; + rtb_VectorConcatenate_g[2] = g_assVR_AMB_Y2_LV3[rtb_DataTypeConversion3_gs - + 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_gl[4] = g_assVR_INC_Y4_LV3[rtb_DataTypeConversion3_j0 - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_ic[0] = g_assVR_INC_X1_LV3[rtb_DataTypeConversion3_j0 - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_ic[1] = g_assVR_INC_X2_LV3[rtb_DataTypeConversion3_j0 + rtb_VectorConcatenate_mx[0] = g_assVR_AMB_X1_LV3[rtb_DataTypeConversion3_gs - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' */ - rtb_VectorConcatenate_gl[3] = g_assVR_INC_Y3_LV4[rtb_DataTypeConversion3_j0 - - 1]; + rtb_VectorConcatenate_g[2] = g_assVR_AMB_Y2_LV4[rtb_DataTypeConversion3_gs - + 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_gl[4] = g_assVR_INC_Y4_LV4[rtb_DataTypeConversion3_j0 - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_ic[0] = g_assVR_INC_X1_LV4[rtb_DataTypeConversion3_j0 - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_ic[1] = g_assVR_INC_X2_LV4[rtb_DataTypeConversion3_j0 + rtb_VectorConcatenate_mx[0] = g_assVR_AMB_X1_LV4[rtb_DataTypeConversion3_gs - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' */ - rtb_VectorConcatenate_gl[3] = g_assVR_INC_Y3_LV5[rtb_DataTypeConversion3_j0 - - 1]; + rtb_VectorConcatenate_g[2] = g_assVR_AMB_Y2_LV5[rtb_DataTypeConversion3_gs - + 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_gl[4] = g_assVR_INC_Y4_LV5[rtb_DataTypeConversion3_j0 - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_ic[0] = g_assVR_INC_X1_LV5[rtb_DataTypeConversion3_j0 - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_ic[1] = g_assVR_INC_X2_LV5[rtb_DataTypeConversion3_j0 + rtb_VectorConcatenate_mx[0] = g_assVR_AMB_X1_LV5[rtb_DataTypeConversion3_gs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch3' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_ic[2] = 0; - - /* MultiPortSwitch: '/Multiport Switch3' */ - switch (rtb_DataTypeConversion1_pk) { - case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - */ - rtb_VectorConcatenate_ic[3] = g_assVR_INC_X3_LV0[rtb_DataTypeConversion3_j0 - - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_ic[4] = g_assVR_INC_X4_LV0[rtb_DataTypeConversion3_j0 - - 1]; - break; - - case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - */ - rtb_VectorConcatenate_ic[3] = g_assVR_INC_X3_LV1[rtb_DataTypeConversion3_j0 - - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_ic[4] = g_assVR_INC_X4_LV1[rtb_DataTypeConversion3_j0 - - 1]; - break; - - case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - */ - rtb_VectorConcatenate_ic[3] = g_assVR_INC_X3_LV2[rtb_DataTypeConversion3_j0 - - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_ic[4] = g_assVR_INC_X4_LV2[rtb_DataTypeConversion3_j0 - - 1]; - break; - - case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - */ - rtb_VectorConcatenate_ic[3] = g_assVR_INC_X3_LV3[rtb_DataTypeConversion3_j0 - - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_ic[4] = g_assVR_INC_X4_LV3[rtb_DataTypeConversion3_j0 - - 1]; - break; - - case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - */ - rtb_VectorConcatenate_ic[3] = g_assVR_INC_X3_LV4[rtb_DataTypeConversion3_j0 - - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_ic[4] = g_assVR_INC_X4_LV4[rtb_DataTypeConversion3_j0 - - 1]; - break; - - default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - */ - rtb_VectorConcatenate_ic[3] = g_assVR_INC_X3_LV5[rtb_DataTypeConversion3_j0 - - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_ic[4] = g_assVR_INC_X4_LV5[rtb_DataTypeConversion3_j0 - - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch3' */ - - /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: - * DataStoreRead: '/Data Store Read38' - * Sum: '/2.5. X = Inc_Tg - Incar_fb' - */ - rtb_MultiportSwitch_ag = look1_is16lu64n32Ds32_binlcn((int16_t) - (rtb_MultiportSwitch_ag - rtDW.Incar_RR), rtb_VectorConcatenate_ic, - rtb_VectorConcatenate_gl, 4U); - - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_DataTypeConversion1_pk) { - case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - */ - rtb_VectorConcatenate_jb[0] = g_assVR_AMB_Y1_LV0[rtb_DataTypeConversion3_j0 - - 1]; - break; - - case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - */ - rtb_VectorConcatenate_jb[0] = g_assVR_AMB_Y1_LV1[rtb_DataTypeConversion3_j0 - - 1]; - break; - - case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - */ - rtb_VectorConcatenate_jb[0] = g_assVR_AMB_Y1_LV2[rtb_DataTypeConversion3_j0 - - 1]; - break; - - case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - */ - rtb_VectorConcatenate_jb[0] = g_assVR_AMB_Y1_LV3[rtb_DataTypeConversion3_j0 - - 1]; - break; - - case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - */ - rtb_VectorConcatenate_jb[0] = g_assVR_AMB_Y1_LV4[rtb_DataTypeConversion3_j0 - - 1]; - break; - - default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - */ - rtb_VectorConcatenate_jb[0] = g_assVR_AMB_Y1_LV5[rtb_DataTypeConversion3_j0 - - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch1' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_jb[1] = 0; - - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_DataTypeConversion1_pk) { - case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - */ - rtb_VectorConcatenate_jb[2] = g_assVR_AMB_Y2_LV0[rtb_DataTypeConversion3_j0 - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_mx[0] = g_assVR_AMB_X1_LV0[rtb_DataTypeConversion3_j0 - - 1]; - break; - - case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - */ - rtb_VectorConcatenate_jb[2] = g_assVR_AMB_Y2_LV1[rtb_DataTypeConversion3_j0 - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_mx[0] = g_assVR_AMB_X1_LV1[rtb_DataTypeConversion3_j0 - - 1]; - break; - - case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - */ - rtb_VectorConcatenate_jb[2] = g_assVR_AMB_Y2_LV2[rtb_DataTypeConversion3_j0 - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_mx[0] = g_assVR_AMB_X1_LV2[rtb_DataTypeConversion3_j0 - - 1]; - break; - - case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - */ - rtb_VectorConcatenate_jb[2] = g_assVR_AMB_Y2_LV3[rtb_DataTypeConversion3_j0 - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_mx[0] = g_assVR_AMB_X1_LV3[rtb_DataTypeConversion3_j0 - - 1]; - break; - - case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - */ - rtb_VectorConcatenate_jb[2] = g_assVR_AMB_Y2_LV4[rtb_DataTypeConversion3_j0 - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_mx[0] = g_assVR_AMB_X1_LV4[rtb_DataTypeConversion3_j0 - - 1]; - break; - - default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - */ - rtb_VectorConcatenate_jb[2] = g_assVR_AMB_Y2_LV5[rtb_DataTypeConversion3_j0 - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_mx[0] = g_assVR_AMB_X1_LV5[rtb_DataTypeConversion3_j0 - - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch2' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_mx[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' incorporates: - * Constant: '/Constant10' - * Constant: '/Constant11' - * Constant: '/Constant6' - * Constant: '/Constant7' - * Constant: '/Constant8' - * Constant: '/Constant9' + /* MultiPortSwitch: '/Multiport Switch2' incorporates: + * Constant: '/Constant10' + * Constant: '/Constant11' + * Constant: '/Constant6' + * Constant: '/Constant7' + * Constant: '/Constant8' + * Constant: '/Constant9' */ - switch (rtb_DataTypeConversion1_pk) { + switch (rtb_timer_out) { case 0: for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assVR_AMB_X2_LV0[i]; } - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' */ - rtb_VectorConcatenate_mx[2] = g_assVR_AMB_X2_LV0[rtb_DataTypeConversion3_j0 + rtb_VectorConcatenate_mx[2] = g_assVR_AMB_X2_LV0[rtb_DataTypeConversion3_gs - 1]; break; @@ -18343,10 +22228,10 @@ void HVAC_model_step(void) rtb_uDLookupTable7_g[i] = g_assVR_AMB_X2_LV1[i]; } - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' */ - rtb_VectorConcatenate_mx[2] = g_assVR_AMB_X2_LV1[rtb_DataTypeConversion3_j0 + rtb_VectorConcatenate_mx[2] = g_assVR_AMB_X2_LV1[rtb_DataTypeConversion3_gs - 1]; break; @@ -18355,10 +22240,10 @@ void HVAC_model_step(void) rtb_uDLookupTable7_g[i] = g_assVR_AMB_X2_LV2[i]; } - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' */ - rtb_VectorConcatenate_mx[2] = g_assVR_AMB_X2_LV2[rtb_DataTypeConversion3_j0 + rtb_VectorConcatenate_mx[2] = g_assVR_AMB_X2_LV2[rtb_DataTypeConversion3_gs - 1]; break; @@ -18367,10 +22252,10 @@ void HVAC_model_step(void) rtb_uDLookupTable7_g[i] = g_assVR_AMB_X2_LV3[i]; } - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' */ - rtb_VectorConcatenate_mx[2] = g_assVR_AMB_X2_LV3[rtb_DataTypeConversion3_j0 + rtb_VectorConcatenate_mx[2] = g_assVR_AMB_X2_LV3[rtb_DataTypeConversion3_gs - 1]; break; @@ -18379,10 +22264,10 @@ void HVAC_model_step(void) rtb_uDLookupTable7_g[i] = g_assVR_AMB_X2_LV4[i]; } - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' */ - rtb_VectorConcatenate_mx[2] = g_assVR_AMB_X2_LV4[rtb_DataTypeConversion3_j0 + rtb_VectorConcatenate_mx[2] = g_assVR_AMB_X2_LV4[rtb_DataTypeConversion3_gs - 1]; break; @@ -18391,56 +22276,56 @@ void HVAC_model_step(void) rtb_uDLookupTable7_g[i] = g_assVR_AMB_X2_LV5[i]; } - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' */ - rtb_VectorConcatenate_mx[2] = g_assVR_AMB_X2_LV5[rtb_DataTypeConversion3_j0 + rtb_VectorConcatenate_mx[2] = g_assVR_AMB_X2_LV5[rtb_DataTypeConversion3_gs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* Lookup_n-D: '/2.6 FLU_tg_amb' */ - rtb_u6FRU_tg_amb = look1_is16lu64n32Ds32_binlcn(rtb_u6FRU_tg_amb, - rtb_VectorConcatenate_mx, rtb_VectorConcatenate_jb, 2U); + /* Lookup_n-D: '/2.6 FLU_tg_amb' */ + rtb_MultiportSwitch_l4 = look1_is16lu64n32Ds32_binlcn(rtb_y_fq, + rtb_VectorConcatenate_mx, rtb_VectorConcatenate_g, 2U); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/manual3' - * DataStoreRead: '/AF from Start Control' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read3' + /* Switch: '/Switch' incorporates: + * Constant: '/manual3' + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/AF from Start Control' + * DataStoreRead: '/Data Store Read' * DataStoreWrite: '/Data Store Write22' - * Logic: '/Logical Operator' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Equal4' - * Switch: '/Switch3' + * Logic: '/Logical Operator' + * RelationalOperator: '/Equal4' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * Switch: '/Switch3' */ if ((rtDW.step_start_controle_rear == 0) || (rtDW.step_start_controle_rear == 1) || (rtDW.step_start_controle_rear == 2)) { - rtb_DataTypeConversion1_pk = rtDW.Blower_RR; + Blower_AF_RR = rtDW.Blower_RR; } else { if (rtDW.CCU_MODE_RR == 0) { - /* Switch: '/Switch3' incorporates: - * DataTypeConversion: '/Data Type Conversion5' + /* Switch: '/Switch3' incorporates: + * DataTypeConversion: '/Data Type Conversion5' */ - rtb_Switch1_oh = (uint8_t)rtB.MultiportSwitch_of; + rtb_Switch2_by = (uint8_t)rtB.MultiportSwitch_o; } else { - /* MultiPortSwitch: '/Multiport Switch2' incorporates: - * Constant: '/Constant10' - * Constant: '/Constant11' - * Constant: '/Constant6' - * Constant: '/Constant7' - * Constant: '/Constant8' - * Constant: '/Constant9' - * Switch: '/Switch3' + /* MultiPortSwitch: '/Multiport Switch2' incorporates: + * Constant: '/Constant10' + * Constant: '/Constant11' + * Constant: '/Constant6' + * Constant: '/Constant7' + * Constant: '/Constant8' + * Constant: '/Constant9' + * Switch: '/Switch3' */ - switch (rtb_DataTypeConversion1_pk) { + switch (rtb_timer_out) { case 0: for (i = 0; i < 7; i++) { rtb_MultiportSwitch1_p2[i] = g_assVR_SUN_X2_LV0[i]; @@ -18478,91 +22363,91 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* Selector: '/Selector1' incorporates: - * Switch: '/Switch3' + /* Selector: '/Selector1' incorporates: + * Switch: '/Switch3' */ rtb_VectorConcatenate_mx[2] = - rtb_MultiportSwitch1_p2[rtb_DataTypeConversion3_j0 - 1]; + rtb_MultiportSwitch1_p2[rtb_DataTypeConversion3_gs - 1]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Switch: '/Switch3' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Switch: '/Switch3' */ - switch (rtb_DataTypeConversion1_pk) { + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * Selector: '/Selector1' */ rtb_VectorConcatenate_mx[1] = - g_assVR_SUN_X1_LV0[rtb_DataTypeConversion3_j0 - 1]; + g_assVR_SUN_X1_LV0[rtb_DataTypeConversion3_gs - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * Selector: '/Selector1' */ rtb_VectorConcatenate_mx[1] = - g_assVR_SUN_X1_LV1[rtb_DataTypeConversion3_j0 - 1]; + g_assVR_SUN_X1_LV1[rtb_DataTypeConversion3_gs - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * Selector: '/Selector1' */ rtb_VectorConcatenate_mx[1] = - g_assVR_SUN_X1_LV2[rtb_DataTypeConversion3_j0 - 1]; + g_assVR_SUN_X1_LV2[rtb_DataTypeConversion3_gs - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * Selector: '/Selector1' */ rtb_VectorConcatenate_mx[1] = - g_assVR_SUN_X1_LV3[rtb_DataTypeConversion3_j0 - 1]; + g_assVR_SUN_X1_LV3[rtb_DataTypeConversion3_gs - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * Selector: '/Selector1' */ rtb_VectorConcatenate_mx[1] = - g_assVR_SUN_X1_LV4[rtb_DataTypeConversion3_j0 - 1]; + g_assVR_SUN_X1_LV4[rtb_DataTypeConversion3_gs - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * Selector: '/Selector1' */ rtb_VectorConcatenate_mx[1] = - g_assVR_SUN_X1_LV5[rtb_DataTypeConversion3_j0 - 1]; + g_assVR_SUN_X1_LV5[rtb_DataTypeConversion3_gs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - * Switch: '/Switch3' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + * Switch: '/Switch3' */ rtb_VectorConcatenate_mx[0] = 0; - /* MultiPortSwitch: '/Multiport Switch2' incorporates: - * Constant: '/Constant10' - * Constant: '/Constant11' - * Constant: '/Constant6' - * Constant: '/Constant7' - * Constant: '/Constant8' - * Constant: '/Constant9' - * Switch: '/Switch3' + /* MultiPortSwitch: '/Multiport Switch2' incorporates: + * Constant: '/Constant10' + * Constant: '/Constant11' + * Constant: '/Constant6' + * Constant: '/Constant7' + * Constant: '/Constant8' + * Constant: '/Constant9' + * Switch: '/Switch3' */ - switch (rtb_DataTypeConversion1_pk) { + switch (rtb_timer_out) { case 0: for (i = 0; i < 7; i++) { rtb_MultiportSwitch1_p2[i] = g_assVR_SUN_Y2_LV0[i]; @@ -18600,105 +22485,105 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* Selector: '/Selector1' incorporates: - * Selector: '/Selector1' - * Switch: '/Switch3' + /* Selector: '/Selector1' incorporates: + * Selector: '/Selector1' + * Switch: '/Switch3' */ - rtb_VectorConcatenate_jb[2] = - rtb_MultiportSwitch1_p2[rtb_DataTypeConversion3_j0 - 1]; + rtb_VectorConcatenate_g[2] = + rtb_MultiportSwitch1_p2[rtb_DataTypeConversion3_gs - 1]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Switch: '/Switch3' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Switch: '/Switch3' */ - switch (rtb_DataTypeConversion1_pk) { + switch (rtb_timer_out) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_jb[1] = - g_assVR_SUN_Y1_LV0[rtb_DataTypeConversion3_j0 - 1]; + rtb_VectorConcatenate_g[1] = + g_assVR_SUN_Y1_LV0[rtb_DataTypeConversion3_gs - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_jb[1] = - g_assVR_SUN_Y1_LV1[rtb_DataTypeConversion3_j0 - 1]; + rtb_VectorConcatenate_g[1] = + g_assVR_SUN_Y1_LV1[rtb_DataTypeConversion3_gs - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_jb[1] = - g_assVR_SUN_Y1_LV2[rtb_DataTypeConversion3_j0 - 1]; + rtb_VectorConcatenate_g[1] = + g_assVR_SUN_Y1_LV2[rtb_DataTypeConversion3_gs - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_jb[1] = - g_assVR_SUN_Y1_LV3[rtb_DataTypeConversion3_j0 - 1]; + rtb_VectorConcatenate_g[1] = + g_assVR_SUN_Y1_LV3[rtb_DataTypeConversion3_gs - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_jb[1] = - g_assVR_SUN_Y1_LV4[rtb_DataTypeConversion3_j0 - 1]; + rtb_VectorConcatenate_g[1] = + g_assVR_SUN_Y1_LV4[rtb_DataTypeConversion3_gs - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_jb[1] = - g_assVR_SUN_Y1_LV5[rtb_DataTypeConversion3_j0 - 1]; + rtb_VectorConcatenate_g[1] = + g_assVR_SUN_Y1_LV5[rtb_DataTypeConversion3_gs - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - * Switch: '/Switch3' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + * Switch: '/Switch3' */ - rtb_VectorConcatenate_jb[0] = 0; + rtb_VectorConcatenate_g[0] = 0; - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: - * DataStoreRead: '/Data Store Read41' - * Switch: '/Switch3' + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * DataStoreRead: '/Data Store Read41' + * Switch: '/Switch3' */ - rtb_Switch1_oh = look1_bs16ts16DdId_binlc(rtDW.Sun_R, - rtb_VectorConcatenate_mx, rtb_VectorConcatenate_jb, 2U); + rtb_Switch2_by = look1_bs16ts16DdId_binlc(rtDW.Sun_R, + rtb_VectorConcatenate_mx, rtb_VectorConcatenate_g, 2U); - /* Sum: '/FLU_tg_correct' incorporates: - * Switch: '/Switch3' + /* Sum: '/FLU_tg_correct' incorporates: + * Switch: '/Switch3' */ - rtb_Bias5 = (int16_t)floor((double)((rtb_u6FRU_tg_amb_h + - rtb_MultiportSwitch_ag) + rtb_u6FRU_tg_amb) + rtb_Switch1_oh); + rtb_y_fq = (int16_t)floor((double)((rtb_u5FLU_tg_incar_g + rtb_X) + + rtb_MultiportSwitch_l4) + rtb_Switch2_by); - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' - * Switch: '/Switch3' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' + * Switch: '/Switch3' */ - switch (rtb_DataTypeConversion1_pk) { + switch (rtb_timer_out) { case 0: for (i = 0; i < 7; i++) { rtb_MultiportSwitch1_p2[i] = g_assVR_MAX_LV0[i]; @@ -18736,28 +22621,29 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' incorporates: - * Selector: '/Selector1' - * Switch: '/Switch3' + /* Selector: '/Selector' incorporates: + * Selector: '/Selector1' + * Switch: '/Switch3' */ - rtb_Switch2_p0 = rtb_MultiportSwitch1_p2[rtb_DataTypeConversion3_j0 - 1]; + rtb_MultiportSwitch_h = rtb_MultiportSwitch1_p2[rtb_DataTypeConversion3_gs + - 1]; - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * Switch: '/Switch3' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * Switch: '/Switch3' */ - if (rtb_Bias5 <= rtb_Switch2_p0) { - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + if (rtb_y_fq <= rtb_MultiportSwitch_h) { + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ - switch (rtb_DataTypeConversion1_pk) { + switch (rtb_timer_out) { case 0: for (i = 0; i < 7; i++) { rtb_MultiportSwitch1_p2[i] = g_assVR_MIN_LV0[i]; @@ -18795,46 +22681,51 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' incorporates: - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Selector: '/Selector1' */ - rtb_Switch2_p0 = rtb_MultiportSwitch1_p2[rtb_DataTypeConversion3_j0 - 1]; + rtb_MultiportSwitch_h = + rtb_MultiportSwitch1_p2[rtb_DataTypeConversion3_gs - 1]; - /* Switch: '/Switch' incorporates: - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector' */ - if (rtb_Bias5 >= rtb_Switch2_p0) { - rtb_Switch2_p0 = rtb_Bias5; + if (rtb_y_fq >= rtb_MultiportSwitch_h) { + rtb_MultiportSwitch_h = rtb_y_fq; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch3' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * Gain: '/Gain' - * Product: '/Product' - * Sum: '/Add' + /* Switch: '/Switch3' incorporates: + * DataStoreRead: '/Data Store Read' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * DataTypeConversion: '/Data Type Conversion1' + * Gain: '/Gain' + * MATLAB Function: '/func g_ascAUTO_STEP_AF_F' + * Product: '/Product' + * Sum: '/Add' */ - rtb_Switch1_oh = 0.01 * (double)rtb_y_c * (double)(uint8_t)rtb_Switch2_p0 - + (double)(uint8_t)rtb_Switch2_p0; + rtb_Switch2_by = (double)g_ascAUTO_STEP_AF_F[(int8_t)rtDW.CCU_AUTOMODE_RR + - 1] * 0.01 * (double)(uint8_t)rtb_MultiportSwitch_h + (double)(uint8_t) + rtb_MultiportSwitch_h; } - rtb_DataTypeConversion1_pk = (uint8_t)rtb_Switch1_oh; + Blower_AF_RR = (uint8_t)rtb_Switch2_by; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/is_ending_with_5' */ + /* MATLAB Function: '/is_ending_with_5' */ is_ending_with_5(Gain, &rtb_Compare_i5); - /* MATLAB Function: '/is_ending_with_5' */ + /* MATLAB Function: '/is_ending_with_5' */ /* : correct_after_time = [g_assCORRECT_AF_MAX_LV0; g_assCORRECT_AF_MAX_LV1; g_assCORRECT_AF_MAX_LV2; g_assCORRECT_AF_MAX_LV3; g_assCORRECT_AF_MAX_LV4; g_assCORRECT_AF_MAX_LV5]; */ /* : y = correct_after_time(LVL + 1, idivide(SET - 16 + 1, 2)); */ /* : correct_rate = [g_assCORRECT_AF_RATE_LV0; g_assCORRECT_AF_RATE_LV1; g_assCORRECT_AF_RATE_LV2; g_assCORRECT_AF_RATE_LV3; g_assCORRECT_AF_RATE_LV4; g_assCORRECT_AF_RATE_LV5]; */ @@ -18848,8 +22739,9 @@ void HVAC_model_step(void) is_ending_with_5(Gain1, &rtb_Compare_i5); /* BusCreator: '/Bus Creator' incorporates: - * Constant: '/Constant10' * DataStoreRead: '/Data Store Read73' + * DataStoreRead: '/Data Store Read82' + * DataStoreRead: '/Data Store Read83' * DataStoreWrite: '/Data Store Write32' */ /* : correct_after_time = [g_assCORRECT_AF_MAX_LV0; g_assCORRECT_AF_MAX_LV1; g_assCORRECT_AF_MAX_LV2; g_assCORRECT_AF_MAX_LV3; g_assCORRECT_AF_MAX_LV4; g_assCORRECT_AF_MAX_LV5]; */ @@ -18858,21 +22750,54 @@ void HVAC_model_step(void) /* : y = correct_rate(LVL + 1, idivide(SET - 16 + 1, 2)); */ /* : correct_after_time = [g_assCORRECT_AF_TIME_FR_LV0; g_assCORRECT_AF_TIME_FR_LV1; g_assCORRECT_AF_TIME_FR_LV2; g_assCORRECT_AF_TIME_FR_LV3; g_assCORRECT_AF_TIME_FR_LV4; g_assCORRECT_AF_TIME_FR_LV5]; */ /* : y = correct_after_time(LVL + 1, idivide(SET - 16 + 1, 2)); */ - rtDW.LIN4_CCU_Req_Model.CCU_Ionization_Req = 0U; - rtDW.LIN4_CCU_Req_Model.CCU_AromaIntens_Req = 0U; + rtDW.LIN4_CCU_Req_Model.CCU_Ionization_Req = rtDW.CCU_Ionization; + rtDW.LIN4_CCU_Req_Model.CCU_AromaIntens_Req = rtDW.Aroma_status; rtDW.LIN4_CCU_Req_Model.CCU_AirQS_Req = rtDW.Air_status; rtDW.LIN4_CCU_Req_Model.CCU_fHVAC_Pos_Val = 0U; rtDW.LIN4_CCU_Req_Model.CCU_rHVAC_Pos_Val = 0U; rtDW.LIN4_CCU_Req_Model.CCU_batChiller_Pos_Val = 0U; rtDW.LIN4_CCU_Req_Model.CCU_eeChiller_Pos_Val = 0U; - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read74' - * DataStoreWrite: '/Data Store Write33' - * RelationalOperator: '/Relational Operator1' + /* Chart: '/Chart' incorporates: + * DataStoreRead: '/Data Store Read75' + * DataStoreRead: '/Data Store Read78' */ - rtDW.Air_status = (uint8_t)(rtDW.CCU_RECIRC == 2); + if (rtDW.is_active_c248_HVAC_model == 0U) { + rtDW.is_active_c248_HVAC_model = 1U; + rtDW.is_c248_HVAC_model = IN_MAX_AC_OFF; + + /* : MaxAC_Active = false; */ + /* : condition=0; */ + rtB.condition = 0.0; + } else if (rtDW.is_c248_HVAC_model == IN_MAX_AC_OFF) { + /* : sf_internal_predicateOutput = CCU_AC_MAX==1; */ + if (rtDW.CCU_AC_MAX == 1) { + rtDW.is_c248_HVAC_model = IN_MAX_AC_ON; + } + + /* case IN_MAX_AC_ON: */ + /* : sf_internal_predicateOutput = CCU_AC_MAX==0; */ + } else if (rtDW.CCU_AC_MAX == 0) { + rtDW.is_c248_HVAC_model = IN_MAX_AC_OFF; + + /* : MaxAC_Active = false; */ + /* : condition=0; */ + rtB.condition = 0.0; + + /* : if amb > g_assAC_CUT_OFF_AMB_F(1) */ + } else if (rtDW.AMB > g_assAC_CUT_OFF_AMB_F[0]) { + /* : condition = 1; */ + rtB.condition = 1.0; + } else { + /* : else */ + /* : condition = 2; */ + rtB.condition = 2.0; + } + + /* End of Chart: '/Chart' */ + + /* DataStoreWrite: '/Data Store Write34' */ + rtDW.condition_ac_max = rtB.condition; /* MATLAB Function: '/MATLAB Function1' incorporates: * DataStoreWrite: '/Data Store Write29' @@ -18889,8 +22814,8 @@ void HVAC_model_step(void) /* : CAN_LoHi_Front = IDLE; */ rtDW.CAN_LoHi_Front = 0U; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' * MATLAB Function: '/MATLAB Function1' */ /* : CAN_LoHi_Rear = IDLE; */ @@ -18914,9 +22839,9 @@ void HVAC_model_step(void) /* : CAN_LoHi_Front = HI_4ZONE; */ rtDW.CAN_LoHi_Front = 99U; - /* BusCreator: '/Bus Creator' incorporates: + /* BusCreator: '/Bus Creator' incorporates: * DataStoreWrite: '/Data Store Write29' - * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write' */ /* : CAN_LoHi_Rear = HI_4ZONE; */ rtDW.dbgCAN_Logic_State_model.Logic_LoHi_Rear = 99U; @@ -18952,50 +22877,50 @@ void HVAC_model_step(void) } if ((rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2)) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* : elseif RL == 2 && RR == 2 */ /* : CAN_LoHi_Rear = HI_BOTH; */ rtDW.dbgCAN_Logic_State_model.Logic_LoHi_Rear = 88U; } else if (rtDW.LO_HI_MODE_RL == 2) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* : elseif RL == 2 */ /* : CAN_LoHi_Rear = HI_LEFT; */ rtDW.dbgCAN_Logic_State_model.Logic_LoHi_Rear = 80U; } else if (rtDW.LO_HI_MODE_RR == 2) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* : elseif RR == 2 */ /* : CAN_LoHi_Rear = HI_RIGHT; */ rtDW.dbgCAN_Logic_State_model.Logic_LoHi_Rear = 8U; } else if (rtb_FailCond_jb) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* : elseif is_LO_4zone */ /* : CAN_LoHi_Rear = LO_4ZONE; */ rtDW.dbgCAN_Logic_State_model.Logic_LoHi_Rear = 22U; } else if ((rtDW.LO_HI_MODE_RL == 1) && (rtDW.LO_HI_MODE_RR == 1)) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* : elseif RL == 1 && RR == 1 */ /* : CAN_LoHi_Rear = LO_BOTH; */ rtDW.dbgCAN_Logic_State_model.Logic_LoHi_Rear = 11U; } else if (rtDW.LO_HI_MODE_RL == 1) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* : elseif RL == 1 */ /* : CAN_LoHi_Rear = LO_LEFT; */ rtDW.dbgCAN_Logic_State_model.Logic_LoHi_Rear = 10U; } else if (rtDW.LO_HI_MODE_RR == 1) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* : elseif RR == 1 */ /* : CAN_LoHi_Rear = LO_RIGHT; */ @@ -19003,8 +22928,48 @@ void HVAC_model_step(void) } } - /* Chart: '/Synchronization stateflow chart' */ + /* DataStoreRead: '/Data Store Read87' incorporates: + * Outport: '/DRS_output' + */ /* : if is_HI_4zone */ + rtY.DRS_output[0] = rtDW.DRS_SFL; + + /* DataStoreRead: '/Data Store Read88' incorporates: + * Outport: '/DRS_output' + */ + rtY.DRS_output[1] = rtDW.DRS_SFR; + + /* DataStoreRead: '/Data Store Read89' incorporates: + * Outport: '/DRS_output' + */ + rtY.DRS_output[2] = rtDW.DRS_CFL; + + /* DataStoreRead: '/Data Store Read90' incorporates: + * Outport: '/DRS_output' + */ + rtY.DRS_output[3] = rtDW.DRS_CFR; + + /* DataStoreRead: '/Data Store Read91' incorporates: + * Outport: '/DRS_output' + */ + rtY.DRS_output[4] = rtDW.DRS_CRL; + + /* DataStoreRead: '/Data Store Read92' incorporates: + * Outport: '/DRS_output' + */ + rtY.DRS_output[5] = rtDW.DRS_CRR; + + /* DataStoreRead: '/Data Store Read93' incorporates: + * Outport: '/DRS_output' + */ + rtY.DRS_output[6] = rtDW.DRS_SRL; + + /* DataStoreRead: '/Data Store Read94' incorporates: + * Outport: '/DRS_output' + */ + rtY.DRS_output[7] = rtDW.DRS_SRR; + + /* Chart: '/Synchronization stateflow chart' */ if (rtDW.is_active_c618_HVAC_model == 0U) { rtDW.is_active_c618_HVAC_model = 1U; rtDW.is_c618_HVAC_model = IN_NO_SYNC; @@ -19152,41 +23117,50 @@ void HVAC_model_step(void) /* End of Chart: '/Synchronization stateflow chart' */ - /* Outputs for Enabled SubSystem: '/Front Left Valves - manual directions' incorporates: - * EnablePort: '/Enable' + /* DataStoreWrite: '/Data Store Write15' */ + rtb_timer_out = rtB.sync_rear; + + /* DataStoreWrite: '/Data Store Write16' */ + rtb_DataTypeConversion3_gs = rtB.sync_all; + + /* DataStoreWrite: '/Data Store Write17' */ + CCU_FRONT_SYNC = rtB.sync_front; + + /* Outputs for Enabled SubSystem: '/Front Left Valves - manual directions' incorporates: + * EnablePort: '/Enable' */ - /* RelationalOperator: '/Equal2' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read44' + /* RelationalOperator: '/Equal2' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read44' */ if (rtDW.CCU_MODE_FL == 0) { - /* Sum: '/Add' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * Gain: '/Gain1' - * Gain: '/Gain2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' + /* Sum: '/Add' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * Gain: '/Gain1' + * Gain: '/Gain2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' */ Gain = (uint16_t)(((uint32_t)((rtDW.CCU_FACE_FL == 1) << 1) + (uint32_t) (rtDW.CCU_DEF_FL == 1)) + (uint32_t)((rtDW.CCU_FOOT_FL == 1) << 2)); - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant10' - * Constant: '/Constant11' - * Constant: '/Constant4' - * Constant: '/Constant5' - * Constant: '/Constant6' - * Constant: '/Constant7' - * Constant: '/Constant8' - * Constant: '/Constant9' - * DataStoreWrite: '/Data Store Write' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant10' + * Constant: '/Constant11' + * Constant: '/Constant4' + * Constant: '/Constant5' + * Constant: '/Constant6' + * Constant: '/Constant7' + * Constant: '/Constant8' + * Constant: '/Constant9' + * DataStoreWrite: '/Data Store Write' */ switch (Gain) { case 0: @@ -19222,95 +23196,95 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* MATLAB Function: '/Valves for Hi_Level' */ + /* MATLAB Function: '/Valves for Hi_Level' */ /* : out = g_ausFLOW_FR_DE2VALVE; */ /* : out = g_ausFLOW_FR_VE2VALVE; */ - ValvesforHi_Level(rtb_out_j); + ValvesforHi_Level(rtb_out_ak); - /* MATLAB Function: '/Valves for Foot + Def' */ + /* MATLAB Function: '/Valves for Foot + Def' */ /* : out = g_ausFLOW_FR_FO2VALVE; */ - ValvesforFootDef(rtb_out_nf); + ValvesforFootDef(rtb_out_bql); - /* MATLAB Function: '/Valves for Bi Level' */ - ValvesforBiLevel(rtb_out_a2); + /* MATLAB Function: '/Valves for Bi Level' */ + ValvesforBiLevel(rtb_out_p); - /* MATLAB Function: '/Valves for Tri-Level' */ - ValvesforTriLevel(rtB.MultiportSwitch_f); + /* MATLAB Function: '/Valves for Tri-Level' */ + ValvesforTriLevel(rtB.MultiportSwitch_e); - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ switch (Gain) { case 0: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 9; i++) { - rtB.MultiportSwitch_f[i] = 0U; + rtB.MultiportSwitch_e[i] = 0U; } break; case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * MATLAB Function: '/Valves for Def' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * MATLAB Function: '/Valves for Def' */ for (i = 0; i < 9; i++) { - rtB.MultiportSwitch_f[i] = g_ausFLOW_FR_DE2VALVE[i]; + rtB.MultiportSwitch_e[i] = g_ausFLOW_FR_DE2VALVE[i]; } break; case 2: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * MATLAB Function: '/Valves for Vent mode' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * MATLAB Function: '/Valves for Vent mode' */ for (i = 0; i < 9; i++) { - rtB.MultiportSwitch_f[i] = g_ausFLOW_FR_VE2VALVE[i]; + rtB.MultiportSwitch_e[i] = g_ausFLOW_FR_VE2VALVE[i]; } break; case 3: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 9; i++) { - rtB.MultiportSwitch_f[i] = rtb_out_j[i]; + rtB.MultiportSwitch_e[i] = rtb_out_ak[i]; } break; case 4: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * MATLAB Function: '/Valves for Foot' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * MATLAB Function: '/Valves for Foot' */ for (i = 0; i < 9; i++) { - rtB.MultiportSwitch_f[i] = g_ausFLOW_FR_FO2VALVE[i]; + rtB.MultiportSwitch_e[i] = g_ausFLOW_FR_FO2VALVE[i]; } break; case 5: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 9; i++) { - rtB.MultiportSwitch_f[i] = rtb_out_nf[i]; + rtB.MultiportSwitch_e[i] = rtb_out_bql[i]; } break; case 6: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 9; i++) { - rtB.MultiportSwitch_f[i] = rtb_out_a2[i]; + rtB.MultiportSwitch_e[i] = rtb_out_p[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ } - /* End of RelationalOperator: '/Equal2' */ - /* End of Outputs for SubSystem: '/Front Left Valves - manual directions' */ + /* End of RelationalOperator: '/Equal2' */ + /* End of Outputs for SubSystem: '/Front Left Valves - manual directions' */ - /* RelationalOperator: '/Equal1' incorporates: - * Constant: '/manual' - * DataStoreRead: '/Data Store Read46' + /* RelationalOperator: '/Equal1' incorporates: + * Constant: '/manual' + * DataStoreRead: '/Data Store Read46' */ rtb_Compare_i5 = (rtDW.CCU_MODE_FL == 0); - /* Saturate: '/Saturation4' incorporates: - * DataStoreRead: '/Data Store Read' + /* Saturate: '/Saturation4' incorporates: + * DataStoreRead: '/Data Store Read' */ if (rtDW.LEVEL <= 5) { rtb_Saturation4_l = rtDW.LEVEL; @@ -19318,39 +23292,27 @@ void HVAC_model_step(void) rtb_Saturation4_l = 5U; } - /* End of Saturate: '/Saturation4' */ + /* End of Saturate: '/Saturation4' */ - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read16' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read16' */ if (rtDW.CCU_SET_FL > 290) { - rtb_out_os = 290U; + rtb_out_px = 290U; } else if (rtDW.CCU_SET_FL < 170) { - rtb_out_os = 170U; + rtb_out_px = 170U; } else { - rtb_out_os = rtDW.CCU_SET_FL; + rtb_out_px = rtDW.CCU_SET_FL; } - /* MATLAB Function: '/MODE_for_set_and_lvl' incorporates: - * Gain: '/Gain2' - * Saturate: '/Saturation' + /* MATLAB Function: '/MODE_for_set_and_lvl' incorporates: + * Gain: '/Gain2' + * Saturate: '/Saturation' */ - MODE_for_set_and_lvl(rtb_Saturation4_l, (int16_t)((52429U * rtb_out_os) >> 19), - &rtb_DataTypeConversion3_j0); + MODE_for_set_and_lvl(rtb_Saturation4_l, (int16_t)((52429U * rtb_out_px) >> 19), + &rtb_DataTypeConversion_ca); - /* If: '/If' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/mode from Start Control' - * Logic: '/Logical Operator' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - */ + /* MATLAB Function: '/valves_front_left' */ /* : modes_array = [ */ /* : g_ausFLOW_FR_VE2VALVE; */ /* : g_ausFLOW_FR_BIVALVE; */ @@ -19359,13 +23321,48 @@ void HVAC_model_step(void) /* : g_ausFLOW_FR_AF2VALVE_SUMMER]; */ /* : index = idivide(MODE, 10); */ /* : get_valves = modes_array(index, :); */ + i = (int32_t)trunc((double)rtb_DataTypeConversion_ca / 10.0); + for (rtb_Switch5 = 0; rtb_Switch5 < 9; rtb_Switch5++) { + tmp[5 * rtb_Switch5] = g_ausFLOW_FR_VE2VALVE[rtb_Switch5]; + tmp[5 * rtb_Switch5 + 1] = g_ausFLOW_FR_BIVALVE[rtb_Switch5]; + tmp[5 * rtb_Switch5 + 2] = g_ausFLOW_FR_BI2VALVE[rtb_Switch5]; + tmp[5 * rtb_Switch5 + 3] = g_ausFLOW_FR_AF2VALVE[rtb_Switch5]; + tmp[5 * rtb_Switch5 + 4] = g_ausFLOW_FR_AF2VALVE_SUMMER[rtb_Switch5]; + + /* Switch: '/Switch' incorporates: + * MultiPortSwitch: '/Multiport Switch' + */ + if (rtb_Compare_i5) { + rtb_out_ak[rtb_Switch5] = rtB.MultiportSwitch_e[rtb_Switch5]; + } else { + rtb_out_ak[rtb_Switch5] = tmp[(5 * rtb_Switch5 + i) - 1]; + } + + /* End of Switch: '/Switch' */ + } + + /* End of MATLAB Function: '/valves_front_left' */ + + /* If: '/If' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/mode from Start Control' + * Logic: '/Logical Operator' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + */ if (((rtDW.step_start_controle_front == 0) || (rtDW.step_start_controle_front == 1) || (rtDW.step_start_controle_front == 2)) && (rtDW.Mode_FL > 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/valves for mode' incorporates: - * DataStoreRead: '/mode from Start Control' + /* MATLAB Function: '/valves for mode' incorporates: + * DataStoreRead: '/mode from Start Control' */ /* : modes_array = [ */ /* : g_ausFLOW_FR_VE2VALVE; */ @@ -19383,274 +23380,297 @@ void HVAC_model_step(void) /* : index = idivide(MODE, 10); */ /* : get_valves = modes_array(index, :); */ i = (int32_t)trunc((double)rtDW.Mode_FL / 10.0); - for (i_0 = 0; i_0 < 9; i_0++) { - tmp_0[11 * i_0] = g_ausFLOW_FR_VE2VALVE[i_0]; - tmp_0[11 * i_0 + 1] = g_ausFLOW_FR_BIVALVE[i_0]; - tmp_0[11 * i_0 + 2] = g_ausFLOW_FR_BI2VALVE[i_0]; - tmp_0[11 * i_0 + 3] = g_ausFLOW_FR_AF2VALVE[i_0]; - tmp_0[11 * i_0 + 4] = g_ausFLOW_FR_AF2VALVE_SUMMER[i_0]; - tmp_0[11 * i_0 + 5] = g_ausFLOW_FR_FO2VALVE[i_0]; - tmp_0[11 * i_0 + 6] = g_ausFLOW_FR_FD2VALVE[i_0]; - tmp_0[11 * i_0 + 7] = g_ausFLOW_FR_DE2VALVE[i_0]; - tmp_0[11 * i_0 + 8] = g_ausFLOW_FR_TR2VALVE[i_0]; - tmp_0[11 * i_0 + 9] = g_ausFLOW_FR_HI2VALVE[i_0]; - tmp_0[11 * i_0 + 10] = g_ausFLOW_FR_BIVALVE_MANUAL[i_0]; + for (rtb_Switch5 = 0; rtb_Switch5 < 9; rtb_Switch5++) { + tmp_0[11 * rtb_Switch5] = g_ausFLOW_FR_VE2VALVE[rtb_Switch5]; + tmp_0[11 * rtb_Switch5 + 1] = g_ausFLOW_FR_BIVALVE[rtb_Switch5]; + tmp_0[11 * rtb_Switch5 + 2] = g_ausFLOW_FR_BI2VALVE[rtb_Switch5]; + tmp_0[11 * rtb_Switch5 + 3] = g_ausFLOW_FR_AF2VALVE[rtb_Switch5]; + tmp_0[11 * rtb_Switch5 + 4] = g_ausFLOW_FR_AF2VALVE_SUMMER[rtb_Switch5]; + tmp_0[11 * rtb_Switch5 + 5] = g_ausFLOW_FR_FO2VALVE[rtb_Switch5]; + tmp_0[11 * rtb_Switch5 + 6] = g_ausFLOW_FR_FD2VALVE[rtb_Switch5]; + tmp_0[11 * rtb_Switch5 + 7] = g_ausFLOW_FR_DE2VALVE[rtb_Switch5]; + tmp_0[11 * rtb_Switch5 + 8] = g_ausFLOW_FR_TR2VALVE[rtb_Switch5]; + tmp_0[11 * rtb_Switch5 + 9] = g_ausFLOW_FR_HI2VALVE[rtb_Switch5]; + tmp_0[11 * rtb_Switch5 + 10] = g_ausFLOW_FR_BIVALVE_MANUAL[rtb_Switch5]; - /* SignalConversion generated from: '/get_valves' */ - rtb_out_nf[i_0] = tmp_0[(11 * i_0 + i) - 1]; + /* SignalConversion generated from: '/get_valves' incorporates: + * Merge: '/Merge' + */ + rtb_out_bql[rtb_Switch5] = tmp_0[(11 * rtb_Switch5 + i) - 1]; } - /* End of MATLAB Function: '/valves for mode' */ - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of MATLAB Function: '/valves for mode' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* MATLAB Function: '/valves_front_left' */ - i = (int32_t)trunc((double)rtb_DataTypeConversion3_j0 / 10.0); - - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - for (i_0 = 0; i_0 < 9; i_0++) { - tmp[5 * i_0] = g_ausFLOW_FR_VE2VALVE[i_0]; - tmp[5 * i_0 + 1] = g_ausFLOW_FR_BIVALVE[i_0]; - tmp[5 * i_0 + 2] = g_ausFLOW_FR_BI2VALVE[i_0]; - tmp[5 * i_0 + 3] = g_ausFLOW_FR_AF2VALVE[i_0]; - tmp[5 * i_0 + 4] = g_ausFLOW_FR_AF2VALVE_SUMMER[i_0]; - - /* Switch: '/Switch' */ - if (rtb_Compare_i5) { - /* SignalConversion generated from: '/valves_in' incorporates: - * MultiPortSwitch: '/Multiport Switch' - */ - rtb_out_nf[i_0] = rtB.MultiportSwitch_f[i_0]; - } else { - /* SignalConversion generated from: '/valves_in' */ - rtb_out_nf[i_0] = tmp[(5 * i_0 + i) - 1]; - } - - /* End of Switch: '/Switch' */ + /* SignalConversion generated from: '/valves_in' incorporates: + * Merge: '/Merge' + * Switch: '/Switch' + */ + for (i = 0; i < 9; i++) { + rtb_out_bql[i] = rtb_out_ak[i]; } - /* End of MATLAB Function: '/valves_front_left' */ - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of SignalConversion generated from: '/valves_in' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ - for (i = 0; i < 5; i++) { - /* Assignment: '/Присваивание в [7-8]' incorporates: - * DataStoreWrite: '/Data Store Write23' - * SignalConversion generated from: '/Присваивание в [3-4]' - */ - rtb_out_j[i] = rtb_out_nf[i]; - } + /* End of If: '/If' */ - /* Assignment: '/Присваивание в [7-8]' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreWrite: '/Data Store Write23' - * SignalConversion generated from: '/Присваивание в [3-4]' - * Sum: '/Sum' + /* Switch: '/Switch6' incorporates: + * DataStoreRead: '/Data Store Read12' */ - rtb_out_j[5] = (uint16_t)(rtb_out_nf[5] + rtDW.Valve_individual_foot_FL); - rtb_out_j[8] = rtb_out_nf[8]; + if (rtDW.CCU_AC_MAX <= 0) { + /* DataStoreWrite: '/Data Store Write23' incorporates: + * DataStoreRead: '/Data Store Read2' + * Sum: '/Sum' + */ + for (i = 0; i < 5; i++) { + rtb_out_ak[i] = rtb_out_bql[i]; + } - /* Sum: '/Add' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * Gain: '/Gain1' - * Gain: '/Gain2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' + rtb_out_ak[5] = (uint16_t)(rtb_out_bql[5] + rtDW.Valve_individual_foot_FL); + rtb_out_ak[8] = rtb_out_bql[8]; + } + + /* End of Switch: '/Switch6' */ + + /* Sum: '/Add' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * Gain: '/Gain1' + * Gain: '/Gain2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' */ rtb_Saturation2_a = (uint16_t)(((uint32_t)((rtDW.CCU_FACE_FR == 1) << 1) + (uint32_t)(rtDW.CCU_DEF_FR == 1)) + (uint32_t)((rtDW.CCU_FOOT_FR == 1) << 2)); - /* MATLAB Function: '/Valves for Hi_Level' */ + /* MATLAB Function: '/Valves for Hi_Level' */ /* : out = g_ausFLOW_FR_DE2VALVE; */ /* : out = g_ausFLOW_FR_VE2VALVE; */ - ValvesforHi_Level(rtb_out_nf); + ValvesforHi_Level(rtb_out_p); - /* MATLAB Function: '/Valves for Foot + Def' */ + /* MATLAB Function: '/Valves for Foot + Def' */ /* : out = g_ausFLOW_FR_FO2VALVE; */ - ValvesforFootDef(rtb_out_a2); + ValvesforFootDef(rtb_out_o3); - /* MATLAB Function: '/Valves for Bi Level' */ - ValvesforBiLevel(rtb_out_lf); + /* MATLAB Function: '/Valves for Bi Level' */ + ValvesforBiLevel(rtb_out_du); - /* MATLAB Function: '/Valves for Tri-Level' */ - ValvesforTriLevel(rtb_out_oz); + /* MATLAB Function: '/Valves for Tri-Level' */ + ValvesforTriLevel(rtb_out_pv); - /* Saturate: '/Saturation1' incorporates: - * DataStoreRead: '/Data Store Read17' + /* Saturate: '/Saturation1' incorporates: + * DataStoreRead: '/Data Store Read17' */ if (rtDW.CCU_SET_FR > 290) { - rtb_out_os = 290U; + rtb_out_px = 290U; } else if (rtDW.CCU_SET_FR < 170) { - rtb_out_os = 170U; + rtb_out_px = 170U; } else { - rtb_out_os = rtDW.CCU_SET_FR; + rtb_out_px = rtDW.CCU_SET_FR; } - /* MATLAB Function: '/MODE_for_set_and_lvl1' incorporates: - * Gain: '/Gain1' - * Saturate: '/Saturation1' + /* MATLAB Function: '/MODE_for_set_and_lvl1' incorporates: + * Gain: '/Gain1' + * Saturate: '/Saturation1' */ - MODE_for_set_and_lvl(rtb_Saturation4_l, (int16_t)((52429U * rtb_out_os) >> 19), - &rtb_Sum1); + MODE_for_set_and_lvl(rtb_Saturation4_l, (int16_t)((52429U * rtb_out_px) >> 19), + &rtb_DataTypeConversion3_k); - /* MATLAB Function: '/valves_front_right' */ - valvesformode(rtb_Sum1, rtb_get_valves); + /* MATLAB Function: '/valves_front_right' */ + valvesformode(rtb_DataTypeConversion3_k, rtb_out_bql); - /* Switch: '/Switch1' incorporates: - * Constant: '/manual1' - * DataStoreRead: '/Data Store Read8' - * RelationalOperator: '/Equal2' + /* Switch: '/Switch1' incorporates: + * Constant: '/manual1' + * DataStoreRead: '/Data Store Read8' + * RelationalOperator: '/Equal2' */ if (rtDW.CCU_MODE_FR == 0) { - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ switch (rtb_Saturation2_a) { case 0: - /* Switch: '/Switch1' */ + /* Switch: '/Switch1' */ for (i = 0; i < 9; i++) { - rtb_get_valves[i] = 0U; + rtb_out_bql[i] = 0U; } break; case 1: - /* Switch: '/Switch1' incorporates: - * MATLAB Function: '/Valves for Def' + /* Switch: '/Switch1' incorporates: + * MATLAB Function: '/Valves for Def' */ for (i = 0; i < 9; i++) { - rtb_get_valves[i] = g_ausFLOW_FR_DE2VALVE[i]; + rtb_out_bql[i] = g_ausFLOW_FR_DE2VALVE[i]; } break; case 2: - /* Switch: '/Switch1' incorporates: - * MATLAB Function: '/Valves for Vent mode' + /* Switch: '/Switch1' incorporates: + * MATLAB Function: '/Valves for Vent mode' */ for (i = 0; i < 9; i++) { - rtb_get_valves[i] = g_ausFLOW_FR_VE2VALVE[i]; + rtb_out_bql[i] = g_ausFLOW_FR_VE2VALVE[i]; } break; case 3: - /* Switch: '/Switch1' */ + /* Switch: '/Switch1' */ for (i = 0; i < 9; i++) { - rtb_get_valves[i] = rtb_out_nf[i]; + rtb_out_bql[i] = rtb_out_p[i]; } break; case 4: - /* Switch: '/Switch1' incorporates: - * MATLAB Function: '/Valves for Foot' + /* Switch: '/Switch1' incorporates: + * MATLAB Function: '/Valves for Foot' */ for (i = 0; i < 9; i++) { - rtb_get_valves[i] = g_ausFLOW_FR_FO2VALVE[i]; + rtb_out_bql[i] = g_ausFLOW_FR_FO2VALVE[i]; } break; case 5: - /* Switch: '/Switch1' */ + /* Switch: '/Switch1' */ for (i = 0; i < 9; i++) { - rtb_get_valves[i] = rtb_out_a2[i]; + rtb_out_bql[i] = rtb_out_o3[i]; } break; case 6: - /* Switch: '/Switch1' */ + /* Switch: '/Switch1' */ for (i = 0; i < 9; i++) { - rtb_get_valves[i] = rtb_out_lf[i]; + rtb_out_bql[i] = rtb_out_du[i]; } break; default: - /* Switch: '/Switch1' */ + /* Switch: '/Switch1' */ for (i = 0; i < 9; i++) { - rtb_get_valves[i] = rtb_out_oz[i]; + rtb_out_bql[i] = rtb_out_pv[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* If: '/If1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/mode from Start Control' - * Logic: '/Logical Operator' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* If: '/If1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/mode from Start Control' + * Logic: '/Logical Operator' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ if (((rtDW.step_start_controle_front == 0) || (rtDW.step_start_controle_front == 1) || (rtDW.step_start_controle_front == 2)) && (rtDW.Mode_FR > 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion generated from: '/get_valves' incorporates: - * DataStoreRead: '/mode from Start Control' - * MATLAB Function: '/valves for mode' + /* SignalConversion generated from: '/get_valves' incorporates: + * DataStoreRead: '/mode from Start Control' + * MATLAB Function: '/valves for mode' + * Merge: '/Merge' */ - valvesformode(rtDW.Mode_FR, rtb_get_valves); + valvesformode(rtDW.Mode_FR, rtb_out_p); - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion generated from: '/In1' incorporates: + * Merge: '/Merge' + * Switch: '/Switch1' + */ + for (i = 0; i < 9; i++) { + rtb_out_p[i] = rtb_out_bql[i]; + } + + /* End of SignalConversion generated from: '/In1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* Assignment: '/Присваивание в [3-4]' incorporates: - * Assignment: '/Присваивание в [7-8]' + /* Switch: '/Switch4' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read13' + * Sum: '/Sum' + */ + if (rtDW.CCU_AC_MAX <= 0) { + for (i = 0; i < 5; i++) { + rtb_out_bql[i] = rtb_out_p[i]; + } + + rtb_out_bql[7] = rtb_out_p[7]; + rtb_out_bql[6] = (uint16_t)(rtb_out_p[6] + rtDW.Valve_individual_foot_FR); + } + + /* End of Switch: '/Switch4' */ + + /* Assignment: '/Присваивание в [3-4]' incorporates: * DataStoreWrite: '/Data Store Write23' */ - rtb_out_j[2] = rtb_get_valves[2]; - rtb_out_j[3] = rtb_get_valves[3]; + rtb_out_ak[2] = rtb_out_bql[2]; - /* Assignment: '/Присваивание в [7-8]' incorporates: - * DataStoreRead: '/Data Store Read2' + /* Assignment: '/Присваивание в [7-8]' incorporates: * DataStoreWrite: '/Data Store Write23' - * SignalConversion generated from: '/Присваивание в [7-8]' - * Sum: '/Sum' */ - rtb_out_j[6] = (uint16_t)(rtb_get_valves[6] + rtDW.Valve_individual_foot_FR); - rtb_out_j[7] = rtb_get_valves[7]; + rtb_out_ak[6] = rtb_out_bql[6]; - /* Outputs for Enabled SubSystem: '/Rear valves left - manual directions' incorporates: - * EnablePort: '/Enable' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * DataStoreWrite: '/Data Store Write23' */ - /* RelationalOperator: '/Equal2' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read44' + rtb_out_ak[3] = rtb_out_bql[3]; + + /* Assignment: '/Присваивание в [7-8]' incorporates: + * DataStoreWrite: '/Data Store Write23' + */ + rtb_out_ak[7] = rtb_out_bql[7]; + + /* Outputs for Enabled SubSystem: '/Rear valves left - manual directions' incorporates: + * EnablePort: '/Enable' + */ + /* RelationalOperator: '/Equal2' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read44' */ if (rtDW.CCU_MODE_RL == 0) { - /* Sum: '/Add' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read23' - * DataStoreRead: '/Data Store Read24' - * Gain: '/Gain2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' + /* Sum: '/Add' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read23' + * DataStoreRead: '/Data Store Read24' + * Gain: '/Gain2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' */ Gain = (uint16_t)((uint32_t)((rtDW.CCU_FOOT_RL == 1) << 1) + (uint32_t) (rtDW.CCU_FACE_RL == 1)); - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant4' - * Constant: '/Constant5' - * Constant: '/Constant6' - * Constant: '/Constant7' - * DataStoreWrite: '/Data Store Write' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant4' + * Constant: '/Constant5' + * Constant: '/Constant6' + * Constant: '/Constant7' + * DataStoreWrite: '/Data Store Write' */ switch (Gain) { case 0: @@ -19670,54 +23690,54 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* MATLAB Function: '/AF for Bi Level' */ - AFforBiLevel_a(rtB.MultiportSwitch_o); + /* MATLAB Function: '/AF for Bi Level' */ + AFforBiLevel_b(rtB.MultiportSwitch_c); - /* MATLAB Function: '/valves for Vent mode' */ + /* MATLAB Function: '/valves for Vent mode' */ /* : out = g_ausFLOW_RE_FO2VALVE; */ - valvesforVentmode(rtb_Gain1_h); + valvesforVentmode(rtb_Gain1_o3); - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ switch (Gain) { case 0: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 6; i++) { - rtB.MultiportSwitch_o[i] = 0U; + rtB.MultiportSwitch_c[i] = 0U; } break; case 1: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 6; i++) { - rtB.MultiportSwitch_o[i] = rtb_Gain1_h[i]; + rtB.MultiportSwitch_c[i] = rtb_Gain1_o3[i]; } break; case 2: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * MATLAB Function: '/AF for Foot' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * MATLAB Function: '/AF for Foot' */ for (i = 0; i < 6; i++) { - rtB.MultiportSwitch_o[i] = g_ausFLOW_RE_FO2VALVE[i]; + rtB.MultiportSwitch_c[i] = g_ausFLOW_RE_FO2VALVE[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ } - /* End of RelationalOperator: '/Equal2' */ - /* End of Outputs for SubSystem: '/Rear valves left - manual directions' */ + /* End of RelationalOperator: '/Equal2' */ + /* End of Outputs for SubSystem: '/Rear valves left - manual directions' */ - /* RelationalOperator: '/Equal3' incorporates: - * Constant: '/manual2' - * DataStoreRead: '/Data Store Read9' + /* RelationalOperator: '/Equal3' incorporates: + * Constant: '/manual2' + * DataStoreRead: '/Data Store Read9' */ rtb_Compare_i5 = (rtDW.CCU_MODE_RL == 0); - /* MATLAB Function: '/MODE_by_duct_tg_R_for_LVL' */ + /* MATLAB Function: '/MODE_by_duct_tg_R_for_LVL' */ /* : modes_array = [ */ /* : g_ausMODE_BY_DUCT_TG_R_LV0; */ /* : g_ausMODE_BY_DUCT_TG_R_LV1; */ @@ -19736,118 +23756,120 @@ void HVAC_model_step(void) rtb_get_mode[i] = tmp_1[6 * i + rtb_Saturation4_l]; } - /* End of MATLAB Function: '/MODE_by_duct_tg_R_for_LVL' */ + /* End of MATLAB Function: '/MODE_by_duct_tg_R_for_LVL' */ - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read6' - * Sum: '/Subtract' - * UnitDelay: '/Unit Delay' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read6' + * Sum: '/Subtract' + * UnitDelay: '/Unit Delay' */ - if ((int16_t)(rtb_FLU_tg_correct_me - rtDW.UnitDelay_DSTATE_lk) >= 0) { - /* Outputs for IfAction SubSystem: '/duct_tg увеличивается RL' incorporates: - * ActionPort: '/Action Port' + if ((int16_t)(Switch3 - rtDW.UnitDelay_DSTATE_lm) >= 0) { + /* Outputs for IfAction SubSystem: '/duct_tg увеличивается RL' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion generated from: '/rear_mode_index' incorporates: - * MATLAB Function: '/increase' + /* SignalConversion generated from: '/rear_mode_index' incorporates: + * MATLAB Function: '/increase' */ - increase(rtb_FLU_tg_correct_me, rtb_get_mode, &Gain); + increase(Switch3, rtb_get_mode, &Gain); - /* End of Outputs for SubSystem: '/duct_tg увеличивается RL' */ + /* End of Outputs for SubSystem: '/duct_tg увеличивается RL' */ } else { - /* Outputs for IfAction SubSystem: '/duct_tg уменьшается RL' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/duct_tg уменьшается RL' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion generated from: '/y' incorporates: - * MATLAB Function: '/decrease' + /* SignalConversion generated from: '/y' incorporates: + * MATLAB Function: '/decrease' */ - decrease(rtb_FLU_tg_correct_me, rtb_get_mode, &Gain); + decrease(Switch3, rtb_get_mode, &Gain); - /* End of Outputs for SubSystem: '/duct_tg уменьшается RL' */ + /* End of Outputs for SubSystem: '/duct_tg уменьшается RL' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* MATLAB Function: '/valves_rear_left' */ - valves_rear_left_d(Gain, rtb_TmpSignalConversionAt1DLookupTable7Inport1); + /* MATLAB Function: '/valves_rear_left' */ + valves_rear_left_h(Gain, &rtb_vals[0]); - /* If: '/If1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/mode from Start Control' - * Logic: '/Logical Operator' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* If: '/If1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/mode from Start Control' + * Logic: '/Logical Operator' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ if (((rtDW.step_start_controle_rear == 0) || (rtDW.step_start_controle_rear == 1) || (rtDW.step_start_controle_rear == 2)) && (rtDW.Mode_RL > 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion generated from: '/get_valves' incorporates: - * Assignment: '/Присваивание в [6] rear' - * DataStoreRead: '/mode from Start Control' - * MATLAB Function: '/valves_rear_left' + /* DataStoreWrite: '/Data Store Write24' incorporates: + * DataStoreRead: '/mode from Start Control' + * MATLAB Function: '/valves_rear_left' + * SignalConversion generated from: '/1-D Lookup Table7' + * SignalConversion generated from: '/get_valves' */ - valves_rear_left(rtDW.Mode_RL, rtb_Gain1_h); + valves_rear_left(rtDW.Mode_RL, rtb_Gain1_o3); - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion generated from: '/In1' */ for (i = 0; i < 6; i++) { - /* Switch: '/Switch2' incorporates: - * Assignment: '/Присваивание в [6] rear' - * MultiPortSwitch: '/Multiport Switch' - * SignalConversion generated from: '/1-D Lookup Table7' - */ + /* Switch: '/Switch2' */ if (rtb_Compare_i5) { - rtb_Gain1_h[i] = rtB.MultiportSwitch_o[i]; + /* DataStoreWrite: '/Data Store Write24' incorporates: + * MultiPortSwitch: '/Multiport Switch' + * SignalConversion generated from: '/In1' + */ + rtb_Gain1_o3[i] = rtB.MultiportSwitch_c[i]; } else { - rtb_Gain1_h[i] = rtb_TmpSignalConversionAt1DLookupTable7Inport1[i]; + /* DataStoreWrite: '/Data Store Write24' incorporates: + * SignalConversion generated from: '/In1' + */ + rtb_Gain1_o3[i] = rtb_vals[i]; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ } - /* End of SignalConversion generated from: '/In1' */ - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* Outputs for Enabled SubSystem: '/Rear valves right - manual directions' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Rear valves right - manual directions' incorporates: + * EnablePort: '/Enable' */ - /* RelationalOperator: '/Equal3' incorporates: - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read45' + /* RelationalOperator: '/Equal3' incorporates: + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read45' */ if (rtDW.CCU_MODE_RR == 0) { - /* Sum: '/Add' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read21' - * DataStoreRead: '/Data Store Read22' - * Gain: '/Gain2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' + /* Sum: '/Add' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read21' + * DataStoreRead: '/Data Store Read22' + * Gain: '/Gain2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' */ Gain1 = (uint16_t)((uint32_t)((rtDW.CCU_FOOT_RR == 1) << 1) + (uint32_t) (rtDW.CCU_FACE_RR == 1)); - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant4' - * Constant: '/Constant5' - * Constant: '/Constant6' - * Constant: '/Constant7' - * DataStoreWrite: '/Data Store Write' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant4' + * Constant: '/Constant5' + * Constant: '/Constant6' + * Constant: '/Constant7' + * DataStoreWrite: '/Data Store Write' */ switch (Gain1) { case 0: @@ -19867,35 +23889,34 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* MATLAB Function: '/AF for Bi Level' */ - AFforBiLevel_a(rtB.MultiportSwitch); + /* MATLAB Function: '/AF for Bi Level' */ + AFforBiLevel_b(rtB.MultiportSwitch); - /* MATLAB Function: '/valves for Vent mode' */ + /* MATLAB Function: '/valves for Vent mode' */ /* : out = g_ausFLOW_RE_FO2VALVE; */ - valvesforVentmode(rtb_TmpSignalConversionAt1DLookupTable7Inport1); + valvesforVentmode(rtb_out); - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ switch (Gain1) { case 0: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 6; i++) { rtB.MultiportSwitch[i] = 0U; } break; case 1: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 6; i++) { - rtB.MultiportSwitch[i] = - rtb_TmpSignalConversionAt1DLookupTable7Inport1[i]; + rtB.MultiportSwitch[i] = rtb_out[i]; } break; case 2: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * MATLAB Function: '/AF for Foot' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * MATLAB Function: '/AF for Foot' */ for (i = 0; i < 6; i++) { rtB.MultiportSwitch[i] = g_ausFLOW_RE_FO2VALVE[i]; @@ -19903,113 +23924,122 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ } - /* End of RelationalOperator: '/Equal3' */ - /* End of Outputs for SubSystem: '/Rear valves right - manual directions' */ + /* End of RelationalOperator: '/Equal3' */ + /* End of Outputs for SubSystem: '/Rear valves right - manual directions' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read7' - * Sum: '/Subtract1' - * UnitDelay: '/Unit Delay1' + /* RelationalOperator: '/Equal4' incorporates: + * Constant: '/manual3' + * DataStoreRead: '/Data Store Read11' + */ + rtb_Compare_i5 = (rtDW.CCU_MODE_RR == 0); + + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read7' + * Sum: '/Subtract1' + * UnitDelay: '/Unit Delay1' */ if ((int16_t)(rtDW.Duct_RR_Tg - rtDW.UnitDelay1_DSTATE) >= 0) { - /* Outputs for IfAction SubSystem: '/duct_tg увеличивается RR' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/duct_tg увеличивается RR' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion generated from: '/y' incorporates: - * MATLAB Function: '/increase' + /* SignalConversion generated from: '/y' incorporates: + * MATLAB Function: '/increase' */ increase(rtDW.Duct_RR_Tg, rtb_get_mode, &Gain1); - /* End of Outputs for SubSystem: '/duct_tg увеличивается RR' */ + /* End of Outputs for SubSystem: '/duct_tg увеличивается RR' */ } else { - /* Outputs for IfAction SubSystem: '/duct_tg уменьшается RR' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/duct_tg уменьшается RR' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion generated from: '/y' incorporates: - * MATLAB Function: '/decrease' + /* SignalConversion generated from: '/y' incorporates: + * MATLAB Function: '/decrease' */ decrease(rtDW.Duct_RR_Tg, rtb_get_mode, &Gain1); - /* End of Outputs for SubSystem: '/duct_tg уменьшается RR' */ + /* End of Outputs for SubSystem: '/duct_tg уменьшается RR' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* MATLAB Function: '/valves_rear_right' */ - valves_rear_left_d(Gain1, rtb_TmpSignalConversionAt1DLookupTable7Inport1); + /* MATLAB Function: '/valves_rear_right' */ + valves_rear_left_h(Gain1, &rtb_vals[0]); - /* If: '/If1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/manual3' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/mode from Start Control' - * DataStoreRead: '/Data Store Read11' - * Logic: '/Logical Operator' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Equal4' - * Switch: '/Switch3' + /* If: '/If1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/mode from Start Control' + * Logic: '/Logical Operator' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ if (((rtDW.step_start_controle_rear == 0) || (rtDW.step_start_controle_rear == 1) || (rtDW.step_start_controle_rear == 2)) && (rtDW.Mode_RR > 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion generated from: '/get_valves' incorporates: - * DataStoreRead: '/mode from Start Control' - * MATLAB Function: '/valves_rear_right' - * Merge: '/Merge' + /* SignalConversion generated from: '/get_valves' incorporates: + * DataStoreRead: '/mode from Start Control' + * MATLAB Function: '/valves_rear_right' + * Merge: '/Merge' */ - valves_rear_left(rtDW.Mode_RR, - rtb_TmpSignalConversionAt1DLookupTable7Inport1); + valves_rear_left(rtDW.Mode_RR, rtb_out); - /* End of Outputs for SubSystem: '/If Action Subsystem' */ - } else if (rtDW.CCU_MODE_RR == 0) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* End of Outputs for SubSystem: '/If Action Subsystem' */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion generated from: '/In1' */ + /* SignalConversion generated from: '/In1' */ for (i = 0; i < 6; i++) { - /* Switch: '/Switch3' incorporates: - * Merge: '/Merge' - * MultiPortSwitch: '/Multiport Switch' + /* Switch: '/Switch3' incorporates: + * Merge: '/Merge' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_TmpSignalConversionAt1DLookupTable7Inport1[i] = rtB.MultiportSwitch[i]; + if (rtb_Compare_i5) { + rtb_out[i] = rtB.MultiportSwitch[i]; + } else { + rtb_out[i] = rtb_vals[i]; + } + + /* End of Switch: '/Switch3' */ } - /* End of SignalConversion generated from: '/In1' */ - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of SignalConversion generated from: '/In1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* Assignment: '/Присваивание в [3-4] rear' incorporates: - * Assignment: '/Присваивание в [6] rear' + /* Assignment: '/Присваивание в [3-4] rear' incorporates: + * DataStoreWrite: '/Data Store Write24' */ - rtb_Gain1_h[2] = rtb_TmpSignalConversionAt1DLookupTable7Inport1[2]; - rtb_Gain1_h[3] = rtb_TmpSignalConversionAt1DLookupTable7Inport1[3]; + rtb_Gain1_o3[2] = rtb_out[2]; + rtb_Gain1_o3[3] = rtb_out[3]; - /* Assignment: '/Присваивание в [6] rear' */ - rtb_Gain1_h[5] = rtb_TmpSignalConversionAt1DLookupTable7Inport1[5]; + /* Assignment: '/Присваивание в [6] rear' incorporates: + * DataStoreWrite: '/Data Store Write24' + */ + rtb_Gain1_o3[5] = rtb_out[5]; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant10' - * Constant: '/Constant11' - * Constant: '/Constant4' - * Constant: '/Constant5' - * Constant: '/Constant6' - * Constant: '/Constant7' - * Constant: '/Constant8' - * Constant: '/Constant9' - * DataStoreWrite: '/Data Store Write' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant10' + * Constant: '/Constant11' + * Constant: '/Constant4' + * Constant: '/Constant5' + * Constant: '/Constant6' + * Constant: '/Constant7' + * Constant: '/Constant8' + * Constant: '/Constant9' + * DataStoreWrite: '/Data Store Write' */ switch (rtb_Saturation2_a) { case 0: @@ -20045,25 +24075,25 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ /* DataStoreWrite: '/Data Store Write31' */ rtDW.enable_rear_sync = 0U; - /* Saturate: '/Saturation' incorporates: + /* Saturate: '/Saturation' incorporates: * DataStoreRead: '/Data Store Read' */ if (rtDW.AMB > 1000) { - rtb_Bias5 = 1000; + rtb_y_fq = 1000; } else if (rtDW.AMB < -1000) { - rtb_Bias5 = -1000; + rtb_y_fq = -1000; } else { - rtb_Bias5 = rtDW.AMB; + rtb_y_fq = rtDW.AMB; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ - /* MATLAB Function: '/Convert_g_assAMB_LV_UP' */ + /* MATLAB Function: '/Convert_g_assAMB_LV_UP' */ /* : c_g_assAMB_LV_UP = [-1000, g_assAMB_LV_UP(5), g_assAMB_LV_UP(4), g_assAMB_LV_UP(3), g_assAMB_LV_UP(2), g_assAMB_LV_UP(1)]; */ tmp_2[0] = -1000; tmp_2[1] = g_assAMB_LV_UP[4]; @@ -20072,197 +24102,196 @@ void HVAC_model_step(void) tmp_2[4] = g_assAMB_LV_UP[1]; tmp_2[5] = g_assAMB_LV_UP[0]; - /* SwitchCase: '/Switch Case' incorporates: - * Lookup_n-D: '/1-D Lookup Table' - * Saturate: '/Saturation' + /* SwitchCase: '/Switch Case' incorporates: + * Lookup_n-D: '/1-D Lookup Table' + * Saturate: '/Saturation' */ - switch ((int8_t)rtConstP.pooled47[plook_u32s16_bincka(rtb_Bias5, tmp_2, 5U)]) - { + switch ((int8_t)rtConstP.pooled52[plook_u32s16_bincka(rtb_y_fq, tmp_2, 5U)]) { case 0: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' */ - rtB.Merge_b = (uint8_t)(rtb_Bias5 <= g_assAMB_LV_UP[0]); + rtB.Merge_b = (uint8_t)(rtb_y_fq <= g_assAMB_LV_UP[0]); - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* Switch: '/Switch' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_UP_2' - * RelationalOperator: '/Relational Operator' + /* Switch: '/Switch' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_UP_2' + * RelationalOperator: '/Relational Operator' */ /* : c_g_assAMB_LV_DN_1 = g_assAMB_LV_DN(1); */ /* : c_g_assAMB_LV_UP_2 = g_assAMB_LV_UP(2); */ - if (rtb_Bias5 > g_assAMB_LV_UP[1]) { - /* Merge: '/Merge' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_DN_1' - * RelationalOperator: '/Relational Operator1' + if (rtb_y_fq > g_assAMB_LV_UP[1]) { + /* Merge: '/Merge' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_DN_1' + * RelationalOperator: '/Relational Operator1' */ - rtB.Merge_b = (uint8_t)(rtb_Bias5 <= g_assAMB_LV_DN[0]); + rtB.Merge_b = (uint8_t)(rtb_y_fq <= g_assAMB_LV_DN[0]); } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv2' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv2' */ rtB.Merge_b = 2U; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem1' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem1' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ - /* Switch: '/Switch2' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_UP_3' - * RelationalOperator: '/Relational Operator' + /* Switch: '/Switch2' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_UP_3' + * RelationalOperator: '/Relational Operator' */ /* : c_g_assAMB_LV_DN_2 = g_assAMB_LV_DN(2); */ /* : c_g_assAMB_LV_UP_3 = g_assAMB_LV_UP(3); */ - if (rtb_Bias5 > g_assAMB_LV_UP[2]) { - /* Switch: '/Switch3' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_DN_2' - * RelationalOperator: '/Relational Operator1' + if (rtb_y_fq > g_assAMB_LV_UP[2]) { + /* Switch: '/Switch3' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_DN_2' + * RelationalOperator: '/Relational Operator1' */ - if (rtb_Bias5 > g_assAMB_LV_DN[1]) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv1' + if (rtb_y_fq > g_assAMB_LV_DN[1]) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv1' */ rtB.Merge_b = 1U; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv2' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv2' */ rtB.Merge_b = 2U; } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv3' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv3' */ rtB.Merge_b = 3U; } - /* End of Switch: '/Switch2' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ + /* End of Switch: '/Switch2' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Switch: '/Switch2' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_UP_4' - * RelationalOperator: '/Relational Operator' + /* Switch: '/Switch2' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_UP_4' + * RelationalOperator: '/Relational Operator' */ /* : c_g_assAMB_LV_DN_3 = g_assAMB_LV_DN(3); */ /* : c_g_assAMB_LV_UP_4 = g_assAMB_LV_UP(4); */ - if (rtb_Bias5 > g_assAMB_LV_UP[3]) { - /* Switch: '/Switch3' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_DN_3' - * RelationalOperator: '/Relational Operator1' + if (rtb_y_fq > g_assAMB_LV_UP[3]) { + /* Switch: '/Switch3' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_DN_3' + * RelationalOperator: '/Relational Operator1' */ - if (rtb_Bias5 > g_assAMB_LV_DN[2]) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv2' + if (rtb_y_fq > g_assAMB_LV_DN[2]) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv2' */ rtB.Merge_b = 2U; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv3' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv3' */ rtB.Merge_b = 3U; } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv4' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv4' */ rtB.Merge_b = 4U; } - /* End of Switch: '/Switch2' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem3' */ + /* End of Switch: '/Switch2' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem3' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem4' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem4' incorporates: + * ActionPort: '/Action Port' */ - /* Switch: '/Switch2' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_UP_5' - * RelationalOperator: '/Relational Operator' + /* Switch: '/Switch2' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_UP_5' + * RelationalOperator: '/Relational Operator' */ /* : c_g_assAMB_LV_DN_4 = g_assAMB_LV_DN(4); */ /* : c_g_assAMB_LV_UP_5 = g_assAMB_LV_UP(5); */ - if (rtb_Bias5 > g_assAMB_LV_UP[4]) { - /* Switch: '/Switch3' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_DN_4' - * RelationalOperator: '/Relational Operator1' + if (rtb_y_fq > g_assAMB_LV_UP[4]) { + /* Switch: '/Switch3' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_DN_4' + * RelationalOperator: '/Relational Operator1' */ - if (rtb_Bias5 > g_assAMB_LV_DN[3]) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv3' + if (rtb_y_fq > g_assAMB_LV_DN[3]) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv3' */ rtB.Merge_b = 3U; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv4' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv4' */ rtB.Merge_b = 4U; } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv5' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv5' */ rtB.Merge_b = 5U; } - /* End of Switch: '/Switch2' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ + /* End of Switch: '/Switch2' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ break; case 5: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem5' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem5' incorporates: + * ActionPort: '/Action Port' */ - /* Switch: '/Switch1' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_DN_5' - * RelationalOperator: '/Relational Operator' + /* Switch: '/Switch1' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_DN_5' + * RelationalOperator: '/Relational Operator' */ /* : c_g_assAMB_LV_DN_5 = g_assAMB_LV_DN(5); */ - if (rtb_Bias5 > g_assAMB_LV_DN[4]) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv4' + if (rtb_y_fq > g_assAMB_LV_DN[4]) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv4' */ rtB.Merge_b = 4U; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv5' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv5' */ rtB.Merge_b = 5U; } - /* End of Switch: '/Switch1' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem5' */ + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem5' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ /* Saturate: '/Saturation' incorporates: * DataStoreRead: '/Data Store Read1' @@ -20275,13 +24304,13 @@ void HVAC_model_step(void) i = rtDW.CCU_SET_FL; } - /* Gain: '/Gain' incorporates: + /* Gain: '/Gain' incorporates: * Saturate: '/Saturation' */ i *= 13107; rtb_Gain_l = (uint8_t)((((uint32_t)i & 65536U) != 0U) + (i >> 17)); - /* MATLAB Function: '/Modes for levels' */ + /* MATLAB Function: '/Modes for levels' */ /* : get_modes_for_levels = [g_aucMODE_BY_SET_F_LV0; */ /* : g_aucMODE_BY_SET_F_LV1; */ /* : g_aucMODE_BY_SET_F_LV2; */ @@ -20298,18 +24327,18 @@ void HVAC_model_step(void) rtb_get_modes_for_levels[6 * i + 5] = g_aucMODE_BY_SET_F_LV5[i]; } - /* End of MATLAB Function: '/Modes for levels' */ + /* End of MATLAB Function: '/Modes for levels' */ - /* Lookup_n-D: '/Выбор режима Left' incorporates: - * Gain: '/Gain' - * Merge: '/Merge' + /* Lookup_n-D: '/Выбор режима Left' incorporates: + * Gain: '/Gain' + * Merge: '/Merge' */ - rtb_u_pc = look2_iu8bu8s16lu64n32_binlcse(rtB.Merge_b, rtb_Gain_l, - rtConstP.pooled116, rtConstP.pooled58, rtb_get_modes_for_levels, - rtConstP.pooled44, 6U); + rtb_DataTypeConversion_kv = look2_iu8bu8s16lu64n32_binlcse(rtB.Merge_b, + rtb_Gain_l, rtConstP.pooled125, rtConstP.pooled63, rtb_get_modes_for_levels, + rtConstP.pooled48, 6U); - /* MATLAB Function: '/Начальные положения заслонок left' */ - left(rtb_u_pc, rtb_out_nf); + /* MATLAB Function: '/Начальные положения заслонок left' */ + left(rtb_DataTypeConversion_kv, rtb_vals); /* Saturate: '/Saturation1' incorporates: * DataStoreRead: '/Data Store Read2' @@ -20322,191 +24351,191 @@ void HVAC_model_step(void) i = rtDW.CCU_SET_FR; } - /* Gain: '/Gain2' incorporates: + /* Gain: '/Gain2' incorporates: * Saturate: '/Saturation1' */ i *= 13107; rtb_Gain2_hu = (uint8_t)((((uint32_t)i & 65536U) != 0U) + (i >> 17)); - /* SwitchCase: '/Switch for Left ' incorporates: + /* SwitchCase: '/Switch for Left ' incorporates: * DataStoreRead: '/Data Store Read' */ - switch (rtb_u_pc) { + switch (rtb_DataTypeConversion_kv) { case 10: break; case 20: for (i = 0; i < 9; i++) { - /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: + * ActionPort: '/Action Port' */ - rtb_get_valves[i] = rtb_out_nf[i]; + rtb_out_bql[i] = rtb_vals[i]; - /* End of Outputs for SubSystem: '/Bilevel' */ + /* End of Outputs for SubSystem: '/Bilevel' */ } - /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: + * ActionPort: '/Action Port' */ - Bilevel(rtDW.AMB, rtB.Merge_b, rtb_get_valves, rtb_Gain_l, rtb_Gain2_hu); + Bilevel(rtDW.AMB, rtB.Merge_b, rtb_out_bql, rtb_Gain_l, rtb_Gain2_hu); - /* End of Outputs for SubSystem: '/Bilevel' */ + /* End of Outputs for SubSystem: '/Bilevel' */ break; case 30: for (i = 0; i < 9; i++) { - /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: + * ActionPort: '/Action Port' */ - rtb_get_valves[i] = rtb_out_nf[i]; + rtb_out_bql[i] = rtb_vals[i]; - /* End of Outputs for SubSystem: '/Bilevel2' */ + /* End of Outputs for SubSystem: '/Bilevel2' */ } - /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: + * ActionPort: '/Action Port' */ - Bilevel2(rtDW.AMB, rtB.Merge_b, rtb_get_valves, rtb_Gain_l, rtb_Gain2_hu); + Bilevel2(rtDW.AMB, rtB.Merge_b, rtb_out_bql, rtb_Gain_l, rtb_Gain2_hu); - /* End of Outputs for SubSystem: '/Bilevel2' */ + /* End of Outputs for SubSystem: '/Bilevel2' */ break; case 40: for (i = 0; i < 9; i++) { - /* Outputs for IfAction SubSystem: '/Afoot' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Afoot' incorporates: + * ActionPort: '/Action Port' */ - rtb_get_valves[i] = rtb_out_nf[i]; + rtb_out_bql[i] = rtb_vals[i]; - /* End of Outputs for SubSystem: '/Afoot' */ + /* End of Outputs for SubSystem: '/Afoot' */ } - /* Outputs for IfAction SubSystem: '/Afoot' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Afoot' incorporates: + * ActionPort: '/Action Port' */ - Afoot(rtDW.AMB, rtB.Merge_b, rtb_get_valves, rtb_Gain_l, rtb_Gain2_hu); + Afoot(rtDW.AMB, rtB.Merge_b, rtb_out_bql, rtb_Gain_l, rtb_Gain2_hu); - /* End of Outputs for SubSystem: '/Afoot' */ + /* End of Outputs for SubSystem: '/Afoot' */ break; case 50: for (i = 0; i < 9; i++) { - /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: + * ActionPort: '/Action Port' */ - rtb_get_valves[i] = rtb_out_nf[i]; + rtb_out_bql[i] = rtb_vals[i]; - /* End of Outputs for SubSystem: '/Afoot_Summer' */ + /* End of Outputs for SubSystem: '/Afoot_Summer' */ } - /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: + * ActionPort: '/Action Port' */ - Afoot_Summer(rtDW.AMB, rtB.Merge_b, rtb_get_valves, rtb_Gain_l, rtb_Gain2_hu); + Afoot_Summer(rtDW.AMB, rtB.Merge_b, rtb_out_bql, rtb_Gain_l, rtb_Gain2_hu); - /* End of Outputs for SubSystem: '/Afoot_Summer' */ + /* End of Outputs for SubSystem: '/Afoot_Summer' */ break; } - /* End of SwitchCase: '/Switch for Left ' */ + /* End of SwitchCase: '/Switch for Left ' */ - /* Lookup_n-D: '/Выбор режима Right' incorporates: - * Gain: '/Gain2' - * Merge: '/Merge' + /* Lookup_n-D: '/Выбор режима Right' incorporates: + * Gain: '/Gain2' + * Merge: '/Merge' */ - rtb_u_pc = look2_iu8bu8s16lu64n32_binlcse(rtB.Merge_b, rtb_Gain2_hu, - rtConstP.pooled116, rtConstP.pooled58, rtb_get_modes_for_levels, - rtConstP.pooled44, 6U); + rtb_DataTypeConversion_kv = look2_iu8bu8s16lu64n32_binlcse(rtB.Merge_b, + rtb_Gain2_hu, rtConstP.pooled125, rtConstP.pooled63, + rtb_get_modes_for_levels, rtConstP.pooled48, 6U); - /* MATLAB Function: '/Начальные положения заслонок right' */ - left(rtb_u_pc, rtb_get_valves); + /* MATLAB Function: '/Начальные положения заслонок right' */ + left(rtb_DataTypeConversion_kv, rtb_vals); - /* SwitchCase: '/Switch for Left ' incorporates: + /* SwitchCase: '/Switch for Left ' incorporates: * DataStoreRead: '/Data Store Read' */ - switch (rtb_u_pc) { + switch (rtb_DataTypeConversion_kv) { case 10: break; case 20: for (i = 0; i < 9; i++) { - /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: + * ActionPort: '/Action Port' */ - rtb_out_nf[i] = rtb_get_valves[i]; + rtb_out_bql[i] = rtb_vals[i]; - /* End of Outputs for SubSystem: '/Bilevel' */ + /* End of Outputs for SubSystem: '/Bilevel' */ } - /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Bilevel' incorporates: + * ActionPort: '/Action Port' */ - Bilevel(rtDW.AMB, rtB.Merge_b, rtb_out_nf, rtb_Gain_l, rtb_Gain2_hu); + Bilevel(rtDW.AMB, rtB.Merge_b, rtb_out_bql, rtb_Gain_l, rtb_Gain2_hu); - /* End of Outputs for SubSystem: '/Bilevel' */ + /* End of Outputs for SubSystem: '/Bilevel' */ break; case 30: for (i = 0; i < 9; i++) { - /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: + * ActionPort: '/Action Port' */ - rtb_out_nf[i] = rtb_get_valves[i]; + rtb_out_bql[i] = rtb_vals[i]; - /* End of Outputs for SubSystem: '/Bilevel2' */ + /* End of Outputs for SubSystem: '/Bilevel2' */ } - /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: + * ActionPort: '/Action Port' */ - Bilevel2(rtDW.AMB, rtB.Merge_b, rtb_out_nf, rtb_Gain_l, rtb_Gain2_hu); + Bilevel2(rtDW.AMB, rtB.Merge_b, rtb_out_bql, rtb_Gain_l, rtb_Gain2_hu); - /* End of Outputs for SubSystem: '/Bilevel2' */ + /* End of Outputs for SubSystem: '/Bilevel2' */ break; case 40: for (i = 0; i < 9; i++) { - /* Outputs for IfAction SubSystem: '/Afoot' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Afoot' incorporates: + * ActionPort: '/Action Port' */ - rtb_out_nf[i] = rtb_get_valves[i]; + rtb_out_bql[i] = rtb_vals[i]; - /* End of Outputs for SubSystem: '/Afoot' */ + /* End of Outputs for SubSystem: '/Afoot' */ } - /* Outputs for IfAction SubSystem: '/Afoot' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Afoot' incorporates: + * ActionPort: '/Action Port' */ - Afoot(rtDW.AMB, rtB.Merge_b, rtb_out_nf, rtb_Gain_l, rtb_Gain2_hu); + Afoot(rtDW.AMB, rtB.Merge_b, rtb_out_bql, rtb_Gain_l, rtb_Gain2_hu); - /* End of Outputs for SubSystem: '/Afoot' */ + /* End of Outputs for SubSystem: '/Afoot' */ break; case 50: for (i = 0; i < 9; i++) { - /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: + * ActionPort: '/Action Port' */ - rtb_out_nf[i] = rtb_get_valves[i]; + rtb_out_bql[i] = rtb_vals[i]; - /* End of Outputs for SubSystem: '/Afoot_Summer' */ + /* End of Outputs for SubSystem: '/Afoot_Summer' */ } - /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Afoot_Summer' incorporates: + * ActionPort: '/Action Port' */ - Afoot_Summer(rtDW.AMB, rtB.Merge_b, rtb_out_nf, rtb_Gain_l, rtb_Gain2_hu); + Afoot_Summer(rtDW.AMB, rtB.Merge_b, rtb_out_bql, rtb_Gain_l, rtb_Gain2_hu); - /* End of Outputs for SubSystem: '/Afoot_Summer' */ + /* End of Outputs for SubSystem: '/Afoot_Summer' */ break; } - /* End of SwitchCase: '/Switch for Left ' */ + /* End of SwitchCase: '/Switch for Left ' */ - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.LEVEL = rtB.Merge_b; - /* MATLAB Function: '/Log Ambient Lv' */ + /* MATLAB Function: '/Log Ambient Lv' */ /* : if (isempty(current_Ambient_Lv)) */ if (!rtDW.current_Ambient_Lv_not_empty) { /* : current_Ambient_Lv = Ambient_Lv; */ @@ -20515,7 +24544,7 @@ void HVAC_model_step(void) /* : fprintf("13.1.3.1 Ambient level: in_Amb_Fb = %d; Set Ambient lvl (init) = %u \n", in_Amb_Fb, Ambient_Lv); */ printf("13.1.3.1 Ambient level: in_Amb_Fb = %d; Set Ambient lvl (init) = %u \n", - rtb_Bias5, rtB.Merge_b); + rtb_y_fq, rtB.Merge_b); fflush(stdout); /* : else */ @@ -20526,49 +24555,89 @@ void HVAC_model_step(void) /* : fprintf("13.1.3.1 Ambient level: in_Amb_Fb = %d; Set Ambient lvl = %u \n", in_Amb_Fb, Ambient_Lv); */ printf("13.1.3.1 Ambient level: in_Amb_Fb = %d; Set Ambient lvl = %u \n", - rtb_Bias5, rtB.Merge_b); + rtb_y_fq, rtB.Merge_b); fflush(stdout); } - /* End of MATLAB Function: '/Log Ambient Lv' */ + /* End of MATLAB Function: '/Log Ambient Lv' */ - /* Chart: '/Spd_OSA_Trigger' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read6' - * DataStoreWrite: '/Data Store Write2' - */ + /* Chart: '/Spd_OSA_Trigger' */ if (rtDW.is_active_c834_HVAC_model == 0U) { rtDW.is_active_c834_HVAC_model = 1U; rtDW.is_c834_HVAC_model = IN_OSA_OFF; + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + */ /* : is_OSA_Active = 0; */ - rtb_Gain_l = 0U; + rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Spd_Sts = 0U; + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + rtb_DataTypeConversion_kv = 100U; } else if (rtDW.is_c834_HVAC_model == IN_OSA_OFF) { - rtb_Gain_l = 0U; + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Spd_Sts = 0U; /* : sf_internal_predicateOutput = VehicleSpeed > 20 && Full_Rec_Active == 0; */ if ((rtDW.VehicleSpeed > 20) && (rtDW.Full_Rec == 0)) { rtDW.is_c834_HVAC_model = IN_OSA_ON; + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + */ /* : is_OSA_Active = 1; */ - rtb_Gain_l = 1U; + rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Spd_Sts = 1U; + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read6' + * Lookup_n-D: '/1-D Lookup Table2' + */ + rtb_DataTypeConversion_kv = look1_iu16lu64n48tu8_binlcse(rtDW.VehicleSpeed, + &g_ausVALVE_VEH_SPD[0], &g_aucPREC_VEH_SPD_OSA[0], 12U); + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + rtb_DataTypeConversion_kv = 100U; } } else { + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + */ /* case IN_OSA_ON: */ - rtb_Gain_l = 1U; + rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Spd_Sts = 1U; /* : sf_internal_predicateOutput = VehicleSpeed == 0 || Full_Rec_Active == 1; */ if ((rtDW.VehicleSpeed == 0) || (rtDW.Full_Rec == 1)) { rtDW.is_c834_HVAC_model = IN_OSA_OFF; + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + */ /* : is_OSA_Active = 0; */ - rtb_Gain_l = 0U; + rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Spd_Sts = 0U; + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + rtb_DataTypeConversion_kv = 100U; + } else { + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read6' + * Lookup_n-D: '/1-D Lookup Table2' + */ + rtb_DataTypeConversion_kv = look1_iu16lu64n48tu8_binlcse(rtDW.VehicleSpeed, + &g_ausVALVE_VEH_SPD[0], &g_aucPREC_VEH_SPD_OSA[0], 12U); } } /* End of Chart: '/Spd_OSA_Trigger' */ - /* Chart: '/Chart' incorporates: + /* Chart: '/Partial REC' incorporates: * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read1' * DataStoreRead: '/Data Store Read2' @@ -20584,9 +24653,9 @@ void HVAC_model_step(void) rtDW.is_c776_HVAC_model = IN_PARTIAL_REC_OFF; /* : Comp_Active = 0; */ - rtb_Gain2_hu = 0U; + rtb_Gain_l = 0U; } else if (rtDW.is_c776_HVAC_model == IN_PARTIAL_REC_OFF) { - rtb_Gain2_hu = 0U; + rtb_Gain_l = 0U; /* : sf_internal_predicateOutput = Amb_temp >= g_ssPREC_REC_ON_AMB && Full_Rec_Active == 0; */ if ((rtDW.AMB >= g_ssPREC_REC_ON_AMB) && (rtDW.Full_Rec == 0)) { @@ -20594,24 +24663,25 @@ void HVAC_model_step(void) /* : sf_internal_predicateOutput = Evap_F_Fb >= g_aucPREC_EVA_DIFF(1) && Evap_R_Fb >= g_aucPREC_EVA_DIFF(3) &&E_comp_speed >= g_ausPREC_ENTRY_RPM(3); */ if ((rtDW.Eva_F >= g_aucPREC_EVA_DIFF[0]) && ((rtDW.Eva_R >= - g_aucPREC_EVA_DIFF[2]) && (u0 >= g_ausPREC_ENTRY_RPM[2]))) { + g_aucPREC_EVA_DIFF[2]) && (El_window_heating >= g_ausPREC_ENTRY_RPM + [2]))) { rtDW.is_PARTIAL_REC_ON = IN_COND_3; /* : Comp_Active = 3; */ - rtb_Gain2_hu = 3U; + rtb_Gain_l = 3U; /* : sf_internal_predicateOutput = E_comp_speed >= g_ausPREC_ENTRY_RPM(2); */ - } else if (u0 >= g_ausPREC_ENTRY_RPM[1]) { + } else if (El_window_heating >= g_ausPREC_ENTRY_RPM[1]) { rtDW.is_PARTIAL_REC_ON = IN_COND_2; /* : Comp_Active = 2; */ - rtb_Gain2_hu = 2U; + rtb_Gain_l = 2U; rtDW.is_COND_2 = IN_TRACKING; } else { rtDW.is_PARTIAL_REC_ON = IN_COND_1; /* : Comp_Active = 1; */ - rtb_Gain2_hu = 1U; + rtb_Gain_l = 1U; } } @@ -20623,18 +24693,18 @@ void HVAC_model_step(void) rtDW.is_c776_HVAC_model = IN_PARTIAL_REC_OFF; /* : Comp_Active = 0; */ - rtb_Gain2_hu = 0U; + rtb_Gain_l = 0U; } else { switch (rtDW.is_PARTIAL_REC_ON) { case IN_COND_1: - rtb_Gain2_hu = 1U; + rtb_Gain_l = 1U; /* Gain: '/Gain' incorporates: * Gain: '/Gain1' * MATLAB Function: '/MATLAB Function' */ /* : req_OSA =PREC_OSA_SUMMER_1; */ - rtb_Saturation2_a = (uint16_t)(5U * u0); + rtb_Saturation2_a = (uint16_t)(5U * El_window_heating); rtB.req_OSA = look1_iu16lu64n48tu8_binlcse(rtb_Saturation2_a, &g_ausPREC_COMP_SPD_1[0], &g_aucPREC_OSA_SUMMER_1[0], 2U); @@ -20644,57 +24714,56 @@ void HVAC_model_step(void) break; case IN_COND_2: - rtb_Gain2_hu = 2U; + rtb_Gain_l = 2U; /* : sf_internal_predicateOutput = E_comp_speed 32767) { i = 32767; } else if (i < -32768) { i = -32768; } - rtb_Switch1_oh = find_index((int16_t)i); + rtb_Switch2_by = find_index((int16_t)i); /* : X=g_assPREC_EVA_DIFF_FB_TG_F(x_idx); */ if (rtDW.is_COND_2 == IN_HOLDING) { /* : sf_internal_predicateOutput = X <= 0; */ - rtb_Switch2_p0 = g_assPREC_EVA_DIFF_FB_TG_F[(int32_t)rtb_Switch1_oh - - 1]; - if (rtb_Switch2_p0 <= 0) { + rtb_y_fq = g_assPREC_EVA_DIFF_FB_TG_F[(int32_t)rtb_Switch2_by - 1]; + if (rtb_y_fq <= 0) { rtDW.is_COND_2 = IN_TRACKING; /* : sf_internal_predicateOutput = X > X_prev; */ - } else if (rtb_Switch2_p0 > rtDW.X_prev) { + } else if (rtb_y_fq > rtDW.X_prev) { rtDW.is_COND_2 = IN_TRACKING; } else { /* : X_prev = X; */ - rtDW.X_prev = rtb_Switch2_p0; + rtDW.X_prev = rtb_y_fq; } } else { /* case IN_TRACKING: */ /* : sf_internal_predicateOutput = X < X_prev && X > 0; */ - i_0 = g_assPREC_EVA_DIFF_FB_TG_F[(int32_t)rtb_Switch1_oh - 1]; - if ((i_0 < rtDW.X_prev) && (i_0 > 0)) { + i = g_assPREC_EVA_DIFF_FB_TG_F[(int32_t)rtb_Switch2_by - 1]; + if ((i < rtDW.X_prev) && (i > 0)) { rtDW.is_COND_2 = IN_HOLDING; } else { /* : req_OSA = g_aucPREC_OSA_SUMMER_2(x_idx); */ - rtB.req_OSA = g_aucPREC_OSA_SUMMER_2[(int32_t)rtb_Switch1_oh - 1]; + rtB.req_OSA = g_aucPREC_OSA_SUMMER_2[(int32_t)rtb_Switch2_by - 1]; /* : req_REC = g_aucPREC_REC_SUMMER_2(x_idx); */ - rtB.req_REC = g_aucPREC_REC_SUMMER_2[(int32_t)rtb_Switch1_oh - 1]; + rtB.req_REC = g_aucPREC_REC_SUMMER_2[(int32_t)rtb_Switch2_by - 1]; /* : X_prev = X; */ - rtDW.X_prev = g_assPREC_EVA_DIFF_FB_TG_F[(int32_t)rtb_Switch1_oh - 1]; + rtDW.X_prev = g_assPREC_EVA_DIFF_FB_TG_F[(int32_t)rtb_Switch2_by - 1]; } } } @@ -20702,15 +24771,16 @@ void HVAC_model_step(void) default: /* case IN_COND_3: */ - rtb_Gain2_hu = 3U; + rtb_Gain_l = 3U; /* : sf_internal_predicateOutput = Evap_F_Fb < g_aucPREC_EVA_DIFF(2) && Evap_R_Fb < g_aucPREC_EVA_DIFF(4)&&E_comp_speed < g_ausPREC_EXIT_RPM(3); */ if ((rtDW.Eva_F < g_aucPREC_EVA_DIFF[1]) && ((rtDW.Eva_R < - g_aucPREC_EVA_DIFF[3]) && (u0 < g_ausPREC_EXIT_RPM[2]))) { + g_aucPREC_EVA_DIFF[3]) && (El_window_heating < g_ausPREC_EXIT_RPM[2]))) + { rtDW.is_PARTIAL_REC_ON = IN_COND_2; /* : Comp_Active = 2; */ - rtb_Gain2_hu = 2U; + rtb_Gain_l = 2U; rtDW.is_COND_2 = IN_TRACKING; } else { /* : req_OSA = g_ucPREC_OSA_SUMMER_3; */ @@ -20723,419 +24793,560 @@ void HVAC_model_step(void) } } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Partial REC' */ + + /* Logic: '/OR1' incorporates: + * Constant: '/Constant6' + * Constant: '/Constant8' + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read74' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator3' + */ + rtb_Compare_i5 = ((rtDW.condition_ac_max == 1.0) || (rtDW.CCU_RECIRC == 2)); /* Switch: '/Switch3' incorporates: * Constant: '/Constant4' - * Constant: '/Constant5' * DataStoreRead: '/Data Store Read7' * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write1' - * DataStoreWrite: '/Data Store Write2' - * Switch: '/Switch' - * Switch: '/Switch4' + * Switch: '/Switch1' + * Switch: '/Switch5' */ if (rtDW.Full_Rec > 0) { - rtb_u_pc = 0U; - rtb_Switch_db = 100U; - } else { - if (rtb_Gain_l > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read6' - * Lookup_n-D: '/1-D Lookup Table2' - */ - rtb_Switch_db = look1_iu16lu64n48tu8_binlcse(rtDW.VehicleSpeed, - &g_ausVALVE_VEH_SPD[0], &g_aucPREC_VEH_SPD_OSA[0], 12U); - } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - */ - rtb_Switch_db = 100U; - } - + rtb_Gain2_hu = 0U; + } else if (rtb_Compare_i5) { /* Switch: '/Switch1' incorporates: * Constant: '/Constant1' */ - if (rtb_Gain2_hu > 0) { - rtb_u_pc = rtB.req_OSA; + if (rtb_Gain_l > 0) { + rtb_Gain2_hu = rtB.req_OSA; } else { - rtb_u_pc = 100U; + rtb_Gain2_hu = 100U; + } + + /* Lookup_n-D: '/1-D Lookup Table3' incorporates: + * DataStoreRead: '/Data Store Read3' + * Switch: '/Switch5' + */ + rtb_Merge_f3 = look1_iu8lu64n56_binlcse(rtDW.AirQS_COLvl, rtConstP.pooled105, + &g_aucAQS_OSA_LV_CO[0], 6U); + + /* Lookup_n-D: '/1-D Lookup Table4' incorporates: + * DataStoreRead: '/Data Store Read4' + * Switch: '/Switch5' + */ + rtb_Merge_e = look1_iu8lu64n56_binlcse(rtDW.AirQS_NOxLvl, rtConstP.pooled105, + &g_aucAQS_OSA_LV_NOX[0], 6U); + + /* MinMax: '/MinMax1' incorporates: + * Switch: '/Switch5' + */ + if (rtb_Merge_f3 >= rtb_Merge_e) { + rtb_Merge_e = rtb_Merge_f3; + } + + /* Lookup_n-D: '/1-D Lookup Table5' incorporates: + * DataStoreRead: '/Data Store Read5' + * Switch: '/Switch5' + */ + rtb_Merge_f3 = look1_iu8lu64n56_binlcse(rtDW.AirQS_NH3Lvl, + rtConstP.pooled105, &g_aucAQS_OSA_LV_NH3[0], 6U); + + /* MinMax: '/MinMax1' incorporates: + * Switch: '/Switch5' + */ + if (rtb_Merge_e >= rtb_Merge_f3) { + rtb_Merge_f3 = rtb_Merge_e; } /* MinMax: '/MinMax' incorporates: * Switch: '/Switch1' */ - if (rtb_Switch_db <= rtb_u_pc) { - rtb_u_pc = rtb_Switch_db; + if (rtb_DataTypeConversion_kv <= rtb_Gain2_hu) { + rtb_Gain2_hu = rtb_DataTypeConversion_kv; } - /* End of MinMax: '/MinMax' */ - - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant2' - * DataStoreWrite: '/Data Store Write1' + /* MinMax: '/MinMax1' incorporates: + * Switch: '/Switch5' */ - if (rtb_Gain2_hu > 0) { - rtb_Switch_db = rtB.req_REC; - } else { - rtb_Switch_db = 0U; + if (rtb_Merge_f3 <= rtb_Gain2_hu) { + /* DataStoreWrite: '/Data Store Write' */ + rtb_Gain2_hu = rtb_Merge_f3; } - /* End of Switch: '/Switch2' */ + /* End of MinMax: '/MinMax1' */ + } else { + if (rtb_Gain_l > 0) { + /* Switch: '/Switch1' */ + rtb_Gain2_hu = rtB.req_OSA; + } else { + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant1' + */ + rtb_Gain2_hu = 100U; + } + + /* MinMax: '/MinMax' incorporates: + * Switch: '/Switch1' + */ + if (rtb_DataTypeConversion_kv <= rtb_Gain2_hu) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Switch: '/Switch5' + */ + rtb_Gain2_hu = rtb_DataTypeConversion_kv; + } } /* End of Switch: '/Switch3' */ - /* Lookup_n-D: '/1-D Lookup Table' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' + /* Switch: '/Switch4' incorporates: + * Constant: '/Constant5' + * Constant: '/Constant7' + * DataStoreRead: '/Data Store Read8' + * DataStoreRead: '/Data Store Read9' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/OR' + * RelationalOperator: '/Relational Operator2' + * Switch: '/Switch2' + * Switch: '/Switch6' + */ + if ((rtDW.Full_Rec != 0) || (rtDW.condition_ac_max == 2.0)) { + rtb_DataTypeConversion_kv = 100U; + } else if (rtb_Compare_i5) { + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant2' + */ + if (rtb_Gain_l > 0) { + rtb_DataTypeConversion_kv = rtB.req_REC; + } else { + rtb_DataTypeConversion_kv = 0U; + } + + /* Lookup_n-D: '/1-D Lookup Table' incorporates: + * DataStoreRead: '/Data Store Read' + * Switch: '/Switch6' + */ + rtb_Merge_f3 = look1_iu8lu64n56_binlcse(rtDW.AirQS_COLvl, rtConstP.pooled106, + &g_aucAQS_REC_LV_CO[0], 7U); + + /* Lookup_n-D: '/1-D Lookup Table1' incorporates: + * DataStoreRead: '/Data Store Read1' + * Switch: '/Switch6' + */ + rtb_Merge_e = look1_iu8lu64n56_binlcse(rtDW.AirQS_NOxLvl, rtConstP.pooled106, + &g_aucAQS_REC_LV_NOX[0], 7U); + + /* MinMax: '/MinMax' incorporates: + * Switch: '/Switch6' + */ + if (rtb_Merge_f3 >= rtb_Merge_e) { + rtb_Merge_e = rtb_Merge_f3; + } + + /* Lookup_n-D: '/1-D Lookup Table2' incorporates: + * DataStoreRead: '/Data Store Read2' + * Switch: '/Switch6' + */ + rtb_Merge_f3 = look1_iu8lu64n56_binlcse(rtDW.AirQS_NH3Lvl, + rtConstP.pooled106, &g_aucAQS_REC_LV_NH3[0], 7U); + + /* MinMax: '/MinMax' incorporates: + * Switch: '/Switch6' + */ + if (rtb_Merge_e >= rtb_Merge_f3) { + rtb_Merge_f3 = rtb_Merge_e; + } + + /* MinMax: '/MinMax2' incorporates: + * Switch: '/Switch2' + * Switch: '/Switch6' + */ + if (rtb_Merge_f3 <= rtb_DataTypeConversion_kv) { + /* DataStoreWrite: '/Data Store Write1' */ + rtb_DataTypeConversion_kv = rtb_Merge_f3; + } + + /* End of MinMax: '/MinMax2' */ + } else if (rtb_Gain_l > 0) { + /* Switch: '/Switch2' incorporates: + * DataStoreWrite: '/Data Store Write1' + * Switch: '/Switch6' + */ + rtb_DataTypeConversion_kv = rtB.req_REC; + } else { + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant2' + * Switch: '/Switch2' + * Switch: '/Switch6' + */ + rtb_DataTypeConversion_kv = 0U; + } + + /* End of Switch: '/Switch4' */ + + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * Constant: '/Constant7' + * Constant: '/Constant8' + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read9' + * DataStoreWrite: '/Data Store Write33' + * Logic: '/OR' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + */ + rtDW.Air_status = (uint8_t)((rtDW.condition_ac_max == 1.0) || (rtDW.CCU_RECIRC + == 2)); + + /* Lookup_n-D: '/1-D Lookup Table' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' */ rtDW.Dtg_individual_foot_FL = look1_iu8lu64n48ts16Ds32_binlcs - (rtDW.CCU_SET_FOOT_FL, rtConstP.pooled117, &g_assFOOT_STEP_DUCT_TGT[0], 6U); + (rtDW.CCU_SET_FOOT_FL, rtConstP.pooled126, &g_assFOOT_STEP_DUCT_TGT[0], 6U); - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read' */ switch (rtDW.LEVEL) { case 1: - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read' */ switch (rtDW.CCU_SET_FOOT_FL) { case 0: case 1: case 2: - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ IfActionSubsystem(rtDW.ModeIndex[0], &rtB.Merge_j, &rtB.Merge1_j); - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ break; case 3: - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ IfActionSubsystem1(&rtB.Merge_j, &rtB.Merge1_j); - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ break; case 4: case 5: case 6: - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ IfActionSubsystem2(rtDW.ModeIndex[0], &rtB.Merge_j, &rtB.Merge1_j); - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.Valve_individual_foot_FL = rtB.Merge_j; - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.Blower_individual_foot_FL = rtB.Merge1_j; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ break; case 2: - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read' */ switch (rtDW.CCU_SET_FOOT_FL) { case 0: case 1: case 2: - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ IfActionSubsystem_b(rtDW.ModeIndex[0], &rtB.Merge_i2, &rtB.Merge1_h); - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ break; case 3: - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ IfActionSubsystem1(&rtB.Merge_i2, &rtB.Merge1_h); - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ break; case 4: case 5: case 6: - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ IfActionSubsystem2_o(rtDW.ModeIndex[0], &rtB.Merge_i2, &rtB.Merge1_h); - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.Valve_individual_foot_FL = rtB.Merge_i2; - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.Blower_individual_foot_FL = rtB.Merge1_h; - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ break; case 3: - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read' */ switch (rtDW.CCU_SET_FOOT_FL) { case 0: case 1: case 2: - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ IfActionSubsystem_n(rtDW.ModeIndex[0], &rtB.Merge_he, &rtB.Merge1_c); - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ break; case 3: - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ IfActionSubsystem1(&rtB.Merge_he, &rtB.Merge1_c); - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ break; case 4: case 5: case 6: - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ IfActionSubsystem2_c(rtDW.ModeIndex[0], &rtB.Merge_he, &rtB.Merge1_c); - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.Valve_individual_foot_FL = rtB.Merge_he; - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.Blower_individual_foot_FL = rtB.Merge1_c; - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* Lookup_n-D: '/1-D Lookup Table' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' + /* Lookup_n-D: '/1-D Lookup Table' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' */ rtDW.Dtg_individual_foot_FR = look1_iu8lu64n48ts16Ds32_binlcs - (rtDW.CCU_SET_FOOT_FR, rtConstP.pooled117, &g_assFOOT_STEP_DUCT_TGT[0], 6U); + (rtDW.CCU_SET_FOOT_FR, rtConstP.pooled126, &g_assFOOT_STEP_DUCT_TGT[0], 6U); - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read' */ switch (rtDW.LEVEL) { case 1: - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read' */ switch (rtDW.CCU_SET_FOOT_FR) { case 0: case 1: case 2: - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ IfActionSubsystem(rtDW.ModeIndex[1], &rtB.Merge_on, &rtB.Merge1_g); - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ break; case 3: - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ IfActionSubsystem1(&rtB.Merge_on, &rtB.Merge1_g); - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ break; case 4: case 5: case 6: - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ IfActionSubsystem2(rtDW.ModeIndex[1], &rtB.Merge_on, &rtB.Merge1_g); - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.Valve_individual_foot_FR = rtB.Merge_on; - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.Blower_individual_foot_FR = rtB.Merge1_g; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ break; case 2: - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read' */ switch (rtDW.CCU_SET_FOOT_FR) { case 0: case 1: case 2: - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ IfActionSubsystem_b(rtDW.ModeIndex[1], &rtB.Merge_o, &rtB.Merge1_e); - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ break; case 3: - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ IfActionSubsystem1(&rtB.Merge_o, &rtB.Merge1_e); - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ break; case 4: case 5: case 6: - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ IfActionSubsystem2_o(rtDW.ModeIndex[1], &rtB.Merge_o, &rtB.Merge1_e); - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.Valve_individual_foot_FR = rtB.Merge_o; - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.Blower_individual_foot_FR = rtB.Merge1_e; - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ break; case 3: - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read' */ switch (rtDW.CCU_SET_FOOT_FR) { case 0: case 1: case 2: - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ IfActionSubsystem_n(rtDW.ModeIndex[1], &rtB.Merge_p5, &rtB.Merge1); - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ break; case 3: - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ IfActionSubsystem1(&rtB.Merge_p5, &rtB.Merge1); - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ break; case 4: case 5: case 6: - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ IfActionSubsystem2_c(rtDW.ModeIndex[1], &rtB.Merge_p5, &rtB.Merge1); - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.Valve_individual_foot_FR = rtB.Merge_p5; - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.Blower_individual_foot_FR = rtB.Merge1; - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - * DataStoreRead: '/Data Store Read9' - * DataStoreWrite: '/Data Store Write2' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * DataStoreRead: '/Data Store Read9' + * DataStoreWrite: '/Data Store Write2' */ Status_Sensor_Model.Battery = 0; Status_Sensor_Model.AMB = rtDW.AMB; @@ -21158,325 +25369,331 @@ void HVAC_model_step(void) Status_Sensor_Model.Duct_Side_RR = 0; Status_Sensor_Model.AQS = 0; - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ - rtb_Switch1_oh = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_FL / 4095.0 * + rtb_Switch2_by = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_FL / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_hv = (rtb_Switch1_oh < 0.05); + rtb_Compare_hv = (rtb_Switch2_by < 0.05); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_m0e = (rtb_Switch1_oh > 4.8); + rtb_Compare_df = (rtb_Switch2_by > 4.8); - /* Logic: '/Logical Operator' */ - rtb_Compare_i5 = (rtb_Compare_hv || rtb_Compare_m0e); + /* Logic: '/Logical Operator' */ + rtb_Compare_i5 = (rtb_Compare_hv || rtb_Compare_df); - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ rtb_err = (rtb_Compare_i5 && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE >= 3000U)); - /* Product: '/Divide5' incorporates: - * Constant: '/Constant6' - * Constant: '/Constant7' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide4' + /* Product: '/Divide5' incorporates: + * Constant: '/Constant6' + * Constant: '/Constant7' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide4' */ rtb_Divide5 = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_FR / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_ba = (rtb_Divide5 < 0.05); + rtb_Compare_ls = (rtb_Divide5 < 0.05); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_oj = (rtb_Divide5 > 4.8); + rtb_Compare_ne = (rtb_Divide5 > 4.8); - /* Logic: '/Logical Operator5' */ - rtb_FailCond_jb = (rtb_Compare_ba || rtb_Compare_oj); + /* Logic: '/Logical Operator5' */ + rtb_FailCond_jb = (rtb_Compare_ls || rtb_Compare_ne); - /* Logic: '/Logical Operator6' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator6' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ rtb_LogicalOperator6 = (rtb_FailCond_jb && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_i >= 3000U)); - /* Lookup_n-D: '/1-D Lookup Table4' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Lookup_n-D: '/1-D Lookup Table4' incorporates: + * DataStoreRead: '/Data Store Read1' */ rtDW.Incar_FR = look1_iu16tdIs16_binlcs - (rtDW.ADC_Data_Model.Sensor_Incar_Temp_FR, rtConstP.pooled70, - rtConstP.pooled34, 1023U); + (rtDW.ADC_Data_Model.Sensor_Incar_Temp_FR, rtConstP.pooled78, + rtConstP.pooled37, 1023U); - /* Lookup_n-D: '/1-D Lookup Table2' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Lookup_n-D: '/1-D Lookup Table2' incorporates: + * DataStoreRead: '/Data Store Read1' */ - rtb_Bias5 = look1_iu16tdIs16_binlcs(rtDW.ADC_Data_Model.Sensor_Incar_Temp_FL, - rtConstP.pooled70, rtConstP.pooled34, 1023U); + rtb_y_fq = look1_iu16tdIs16_binlcs(rtDW.ADC_Data_Model.Sensor_Incar_Temp_FL, + rtConstP.pooled78, rtConstP.pooled37, 1023U); - /* Switch: '/Switch' incorporates: - * Constant: '/Температура для состояния ошибки' - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator1' - * Switch: '/Switch1' - * Switch: '/Switch2' + /* Switch: '/Switch' incorporates: + * Constant: '/Температура для состояния ошибки' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator1' + * Switch: '/Switch1' + * Switch: '/Switch2' */ if (rtb_err && rtb_LogicalOperator6) { rtDW.Incar_FL = 200; - /* Lookup_n-D: '/1-D Lookup Table4' incorporates: - * Constant: '/Температура для состояния ошибки' - * Constant: '/Температура для состояния ошибки1' - * DataStoreWrite: '/Data Store Write1' + /* Lookup_n-D: '/1-D Lookup Table4' incorporates: + * Constant: '/Температура для состояния ошибки' + * Constant: '/Температура для состояния ошибки1' + * DataStoreWrite: '/Data Store Write1' */ rtDW.Incar_FR = 200; } else { if (rtb_err) { - /* Switch: '/Switch1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* Switch: '/Switch1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.Incar_FL = rtDW.Incar_FR; } else { - rtDW.Incar_FL = rtb_Bias5; + rtDW.Incar_FL = rtb_y_fq; } - /* Switch: '/Switch3' incorporates: - * DataStoreWrite: '/Data Store Write1' - * Switch: '/Switch1' + /* Switch: '/Switch3' incorporates: + * DataStoreWrite: '/Data Store Write1' + * Switch: '/Switch1' */ if (rtb_LogicalOperator6) { - /* Lookup_n-D: '/1-D Lookup Table4' */ - rtDW.Incar_FR = rtb_Bias5; + /* Lookup_n-D: '/1-D Lookup Table4' */ + rtDW.Incar_FR = rtb_y_fq; } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Product: '/Divide3' incorporates: - * Constant: '/Constant3' - * Constant: '/Constant4' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide2' + /* Product: '/Divide3' incorporates: + * Constant: '/Constant3' + * Constant: '/Constant4' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide2' */ rtb_Divide3 = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_RL / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_dn = (rtb_Divide3 < 0.05); + rtb_Compare_kb = (rtb_Divide3 < 0.05); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_hj = (rtb_Divide3 > 4.8); + rtb_Compare_l = (rtb_Divide3 > 4.8); - /* Logic: '/Logical Operator2' */ - rtb_FailCond_e = (rtb_Compare_dn || rtb_Compare_hj); + /* Logic: '/Logical Operator2' */ + rtb_FailCond_e = (rtb_Compare_kb || rtb_Compare_l); - /* Logic: '/Logical Operator3' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator3' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ rtb_LogicalOperator3 = (rtb_FailCond_e && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_k >= 3000U)); - /* Product: '/Divide7' incorporates: - * Constant: '/Constant10' - * Constant: '/Constant9' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide6' + /* Product: '/Divide7' incorporates: + * Constant: '/Constant10' + * Constant: '/Constant9' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide6' */ rtb_Divide7 = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_RR / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_kf = (rtb_Divide7 < 0.05); + rtb_Compare_g1 = (rtb_Divide7 < 0.05); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_pt = (rtb_Divide7 > 4.8); + rtb_Compare_il = (rtb_Divide7 > 4.8); - /* Logic: '/Logical Operator7' */ - rtb_FailCond_l = (rtb_Compare_kf || rtb_Compare_pt); + /* Logic: '/Logical Operator7' */ + rtb_FailCond_l = (rtb_Compare_g1 || rtb_Compare_il); - /* Logic: '/Logical Operator8' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator8' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ rtb_LogicalOperator8 = (rtb_FailCond_l && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_p >= 3000U)); - /* Lookup_n-D: '/1-D Lookup Table3' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Lookup_n-D: '/1-D Lookup Table3' incorporates: + * DataStoreRead: '/Data Store Read1' */ rtDW.Incar_RR = look1_iu16tdIs16_binlcs - (rtDW.ADC_Data_Model.Sensor_Incar_Temp_RR, rtConstP.pooled70, - rtConstP.pooled34, 1023U); + (rtDW.ADC_Data_Model.Sensor_Incar_Temp_RR, rtConstP.pooled78, + rtConstP.pooled37, 1023U); - /* Lookup_n-D: '/1-D Lookup Table1' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Lookup_n-D: '/1-D Lookup Table1' incorporates: + * DataStoreRead: '/Data Store Read1' */ - rtb_Bias5 = look1_iu16tdIs16_binlcs(rtDW.ADC_Data_Model.Sensor_Incar_Temp_RL, - rtConstP.pooled70, rtConstP.pooled34, 1023U); + rtb_y_fq = look1_iu16tdIs16_binlcs(rtDW.ADC_Data_Model.Sensor_Incar_Temp_RL, + rtConstP.pooled78, rtConstP.pooled37, 1023U); - /* Switch: '/Switch' incorporates: - * Constant: '/Температура для состояния ошибки' - * DataStoreWrite: '/Data Store Write4' - * Logic: '/Logical Operator1' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * Constant: '/Температура для состояния ошибки' + * DataStoreWrite: '/Data Store Write4' + * Logic: '/Logical Operator1' + * Switch: '/Switch1' */ if (rtb_LogicalOperator3 && rtb_LogicalOperator8) { rtDW.Incar_RL = 200; } else if (rtb_LogicalOperator3) { - /* Switch: '/Switch1' incorporates: - * DataStoreWrite: '/Data Store Write4' + /* Switch: '/Switch1' incorporates: + * DataStoreWrite: '/Data Store Write4' */ rtDW.Incar_RL = rtDW.Incar_RR; } else { - rtDW.Incar_RL = rtb_Bias5; + rtDW.Incar_RL = rtb_y_fq; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch2' incorporates: - * Logic: '/Logical Operator2' - * Switch: '/Switch3' + /* Switch: '/Switch2' incorporates: + * Logic: '/Logical Operator2' + * Switch: '/Switch3' */ if (rtb_LogicalOperator3 && (rtDW.Incar_RR != 0)) { - /* Lookup_n-D: '/1-D Lookup Table3' incorporates: - * Constant: '/Температура для состояния ошибки1' + /* Lookup_n-D: '/1-D Lookup Table3' incorporates: + * Constant: '/Температура для состояния ошибки1' */ rtDW.Incar_RR = 200; } else if (rtb_LogicalOperator8) { - /* Lookup_n-D: '/1-D Lookup Table3' incorporates: - * Switch: '/Switch3' + /* Lookup_n-D: '/1-D Lookup Table3' incorporates: + * Switch: '/Switch3' */ - rtDW.Incar_RR = rtb_Bias5; + rtDW.Incar_RR = rtb_y_fq; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ - rtb_Gain_e = (double)rtDW.ADC_Data_Model.Sensor_Evap_Temp / 4095.0 * 5.0; + rtb_Add_p4 = (double)rtDW.ADC_Data_Model.Sensor_Evap_Temp / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_ec = (rtb_Gain_e < 0.1); + rtb_Compare_edx = (rtb_Add_p4 < 0.1); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_ni = (rtb_Gain_e > 4.9); + rtb_Compare_e1 = (rtb_Add_p4 > 4.9); - /* Logic: '/Logical Operator' */ - rtb_FailCond_a = (rtb_Compare_ec || rtb_Compare_ni); + /* Logic: '/Logical Operator' */ + rtb_FailCond_a = (rtb_Compare_edx || rtb_Compare_e1); - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ rtb_LogicalOperator1 = (rtb_FailCond_a && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_g >= 3000U)); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * Lookup_n-D: '/1-D Lookup Table' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + rtDW.CCU_EvaTempSenErrF_Stat = rtb_LogicalOperator1; + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * Lookup_n-D: '/1-D Lookup Table' */ if (rtb_LogicalOperator1) { rtDW.Eva_F = -100; } else { rtDW.Eva_F = look1_iu16tdIs16_binlcs(rtDW.ADC_Data_Model.Sensor_Evap_Temp, - rtConstP.pooled70, rtConstP.pooled3, 1023U); + rtConstP.pooled78, rtConstP.pooled7, 1023U); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[12] = rtb_LogicalOperator1; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_LogicalOperator1) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[13] = rtb_Compare_ec; + rtDW.dtc_state_error_model[13] = rtb_Compare_edx; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[12] = rtb_Compare_ni; + rtDW.dtc_state_error_model[12] = rtb_Compare_e1; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[13] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read' + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator1) { /* : if(EvapFErr) */ /* : fprintf('CCU_Body_Err.CCU_EvaTempSenErrF_Stat = 0x1 (Failure), Sensor_Evap_Temp = %f V\n',Sensor_Evap_Temp); */ printf("CCU_Body_Err.CCU_EvaTempSenErrF_Stat = 0x1 (Failure), Sensor_Evap_Temp = %f V\n", - rtb_Gain_e); + rtb_Add_p4); fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ - /* MATLAB Function: '/Write Eva_F' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write1' + /* MATLAB Function: '/Write Eva_F' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -21485,113 +25702,119 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write Eva_F' */ + /* End of MATLAB Function: '/Write Eva_F' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_FailCond_a && (!rtDW.Cond_prev_private_DSTATE)) { rtDW.t_start_delay_private_DSTATE_g = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ - rtb_Gain_e = (double)rtDW.ADC_Data_Model.Sensor_Rear_Evap_Temp / 4095.0 * 5.0; + rtb_Add_p4 = (double)rtDW.ADC_Data_Model.Sensor_Rear_Evap_Temp / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_ni = (rtb_Gain_e < 0.1); + rtb_Compare_e1 = (rtb_Add_p4 < 0.1); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_og = (rtb_Gain_e > 4.9); + rtb_LogicalOperator1 = (rtb_Add_p4 > 4.9); - /* Logic: '/Logical Operator' */ - rtb_Compare_ec = (rtb_Compare_ni || rtb_Compare_og); + /* Logic: '/Logical Operator' */ + rtb_Compare_edx = (rtb_Compare_e1 || rtb_LogicalOperator1); - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ - rtb_LogicalOperator1_dv = (rtb_Compare_ec && (rtDW.t_now - + rtb_LogicalOperator1_dv = (rtb_Compare_edx && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_c >= 3000U)); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * Lookup_n-D: '/1-D Lookup Table' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + rtDW.CCU_EvaTempSenErrR_Stat = rtb_LogicalOperator1_dv; + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * Lookup_n-D: '/1-D Lookup Table' */ if (rtb_LogicalOperator1_dv) { rtDW.Eva_R = -100; } else { rtDW.Eva_R = look1_iu16tdIs16_binlcs - (rtDW.ADC_Data_Model.Sensor_Rear_Evap_Temp, rtConstP.pooled70, - rtConstP.pooled3, 1023U); + (rtDW.ADC_Data_Model.Sensor_Rear_Evap_Temp, rtConstP.pooled78, + rtConstP.pooled7, 1023U); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[14] = rtb_LogicalOperator1_dv; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_LogicalOperator1_dv) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[15] = rtb_Compare_ni; + rtDW.dtc_state_error_model[15] = rtb_Compare_e1; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[14] = rtb_Compare_og; + rtDW.dtc_state_error_model[14] = rtb_LogicalOperator1; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[15] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read' + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator1_dv) { /* : if(EvapRErr) */ /* : fprintf('CCU_Body_Err.CCU_EvaTempSenErrR_Stat = 0x1 (Failure), Sensor_Rear_Evap_Temp = %f V\n',Sensor_Rear_Evap_Temp); */ printf("CCU_Body_Err.CCU_EvaTempSenErrR_Stat = 0x1 (Failure), Sensor_Rear_Evap_Temp = %f V\n", - rtb_Gain_e); + rtb_Add_p4); fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ - /* MATLAB Function: '/Write Eva_F' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write1' + /* MATLAB Function: '/Write Eva_F' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -21600,99 +25823,105 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write Eva_F' */ + /* End of MATLAB Function: '/Write Eva_F' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ - if (rtb_Compare_ec && (!rtDW.Cond_prev_private_DSTATE_p)) { + if (rtb_Compare_edx && (!rtDW.Cond_prev_private_DSTATE_p)) { rtDW.t_start_delay_private_DSTATE_c = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ - rtb_Gain_e = (double)rtDW.ADC_Data_Model.Sensor_AC_Pressure / 4095.0 * 5.0; + rtb_Add_p4 = (double)rtDW.ADC_Data_Model.Sensor_AC_Pressure / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_og = (rtb_Gain_e < 0.1); + rtb_LogicalOperator1 = (rtb_Add_p4 < 0.1); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_ij = (rtb_Gain_e > 4.9); + rtb_LogicalOperator1_dv = (rtb_Add_p4 > 4.9); - /* Logic: '/Logical Operator' */ - rtb_Compare_ni = (rtb_Compare_og || rtb_Compare_ij); + /* Logic: '/Logical Operator' */ + rtb_Compare_e1 = (rtb_LogicalOperator1 || rtb_LogicalOperator1_dv); - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ - rtb_LogicalOperator1_n = (rtb_Compare_ni && (rtDW.t_now - + rtb_LogicalOperator1_n = (rtb_Compare_e1 && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_h >= 3000U)); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write' - * Lookup_n-D: '/1-D Lookup Table' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write' + * Lookup_n-D: '/1-D Lookup Table' */ if (rtb_LogicalOperator1_n) { rtDW.Pressure = 320; } else { rtDW.Pressure = look1_iu16tdIs16_binlcs - (rtDW.ADC_Data_Model.Sensor_AC_Pressure, rtConstP.pooled70, + (rtDW.ADC_Data_Model.Sensor_AC_Pressure, rtConstP.pooled78, rtConstP.uDLookupTable_tableData, 1023U); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_PressSenErr_Stat = rtb_LogicalOperator1_n; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[51] = rtb_LogicalOperator1_n; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_LogicalOperator1_n) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[50] = rtb_Compare_og; + rtDW.dtc_state_error_model[50] = rtb_LogicalOperator1; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[51] = rtb_Compare_ij; + rtDW.dtc_state_error_model[51] = rtb_LogicalOperator1_dv; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[50] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -21701,297 +25930,290 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read' + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator1_n) { /* : if(AC_PressureErr) */ /* : fprintf('CCU_Body_Err.CCU_PressSenErr_Stat = 0x1 (Failure), Sensor_AC_Pressure = %f V\n',Sensor_AC_Pressure); */ printf("CCU_Body_Err.CCU_PressSenErr_Stat = 0x1 (Failure), Sensor_AC_Pressure = %f V\n", - rtb_Gain_e); + rtb_Add_p4); fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ - if (rtb_Compare_ni && (!rtDW.Cond_prev_private_DSTATE_a)) { + if (rtb_Compare_e1 && (!rtDW.Cond_prev_private_DSTATE_a)) { rtDW.t_start_delay_private_DSTATE_h = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Product: '/Divide3' incorporates: - * Constant: '/Constant3' - * Constant: '/Constant4' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide2' + /* Product: '/Divide3' incorporates: + * Constant: '/Constant3' + * Constant: '/Constant4' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide2' */ - rtb_Gain_e = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct1 / 4095.0 * 5.0; + rtb_Add_p4 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct1 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_et = (rtb_Gain_e < 0.15); + rtb_Compare_gwb = (rtb_Add_p4 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_ie = (rtb_Gain_e > 4.9); + rtb_Compare_dw = (rtb_Add_p4 > 4.9); - /* Logic: '/Logical Operator2' */ - rtb_Compare_og = (rtb_Compare_et || rtb_Compare_ie); + /* Logic: '/Logical Operator2' */ + rtb_LogicalOperator1 = (rtb_Compare_gwb || rtb_Compare_dw); - /* Logic: '/Logical Operator3' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator3' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ - rtb_LogicalOperator3_cz = (rtb_Compare_og && (rtDW.t_now - + rtb_LogicalOperator3_cz = (rtb_LogicalOperator1 && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_kc >= 3000U)); - /* Product: '/Divide4' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide1' + /* Product: '/Divide4' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide1' */ rtb_Divide4 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct2 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_fq = (rtb_Divide4 < 0.15); + rtb_Compare_ohx = (rtb_Divide4 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_gy = (rtb_Divide4 > 4.9); + rtb_Compare_pjy = (rtb_Divide4 > 4.9); - /* Logic: '/Logical Operator1' */ - rtb_Compare_ij = (rtb_Compare_fq || rtb_Compare_gy); + /* Logic: '/Logical Operator1' */ + rtb_LogicalOperator1_dv = (rtb_Compare_ohx || rtb_Compare_pjy); - /* Logic: '/Logical Operator4' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator4' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ - rtb_LogicalOperator4_fo = (rtb_Compare_ij && (rtDW.t_now - + rtb_LogicalOperator4_fo = (rtb_LogicalOperator1_dv && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_m >= 3000U)); - /* Product: '/Divide6' incorporates: - * Constant: '/Constant7' - * Constant: '/Constant8' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide5' + /* Product: '/Divide6' incorporates: + * Constant: '/Constant7' + * Constant: '/Constant8' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide5' */ rtb_Divide6 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct3 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_an = (rtb_Divide6 < 0.15); + rtb_Compare_hs = (rtb_Divide6 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_gp = (rtb_Divide6 > 4.9); + rtb_Compare_ps1 = (rtb_Divide6 > 4.9); - /* Logic: '/Logical Operator5' */ - rtb_FailCond_kz = (rtb_Compare_an || rtb_Compare_gp); + /* Logic: '/Logical Operator5' */ + rtb_LogicalOperator1_n = (rtb_Compare_hs || rtb_Compare_ps1); - /* Logic: '/Logical Operator6' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator6' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ - rtb_LogicalOperator6_m = (rtb_FailCond_kz && (rtDW.t_now - + rtb_LogicalOperator6_m = (rtb_LogicalOperator1_n && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_pn >= 3000U)); - /* Product: '/Divide8' incorporates: - * Constant: '/Constant10' - * Constant: '/Constant11' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide7' + /* Product: '/Divide8' incorporates: + * Constant: '/Constant10' + * Constant: '/Constant11' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide7' */ rtb_Divide8 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct4 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_od = (rtb_Divide8 < 0.15); + rtb_Compare_fi = (rtb_Divide8 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_oo = (rtb_Divide8 > 4.9); + rtb_Compare_oi1 = (rtb_Divide8 > 4.9); - /* Logic: '/Logical Operator7' */ - rtb_FailCond_n2 = (rtb_Compare_od || rtb_Compare_oo); + /* Logic: '/Logical Operator7' */ + rtb_FailCond_kd = (rtb_Compare_fi || rtb_Compare_oi1); - /* Logic: '/Logical Operator8' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator8' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ - rtb_LogicalOperator8_i = (rtb_FailCond_n2 && (rtDW.t_now - + rtb_LogicalOperator8_i = (rtb_FailCond_kd && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_hb >= 3000U)); - /* Product: '/Divide10' incorporates: - * Constant: '/Constant13' - * Constant: '/Constant14' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide9' + /* Product: '/Divide10' incorporates: + * Constant: '/Constant13' + * Constant: '/Constant14' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide9' */ rtb_Divide10 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct5 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_h2 = (rtb_Divide10 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_au = (rtb_Divide10 > 4.9); - /* Logic: '/Logical Operator9' */ - rtb_FailCond_i4 = (rtb_Compare_h2 || rtb_Compare_au); + /* Logic: '/Logical Operator9' */ + rtb_FailCond_d = (rtb_Compare_h2 || rtb_Compare_au); - /* Logic: '/Logical Operator10' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator10' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ - rtb_LogicalOperator10 = (rtb_FailCond_i4 && (rtDW.t_now - + rtb_LogicalOperator10 = (rtb_FailCond_d && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_i3 >= 3000U)); - /* Product: '/Divide11' incorporates: - * Constant: '/Constant16' - * Constant: '/Constant17' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide12' + /* Product: '/Divide11' incorporates: + * Constant: '/Constant16' + * Constant: '/Constant17' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide12' */ rtb_Divide11 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct6 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_iy = (rtb_Divide11 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_bn = (rtb_Divide11 > 4.9); - /* Logic: '/Logical Operator12' */ - rtb_FailCond_gv = (rtb_Compare_iy || rtb_Compare_bn); + /* Logic: '/Logical Operator12' */ + rtb_FailCond_ad = (rtb_Compare_iy || rtb_Compare_bn); - /* Logic: '/Logical Operator11' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator11' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ - rtb_LogicalOperator11 = (rtb_FailCond_gv && (rtDW.t_now - + rtb_LogicalOperator11 = (rtb_FailCond_ad && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_cc >= 3000U)); - /* SignalConversion generated from: '/1-D Lookup Table7' incorporates: - * DataStoreRead: '/Data Store Read1' + /* SignalConversion generated from: '/1-D Lookup Table7' incorporates: + * DataStoreRead: '/Data Store Read1' */ - rtb_TmpSignalConversionAt1DLookupTable7Inport1[0] = - rtDW.ADC_Data_Model.Sensor_Front_Duct1; - rtb_TmpSignalConversionAt1DLookupTable7Inport1[1] = - rtDW.ADC_Data_Model.Sensor_Front_Duct2; - rtb_TmpSignalConversionAt1DLookupTable7Inport1[2] = - rtDW.ADC_Data_Model.Sensor_Front_Duct3; - rtb_TmpSignalConversionAt1DLookupTable7Inport1[3] = - rtDW.ADC_Data_Model.Sensor_Front_Duct4; - rtb_TmpSignalConversionAt1DLookupTable7Inport1[4] = - rtDW.ADC_Data_Model.Sensor_Front_Duct5; - rtb_TmpSignalConversionAt1DLookupTable7Inport1[5] = - rtDW.ADC_Data_Model.Sensor_Front_Duct6; + rtb_out[0] = rtDW.ADC_Data_Model.Sensor_Front_Duct1; + rtb_out[1] = rtDW.ADC_Data_Model.Sensor_Front_Duct2; + rtb_out[2] = rtDW.ADC_Data_Model.Sensor_Front_Duct3; + rtb_out[3] = rtDW.ADC_Data_Model.Sensor_Front_Duct4; + rtb_out[4] = rtDW.ADC_Data_Model.Sensor_Front_Duct5; + rtb_out[5] = rtDW.ADC_Data_Model.Sensor_Front_Duct6; - /* Lookup_n-D: '/1-D Lookup Table7' */ - for (i = 0; i < 6; i++) { - rtb_uDLookupTable7_g[i] = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_TmpSignalConversionAt1DLookupTable7Inport1[i], rtConstP.pooled60, - rtConstP.pooled59, 1023U); + /* Lookup_n-D: '/1-D Lookup Table7' */ + for (rtb_Switch5 = 0; rtb_Switch5 < 6; rtb_Switch5++) { + rtb_uDLookupTable7_g[rtb_Switch5] = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_out[rtb_Switch5], rtConstP.pooled65, rtConstP.pooled64, 1023U); } - /* End of Lookup_n-D: '/1-D Lookup Table7' */ + /* End of Lookup_n-D: '/1-D Lookup Table7' */ - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant6' - * DataStoreWrite: '/Data Store Write1' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant6' + * DataStoreWrite: '/Data Store Write1' */ if (rtb_LogicalOperator4_fo) { - rtb_MultiportSwitch_pp = 230; - } else { - rtb_MultiportSwitch_pp = rtb_uDLookupTable7_g[1]; - } - - /* End of Switch: '/Switch2' */ - - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant5' - * DataStoreWrite: '/Data Store Write2' - */ - if (rtb_LogicalOperator3_cz) { - rtb_MultiportSwitch_m = 230; - } else { - rtb_MultiportSwitch_m = rtb_uDLookupTable7_g[0]; - } - - /* End of Switch: '/Switch1' */ - - /* Switch: '/Switch3' incorporates: - * Constant: '/Constant9' - * DataStoreWrite: '/Data Store Write3' - */ - if (rtb_LogicalOperator6_m) { - rtb_X = 230; - } else { - rtb_X = rtb_uDLookupTable7_g[2]; - } - - /* End of Switch: '/Switch3' */ - - /* Switch: '/Switch4' incorporates: - * Constant: '/Constant12' - * DataStoreWrite: '/Data Store Write4' - */ - if (rtb_LogicalOperator8_i) { rtb_Bias1_h = 230; } else { - rtb_Bias1_h = rtb_uDLookupTable7_g[3]; + rtb_Bias1_h = rtb_uDLookupTable7_g[1]; } - /* End of Switch: '/Switch4' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch5' incorporates: - * Constant: '/Constant15' - * DataStoreWrite: '/Data Store Write5' + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant5' + * DataStoreWrite: '/Data Store Write2' + */ + if (rtb_LogicalOperator3_cz) { + Duct1_F = 230; + } else { + Duct1_F = rtb_uDLookupTable7_g[0]; + } + + /* End of Switch: '/Switch1' */ + + /* Switch: '/Switch3' incorporates: + * Constant: '/Constant9' + * DataStoreWrite: '/Data Store Write3' + */ + if (rtb_LogicalOperator6_m) { + Duct3_F = 230; + } else { + Duct3_F = rtb_uDLookupTable7_g[2]; + } + + /* End of Switch: '/Switch3' */ + + /* Switch: '/Switch4' incorporates: + * Constant: '/Constant12' + * DataStoreWrite: '/Data Store Write4' + */ + if (rtb_LogicalOperator8_i) { + Duct4_F = 230; + } else { + Duct4_F = rtb_uDLookupTable7_g[3]; + } + + /* End of Switch: '/Switch4' */ + + /* Switch: '/Switch5' incorporates: + * Constant: '/Constant15' + * DataStoreWrite: '/Data Store Write5' */ if (rtb_LogicalOperator10) { Duct5_F = 230; @@ -21999,11 +26221,11 @@ void HVAC_model_step(void) Duct5_F = rtb_uDLookupTable7_g[4]; } - /* End of Switch: '/Switch5' */ + /* End of Switch: '/Switch5' */ - /* Switch: '/Switch6' incorporates: - * Constant: '/Constant18' - * DataStoreWrite: '/Data Store Write6' + /* Switch: '/Switch6' incorporates: + * Constant: '/Constant18' + * DataStoreWrite: '/Data Store Write6' */ if (rtb_LogicalOperator11) { Duct6_F = 230; @@ -22011,231 +26233,231 @@ void HVAC_model_step(void) Duct6_F = rtb_uDLookupTable7_g[5]; } - /* End of Switch: '/Switch6' */ + /* End of Switch: '/Switch6' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[17] = rtb_LogicalOperator3_cz; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_LogicalOperator3_cz) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[18] = rtb_Compare_et; + rtDW.dtc_state_error_model[18] = rtb_Compare_gwb; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[17] = rtb_Compare_ie; + rtDW.dtc_state_error_model[17] = rtb_Compare_dw; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[18] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[19] = rtb_LogicalOperator4_fo; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_LogicalOperator4_fo) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[20] = rtb_Compare_fq; + rtDW.dtc_state_error_model[20] = rtb_Compare_ohx; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[19] = rtb_Compare_gy; + rtDW.dtc_state_error_model[19] = rtb_Compare_pjy; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[20] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[21] = rtb_LogicalOperator6_m; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_LogicalOperator6_m) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[22] = rtb_Compare_an; + rtDW.dtc_state_error_model[22] = rtb_Compare_hs; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[21] = rtb_Compare_gp; + rtDW.dtc_state_error_model[21] = rtb_Compare_ps1; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[22] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[23] = rtb_LogicalOperator8_i; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_LogicalOperator8_i) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[24] = rtb_Compare_od; + rtDW.dtc_state_error_model[24] = rtb_Compare_fi; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[23] = rtb_Compare_oo; + rtDW.dtc_state_error_model[23] = rtb_Compare_oi1; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[24] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[25] = rtb_LogicalOperator10; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_LogicalOperator10) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ rtDW.dtc_state_error_model[26] = rtb_Compare_h2; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ rtDW.dtc_state_error_model[25] = rtb_Compare_au; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[26] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[27] = rtb_LogicalOperator11; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_LogicalOperator11) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ rtDW.dtc_state_error_model[28] = rtb_Compare_iy; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ rtDW.dtc_state_error_model[27] = rtb_Compare_bn; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[28] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/Write 1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write2' + /* MATLAB Function: '/Write 1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write2' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('Duct1_F = %d * 0.1 C\n',Sensor); */ - printf("Duct1_F = %d * 0.1 C\n", rtb_MultiportSwitch_m); + printf("Duct1_F = %d * 0.1 C\n", Duct1_F); fflush(stdout); } - /* End of MATLAB Function: '/Write 1' */ + /* End of MATLAB Function: '/Write 1' */ - /* MATLAB Function: '/Write 2' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreWrite: '/Data Store Write1' + /* MATLAB Function: '/Write 2' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('Duct2_F = %d * 0.1 C\n',Sensor); */ - printf("Duct2_F = %d * 0.1 C\n", rtb_MultiportSwitch_pp); + printf("Duct2_F = %d * 0.1 C\n", rtb_Bias1_h); fflush(stdout); } - /* End of MATLAB Function: '/Write 2' */ + /* End of MATLAB Function: '/Write 2' */ - /* MATLAB Function: '/Write 3' incorporates: - * DataStoreRead: '/Data Store Read3' - * DataStoreWrite: '/Data Store Write3' + /* MATLAB Function: '/Write 3' incorporates: + * DataStoreRead: '/Data Store Read3' + * DataStoreWrite: '/Data Store Write3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('Duct3_F = %d * 0.1 C\n',Sensor); */ - printf("Duct3_F = %d * 0.1 C\n", rtb_X); + printf("Duct3_F = %d * 0.1 C\n", Duct3_F); fflush(stdout); } - /* End of MATLAB Function: '/Write 3' */ + /* End of MATLAB Function: '/Write 3' */ - /* MATLAB Function: '/Write 4' incorporates: - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write4' + /* MATLAB Function: '/Write 4' incorporates: + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write4' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('Duct4_F = %d * 0.1 C\n',Sensor); */ - printf("Duct4_F = %d * 0.1 C\n", rtb_Bias1_h); + printf("Duct4_F = %d * 0.1 C\n", Duct4_F); fflush(stdout); } - /* End of MATLAB Function: '/Write 4' */ + /* End of MATLAB Function: '/Write 4' */ - /* MATLAB Function: '/Write 5' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreWrite: '/Data Store Write5' + /* MATLAB Function: '/Write 5' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreWrite: '/Data Store Write5' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -22244,11 +26466,11 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write 5' */ + /* End of MATLAB Function: '/Write 5' */ - /* MATLAB Function: '/Write 6' incorporates: - * DataStoreRead: '/Data Store Read6' - * DataStoreWrite: '/Data Store Write6' + /* MATLAB Function: '/Write 6' incorporates: + * DataStoreRead: '/Data Store Read6' + * DataStoreWrite: '/Data Store Write6' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -22257,24 +26479,24 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write 6' */ + /* End of MATLAB Function: '/Write 6' */ - /* MATLAB Function: '/Write ERROR1' incorporates: - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/Write ERROR1' incorporates: + * DataStoreRead: '/Data Store Read1' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator3_cz) { /* : if(Err) */ /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct1_F = %f V\n',Sensor); */ printf("CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct1_F = %f V\n", - rtb_Gain_e); + rtb_Add_p4); fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR1' */ + /* End of MATLAB Function: '/Write ERROR1' */ - /* MATLAB Function: '/Write ERROR2' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MATLAB Function: '/Write ERROR2' incorporates: + * DataStoreRead: '/Data Store Read2' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator4_fo) { @@ -22285,10 +26507,10 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR2' */ + /* End of MATLAB Function: '/Write ERROR2' */ - /* MATLAB Function: '/Write ERROR3' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write ERROR3' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator6_m) { @@ -22299,10 +26521,10 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR3' */ + /* End of MATLAB Function: '/Write ERROR3' */ - /* MATLAB Function: '/Write ERROR4' incorporates: - * DataStoreRead: '/Data Store Read4' + /* MATLAB Function: '/Write ERROR4' incorporates: + * DataStoreRead: '/Data Store Read4' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator8_i) { @@ -22313,10 +26535,10 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR4' */ + /* End of MATLAB Function: '/Write ERROR4' */ - /* MATLAB Function: '/Write ERROR5' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/Write ERROR5' incorporates: + * DataStoreRead: '/Data Store Read5' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator10) { @@ -22327,10 +26549,10 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR5' */ + /* End of MATLAB Function: '/Write ERROR5' */ - /* MATLAB Function: '/Write ERROR6' incorporates: - * DataStoreRead: '/Data Store Read6' + /* MATLAB Function: '/Write ERROR6' incorporates: + * DataStoreRead: '/Data Store Read6' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator11) { @@ -22341,485 +26563,485 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR6' */ + /* End of MATLAB Function: '/Write ERROR6' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ - if (rtb_Compare_og && (!rtDW.Cond_prev_private_DSTATE_h)) { + if (rtb_LogicalOperator1 && (!rtDW.Cond_prev_private_DSTATE_h)) { rtDW.t_start_delay_private_DSTATE_kc = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ - if (rtb_Compare_ij && (!rtDW.Cond_prev_private_DSTATE_c)) { + if (rtb_LogicalOperator1_dv && (!rtDW.Cond_prev_private_DSTATE_c)) { rtDW.t_start_delay_private_DSTATE_m = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ - if (rtb_FailCond_kz && (!rtDW.Cond_prev_private_DSTATE_m)) { + if (rtb_LogicalOperator1_n && (!rtDW.Cond_prev_private_DSTATE_m)) { rtDW.t_start_delay_private_DSTATE_pn = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ - if (rtb_FailCond_n2 && (!rtDW.Cond_prev_private_DSTATE_j)) { + if (rtb_FailCond_kd && (!rtDW.Cond_prev_private_DSTATE_j)) { rtDW.t_start_delay_private_DSTATE_hb = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ - if (rtb_FailCond_i4 && (!rtDW.Cond_prev_private_DSTATE_f)) { + if (rtb_FailCond_d && (!rtDW.Cond_prev_private_DSTATE_f)) { rtDW.t_start_delay_private_DSTATE_i3 = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ - if (rtb_FailCond_gv && (!rtDW.Cond_prev_private_DSTATE_cn)) { + if (rtb_FailCond_ad && (!rtDW.Cond_prev_private_DSTATE_cn)) { rtDW.t_start_delay_private_DSTATE_cc = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ - rtb_Gain_e = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct1 / 4095.0 * 5.0; + rtb_Add_p4 = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct1 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_h2 = (rtb_Gain_e < 0.15); + rtb_Compare_h2 = (rtb_Add_p4 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_au = (rtb_Gain_e > 4.9); + rtb_Compare_au = (rtb_Add_p4 > 4.9); - /* Logic: '/Logical Operator' */ - rtb_Compare_et = (rtb_Compare_h2 || rtb_Compare_au); + /* Logic: '/Logical Operator' */ + rtb_Compare_gwb = (rtb_Compare_h2 || rtb_Compare_au); - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ - rtb_Compare_an = (rtb_Compare_et && (rtDW.t_now - + rtb_Compare_hs = (rtb_Compare_gwb && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_o >= 3000U)); - /* Product: '/Divide3' incorporates: - * Constant: '/Constant3' - * Constant: '/Constant4' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide2' + /* Product: '/Divide3' incorporates: + * Constant: '/Constant3' + * Constant: '/Constant4' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide2' */ rtb_Divide4 = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct2 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_iy = (rtb_Divide4 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_bn = (rtb_Divide4 > 4.9); - /* Logic: '/Logical Operator2' */ - rtb_Compare_ie = (rtb_Compare_iy || rtb_Compare_bn); + /* Logic: '/Logical Operator2' */ + rtb_Compare_dw = (rtb_Compare_iy || rtb_Compare_bn); - /* Logic: '/Logical Operator3' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator3' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ - rtb_Compare_gp = (rtb_Compare_ie && (rtDW.t_now - + rtb_Compare_ps1 = (rtb_Compare_dw && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_oy >= 3000U)); - /* Product: '/Divide5' incorporates: - * Constant: '/Constant6' - * Constant: '/Constant7' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide4' + /* Product: '/Divide5' incorporates: + * Constant: '/Constant6' + * Constant: '/Constant7' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide4' */ rtb_Divide6 = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct3 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_d5 = (rtb_Divide6 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_mg = (rtb_Divide6 > 4.9); - /* Logic: '/Logical Operator5' */ - rtb_Compare_fq = (rtb_Compare_d5 || rtb_Compare_mg); + /* Logic: '/Logical Operator5' */ + rtb_Compare_ohx = (rtb_Compare_d5 || rtb_Compare_mg); - /* Logic: '/Logical Operator6' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator6' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ - rtb_Compare_od = (rtb_Compare_fq && (rtDW.t_now - + rtb_Compare_fi = (rtb_Compare_ohx && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_cd >= 3000U)); - /* Product: '/Divide7' incorporates: - * Constant: '/Constant10' - * Constant: '/Constant9' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide6' + /* Product: '/Divide7' incorporates: + * Constant: '/Constant10' + * Constant: '/Constant9' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide6' */ rtb_Divide8 = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct4 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_bq = (rtb_Divide8 < 0.15); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_Compare_af = (rtb_Divide8 > 4.9); - /* Logic: '/Logical Operator7' */ - rtb_Compare_gy = (rtb_Compare_bq || rtb_Compare_af); + /* Logic: '/Logical Operator7' */ + rtb_Compare_pjy = (rtb_Compare_bq || rtb_Compare_af); - /* Logic: '/Logical Operator8' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Logic: '/Logical Operator8' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Compare' + * Sum: '/Subtract' + * UnitDelay: '/t_start_delay_private ' */ - rtb_Compare_oo = (rtb_Compare_gy && (rtDW.t_now - + rtb_Compare_oi1 = (rtb_Compare_pjy && (rtDW.t_now - rtDW.t_start_delay_private_DSTATE_or >= 3000U)); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * Lookup_n-D: '/1-D Lookup Table4' - * SignalConversion generated from: '/1-D Lookup Table4' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * Lookup_n-D: '/1-D Lookup Table4' + * SignalConversion generated from: '/1-D Lookup Table4' */ - if (rtb_Compare_an) { + if (rtb_Compare_hs) { Duct1_R = 230; } else { Duct1_R = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Rear_Duct1, rtConstP.pooled60, - rtConstP.pooled59, 1023U); + (rtDW.ADC_Data_Model.Sensor_Rear_Duct1, rtConstP.pooled65, + rtConstP.pooled64, 1023U); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant5' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write2' - * Lookup_n-D: '/1-D Lookup Table4' - * SignalConversion generated from: '/1-D Lookup Table4' + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant5' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write2' + * Lookup_n-D: '/1-D Lookup Table4' + * SignalConversion generated from: '/1-D Lookup Table4' */ - if (rtb_Compare_gp) { + if (rtb_Compare_ps1) { Duct2_R = 230; } else { Duct2_R = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Rear_Duct2, rtConstP.pooled60, - rtConstP.pooled59, 1023U); + (rtDW.ADC_Data_Model.Sensor_Rear_Duct2, rtConstP.pooled65, + rtConstP.pooled64, 1023U); } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant8' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write3' - * Lookup_n-D: '/1-D Lookup Table4' - * SignalConversion generated from: '/1-D Lookup Table4' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant8' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write3' + * Lookup_n-D: '/1-D Lookup Table4' + * SignalConversion generated from: '/1-D Lookup Table4' */ - if (rtb_Compare_od) { + if (rtb_Compare_fi) { Duct3_R = 230; } else { Duct3_R = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Rear_Duct3, rtConstP.pooled60, - rtConstP.pooled59, 1023U); + (rtDW.ADC_Data_Model.Sensor_Rear_Duct3, rtConstP.pooled65, + rtConstP.pooled64, 1023U); } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch3' incorporates: - * Constant: '/Constant11' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write4' - * Lookup_n-D: '/1-D Lookup Table4' - * SignalConversion generated from: '/1-D Lookup Table4' + /* Switch: '/Switch3' incorporates: + * Constant: '/Constant11' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write4' + * Lookup_n-D: '/1-D Lookup Table4' + * SignalConversion generated from: '/1-D Lookup Table4' */ - if (rtb_Compare_oo) { + if (rtb_Compare_oi1) { Duct4_R = 230; } else { Duct4_R = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Rear_Duct4, rtConstP.pooled60, - rtConstP.pooled59, 1023U); + (rtDW.ADC_Data_Model.Sensor_Rear_Duct4, rtConstP.pooled65, + rtConstP.pooled64, 1023U); } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtDW.dtc_state_error_model[29] = rtb_Compare_an; + rtDW.dtc_state_error_model[29] = rtb_Compare_hs; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ - if (rtb_Compare_an) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + if (rtb_Compare_hs) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ rtDW.dtc_state_error_model[30] = rtb_Compare_h2; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ rtDW.dtc_state_error_model[29] = rtb_Compare_au; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[30] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtDW.dtc_state_error_model[31] = rtb_Compare_gp; + rtDW.dtc_state_error_model[31] = rtb_Compare_ps1; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ - if (rtb_Compare_gp) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + if (rtb_Compare_ps1) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ rtDW.dtc_state_error_model[32] = rtb_Compare_iy; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ rtDW.dtc_state_error_model[31] = rtb_Compare_bn; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[32] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtDW.dtc_state_error_model[33] = rtb_Compare_od; + rtDW.dtc_state_error_model[33] = rtb_Compare_fi; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ - if (rtb_Compare_od) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + if (rtb_Compare_fi) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ rtDW.dtc_state_error_model[34] = rtb_Compare_d5; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ rtDW.dtc_state_error_model[33] = rtb_Compare_mg; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[34] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtDW.dtc_state_error_model[35] = rtb_Compare_oo; + rtDW.dtc_state_error_model[35] = rtb_Compare_oi1; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ - if (rtb_Compare_oo) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + if (rtb_Compare_oi1) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ rtDW.dtc_state_error_model[36] = rtb_Compare_bq; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ rtDW.dtc_state_error_model[35] = rtb_Compare_af; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[36] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/Write ' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' + /* MATLAB Function: '/Write ' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('Duct1_R = %d * 0.1 C %d V\n',Sensor, int16(V)); */ - rtb_out_os = rtDW.ADC_Data_Model.Sensor_Rear_Duct1; + rtb_out_px = rtDW.ADC_Data_Model.Sensor_Rear_Duct1; if (rtDW.ADC_Data_Model.Sensor_Rear_Duct1 > 32767) { - rtb_out_os = 32767U; + rtb_out_px = 32767U; } - printf("Duct1_R = %d * 0.1 C %d V\n", Duct1_R, (int16_t)rtb_out_os); + printf("Duct1_R = %d * 0.1 C %d V\n", Duct1_R, (int16_t)rtb_out_px); fflush(stdout); } - /* End of MATLAB Function: '/Write ' */ + /* End of MATLAB Function: '/Write ' */ - /* MATLAB Function: '/Write 1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write2' + /* MATLAB Function: '/Write 1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write2' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('Duct2_R = %d * 0.1 C %d V\n',Sensor, int16(V)); */ - rtb_out_os = rtDW.ADC_Data_Model.Sensor_Rear_Duct2; + rtb_out_px = rtDW.ADC_Data_Model.Sensor_Rear_Duct2; if (rtDW.ADC_Data_Model.Sensor_Rear_Duct2 > 32767) { - rtb_out_os = 32767U; + rtb_out_px = 32767U; } - printf("Duct2_R = %d * 0.1 C %d V\n", Duct2_R, (int16_t)rtb_out_os); + printf("Duct2_R = %d * 0.1 C %d V\n", Duct2_R, (int16_t)rtb_out_px); fflush(stdout); } - /* End of MATLAB Function: '/Write 1' */ + /* End of MATLAB Function: '/Write 1' */ - /* MATLAB Function: '/Write 2' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write3' + /* MATLAB Function: '/Write 2' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('Duct3_R = %d * 0.1 C %d V\n',Sensor, int16(V)); */ - rtb_out_os = rtDW.ADC_Data_Model.Sensor_Rear_Duct3; + rtb_out_px = rtDW.ADC_Data_Model.Sensor_Rear_Duct3; if (rtDW.ADC_Data_Model.Sensor_Rear_Duct3 > 32767) { - rtb_out_os = 32767U; + rtb_out_px = 32767U; } - printf("Duct3_R = %d * 0.1 C %d V\n", Duct3_R, (int16_t)rtb_out_os); + printf("Duct3_R = %d * 0.1 C %d V\n", Duct3_R, (int16_t)rtb_out_px); fflush(stdout); } - /* End of MATLAB Function: '/Write 2' */ + /* End of MATLAB Function: '/Write 2' */ - /* MATLAB Function: '/Write 3' incorporates: - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write4' + /* MATLAB Function: '/Write 3' incorporates: + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write4' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('Duct4_R = %d * 0.1 C %d V\n',Sensor, int16(V)); */ - rtb_out_os = rtDW.ADC_Data_Model.Sensor_Rear_Duct4; + rtb_out_px = rtDW.ADC_Data_Model.Sensor_Rear_Duct4; if (rtDW.ADC_Data_Model.Sensor_Rear_Duct4 > 32767) { - rtb_out_os = 32767U; + rtb_out_px = 32767U; } - printf("Duct4_R = %d * 0.1 C %d V\n", Duct4_R, (int16_t)rtb_out_os); + printf("Duct4_R = %d * 0.1 C %d V\n", Duct4_R, (int16_t)rtb_out_px); fflush(stdout); } - /* End of MATLAB Function: '/Write 3' */ + /* End of MATLAB Function: '/Write 3' */ - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read' + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read' */ /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_an) { + if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_hs) { /* : if(Err) */ /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct1_R = %f V\n',Sensor); */ printf("CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct1_R = %f V\n", - rtb_Gain_e); + rtb_Add_p4); fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ - /* MATLAB Function: '/Write ERROR1' incorporates: - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/Write ERROR1' incorporates: + * DataStoreRead: '/Data Store Read1' */ /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_gp) { + if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_ps1) { /* : if(Err) */ /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct2_R = %f V\n',Sensor); */ printf("CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct2_R = %f V\n", @@ -22827,13 +27049,13 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR1' */ + /* End of MATLAB Function: '/Write ERROR1' */ - /* MATLAB Function: '/Write ERROR2' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MATLAB Function: '/Write ERROR2' incorporates: + * DataStoreRead: '/Data Store Read2' */ /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_od) { + if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_fi) { /* : if(Err) */ /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct3_R = %f V\n',Sensor); */ printf("CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct3_R = %f V\n", @@ -22841,13 +27063,13 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR2' */ + /* End of MATLAB Function: '/Write ERROR2' */ - /* MATLAB Function: '/Write ERROR3' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write ERROR3' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_oo) { + if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_oi1) { /* : if(Err) */ /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct4_R = %f V\n',Sensor); */ printf("CCU_Body_Err.CCU_DuctTempSenErrR_Stat = 0x1 (Failure), Sensor_Duct4_R = %f V\n", @@ -22855,70 +27077,70 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR3' */ + /* End of MATLAB Function: '/Write ERROR3' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ - if (rtb_Compare_et && (!rtDW.Cond_prev_private_DSTATE_l)) { + if (rtb_Compare_gwb && (!rtDW.Cond_prev_private_DSTATE_l)) { rtDW.t_start_delay_private_DSTATE_o = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ - if (rtb_Compare_ie && (!rtDW.Cond_prev_private_DSTATE_ja)) { + if (rtb_Compare_dw && (!rtDW.Cond_prev_private_DSTATE_ja)) { rtDW.t_start_delay_private_DSTATE_oy = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ - if (rtb_Compare_fq && (!rtDW.Cond_prev_private_DSTATE_g)) { + if (rtb_Compare_ohx && (!rtDW.Cond_prev_private_DSTATE_g)) { rtDW.t_start_delay_private_DSTATE_cd = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ - if (rtb_Compare_gy && (!rtDW.Cond_prev_private_DSTATE_cd)) { + if (rtb_Compare_pjy && (!rtDW.Cond_prev_private_DSTATE_cd)) { rtDW.t_start_delay_private_DSTATE_or = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write1' - * DataStoreWrite: '/Data Store Write3' - * DataStoreWrite: '/Data Store Write4' - * DataStoreWrite: '/Data Store Write5' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write1' + * DataStoreWrite: '/Data Store Write3' + * DataStoreWrite: '/Data Store Write4' + * DataStoreWrite: '/Data Store Write5' */ rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_MultMsg_Idx = 0U; rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_Raw_FL_ro = rtDW.Incar_FL; @@ -22930,975 +27152,975 @@ void HVAC_model_step(void) rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_Raw_RR_ro = rtDW.Incar_RR; rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_RR_ro = rtDW.Incar_RR; - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read' - * If: '/If1' - * RelationalOperator: '/Relational Operator1' - * UnitDelay: '/Unit Delay' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read' + * If: '/If1' + * RelationalOperator: '/Relational Operator1' + * UnitDelay: '/Unit Delay' */ - if (rtDW.UnitDelay_DSTATE_cb < -9000) { - /* Outputs for IfAction SubSystem: '/Инициализация FL' incorporates: - * ActionPort: '/Action Port' + if (rtDW.UnitDelay_DSTATE_cbr < -9000) { + /* Outputs for IfAction SubSystem: '/Инициализация FL' incorporates: + * ActionPort: '/Action Port' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtb_Gain_e = rtDW.Incar_FL; + rtb_Add_p4 = rtDW.Incar_FL; - /* End of Outputs for SubSystem: '/Инициализация FL' */ + /* End of Outputs for SubSystem: '/Инициализация FL' */ } else { - /* Outputs for IfAction SubSystem: '/Фильтрация FL температуры' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Фильтрация FL температуры' incorporates: + * ActionPort: '/Action Port' */ if (rtDW.KEEP_RISING_FL_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write1' - * If: '/If' - * MATLAB Function: '/g_ausINCARRATE_RISING_DIFF_F[8]' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' + /* If: '/If1' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write1' + * If: '/If' + * MATLAB Function: '/g_ausINCARRATE_RISING_DIFF_F[8]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ g_ausINCARRATE_RISING_DIFF_F8(&rtb_Saturation2_a); if (fabs((double)rtDW.Incar_FL - rtDW.Temp_FL_store) <= rtb_Saturation2_a) { - /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.KEEP_RISING_FL_UNTIL_LIMIT = 0.0; - /* SignalConversion generated from: '/out' incorporates: - * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/обычное повышение темп.' + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/обычное повышение темп.' */ u_h(rtDW.LEVEL, &rtb_Saturation2_a); - /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ + /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: + * ActionPort: '/Action Port' */ u_lz(rtDW.LEVEL, &rtb_Saturation2_a); - /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ + /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ } - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write1' - * If: '/If' - * MATLAB Function: '/INCARRATE_RISING_DIFF_F[7]' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' + /* If: '/If1' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write1' + * If: '/If' + * MATLAB Function: '/INCARRATE_RISING_DIFF_F[7]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ INCARRATE_RISING_DIFF_F7(&rtb_Saturation2_a); if (fabs((double)rtDW.Incar_FL - rtDW.Temp_FL_store) > rtb_Saturation2_a) { - /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.KEEP_RISING_FL_UNTIL_LIMIT = 1.0; - /* SignalConversion generated from: '/out' incorporates: - * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/ускоренное повышение темп.' + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/ускоренное повышение темп.' */ u_k(rtDW.LEVEL, &rtb_Saturation2_a); - /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ + /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: + * ActionPort: '/Action Port' */ u_f(rtDW.LEVEL, &rtb_Saturation2_a); - /* End of Outputs for SubSystem: '/обычный режим повышения' */ + /* End of Outputs for SubSystem: '/обычный режим повышения' */ } - /* End of Outputs for SubSystem: '/обычный режим' */ + /* End of Outputs for SubSystem: '/обычный режим' */ } - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write1' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write1' */ if (rtDW.KEEP_FALLING_FL_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - u_c(rtDW.Incar_FL, rtDW.LEVEL, &rtb_out_os, + u_c(rtDW.Incar_FL, rtDW.LEVEL, &rtb_out_px, &rtDW.KEEP_FALLING_FL_UNTIL_LIMIT, &rtDW.Temp_FL_store); - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' */ - u_l(rtDW.Incar_FL, rtDW.LEVEL, &rtb_out_os, + u_l(rtDW.Incar_FL, rtDW.LEVEL, &rtb_out_px, &rtDW.KEEP_FALLING_FL_UNTIL_LIMIT, &rtDW.Temp_FL_store); - /* End of Outputs for SubSystem: '/обычный режим' */ + /* End of Outputs for SubSystem: '/обычный режим' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* Switch: '/Switch1' incorporates: - * Abs: '/Abs' - * Constant: '/epsilon' - * DataStoreRead: '/Read Amb' - * DataStoreWrite: '/Data Store Write1' - * RelationalOperator: '/AMBraw > AMB' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Switch: '/Switch' + /* Switch: '/Switch1' incorporates: + * Abs: '/Abs' + * Constant: '/epsilon' + * DataStoreRead: '/Read Amb' + * DataStoreWrite: '/Data Store Write1' + * RelationalOperator: '/AMBraw > AMB' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Switch: '/Switch' */ if (fabs((double)rtDW.Incar_FL - rtDW.Temp_FL_store) <= 0.01) { - /* SignalConversion generated from: '/temp_out' */ - rtb_Gain_e = rtDW.Temp_FL_store; + /* SignalConversion generated from: '/temp_out' */ + rtb_Add_p4 = rtDW.Temp_FL_store; } else { if (rtDW.Incar_FL > rtDW.Temp_FL_store) { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtb_Switch2_p0 = (int16_t)rtb_Saturation2_a; + rtb_y_fq = (int16_t)rtb_Saturation2_a; } else { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * UnaryMinus: '/Unary Minus' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * UnaryMinus: '/Unary Minus' */ - rtb_Switch2_p0 = (int16_t)-(int16_t)rtb_out_os; + rtb_y_fq = (int16_t)-(int16_t)rtb_out_px; } - /* SignalConversion generated from: '/temp_out' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * Product: '/Divide' - * Product: '/Product' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* SignalConversion generated from: '/temp_out' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read12' + * Product: '/Divide' + * Product: '/Product' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ - rtb_Gain_e = (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_o) / 60000.0 * - (double)rtb_Switch2_p0 + rtDW.Temp_FL_store; + rtb_Add_p4 = (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_o) / 60000.0 * + (double)rtb_y_fq + rtDW.Temp_FL_store; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/Data Store Read12' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/Data Store Read12' */ rtDW.UnitDelay_DSTATE_o = rtDW.t_now; - /* End of Outputs for SubSystem: '/Фильтрация FL температуры' */ + /* End of Outputs for SubSystem: '/Фильтрация FL температуры' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* DataStoreWrite: '/Write new FL' */ - rtDW.Temp_FL_store = rtb_Gain_e; + /* DataStoreWrite: '/Write new FL' */ + rtDW.Temp_FL_store = rtb_Add_p4; - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read' - * If: '/If1' - * RelationalOperator: '/Relational Operator1' - * UnitDelay: '/Unit Delay' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read' + * If: '/If1' + * RelationalOperator: '/Relational Operator1' + * UnitDelay: '/Unit Delay' */ if (rtDW.UnitDelay_DSTATE_j < -9000) { - /* Outputs for IfAction SubSystem: '/Инициализация FR' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Инициализация FR' incorporates: + * ActionPort: '/Action Port' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write3' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write3' */ - rtb_Gain_e = rtDW.Incar_FR; + rtb_Add_p4 = rtDW.Incar_FR; - /* End of Outputs for SubSystem: '/Инициализация FR' */ + /* End of Outputs for SubSystem: '/Инициализация FR' */ } else { - /* Outputs for IfAction SubSystem: '/Фильтрация FR температуры' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Фильтрация FR температуры' incorporates: + * ActionPort: '/Action Port' */ if (rtDW.KEEP_RISING_FR_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write3' - * If: '/If' - * MATLAB Function: '/g_ausINCARRATE_RISING_DIFF_F[8]' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' + /* If: '/If1' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write3' + * If: '/If' + * MATLAB Function: '/g_ausINCARRATE_RISING_DIFF_F[8]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ g_ausINCARRATE_RISING_DIFF_F8(&rtb_Saturation2_a); if (fabs((double)rtDW.Incar_FR - rtDW.Temp_FR_store) <= rtb_Saturation2_a) { - /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.KEEP_RISING_FR_UNTIL_LIMIT = 0.0; - /* SignalConversion generated from: '/out' incorporates: - * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/обычное повышение темп.' + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/обычное повышение темп.' */ u_h(rtDW.LEVEL, &rtb_Saturation2_a); - /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ + /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: + * ActionPort: '/Action Port' */ u_lz(rtDW.LEVEL, &rtb_Saturation2_a); - /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ + /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ } - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write3' - * If: '/If' - * MATLAB Function: '/INCARRATE_RISING_DIFF_F[7]' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' + /* If: '/If1' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write3' + * If: '/If' + * MATLAB Function: '/INCARRATE_RISING_DIFF_F[7]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ INCARRATE_RISING_DIFF_F7(&rtb_Saturation2_a); if (fabs((double)rtDW.Incar_FR - rtDW.Temp_FR_store) > rtb_Saturation2_a) { - /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.KEEP_RISING_FR_UNTIL_LIMIT = 1.0; - /* SignalConversion generated from: '/out' incorporates: - * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/ускоренное повышение темп.' + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/ускоренное повышение темп.' */ u_k(rtDW.LEVEL, &rtb_Saturation2_a); - /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ + /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: + * ActionPort: '/Action Port' */ u_f(rtDW.LEVEL, &rtb_Saturation2_a); - /* End of Outputs for SubSystem: '/обычный режим повышения' */ + /* End of Outputs for SubSystem: '/обычный режим повышения' */ } - /* End of Outputs for SubSystem: '/обычный режим' */ + /* End of Outputs for SubSystem: '/обычный режим' */ } - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write3' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write3' */ if (rtDW.KEEP_FALLING_FL_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - u_c(rtDW.Incar_FR, rtDW.LEVEL, &rtb_out_os, + u_c(rtDW.Incar_FR, rtDW.LEVEL, &rtb_out_px, &rtDW.KEEP_FALLING_FL_UNTIL_LIMIT, &rtDW.Temp_FL_store); - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' */ - u_l(rtDW.Incar_FR, rtDW.LEVEL, &rtb_out_os, + u_l(rtDW.Incar_FR, rtDW.LEVEL, &rtb_out_px, &rtDW.KEEP_FALLING_FL_UNTIL_LIMIT, &rtDW.Temp_FL_store); - /* End of Outputs for SubSystem: '/обычный режим' */ + /* End of Outputs for SubSystem: '/обычный режим' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* Switch: '/Switch1' incorporates: - * Abs: '/Abs' - * Constant: '/epsilon' - * DataStoreRead: '/Read Amb' - * DataStoreWrite: '/Data Store Write3' - * RelationalOperator: '/AMBraw > AMB' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Switch: '/Switch' + /* Switch: '/Switch1' incorporates: + * Abs: '/Abs' + * Constant: '/epsilon' + * DataStoreRead: '/Read Amb' + * DataStoreWrite: '/Data Store Write3' + * RelationalOperator: '/AMBraw > AMB' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Switch: '/Switch' */ if (fabs((double)rtDW.Incar_FR - rtDW.Temp_FR_store) <= 0.01) { - /* SignalConversion generated from: '/temp_out' */ - rtb_Gain_e = rtDW.Temp_FR_store; + /* SignalConversion generated from: '/temp_out' */ + rtb_Add_p4 = rtDW.Temp_FR_store; } else { if (rtDW.Incar_FR > rtDW.Temp_FR_store) { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtb_Switch2_p0 = (int16_t)rtb_Saturation2_a; + rtb_y_fq = (int16_t)rtb_Saturation2_a; } else { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * UnaryMinus: '/Unary Minus' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * UnaryMinus: '/Unary Minus' */ - rtb_Switch2_p0 = (int16_t)-(int16_t)rtb_out_os; + rtb_y_fq = (int16_t)-(int16_t)rtb_out_px; } - /* SignalConversion generated from: '/temp_out' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * Product: '/Divide' - * Product: '/Product' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* SignalConversion generated from: '/temp_out' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read12' + * Product: '/Divide' + * Product: '/Product' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ - rtb_Gain_e = (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_c) / 60000.0 * - (double)rtb_Switch2_p0 + rtDW.Temp_FR_store; + rtb_Add_p4 = (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_cr) / 60000.0 * + (double)rtb_y_fq + rtDW.Temp_FR_store; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/Data Store Read12' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/Data Store Read12' */ - rtDW.UnitDelay_DSTATE_c = rtDW.t_now; + rtDW.UnitDelay_DSTATE_cr = rtDW.t_now; - /* End of Outputs for SubSystem: '/Фильтрация FR температуры' */ + /* End of Outputs for SubSystem: '/Фильтрация FR температуры' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* DataStoreWrite: '/Write new FR' */ - rtDW.Temp_FR_store = rtb_Gain_e; + /* DataStoreWrite: '/Write new FR' */ + rtDW.Temp_FR_store = rtb_Add_p4; - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write4' - * If: '/If1' - * RelationalOperator: '/Relational Operator1' - * UnitDelay: '/Unit Delay' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write4' + * If: '/If1' + * RelationalOperator: '/Relational Operator1' + * UnitDelay: '/Unit Delay' */ if (rtDW.UnitDelay_DSTATE_cs < -9000) { - /* Outputs for IfAction SubSystem: '/Инициализация RL' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Инициализация RL' incorporates: + * ActionPort: '/Action Port' */ - RL(rtDW.Incar_RL, &rtb_Gain_e); + RL(rtDW.Incar_RL, &rtb_Add_p4); - /* End of Outputs for SubSystem: '/Инициализация RL' */ + /* End of Outputs for SubSystem: '/Инициализация RL' */ } else { - /* Outputs for IfAction SubSystem: '/Фильтрация RL температуры' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Фильтрация RL температуры' incorporates: + * ActionPort: '/Action Port' */ if (rtDW.KEEP_RISING_RL_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write4' - * If: '/If' - * MATLAB Function: '/g_ausINCARRATE_RISING_DIFF_R[8]' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' + /* If: '/If1' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write4' + * If: '/If' + * MATLAB Function: '/g_ausINCARRATE_RISING_DIFF_R[8]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ g_ausINCARRATE_RISING_DIFF_R8(&rtb_Saturation2_a); if (fabs((double)rtDW.Incar_RL - rtDW.Temp_RL_store) <= rtb_Saturation2_a) { - /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.KEEP_RISING_RL_UNTIL_LIMIT = 0.0; - /* SignalConversion generated from: '/out' incorporates: - * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/обычное повышение темп.' + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/обычное повышение темп.' */ u_m(rtDW.LEVEL, &rtb_Saturation2_a); - /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ + /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: + * ActionPort: '/Action Port' */ u_gq(rtDW.LEVEL, &rtb_Saturation2_a); - /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ + /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ } - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write4' - * If: '/If' - * MATLAB Function: '/INCARRATE_RISING_DIFF_R[7]' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' + /* If: '/If1' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write4' + * If: '/If' + * MATLAB Function: '/INCARRATE_RISING_DIFF_R[7]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ INCARRATE_RISING_DIFF_R7(&rtb_Saturation2_a); if (fabs((double)rtDW.Incar_RL - rtDW.Temp_RL_store) > rtb_Saturation2_a) { - /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.KEEP_RISING_RL_UNTIL_LIMIT = 1.0; - /* SignalConversion generated from: '/out' incorporates: - * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/ускоренное повышение темп.' + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/ускоренное повышение темп.' */ u_o(rtDW.LEVEL, &rtb_Saturation2_a); - /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ + /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: + * ActionPort: '/Action Port' */ u_b3(rtDW.LEVEL, &rtb_Saturation2_a); - /* End of Outputs for SubSystem: '/обычный режим повышения' */ + /* End of Outputs for SubSystem: '/обычный режим повышения' */ } - /* End of Outputs for SubSystem: '/обычный режим' */ + /* End of Outputs for SubSystem: '/обычный режим' */ } - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' */ if (rtDW.KEEP_FALLING_RL_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/AMBRATE_RISING_DIFF[8]' */ - AMBRATE_RISING_DIFF8(&rtb_out_os); + /* MATLAB Function: '/AMBRATE_RISING_DIFF[8]' */ + AMBRATE_RISING_DIFF8(&rtb_out_px); - /* If: '/If' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read temp' - * DataStoreWrite: '/Data Store Write4' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read temp' + * DataStoreWrite: '/Data Store Write4' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ - if (fabs((double)rtDW.Incar_RL - rtDW.Temp_RL_store) <= rtb_out_os) { - /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: - * ActionPort: '/Action Port' + if (fabs((double)rtDW.Incar_RL - rtDW.Temp_RL_store) <= rtb_out_px) { + /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.KEEP_FALLING_RL_UNTIL_LIMIT = 0.0; - /* SignalConversion generated from: '/out' incorporates: - * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/обычное понижение темп.' + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/обычное понижение темп.' */ - u_kk(rtDW.LEVEL, &rtb_out_os); + u_kk(rtDW.LEVEL, &rtb_out_px); - /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ + /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion generated from: '/out' incorporates: - * DataStoreRead: '/Data Store Read' + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' */ - u_hr(rtDW.LEVEL, &rtb_out_os); + u_hr(rtDW.LEVEL, &rtb_out_px); - /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ + /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/AMBRATE_FALLING_DIFF[7]' */ - AMBRATE_FALLING_DIFF7(&rtb_out_os); + /* MATLAB Function: '/AMBRATE_FALLING_DIFF[7]' */ + AMBRATE_FALLING_DIFF7(&rtb_out_px); - /* If: '/If' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * DataStoreWrite: '/Data Store Write4' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreWrite: '/Data Store Write4' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ - if (fabs((double)rtDW.Incar_RL - rtDW.Temp_RL_store) > rtb_out_os) { - /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: - * ActionPort: '/Action Port' + if (fabs((double)rtDW.Incar_RL - rtDW.Temp_RL_store) > rtb_out_px) { + /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.KEEP_FALLING_RL_UNTIL_LIMIT = 1.0; - /* SignalConversion generated from: '/rise per minute' incorporates: - * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/ускоренное повышение темп.' + /* SignalConversion generated from: '/rise per minute' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/ускоренное повышение темп.' */ - u_b(rtDW.LEVEL, &rtb_out_os); + u_b(rtDW.LEVEL, &rtb_out_px); - /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ + /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion generated from: '/rise per minute' incorporates: - * DataStoreRead: '/Data Store Read' + /* SignalConversion generated from: '/rise per minute' incorporates: + * DataStoreRead: '/Data Store Read' */ - u_g(rtDW.LEVEL, &rtb_out_os); + u_g(rtDW.LEVEL, &rtb_out_px); - /* End of Outputs for SubSystem: '/обычный режим повышения' */ + /* End of Outputs for SubSystem: '/обычный режим повышения' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/обычный режим' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/обычный режим' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* Switch: '/Switch1' incorporates: - * Abs: '/Abs' - * Constant: '/epsilon' - * DataStoreRead: '/Read Amb' - * DataStoreWrite: '/Data Store Write4' - * RelationalOperator: '/AMBraw > AMB' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Switch: '/Switch' + /* Switch: '/Switch1' incorporates: + * Abs: '/Abs' + * Constant: '/epsilon' + * DataStoreRead: '/Read Amb' + * DataStoreWrite: '/Data Store Write4' + * RelationalOperator: '/AMBraw > AMB' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Switch: '/Switch' */ if (fabs((double)rtDW.Incar_RL - rtDW.Temp_RL_store) <= 0.01) { - /* SignalConversion generated from: '/temp_out' */ - rtb_Gain_e = rtDW.Temp_RL_store; + /* SignalConversion generated from: '/temp_out' */ + rtb_Add_p4 = rtDW.Temp_RL_store; } else { if (rtDW.Incar_RL > rtDW.Temp_RL_store) { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtb_Switch2_p0 = (int16_t)rtb_Saturation2_a; + rtb_y_fq = (int16_t)rtb_Saturation2_a; } else { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * UnaryMinus: '/Unary Minus' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * UnaryMinus: '/Unary Minus' */ - rtb_Switch2_p0 = (int16_t)-(int16_t)rtb_out_os; + rtb_y_fq = (int16_t)-(int16_t)rtb_out_px; } - /* SignalConversion generated from: '/temp_out' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * Product: '/Divide' - * Product: '/Product' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* SignalConversion generated from: '/temp_out' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read12' + * Product: '/Divide' + * Product: '/Product' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ - rtb_Gain_e = (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_l) / 60000.0 * - (double)rtb_Switch2_p0 + rtDW.Temp_RL_store; + rtb_Add_p4 = (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_l) / 60000.0 * + (double)rtb_y_fq + rtDW.Temp_RL_store; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/Data Store Read12' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/Data Store Read12' */ rtDW.UnitDelay_DSTATE_l = rtDW.t_now; - /* End of Outputs for SubSystem: '/Фильтрация RL температуры' */ + /* End of Outputs for SubSystem: '/Фильтрация RL температуры' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* DataStoreWrite: '/Write new FL' */ - rtDW.Temp_RL_store = rtb_Gain_e; + /* DataStoreWrite: '/Write new FL' */ + rtDW.Temp_RL_store = rtb_Add_p4; - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write5' - * If: '/If1' - * RelationalOperator: '/Relational Operator1' - * UnitDelay: '/Unit Delay' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write5' + * If: '/If1' + * RelationalOperator: '/Relational Operator1' + * UnitDelay: '/Unit Delay' */ - if (rtDW.UnitDelay_DSTATE_k < -9000) { - /* Outputs for IfAction SubSystem: '/Инициализация RR' incorporates: - * ActionPort: '/Action Port' + if (rtDW.UnitDelay_DSTATE_k2 < -9000) { + /* Outputs for IfAction SubSystem: '/Инициализация RR' incorporates: + * ActionPort: '/Action Port' */ - RL(rtDW.Incar_RR, &rtb_Gain_e); + RL(rtDW.Incar_RR, &rtb_Add_p4); - /* End of Outputs for SubSystem: '/Инициализация RR' */ + /* End of Outputs for SubSystem: '/Инициализация RR' */ } else { - /* Outputs for IfAction SubSystem: '/Фильтрация RR температуры' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Фильтрация RR температуры' incorporates: + * ActionPort: '/Action Port' */ if (rtDW.KEEP_RISING_RR_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write5' - * If: '/If' - * MATLAB Function: '/g_ausINCARRATE_RISING_DIFF_R[8]' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' + /* If: '/If1' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write5' + * If: '/If' + * MATLAB Function: '/g_ausINCARRATE_RISING_DIFF_R[8]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ g_ausINCARRATE_RISING_DIFF_R8(&rtb_Saturation2_a); if (fabs((double)rtDW.Incar_RR - rtDW.Temp_RR_store) <= rtb_Saturation2_a) { - /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.KEEP_RISING_RR_UNTIL_LIMIT = 0.0; - /* SignalConversion generated from: '/out' incorporates: - * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/обычное повышение темп.' + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/обычное повышение темп.' */ u_m(rtDW.LEVEL, &rtb_Saturation2_a); - /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ + /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: + * ActionPort: '/Action Port' */ u_gq(rtDW.LEVEL, &rtb_Saturation2_a); - /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ + /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ } - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write5' - * If: '/If' - * MATLAB Function: '/INCARRATE_RISING_DIFF_R[7]' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' + /* If: '/If1' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write5' + * If: '/If' + * MATLAB Function: '/INCARRATE_RISING_DIFF_R[7]' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ INCARRATE_RISING_DIFF_R7(&rtb_Saturation2_a); if (fabs((double)rtDW.Incar_RR - rtDW.Temp_RR_store) > rtb_Saturation2_a) { - /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.KEEP_RISING_RR_UNTIL_LIMIT = 1.0; - /* SignalConversion generated from: '/out' incorporates: - * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/ускоренное повышение темп.' + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/ускоренное повышение темп.' */ u_o(rtDW.LEVEL, &rtb_Saturation2_a); - /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ + /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: + * ActionPort: '/Action Port' */ u_b3(rtDW.LEVEL, &rtb_Saturation2_a); - /* End of Outputs for SubSystem: '/обычный режим повышения' */ + /* End of Outputs for SubSystem: '/обычный режим повышения' */ } - /* End of Outputs for SubSystem: '/обычный режим' */ + /* End of Outputs for SubSystem: '/обычный режим' */ } - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' */ if (rtDW.KEEP_FALLING_RR_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/AMBRATE_RISING_DIFF[8]' */ - AMBRATE_RISING_DIFF8(&rtb_out_os); + /* MATLAB Function: '/AMBRATE_RISING_DIFF[8]' */ + AMBRATE_RISING_DIFF8(&rtb_out_px); - /* If: '/If' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read temp' - * DataStoreWrite: '/Data Store Write5' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read temp' + * DataStoreWrite: '/Data Store Write5' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ - if (fabs((double)rtDW.Incar_RR - rtDW.Temp_RR_store) <= rtb_out_os) { - /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: - * ActionPort: '/Action Port' + if (fabs((double)rtDW.Incar_RR - rtDW.Temp_RR_store) <= rtb_out_px) { + /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.KEEP_FALLING_RR_UNTIL_LIMIT = 0.0; - /* SignalConversion generated from: '/out' incorporates: - * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/обычное понижение темп.' + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/обычное понижение темп.' */ - u_kk(rtDW.LEVEL, &rtb_out_os); + u_kk(rtDW.LEVEL, &rtb_out_px); - /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ + /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion generated from: '/out' incorporates: - * DataStoreRead: '/Data Store Read' + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' */ - u_hr(rtDW.LEVEL, &rtb_out_os); + u_hr(rtDW.LEVEL, &rtb_out_px); - /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ + /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/AMBRATE_FALLING_DIFF[7]' */ - AMBRATE_FALLING_DIFF7(&rtb_out_os); + /* MATLAB Function: '/AMBRATE_FALLING_DIFF[7]' */ + AMBRATE_FALLING_DIFF7(&rtb_out_px); - /* If: '/If' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * DataStoreWrite: '/Data Store Write5' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreWrite: '/Data Store Write5' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ - if (fabs((double)rtDW.Incar_RR - rtDW.Temp_RR_store) > rtb_out_os) { - /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: - * ActionPort: '/Action Port' + if (fabs((double)rtDW.Incar_RR - rtDW.Temp_RR_store) > rtb_out_px) { + /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.KEEP_FALLING_RR_UNTIL_LIMIT = 1.0; - /* SignalConversion generated from: '/rise per minute' incorporates: - * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/ускоренное повышение темп.' + /* SignalConversion generated from: '/rise per minute' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/ускоренное повышение темп.' */ - u_b(rtDW.LEVEL, &rtb_out_os); + u_b(rtDW.LEVEL, &rtb_out_px); - /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ + /* End of Outputs for SubSystem: '/включаем ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/обычный режим повышения' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion generated from: '/rise per minute' incorporates: - * DataStoreRead: '/Data Store Read' + /* SignalConversion generated from: '/rise per minute' incorporates: + * DataStoreRead: '/Data Store Read' */ - u_g(rtDW.LEVEL, &rtb_out_os); + u_g(rtDW.LEVEL, &rtb_out_px); - /* End of Outputs for SubSystem: '/обычный режим повышения' */ + /* End of Outputs for SubSystem: '/обычный режим повышения' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/обычный режим' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/обычный режим' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* Switch: '/Switch1' incorporates: - * Abs: '/Abs' - * Constant: '/epsilon' - * DataStoreRead: '/Read Amb' - * DataStoreWrite: '/Data Store Write5' - * RelationalOperator: '/AMBraw > AMB' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Switch: '/Switch' + /* Switch: '/Switch1' incorporates: + * Abs: '/Abs' + * Constant: '/epsilon' + * DataStoreRead: '/Read Amb' + * DataStoreWrite: '/Data Store Write5' + * RelationalOperator: '/AMBraw > AMB' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Switch: '/Switch' */ if (fabs((double)rtDW.Incar_RR - rtDW.Temp_RR_store) <= 0.01) { - /* SignalConversion generated from: '/temp_out' */ - rtb_Gain_e = rtDW.Temp_RR_store; + /* SignalConversion generated from: '/temp_out' */ + rtb_Add_p4 = rtDW.Temp_RR_store; } else { if (rtDW.Incar_RR > rtDW.Temp_RR_store) { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtb_Switch2_p0 = (int16_t)rtb_Saturation2_a; + rtb_y_fq = (int16_t)rtb_Saturation2_a; } else { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * UnaryMinus: '/Unary Minus' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * UnaryMinus: '/Unary Minus' */ - rtb_Switch2_p0 = (int16_t)-(int16_t)rtb_out_os; + rtb_y_fq = (int16_t)-(int16_t)rtb_out_px; } - /* SignalConversion generated from: '/temp_out' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * Product: '/Divide' - * Product: '/Product' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* SignalConversion generated from: '/temp_out' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read12' + * Product: '/Divide' + * Product: '/Product' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ - rtb_Gain_e = (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_m) / 60000.0 * - (double)rtb_Switch2_p0 + rtDW.Temp_RR_store; + rtb_Add_p4 = (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_m) / 60000.0 * + (double)rtb_y_fq + rtDW.Temp_RR_store; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/Data Store Read12' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/Data Store Read12' */ rtDW.UnitDelay_DSTATE_m = rtDW.t_now; - /* End of Outputs for SubSystem: '/Фильтрация RR температуры' */ + /* End of Outputs for SubSystem: '/Фильтрация RR температуры' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* DataStoreWrite: '/Write new FL' */ - rtDW.Temp_RR_store = rtb_Gain_e; + /* DataStoreWrite: '/Write new FL' */ + rtDW.Temp_RR_store = rtb_Add_p4; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[2] = rtb_err; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_err) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ rtDW.dtc_state_error_model[3] = rtb_Compare_hv; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[2] = rtb_Compare_m0e; + rtDW.dtc_state_error_model[2] = rtb_Compare_df; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[3] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read' + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_err) { /* : if(IncarFLErr) */ /* : fprintf('CCU_Body_Err.CCU_IncarTempErrF_Stat = 0x1 (Failure), Sensor_Incar_Temp_FL = %f V\n',Sensor_Incar_Temp_FL); */ printf("CCU_Body_Err.CCU_IncarTempErrF_Stat = 0x1 (Failure), Sensor_Incar_Temp_FL = %f V\n", - rtb_Switch1_oh); + rtb_Switch2_by); fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_Compare_i5 && (!rtDW.Cond_prev_private_DSTATE_k)) { rtDW.t_start_delay_private_DSTATE = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[4] = rtb_LogicalOperator6; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_LogicalOperator6) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[5] = rtb_Compare_ba; + rtDW.dtc_state_error_model[5] = rtb_Compare_ls; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[4] = rtb_Compare_oj; + rtDW.dtc_state_error_model[4] = rtb_Compare_ne; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[5] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/Write ERROR2' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MATLAB Function: '/Write ERROR2' incorporates: + * DataStoreRead: '/Data Store Read2' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator6) { @@ -23909,51 +28131,51 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR2' */ + /* End of MATLAB Function: '/Write ERROR2' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_FailCond_jb && (!rtDW.Cond_prev_private_DSTATE_d)) { rtDW.t_start_delay_private_DSTATE_i = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[6] = rtb_LogicalOperator3; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_LogicalOperator3) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[7] = rtb_Compare_dn; + rtDW.dtc_state_error_model[7] = rtb_Compare_kb; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[6] = rtb_Compare_hj; + rtDW.dtc_state_error_model[6] = rtb_Compare_l; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[7] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/Write ERROR1' incorporates: - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/Write ERROR1' incorporates: + * DataStoreRead: '/Data Store Read1' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator3) { @@ -23964,51 +28186,51 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR1' */ + /* End of MATLAB Function: '/Write ERROR1' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_FailCond_e && (!rtDW.Cond_prev_private_DSTATE_hw)) { rtDW.t_start_delay_private_DSTATE_k = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[8] = rtb_LogicalOperator8; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ if (rtb_LogicalOperator8) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[9] = rtb_Compare_kf; + rtDW.dtc_state_error_model[9] = rtb_Compare_g1; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[8] = rtb_Compare_pt; + rtDW.dtc_state_error_model[8] = rtb_Compare_il; } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.dtc_state_error_model[9] = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/Write ERROR3' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write ERROR3' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && rtb_LogicalOperator8) { @@ -24019,24 +28241,24 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR3' */ + /* End of MATLAB Function: '/Write ERROR3' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * UnitDelay: '/Cond_prev_private ' - * UnitDelay: '/t_start_delay_private ' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * UnitDelay: '/Cond_prev_private ' + * UnitDelay: '/t_start_delay_private ' */ if (rtb_FailCond_l && (!rtDW.Cond_prev_private_DSTATE_i)) { rtDW.t_start_delay_private_DSTATE_p = rtDW.t_now; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/Write IncarFL' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write1' + /* MATLAB Function: '/Write IncarFL' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -24045,11 +28267,11 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write IncarFL' */ + /* End of MATLAB Function: '/Write IncarFL' */ - /* MATLAB Function: '/Write IncarFR' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write3' + /* MATLAB Function: '/Write IncarFR' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -24058,11 +28280,11 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write IncarFR' */ + /* End of MATLAB Function: '/Write IncarFR' */ - /* MATLAB Function: '/Write IncarRL' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write4' + /* MATLAB Function: '/Write IncarRL' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write4' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -24071,11 +28293,11 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write IncarRL' */ + /* End of MATLAB Function: '/Write IncarRL' */ - /* MATLAB Function: '/Write IncarRR' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write5' + /* MATLAB Function: '/Write IncarRR' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write5' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -24084,280 +28306,280 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write IncarRR' */ + /* End of MATLAB Function: '/Write IncarRR' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.LOGGER_ACP = 0.0; - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ - rtb_Switch1_oh = (double) + rtb_Switch2_by = (double) rtDW.ADC_Data_Model.BTS5120_2EKA_ShutoffValvePowerTXV1 / 4095.0 * 5.0; - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('BTS5120_2EKA_ShutoffValvePowerTXV1 V = %f Iout = %f\n',U,I); */ printf("BTS5120_2EKA_ShutoffValvePowerTXV1 V = %f Iout = %f\n", - rtb_Switch1_oh, rtb_Switch1_oh / 1200.0 * 550.0); + rtb_Switch2_by, rtb_Switch2_by / 1200.0 * 550.0); fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ - rtb_Switch1_oh = (double) + rtb_Switch2_by = (double) rtDW.ADC_Data_Model.BTS5120_2EKA_ShutoffValvePowerTXV2 / 4095.0 * 5.0; - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('BTS5120_2EKA_ShutoffValvePowerTXV2 V = %f Iout = %f\n',U,I); */ printf("BTS5120_2EKA_ShutoffValvePowerTXV2 V = %f Iout = %f\n", - rtb_Switch1_oh, rtb_Switch1_oh / 1200.0 * 550.0); + rtb_Switch2_by, rtb_Switch2_by / 1200.0 * 550.0); fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ - rtb_Switch1_oh = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ChannelPTCPower1 / + rtb_Switch2_by = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ChannelPTCPower1 / 4095.0 * 5.0; - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('BTS5180_2EKA_ChannelPTCPower1 V = %f Iout = %f\n',U,I); */ - printf("BTS5180_2EKA_ChannelPTCPower1 V = %f Iout = %f\n", rtb_Switch1_oh, - rtb_Switch1_oh / 1200.0 * 550.0); + printf("BTS5180_2EKA_ChannelPTCPower1 V = %f Iout = %f\n", rtb_Switch2_by, + rtb_Switch2_by / 1200.0 * 550.0); fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ - rtb_Switch1_oh = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ChannelPTCPower2 / + rtb_Switch2_by = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ChannelPTCPower2 / 4095.0 * 5.0; - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('BTS5180_2EKA_ChannelPTCPower2 V = %f Iout = %f\n',U,I); */ - printf("BTS5180_2EKA_ChannelPTCPower2 V = %f Iout = %f\n", rtb_Switch1_oh, - rtb_Switch1_oh / 1200.0 * 550.0); + printf("BTS5180_2EKA_ChannelPTCPower2 V = %f Iout = %f\n", rtb_Switch2_by, + rtb_Switch2_by / 1200.0 * 550.0); fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ - rtb_Switch1_oh = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_FrontIncarMotor / + rtb_Switch2_by = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_FrontIncarMotor / 4095.0 * 5.0; - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('BTS5180_2EKA_FrontIncarMotor V = %f Iout = %f\n',U,I); */ - printf("BTS5180_2EKA_FrontIncarMotor V = %f Iout = %f\n", rtb_Switch1_oh, - rtb_Switch1_oh / 1200.0 * 550.0); + printf("BTS5180_2EKA_FrontIncarMotor V = %f Iout = %f\n", rtb_Switch2_by, + rtb_Switch2_by / 1200.0 * 550.0); fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ - rtb_Switch1_oh = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_RearIncarMotor / + rtb_Switch2_by = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_RearIncarMotor / 4095.0 * 5.0; - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('BTS5180_2EKA_RearIncarMotor V = %f Iout = %f\n',U,I); */ - printf("BTS5180_2EKA_RearIncarMotor V = %f Iout = %f\n", rtb_Switch1_oh, - rtb_Switch1_oh / 1200.0 * 550.0); + printf("BTS5180_2EKA_RearIncarMotor V = %f Iout = %f\n", rtb_Switch2_by, + rtb_Switch2_by / 1200.0 * 550.0); fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ - rtb_Switch1_oh = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ReservePowerSupply / + rtb_Switch2_by = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ReservePowerSupply / 4095.0 * 5.0; - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('BTS5180_2EKA_ReservePowerSupply V = %f Iout = %f\n',U,I); */ - printf("BTS5180_2EKA_ReservePowerSupply V = %f Iout = %f\n", rtb_Switch1_oh, - rtb_Switch1_oh / 1200.0 * 550.0); + printf("BTS5180_2EKA_ReservePowerSupply V = %f Iout = %f\n", rtb_Switch2_by, + rtb_Switch2_by / 1200.0 * 550.0); fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ - rtb_Switch1_oh = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ShutOFFValveFront / + rtb_Switch2_by = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ShutOFFValveFront / 4095.0 * 5.0; - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('BTS5180_2EKA_ShutOFFValveFront V = %f Iout = %f\n',U,I); */ - printf("BTS5180_2EKA_ShutOFFValveFront V = %f Iout = %f\n", rtb_Switch1_oh, - rtb_Switch1_oh / 1200.0 * 550.0); + printf("BTS5180_2EKA_ShutOFFValveFront V = %f Iout = %f\n", rtb_Switch2_by, + rtb_Switch2_by / 1200.0 * 550.0); fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ - rtb_Switch1_oh = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ShutOFFValveRear / + rtb_Switch2_by = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ShutOFFValveRear / 4095.0 * 5.0; - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('BTS5180_2EKA_ShutOFFValveRear V = %f Iout = %f\n',U,I); */ - printf("BTS5180_2EKA_ShutOFFValveRear V = %f Iout = %f\n", rtb_Switch1_oh, - rtb_Switch1_oh / 1200.0 * 550.0); + printf("BTS5180_2EKA_ShutOFFValveRear V = %f Iout = %f\n", rtb_Switch2_by, + rtb_Switch2_by / 1200.0 * 550.0); fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ - rtb_Switch1_oh = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_TwoWayValve / 4095.0 + rtb_Switch2_by = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_TwoWayValve / 4095.0 * 5.0; - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('BTS5180_2EKA_TwoWayValve V = %f Iout = %f\n',U,I); */ - printf("BTS5180_2EKA_TwoWayValve V = %f Iout = %f\n", rtb_Switch1_oh, - rtb_Switch1_oh / 1200.0 * 550.0); + printf("BTS5180_2EKA_TwoWayValve V = %f Iout = %f\n", rtb_Switch2_by, + rtb_Switch2_by / 1200.0 * 550.0); fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide' + * Product: '/Divide1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -24367,15 +28589,15 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide' + * Product: '/Divide1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -24385,15 +28607,15 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + * Product: '/Divide1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -24403,15 +28625,15 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + * Product: '/Divide1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -24421,15 +28643,15 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + * Product: '/Divide1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -24439,15 +28661,15 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + * Product: '/Divide1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -24457,15 +28679,15 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + * Product: '/Divide1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -24475,15 +28697,15 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + * Product: '/Divide1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -24494,15 +28716,15 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + * Product: '/Divide1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -24513,63 +28735,63 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ - rtb_Switch1_oh = (double) + rtb_Switch2_by = (double) rtDW.ADC_Data_Model.VN7008AJ_FrontLINActuatorPowerDriverAB / 4095.0 * 5.0; - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('VN7008AJ_FrontLINActuatorPowerDriverAB V = %f Iout = %f\n',U,I); */ printf("VN7008AJ_FrontLINActuatorPowerDriverAB V = %f Iout = %f\n", - rtb_Switch1_oh, rtb_Switch1_oh / 2490.0 * 5890.0); + rtb_Switch2_by, rtb_Switch2_by / 2490.0 * 5890.0); fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' */ - rtb_Switch1_oh = (double) + rtb_Switch2_by = (double) rtDW.ADC_Data_Model.VN7008AJ_RearLINActuatorPowerDriverC / 4095.0 * 5.0; - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read' - * Product: '/Divide2' - * Product: '/Divide3' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read' + * Product: '/Divide2' + * Product: '/Divide3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('VN7008AJ_RearLINActuatorPowerDriverC V = %f Iout = %f\n',U,I); */ printf("VN7008AJ_RearLINActuatorPowerDriverC V = %f Iout = %f\n", - rtb_Switch1_oh, rtb_Switch1_oh / 2490.0 * 5890.0); + rtb_Switch2_by, rtb_Switch2_by / 2490.0 * 5890.0); fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -24578,11 +28800,11 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write1' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -24591,11 +28813,11 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write1' */ + /* End of MATLAB Function: '/Write1' */ - /* MATLAB Function: '/Write2' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write2' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -24605,11 +28827,11 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write2' */ + /* End of MATLAB Function: '/Write2' */ - /* MATLAB Function: '/Write3' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write3' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -24619,11 +28841,11 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write3' */ + /* End of MATLAB Function: '/Write3' */ - /* MATLAB Function: '/Write4' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write4' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -24632,2496 +28854,3691 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write4' */ + /* End of MATLAB Function: '/Write4' */ - /* Chart: '/Zone_Climate_Logic_Auto_FL2' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read8' + /* Chart: '/Zone_Climate_Logic_Auto_FL2' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read8' */ Zone_Climate_Logic_Auto_FL2(0.0, rtDW.CCU_FACE_RL, rtDW.CCU_FOOT_RL, - rtDW.CCU_MODE_RL, rtDW.CCU_AC_REAR, &rtB.out_def_a, &rtB.out_face_p, - &rtB.out_foot_e, &rtB.out_auto_c, &rtB.out_ac_h, + rtDW.CCU_MODE_RL, rtDW.CCU_AC_REAR, &rtB.out_def_i, &rtB.out_face_c, + &rtB.out_foot_d3, &rtB.out_auto_h, &rtB.out_ac_p, &rtDW.sf_Zone_Climate_Logic_Auto_FL2); - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.CCU_FACE_RL = rtB.out_face_p; + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.CCU_FACE_RL = rtB.out_face_c; - /* DataStoreWrite: '/Data Store Write2' */ - rtDW.CCU_FOOT_RL = rtB.out_foot_e; + /* DataStoreWrite: '/Data Store Write2' */ + rtDW.CCU_FOOT_RL = rtB.out_foot_d3; - /* DataStoreWrite: '/Data Store Write3' */ - rtDW.CCU_MODE_RL = rtB.out_auto_c; + /* DataStoreWrite: '/Data Store Write3' */ + rtDW.CCU_MODE_RL = rtB.out_auto_h; - /* Chart: '/Zone_Climate_Logic_Auto_FL3' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read9' + /* Chart: '/Zone_Climate_Logic_Auto_FL3' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read9' */ Zone_Climate_Logic_Auto_FL2(0.0, rtDW.CCU_FACE_RR, rtDW.CCU_FOOT_RR, - rtDW.CCU_MODE_RR, rtDW.CCU_AC_REAR, &rtB.out_def_m, &rtB.out_face_a, - &rtB.out_foot_m, &rtB.out_auto_d, &rtB.out_ac_i, + rtDW.CCU_MODE_RR, rtDW.CCU_AC_REAR, &rtB.out_def_k, &rtB.out_face_k, + &rtB.out_foot_d, &rtB.out_auto_k, &rtB.out_ac_b, &rtDW.sf_Zone_Climate_Logic_Auto_FL3); - /* DataStoreWrite: '/Data Store Write4' */ - rtDW.CCU_FACE_RR = rtB.out_face_a; + /* DataStoreWrite: '/Data Store Write4' */ + rtDW.CCU_FACE_RR = rtB.out_face_k; - /* DataStoreWrite: '/Data Store Write5' */ - rtDW.CCU_FOOT_RR = rtB.out_foot_m; + /* DataStoreWrite: '/Data Store Write5' */ + rtDW.CCU_FOOT_RR = rtB.out_foot_d; - /* DataStoreWrite: '/Data Store Write6' */ - rtDW.CCU_MODE_RR = rtB.out_auto_d; + /* DataStoreWrite: '/Data Store Write6' */ + rtDW.CCU_MODE_RR = rtB.out_auto_k; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write7' - * Logic: '/Logical Operator1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write7' + * Logic: '/Logical Operator1' */ - rtDW.CCU_AC_REAR = (uint8_t)((rtB.out_ac_h != 0.0) || (rtB.out_ac_i != 0.0)); + rtDW.CCU_AC_REAR = (uint8_t)((rtB.out_ac_p != 0.0) || (rtB.out_ac_b != 0.0)); - /* Chart: '/Zone_Climate_Logic_Auto_FL1' incorporates: - * DataStoreRead: '/Data Store Read38' - * DataStoreRead: '/Data Store Read39' - * DataStoreRead: '/Data Store Read40' - * DataStoreRead: '/Data Store Read41' - * DataStoreRead: '/Data Store Read6' + /* Chart: '/Zone_Climate_Logic_Auto_FL1' incorporates: + * DataStoreRead: '/Data Store Read38' + * DataStoreRead: '/Data Store Read39' + * DataStoreRead: '/Data Store Read40' + * DataStoreRead: '/Data Store Read41' + * DataStoreRead: '/Data Store Read6' */ - Zone_Climate_Logic_Auto_FL1(rtDW.CCU_DEF_FL, rtDW.CCU_FACE_FL, - rtDW.CCU_FOOT_FL, rtDW.CCU_MODE_FL, rtDW.CCU_AC_FRONT, &rtB.out_def_i, - &rtB.out_face_o, &rtB.out_foot_g, &rtB.out_auto_h, &rtB.out_ac_m, - &rtDW.sf_Zone_Climate_Logic_Auto_FL1); + if (rtDW.is_active_c661_HVAC_model == 0U) { + rtDW.is_active_c661_HVAC_model = 1U; + rtDW.is_c661_HVAC_model = IN_MANUAL_MODE_e; - /* Chart: '/Zone_Climate_Logic_Auto_FL4' incorporates: - * DataStoreRead: '/Data Store Read42' - * DataStoreRead: '/Data Store Read61' - * DataStoreRead: '/Data Store Read62' - * DataStoreRead: '/Data Store Read63' - * DataStoreRead: '/Data Store Read7' + /* : out_def = 0; */ + rtB.out_def_o = 0U; + + /* : out_face = 1; */ + rtB.out_face_j = 1U; + + /* : out_foot = 1; */ + rtB.out_foot_c = 1U; + + /* : mem_def = 0; */ + /* : mem_face = 0; */ + /* : mem_foot = 0; */ + rtDW.is_DEF_SUB_a = IN_Def_Off_n; + rtDW.is_FACE_SUB_i = IN_Face_Off_e; + rtDW.is_FOOT_SUB_j = IN_Foot_Off_c; + rtDW.is_AC_SUB_m = IN_AC_Off_k; + } else if (rtDW.is_c661_HVAC_model == IN_AUTO_MODE_l) { + /* : sf_internal_predicateOutput = btn_auto == 0 || btn_def == 1 || btn_face == 1 || btn_foot == 1; */ + if ((rtDW.CCU_MODE_FL == 0) || (rtDW.CCU_DEF_FL == 1) || (rtDW.CCU_FACE_FL == + 1) || (rtDW.CCU_FOOT_FL == 1)) { + /* : out_auto=0; */ + rtB.out_auto_kk = 0U; + rtDW.is_AC_SUB_db = IN_NO_ACTIVE_CHILD_c; + rtDW.is_c661_HVAC_model = IN_MANUAL_MODE_e; + + /* : out_def = 0; */ + rtB.out_def_o = 0U; + + /* : out_face = 1; */ + rtB.out_face_j = 1U; + + /* : out_foot = 1; */ + rtB.out_foot_c = 1U; + + /* : mem_def = 0; */ + /* : mem_face = 0; */ + /* : mem_foot = 0; */ + rtDW.is_DEF_SUB_a = IN_Def_Off_n; + rtDW.is_FACE_SUB_i = IN_Face_Off_e; + rtDW.is_FOOT_SUB_j = IN_Foot_Off_c; + rtDW.is_AC_SUB_m = IN_AC_Off_k; + } else if (rtDW.is_AC_SUB_db == IN_AC_Off_k) { + /* : sf_internal_predicateOutput = btn_ac == 1; */ + if (rtDW.CCU_AC_FRONT == 1) { + /* : out_ac=1 */ + rtDW.is_AC_SUB_db = IN_AC_On_j; + + /* : out_ac = 1; */ + rtB.out_ac_m = 1.0; + } + + /* case IN_AC_On: */ + /* : sf_internal_predicateOutput = btn_ac == 0; */ + } else if (rtDW.CCU_AC_FRONT == 0) { + /* : out_ac=0 */ + rtB.out_ac_m = 0.0; + rtDW.is_AC_SUB_db = IN_AC_Off_k; + } + + /* case IN_MANUAL_MODE: */ + /* : sf_internal_predicateOutput = btn_auto == 1 || (out_def == 0 && out_face == 0 && out_foot == 0); */ + } else if ((rtDW.CCU_MODE_FL == 1) || ((rtB.out_def_o == 0) && (rtB.out_face_j + == 0) && (rtB.out_foot_c == 0))) { + /* : out_auto=1; */ + rtDW.is_AC_SUB_m = IN_NO_ACTIVE_CHILD_c; + rtDW.is_FOOT_SUB_j = IN_NO_ACTIVE_CHILD_c; + rtDW.is_FACE_SUB_i = IN_NO_ACTIVE_CHILD_c; + rtDW.is_DEF_SUB_a = IN_NO_ACTIVE_CHILD_c; + rtDW.is_c661_HVAC_model = IN_AUTO_MODE_l; + + /* : out_auto = 1; */ + rtB.out_auto_kk = 1U; + + /* : out_def = 0; */ + rtB.out_def_o = 0U; + + /* : out_face = 0; */ + rtB.out_face_j = 0U; + + /* : out_foot = 0; */ + rtB.out_foot_c = 0U; + rtDW.is_AC_SUB_db = IN_AC_On_j; + + /* : out_ac = 1; */ + rtB.out_ac_m = 1.0; + } else { + if (rtDW.is_DEF_SUB_a == IN_Def_Off_n) { + /* : sf_internal_predicateOutput = btn_def == 1; */ + if (rtDW.CCU_DEF_FL == 1) { + /* : out_def=1 */ + rtB.out_def_o = 1U; + rtDW.is_DEF_SUB_a = IN_Def_On_l; + } + + /* case IN_Def_On: */ + /* : sf_internal_predicateOutput = btn_def == 0; */ + } else if (rtDW.CCU_DEF_FL == 0) { + /* : out_def=0 */ + rtB.out_def_o = 0U; + rtDW.is_DEF_SUB_a = IN_Def_Off_n; + } + + if (rtDW.is_FACE_SUB_i == IN_Face_Off_e) { + /* : sf_internal_predicateOutput = btn_face == 1; */ + if (rtDW.CCU_FACE_FL == 1) { + /* : out_face=1 */ + rtB.out_face_j = 1U; + rtDW.is_FACE_SUB_i = IN_Face_On_m; + } + + /* case IN_Face_On: */ + /* : sf_internal_predicateOutput = btn_face == 0; */ + } else if (rtDW.CCU_FACE_FL == 0) { + /* : out_face=0 */ + rtB.out_face_j = 0U; + rtDW.is_FACE_SUB_i = IN_Face_Off_e; + } + + if (rtDW.is_FOOT_SUB_j == IN_Foot_Off_c) { + /* : sf_internal_predicateOutput = btn_foot == 1; */ + if (rtDW.CCU_FOOT_FL == 1) { + /* : out_foot=1 */ + rtB.out_foot_c = 1U; + rtDW.is_FOOT_SUB_j = IN_Foot_On_b; + } + + /* case IN_Foot_On: */ + /* : sf_internal_predicateOutput = btn_foot == 0; */ + } else if (rtDW.CCU_FOOT_FL == 0) { + /* : out_foot=0 */ + rtB.out_foot_c = 0U; + rtDW.is_FOOT_SUB_j = IN_Foot_Off_c; + } + + if (rtDW.is_AC_SUB_m == IN_AC_Off_k) { + /* : sf_internal_predicateOutput = btn_ac == 1; */ + if (rtDW.CCU_AC_FRONT == 1) { + /* : out_ac=1 */ + rtB.out_ac_m = 1.0; + rtDW.is_AC_SUB_m = IN_AC_On_j; + } + + /* case IN_AC_On: */ + /* : sf_internal_predicateOutput = btn_ac == 0; */ + } else if (rtDW.CCU_AC_FRONT == 0) { + /* : out_ac=0 */ + rtB.out_ac_m = 0.0; + rtDW.is_AC_SUB_m = IN_AC_Off_k; + } + } + + /* End of Chart: '/Zone_Climate_Logic_Auto_FL1' */ + + /* Chart: '/Zone_Climate_Logic_Auto_FL4' incorporates: + * DataStoreRead: '/Data Store Read42' + * DataStoreRead: '/Data Store Read61' + * DataStoreRead: '/Data Store Read62' + * DataStoreRead: '/Data Store Read63' + * DataStoreRead: '/Data Store Read7' */ - Zone_Climate_Logic_Auto_FL1(rtDW.CCU_DEF_FR, rtDW.CCU_FACE_FR, - rtDW.CCU_FOOT_FR, rtDW.CCU_MODE_FR, rtDW.CCU_AC_FRONT, &rtB.out_def, - &rtB.out_face, &rtB.out_foot, &rtB.out_auto, &rtB.out_ac, - &rtDW.sf_Zone_Climate_Logic_Auto_FL4); + if (rtDW.is_active_c777_HVAC_model == 0U) { + rtDW.is_active_c777_HVAC_model = 1U; + rtDW.is_c777_HVAC_model = IN_MANUAL_MODE_e; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write' - * Logic: '/Logical Operator' + /* : out_def = 0; */ + rtB.out_def = 0U; + + /* : out_face = 1; */ + rtB.out_face = 1U; + + /* : out_foot = 1; */ + rtB.out_foot = 1U; + + /* : mem_def = 0; */ + /* : mem_face = 0; */ + /* : mem_foot = 0; */ + rtDW.is_DEF_SUB = IN_Def_Off_n; + rtDW.is_FACE_SUB = IN_Face_Off_e; + rtDW.is_FOOT_SUB = IN_Foot_Off_c; + rtDW.is_AC_SUB_d = IN_AC_Off_k; + } else if (rtDW.is_c777_HVAC_model == IN_AUTO_MODE_l) { + /* : sf_internal_predicateOutput = btn_auto == 0 || btn_def == 1 || btn_face == 1 || btn_foot == 1; */ + if ((rtDW.CCU_MODE_FR == 0) || (rtDW.CCU_DEF_FR == 1) || (rtDW.CCU_FACE_FR == + 1) || (rtDW.CCU_FOOT_FR == 1)) { + /* : out_auto=0; */ + rtB.out_auto = 0U; + rtDW.is_AC_SUB = IN_NO_ACTIVE_CHILD_c; + rtDW.is_c777_HVAC_model = IN_MANUAL_MODE_e; + + /* : out_def = 0; */ + rtB.out_def = 0U; + + /* : out_face = 1; */ + rtB.out_face = 1U; + + /* : out_foot = 1; */ + rtB.out_foot = 1U; + + /* : mem_def = 0; */ + /* : mem_face = 0; */ + /* : mem_foot = 0; */ + rtDW.is_DEF_SUB = IN_Def_Off_n; + rtDW.is_FACE_SUB = IN_Face_Off_e; + rtDW.is_FOOT_SUB = IN_Foot_Off_c; + rtDW.is_AC_SUB_d = IN_AC_Off_k; + } else if (rtDW.is_AC_SUB == IN_AC_Off_k) { + /* : sf_internal_predicateOutput = btn_ac == 1; */ + if (rtDW.CCU_AC_FRONT == 1) { + /* : out_ac=1 */ + rtDW.is_AC_SUB = IN_AC_On_j; + + /* : out_ac = 1; */ + rtB.out_ac = 1.0; + } + + /* case IN_AC_On: */ + /* : sf_internal_predicateOutput = btn_ac == 0; */ + } else if (rtDW.CCU_AC_FRONT == 0) { + /* : out_ac=0 */ + rtB.out_ac = 0.0; + rtDW.is_AC_SUB = IN_AC_Off_k; + } + + /* case IN_MANUAL_MODE: */ + /* : sf_internal_predicateOutput = btn_auto == 1 || (out_def == 0 && out_face == 0 && out_foot == 0); */ + } else if ((rtDW.CCU_MODE_FR == 1) || ((rtB.out_def == 0) && (rtB.out_face == + 0) && (rtB.out_foot == 0))) { + /* : out_auto=1; */ + rtDW.is_AC_SUB_d = IN_NO_ACTIVE_CHILD_c; + rtDW.is_FOOT_SUB = IN_NO_ACTIVE_CHILD_c; + rtDW.is_FACE_SUB = IN_NO_ACTIVE_CHILD_c; + rtDW.is_DEF_SUB = IN_NO_ACTIVE_CHILD_c; + rtDW.is_c777_HVAC_model = IN_AUTO_MODE_l; + + /* : out_auto = 1; */ + rtB.out_auto = 1U; + + /* : out_def = 0; */ + rtB.out_def = 0U; + + /* : out_face = 0; */ + rtB.out_face = 0U; + + /* : out_foot = 0; */ + rtB.out_foot = 0U; + rtDW.is_AC_SUB = IN_AC_On_j; + + /* : out_ac = 1; */ + rtB.out_ac = 1.0; + } else { + if (rtDW.is_DEF_SUB == IN_Def_Off_n) { + /* : sf_internal_predicateOutput = btn_def == 1; */ + if (rtDW.CCU_DEF_FR == 1) { + /* : out_def=1 */ + rtB.out_def = 1U; + rtDW.is_DEF_SUB = IN_Def_On_l; + } + + /* case IN_Def_On: */ + /* : sf_internal_predicateOutput = btn_def == 0; */ + } else if (rtDW.CCU_DEF_FR == 0) { + /* : out_def=0 */ + rtB.out_def = 0U; + rtDW.is_DEF_SUB = IN_Def_Off_n; + } + + if (rtDW.is_FACE_SUB == IN_Face_Off_e) { + /* : sf_internal_predicateOutput = btn_face == 1; */ + if (rtDW.CCU_FACE_FR == 1) { + /* : out_face=1 */ + rtB.out_face = 1U; + rtDW.is_FACE_SUB = IN_Face_On_m; + } + + /* case IN_Face_On: */ + /* : sf_internal_predicateOutput = btn_face == 0; */ + } else if (rtDW.CCU_FACE_FR == 0) { + /* : out_face=0 */ + rtB.out_face = 0U; + rtDW.is_FACE_SUB = IN_Face_Off_e; + } + + if (rtDW.is_FOOT_SUB == IN_Foot_Off_c) { + /* : sf_internal_predicateOutput = btn_foot == 1; */ + if (rtDW.CCU_FOOT_FR == 1) { + /* : out_foot=1 */ + rtB.out_foot = 1U; + rtDW.is_FOOT_SUB = IN_Foot_On_b; + } + + /* case IN_Foot_On: */ + /* : sf_internal_predicateOutput = btn_foot == 0; */ + } else if (rtDW.CCU_FOOT_FR == 0) { + /* : out_foot=0 */ + rtB.out_foot = 0U; + rtDW.is_FOOT_SUB = IN_Foot_Off_c; + } + + if (rtDW.is_AC_SUB_d == IN_AC_Off_k) { + /* : sf_internal_predicateOutput = btn_ac == 1; */ + if (rtDW.CCU_AC_FRONT == 1) { + /* : out_ac=1 */ + rtB.out_ac = 1.0; + rtDW.is_AC_SUB_d = IN_AC_On_j; + } + + /* case IN_AC_On: */ + /* : sf_internal_predicateOutput = btn_ac == 0; */ + } else if (rtDW.CCU_AC_FRONT == 0) { + /* : out_ac=0 */ + rtB.out_ac = 0.0; + rtDW.is_AC_SUB_d = IN_AC_Off_k; + } + } + + /* End of Chart: '/Zone_Climate_Logic_Auto_FL4' */ + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write' + * Logic: '/Logical Operator' */ rtDW.CCU_AC_FRONT = (uint8_t)((rtB.out_ac_m != 0.0) || (rtB.out_ac != 0.0)); - /* DataStoreWrite: '/Data Store Write28' */ - rtDW.CCU_FACE_FL = rtB.out_face_o; + /* DataStoreWrite: '/Data Store Write28' */ + rtDW.CCU_FACE_FL = rtB.out_face_j; - /* DataStoreWrite: '/Data Store Write29' */ - rtDW.CCU_FOOT_FL = rtB.out_foot_g; + /* DataStoreWrite: '/Data Store Write29' */ + rtDW.CCU_FOOT_FL = rtB.out_foot_c; - /* DataStoreWrite: '/Data Store Write30' */ - rtDW.CCU_MODE_FL = rtB.out_auto_h; + /* DataStoreWrite: '/Data Store Write30' */ + rtDW.CCU_MODE_FL = rtB.out_auto_kk; - /* DataStoreWrite: '/Data Store Write32' */ + /* DataStoreWrite: '/Data Store Write32' */ rtDW.CCU_FACE_FR = rtB.out_face; - /* DataStoreWrite: '/Data Store Write33' */ + /* DataStoreWrite: '/Data Store Write33' */ rtDW.CCU_FOOT_FR = rtB.out_foot; - /* DataStoreWrite: '/Data Store Write34' */ + /* DataStoreWrite: '/Data Store Write34' */ rtDW.CCU_MODE_FR = rtB.out_auto; - /* DataStoreWrite: '/Data Store Write35' */ + /* DataStoreWrite: '/Data Store Write35' */ rtDW.CCU_DEF_FR = rtB.out_def; - /* DataStoreWrite: '/Data Store Write37' */ - rtDW.CCU_DEF_FL = rtB.out_def_i; + /* DataStoreWrite: '/Data Store Write37' */ + rtDW.CCU_DEF_FL = rtB.out_def_o; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' + /* Outputs for Enabled SubSystem: '/Determine directions RL' incorporates: + * EnablePort: '/Enable' */ - rtb_Compare_hv = (rtDW.TM_CP_model.CCPF_AcMaxButton_Stat > 0); - - /* RelationalOperator: '/FixPt Relational Operator' incorporates: - * UnitDelay: '/Delay Input1' + /* RelationalOperator: '/FixPt Relational Operator' incorporates: + * UnitDelay: '/Delay Input1' * - * Block description for '/Delay Input1': + * Block description for '/Delay Input1': * * Store in Global RAM */ - rtb_Compare_m0e = ((int32_t)rtb_Compare_hv > (int32_t)rtDW.DelayInput1_DSTATE); + if (rtB.out_auto_h < rtDW.DelayInput1_DSTATE) { + /* MATLAB Function: '/direction for REAR index mode' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + directionforREARindexmode(Gain, &rtb_Saturation_m[0]); - /* Chart: '/AC_Max_Active' incorporates: - * DataStoreWrite: '/Data Store Write10' - */ - if (rtDW.is_active_c782_HVAC_model == 0U) { - rtDW.is_active_c782_HVAC_model = 1U; - rtDW.is_c782_HVAC_model = IN_AC_MAX_OFF; + /* DataStoreWrite: '/Data Store Write2' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.CCU_FACE_RL = (uint8_t)rtb_Saturation_m[1]; - /* : AC_Max_Active = 0; */ - CCU_AC_MAX = 0U; - } else if (rtDW.is_c782_HVAC_model == IN_AC_MAX_OFF) { - CCU_AC_MAX = 0U; + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.CCU_FOOT_RL = (uint8_t)rtb_Saturation_m[2]; - /* : sf_internal_predicateOutput = Btn_Pulse==1; */ - if (rtb_Compare_m0e) { - rtDW.is_c782_HVAC_model = IN_AC_MAX_ON; - - /* : AC_Max_Active = 1; */ - CCU_AC_MAX = 1U; - } - } else { - /* case IN_AC_MAX_ON: */ - CCU_AC_MAX = 1U; - - /* : sf_internal_predicateOutput = Btn_Pulse==1; */ - if (rtb_Compare_m0e) { - rtDW.is_c782_HVAC_model = IN_AC_MAX_OFF; - - /* : AC_Max_Active = 0; */ - CCU_AC_MAX = 0U; - } + /* DataStoreWrite: '/Data Store Write4' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.Index_mode_RL_manual = (uint8_t)rtb_Saturation_m[3]; } - /* End of Chart: '/AC_Max_Active' */ + /* End of RelationalOperator: '/FixPt Relational Operator' */ + /* End of Outputs for SubSystem: '/Determine directions RL' */ - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' + /* Outputs for Enabled SubSystem: '/Determine directions RR' incorporates: + * EnablePort: '/Enable' */ - rtb_Compare_m0e = (rtDW.TM_CP_model.CCPF_DefButton_Stat > 0); - - /* RelationalOperator: '/FixPt Relational Operator' incorporates: - * UnitDelay: '/Delay Input1' + /* RelationalOperator: '/FixPt Relational Operator' incorporates: + * UnitDelay: '/Delay Input1' * - * Block description for '/Delay Input1': + * Block description for '/Delay Input1': * * Store in Global RAM */ - rtb_Compare_ba = ((int32_t)rtb_Compare_m0e > (int32_t) - rtDW.DelayInput1_DSTATE_m); + if (rtB.out_auto_k < rtDW.DelayInput1_DSTATE_h) { + /* MATLAB Function: '/direction for REAR index mode1' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + directionforREARindexmode(Gain, &rtb_Saturation_m[0]); - /* Chart: '/Defrost_Active' incorporates: - * DataStoreWrite: '/Data Store Write11' - */ - if (rtDW.is_active_c837_HVAC_model == 0U) { - rtDW.is_active_c837_HVAC_model = 1U; - rtDW.is_c837_HVAC_model = IN_REC_OFF; + /* DataStoreWrite: '/Data Store Write2' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.CCU_FACE_RR = (uint8_t)rtb_Saturation_m[1]; - /* : Defrost_Active = 0; */ - CCU_Defrost = 0U; - } else if (rtDW.is_c837_HVAC_model == IN_REC_OFF) { - CCU_Defrost = 0U; + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.CCU_FOOT_RR = (uint8_t)rtb_Saturation_m[2]; - /* : sf_internal_predicateOutput = Btn_Pulse==1; */ - if (rtb_Compare_ba) { - rtDW.is_c837_HVAC_model = IN_REC_ON; - - /* : Defrost_Active = 1; */ - CCU_Defrost = 1U; - } - } else { - /* case IN_REC_ON: */ - CCU_Defrost = 1U; - - /* : sf_internal_predicateOutput = Btn_Pulse==1; */ - if (rtb_Compare_ba) { - rtDW.is_c837_HVAC_model = IN_REC_OFF; - - /* : Defrost_Active = 0; */ - CCU_Defrost = 0U; - } + /* DataStoreWrite: '/Data Store Write4' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.Index_mode_RR_manual = (uint8_t)rtb_Saturation_m[3]; } - /* End of Chart: '/Defrost_Active' */ + /* End of RelationalOperator: '/FixPt Relational Operator' */ + /* End of Outputs for SubSystem: '/Determine directions RR' */ - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' + /* Outputs for Enabled SubSystem: '/Determine directions FL' incorporates: + * EnablePort: '/Enable' */ - rtb_Compare_ba = (rtDW.TM_CP_model.CCPF_RecButton_Stat > 0); - - /* RelationalOperator: '/FixPt Relational Operator' incorporates: - * UnitDelay: '/Delay Input1' + /* RelationalOperator: '/FixPt Relational Operator' incorporates: + * UnitDelay: '/Delay Input1' * - * Block description for '/Delay Input1': + * Block description for '/Delay Input1': * * Store in Global RAM */ - rtb_Compare_oj = ((int32_t)rtb_Compare_ba > (int32_t)rtDW.DelayInput1_DSTATE_i); + if (rtB.out_auto_kk < rtDW.DelayInput1_DSTATE_p) { + /* MATLAB Function: '/direction for front index mode' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + directionforfrontindexmode(rtb_DataTypeConversion_ca, &rtb_Saturation_m[0]); - /* Chart: '/Full_Rec_Active' incorporates: - * DataStoreWrite: '/Data Store Write9' - */ - if (rtDW.is_active_c836_HVAC_model == 0U) { - rtDW.is_active_c836_HVAC_model = 1U; - rtDW.is_c836_HVAC_model = IN_REC_OFF; + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.CCU_DEF_FL = (uint8_t)rtb_Saturation_m[0]; - /* : Full_Rec_Active = 0; */ - rtDW.Full_Rec = 0U; - } else if (rtDW.is_c836_HVAC_model == IN_REC_OFF) { - rtDW.Full_Rec = 0U; + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.CCU_DEF_FR = (uint8_t)rtb_Saturation_m[0]; - /* : sf_internal_predicateOutput = Btn_Pulse==1; */ - if (rtb_Compare_oj) { - rtDW.is_c836_HVAC_model = IN_REC_ON; + /* DataStoreWrite: '/Data Store Write2' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.CCU_FACE_FL = (uint8_t)rtb_Saturation_m[1]; - /* : Full_Rec_Active = 1; */ - rtDW.Full_Rec = 1U; - } - } else { - /* case IN_REC_ON: */ - rtDW.Full_Rec = 1U; + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.CCU_FOOT_FL = (uint8_t)rtb_Saturation_m[2]; - /* : sf_internal_predicateOutput = Btn_Pulse==1; */ - if (rtb_Compare_oj) { - rtDW.is_c836_HVAC_model = IN_REC_OFF; - - /* : Full_Rec_Active = 0; */ - rtDW.Full_Rec = 0U; - } + /* DataStoreWrite: '/Data Store Write4' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.Index_mode_FL_manual = (uint8_t)rtb_Saturation_m[3]; } - /* End of Chart: '/Full_Rec_Active' */ + /* End of RelationalOperator: '/FixPt Relational Operator' */ + /* End of Outputs for SubSystem: '/Determine directions FL' */ - /* DataStoreWrite: '/Data Store Write' */ + /* Outputs for Enabled SubSystem: '/Determine directions FR' incorporates: + * EnablePort: '/Enable' + */ + /* RelationalOperator: '/FixPt Relational Operator' incorporates: + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + if (rtB.out_auto < rtDW.DelayInput1_DSTATE_i) { + /* MATLAB Function: '/direction for front index mode' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + directionforfrontindexmode(rtb_DataTypeConversion3_k, &rtb_Saturation_m[0]); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.CCU_DEF_FL = (uint8_t)rtb_Saturation_m[0]; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.CCU_DEF_FR = (uint8_t)rtb_Saturation_m[0]; + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.CCU_FACE_FR = (uint8_t)rtb_Saturation_m[1]; + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.CCU_FOOT_FR = (uint8_t)rtb_Saturation_m[2]; + + /* DataStoreWrite: '/Data Store Write4' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + rtb_Saturation4_l = (uint8_t)rtb_Saturation_m[3]; + } + + /* End of RelationalOperator: '/FixPt Relational Operator' */ + /* End of Outputs for SubSystem: '/Determine directions FR' */ + + /* DataStoreWrite: '/Data Store Write' */ rtDW.eCompChiller_Err = 0.0; - /* Gain: '/Gain' incorporates: - * DataStoreRead: '/Data Store Read10' - * DataStoreWrite: '/Data Store Write' + /* Gain: '/Gain' incorporates: + * DataStoreRead: '/Data Store Read10' + * DataStoreWrite: '/Data Store Write' */ rtDW.eComp_InputC = (uint16_t) (rtDW.HVC_ERR_STATUS_MSG_MODEL.HVC_CompInputC_Val_ro << 7); - /* Bias: '/Bias' incorporates: - * DataStoreRead: '/Data Store Read10' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' + /* Bias: '/Bias' incorporates: + * DataStoreRead: '/Data Store Read10' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' */ rtDW.eComp_Temp = (int16_t) (rtDW.HVC_ERR_STATUS_MSG_MODEL.HVC_CompInvTemp_Val_ro - 50); - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Bias: '/Bias' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain1' - * Gain: '/Gain2' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Bias: '/Bias' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain1' + * Gain: '/Gain2' */ rtDW.AMB = (int16_t)floor((0.01 * (double) rtDW.CCUCAN_BCM_Powertrain_model.BCM_AmbTempRaw_ro - 40.0) * 10.0); - /* If: '/If' incorporates: - * RelationalOperator: '/Relational Operator1' - * UnitDelay: '/Unit Delay' + /* If: '/If' incorporates: + * RelationalOperator: '/Relational Operator1' + * UnitDelay: '/Unit Delay' */ if (rtDW.UnitDelay_DSTATE_cu == -9999) { - /* Outputs for IfAction SubSystem: '/Инициализация температуры' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Инициализация температуры' incorporates: + * ActionPort: '/Action Port' */ - /* Switch: '/Switch1' incorporates: - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' + /* Switch: '/Switch1' incorporates: + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' */ rtDW.AMB_store = rtDW.AMB; - /* End of Outputs for SubSystem: '/Инициализация температуры' */ + /* End of Outputs for SubSystem: '/Инициализация температуры' */ } else { - /* Outputs for IfAction SubSystem: '/Фильтрация температуры' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Фильтрация температуры' incorporates: + * ActionPort: '/Action Port' */ - /* Lookup_n-D: '/Get LVL for temp' incorporates: - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion1' + /* Lookup_n-D: '/Get LVL for temp' incorporates: + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion1' */ - rtb_Bias5 = rtConstP.pooled47[plook_u32s16_bincka(rtDW.AMB, + rtb_y_fq = rtConstP.pooled52[plook_u32s16_bincka(rtDW.AMB, rtConstP.GetLVLfortemp_bp01Data, 5U)]; - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' */ if (rtDW.KEEP_RISING_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - u_p(rtDW.AMB, rtb_Bias5, &rtb_Merge_gk, &rtDW.AMB_store, + u_p(rtDW.AMB, rtb_y_fq, &rtb_Merge_e, &rtDW.AMB_store, &rtDW.KEEP_RISING_UNTIL_LIMIT); - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' */ - u_g2(rtDW.AMB, rtb_Bias5, &rtb_Merge_gk, &rtDW.AMB_store, + u_g2(rtDW.AMB, rtb_y_fq, &rtb_Merge_e, &rtDW.AMB_store, &rtDW.KEEP_RISING_UNTIL_LIMIT); - /* End of Outputs for SubSystem: '/обычный режим' */ + /* End of Outputs for SubSystem: '/обычный режим' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' */ if (rtDW.KEEP_FALLING_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - u_kb(rtDW.AMB, rtb_Bias5, &rtb_Merge_gw, &rtDW.AMB_store, + u_kb(rtDW.AMB, rtb_y_fq, &rtb_Merge_f3, &rtDW.AMB_store, &rtDW.KEEP_FALLING_UNTIL_LIMIT); - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' */ - u_my(rtDW.AMB, rtb_Bias5, &rtb_Merge_gw, &rtDW.AMB_store, + u_my(rtDW.AMB, rtb_y_fq, &rtb_Merge_f3, &rtDW.AMB_store, &rtDW.KEEP_FALLING_UNTIL_LIMIT); - /* End of Outputs for SubSystem: '/обычный режим' */ + /* End of Outputs for SubSystem: '/обычный режим' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* Sum: '/Subtract' incorporates: - * DataStoreRead: '/Data Store Read15' - * UnitDelay: '/Unit Delay' + /* Sum: '/Subtract' incorporates: + * DataStoreRead: '/Data Store Read15' + * UnitDelay: '/Unit Delay' */ - rtb_Subtract = rtDW.t_now - rtDW.UnitDelay_DSTATE; + rtb_Subtract = rtDW.t_now - rtDW.UnitDelay_DSTATE_c; - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read12' - * DataStoreRead: '/Data Store Read' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/Data Store Read' */ /* : f_g_ssAMBFILT_WATER = g_ssAMBFILT_WATER; */ if ((rtDW.VehicleSpeed > 45) && (rtDW.KEEP_UNTIL_SPEED_DROPS > 0)) { - /* Outputs for IfAction SubSystem: '/Быстро из-за флага' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Быстро из-за флага' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' */ if (rtDW.KEEP_RISING_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - u_p(rtDW.AMB, rtb_Bias5, &rtb_Merge_aj, &rtDW.AMB_store, + u_p(rtDW.AMB, rtb_y_fq, &rtb_Merge_nt, &rtDW.AMB_store, &rtDW.KEEP_RISING_UNTIL_LIMIT); - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' */ - u_g2(rtDW.AMB, rtb_Bias5, &rtb_Merge_aj, &rtDW.AMB_store, + u_g2(rtDW.AMB, rtb_y_fq, &rtb_Merge_nt, &rtDW.AMB_store, &rtDW.KEEP_RISING_UNTIL_LIMIT); - /* End of Outputs for SubSystem: '/обычный режим' */ + /* End of Outputs for SubSystem: '/обычный режим' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' */ if (rtDW.KEEP_FALLING_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - u_kb(rtDW.AMB, rtb_Bias5, &rtb_Merge_p3, &rtDW.AMB_store, + u_kb(rtDW.AMB, rtb_y_fq, &rtb_Merge_mi, &rtDW.AMB_store, &rtDW.KEEP_FALLING_UNTIL_LIMIT); - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' */ - u_my(rtDW.AMB, rtb_Bias5, &rtb_Merge_p3, &rtDW.AMB_store, + u_my(rtDW.AMB, rtb_y_fq, &rtb_Merge_mi, &rtDW.AMB_store, &rtDW.KEEP_FALLING_UNTIL_LIMIT); - /* End of Outputs for SubSystem: '/обычный режим' */ + /* End of Outputs for SubSystem: '/обычный режим' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* Switch: '/Switch1' incorporates: - * Abs: '/Abs' - * Constant: '/epsilon' - * DataStoreRead: '/Read Amb' - * DataStoreWrite: '/Data Store Write' - * RelationalOperator: '/AMBraw > AMB' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Switch: '/Switch' + /* Switch: '/Switch1' incorporates: + * Abs: '/Abs' + * Constant: '/epsilon' + * DataStoreRead: '/Read Amb' + * DataStoreWrite: '/Data Store Write' + * RelationalOperator: '/AMBraw > AMB' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Switch: '/Switch' */ if (fabs((double)rtDW.AMB - rtDW.AMB_store) <= 0.01) { - /* SignalConversion generated from: '/AMB_new' */ - rtb_Switch1_oh = rtDW.AMB_store; + /* SignalConversion generated from: '/AMB_new' */ + rtb_Switch2_by = rtDW.AMB_store; } else { if (rtDW.AMB > rtDW.AMB_store) { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtb_Switch2_p0 = rtb_Merge_aj; + rtb_y_fq = rtb_Merge_nt; } else { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * UnaryMinus: '/Unary Minus' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * UnaryMinus: '/Unary Minus' */ - rtb_Switch2_p0 = (int16_t)-rtb_Merge_p3; + rtb_y_fq = (int16_t)-rtb_Merge_mi; } - /* SignalConversion generated from: '/AMB_new' incorporates: - * Constant: '/Constant' - * Product: '/Divide' - * Product: '/Product' - * Sum: '/Add' - * Switch: '/Switch' + /* SignalConversion generated from: '/AMB_new' incorporates: + * Constant: '/Constant' + * Product: '/Divide' + * Product: '/Product' + * Sum: '/Add' + * Switch: '/Switch' */ - rtb_Switch1_oh = (double)rtb_Subtract / 60000.0 * (double)rtb_Switch2_p0 - + rtDW.AMB_store; + rtb_Switch2_by = (double)rtb_Subtract / 60000.0 * (double)rtb_y_fq + + rtDW.AMB_store; } - /* End of Switch: '/Switch1' */ - /* End of Outputs for SubSystem: '/Быстро из-за флага' */ + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Быстро из-за флага' */ } else if (rtDW.VehicleSpeed > 50) { - /* Outputs for IfAction SubSystem: '/Быстро из-за скорости' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Быстро из-за скорости' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.KEEP_UNTIL_SPEED_DROPS = 1U; - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' */ if (rtDW.KEEP_RISING_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - u_p(rtDW.AMB, rtb_Bias5, &rtb_Merge_aj, &rtDW.AMB_store, + u_p(rtDW.AMB, rtb_y_fq, &rtb_Merge_nt, &rtDW.AMB_store, &rtDW.KEEP_RISING_UNTIL_LIMIT); - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' */ - u_g2(rtDW.AMB, rtb_Bias5, &rtb_Merge_aj, &rtDW.AMB_store, + u_g2(rtDW.AMB, rtb_y_fq, &rtb_Merge_nt, &rtDW.AMB_store, &rtDW.KEEP_RISING_UNTIL_LIMIT); - /* End of Outputs for SubSystem: '/обычный режим' */ + /* End of Outputs for SubSystem: '/обычный режим' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' */ if (rtDW.KEEP_FALLING_UNTIL_LIMIT > 0.0) { - /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/включен ускоренный режим' incorporates: + * ActionPort: '/Action Port' */ - u_kb(rtDW.AMB, rtb_Bias5, &rtb_Merge_p3, &rtDW.AMB_store, + u_kb(rtDW.AMB, rtb_y_fq, &rtb_Merge_mi, &rtDW.AMB_store, &rtDW.KEEP_FALLING_UNTIL_LIMIT); - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' */ - u_my(rtDW.AMB, rtb_Bias5, &rtb_Merge_p3, &rtDW.AMB_store, + u_my(rtDW.AMB, rtb_y_fq, &rtb_Merge_mi, &rtDW.AMB_store, &rtDW.KEEP_FALLING_UNTIL_LIMIT); - /* End of Outputs for SubSystem: '/обычный режим' */ + /* End of Outputs for SubSystem: '/обычный режим' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* Switch: '/Switch1' incorporates: - * Abs: '/Abs' - * Constant: '/epsilon' - * DataStoreRead: '/Read Amb' - * DataStoreWrite: '/Data Store Write' - * RelationalOperator: '/AMBraw > AMB' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Switch: '/Switch' + /* Switch: '/Switch1' incorporates: + * Abs: '/Abs' + * Constant: '/epsilon' + * DataStoreRead: '/Read Amb' + * DataStoreWrite: '/Data Store Write' + * RelationalOperator: '/AMBraw > AMB' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Switch: '/Switch' */ if (fabs((double)rtDW.AMB - rtDW.AMB_store) <= 0.01) { - /* SignalConversion generated from: '/AMB_new' */ - rtb_Switch1_oh = rtDW.AMB_store; + /* SignalConversion generated from: '/AMB_new' */ + rtb_Switch2_by = rtDW.AMB_store; } else { if (rtDW.AMB > rtDW.AMB_store) { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtb_Switch2_p0 = rtb_Merge_aj; + rtb_y_fq = rtb_Merge_nt; } else { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * UnaryMinus: '/Unary Minus' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * UnaryMinus: '/Unary Minus' */ - rtb_Switch2_p0 = (int16_t)-rtb_Merge_p3; + rtb_y_fq = (int16_t)-rtb_Merge_mi; } - /* SignalConversion generated from: '/AMB_new' incorporates: - * Constant: '/Constant' - * Product: '/Divide' - * Product: '/Product' - * Sum: '/Add' - * Switch: '/Switch' + /* SignalConversion generated from: '/AMB_new' incorporates: + * Constant: '/Constant' + * Product: '/Divide' + * Product: '/Product' + * Sum: '/Add' + * Switch: '/Switch' */ - rtb_Switch1_oh = (double)rtb_Subtract / 60000.0 * (double)rtb_Switch2_p0 - + rtDW.AMB_store; + rtb_Switch2_by = (double)rtb_Subtract / 60000.0 * (double)rtb_y_fq + + rtDW.AMB_store; } - /* End of Switch: '/Switch1' */ - /* End of Outputs for SubSystem: '/Быстро из-за скорости' */ + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Быстро из-за скорости' */ } else { - /* Outputs for IfAction SubSystem: '/Медленно' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Медленно' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant1' */ rtDW.KEEP_UNTIL_SPEED_DROPS = 0U; - /* MATLAB Function: '/границы' */ + /* MATLAB Function: '/границы' */ /* : rate_at_10 = 0.5; */ /* : rate_at_50 = double(g_aucAMBRATE_RISING(lvl + 1)) ; */ /* : f_lower_upper_bounds = [rate_at_10, rate_at_50]; */ rtb_f_lower_upper_bounds[0] = 0.5; - i = rtb_Bias5 + 1; - if (rtb_Bias5 + 1 > 32767) { + i = rtb_y_fq + 1; + if (rtb_y_fq + 1 > 32767) { i = 32767; } rtb_f_lower_upper_bounds[1] = g_aucAMBRATE_RISING[i - 1]; - /* MATLAB Function: '/обычное понижение темп.' */ + /* MATLAB Function: '/обычное понижение темп.' */ /* : fprintf("lvl = %d\n", lvl); */ - printf("lvl = %d\n", rtb_Bias5); + printf("lvl = %d\n", rtb_y_fq); fflush(stdout); - /* Switch: '/Switch1' incorporates: - * Abs: '/Abs' - * Constant: '/epsilon' - * Constant: '/Constant' - * DataStoreRead: '/Read Amb' - * DataStoreWrite: '/Data Store Write' - * Product: '/Divide' - * Product: '/Product' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/AMBraw > AMB' - * Sum: '/Add' - * Sum: '/Add' - * Switch: '/Switch' + /* Switch: '/Switch1' incorporates: + * Abs: '/Abs' + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Read Amb' + * DataStoreWrite: '/Data Store Write' + * Product: '/Divide' + * Product: '/Product' + * RelationalOperator: '/AMBraw > AMB' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Add' + * Switch: '/Switch' */ /* : f_g_aucAMBRATE_FALLING = g_aucAMBRATE_FALLING(lvl + 1); */ if (fabs((double)rtDW.AMB - rtDW.AMB_store) <= 0.01) { - rtb_Switch1_oh = rtDW.AMB; + rtb_Switch2_by = rtDW.AMB; } else { if (rtDW.AMB > rtDW.AMB_store) { - /* Switch: '/Скорость >10' incorporates: - * Constant: '/Constant' - * Switch: '/Switch' + /* Switch: '/Скорость >10' incorporates: + * Constant: '/Constant' + * Switch: '/Switch' */ if (rtDW.VehicleSpeed > 10) { - /* Lookup_n-D: '/1-D Lookup Table1' incorporates: - * DataStoreRead: '/Data Store Read12' + /* Lookup_n-D: '/1-D Lookup Table1' incorporates: + * DataStoreRead: '/Data Store Read12' */ - rtb_Switch1_oh = look1_iu16td_binlc(rtDW.VehicleSpeed, + rtb_Switch2_by = look1_iu16td_binlc(rtDW.VehicleSpeed, rtConstP.uDLookupTable1_bp01Data, rtb_f_lower_upper_bounds, 1U); } else { - rtb_Switch1_oh = 0.5; + rtb_Switch2_by = 0.5; } - /* End of Switch: '/Скорость >10' */ + /* End of Switch: '/Скорость >10' */ } else { - /* MATLAB Function: '/обычное понижение темп.' incorporates: - * MATLAB Function: '/границы' + /* MATLAB Function: '/обычное понижение темп.' incorporates: + * MATLAB Function: '/границы' */ - i = rtb_Bias5 + 1; - if (rtb_Bias5 + 1 > 32767) { + i = rtb_y_fq + 1; + if (rtb_y_fq + 1 > 32767) { i = 32767; } - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * MATLAB Function: '/обычное понижение темп.' - * UnaryMinus: '/Unary Minus' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * MATLAB Function: '/обычное понижение темп.' + * UnaryMinus: '/Unary Minus' */ - rtb_Switch1_oh = -(double)g_aucAMBRATE_FALLING[i - 1]; + rtb_Switch2_by = -(double)g_aucAMBRATE_FALLING[i - 1]; } - rtb_Switch1_oh = (double)rtb_Subtract / 60000.0 * rtb_Switch1_oh + + rtb_Switch2_by = (double)rtb_Subtract / 60000.0 * rtb_Switch2_by + rtDW.AMB_store; } - /* End of Switch: '/Switch1' */ - /* End of Outputs for SubSystem: '/Медленно' */ + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Медленно' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read12' - * MATLAB Function: '/Coolant temp threshold' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * MATLAB Function: '/Coolant temp threshold' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' */ if (rtDW.ECT <= g_ssAMBFILT_WATER) { - /* Switch: '/Switch1' incorporates: - * Abs: '/Abs' - * Constant: '/epsilon' - * DataStoreRead: '/Read Amb' - * DataStoreWrite: '/Data Store Write' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' + /* Switch: '/Switch1' incorporates: + * Abs: '/Abs' + * Constant: '/epsilon' + * DataStoreRead: '/Read Amb' + * DataStoreWrite: '/Data Store Write' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ if (fabs((double)rtDW.AMB - rtDW.AMB_store) > 0.01) { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion' - * RelationalOperator: '/AMBraw > AMB' - * UnaryMinus: '/Unary Minus' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * RelationalOperator: '/AMBraw > AMB' + * UnaryMinus: '/Unary Minus' */ if (rtDW.AMB > rtDW.AMB_store) { - rtb_Switch2_p0 = rtb_Merge_gk; + rtb_y_fq = rtb_Merge_e; } else { - rtb_Switch2_p0 = (int16_t)-rtb_Merge_gw; + rtb_y_fq = (int16_t)-rtb_Merge_f3; } - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant' - * Product: '/Divide' - * Product: '/Product' - * Sum: '/Add' - * Switch: '/Switch' + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant' + * Product: '/Divide' + * Product: '/Product' + * Sum: '/Add' + * Switch: '/Switch' */ - rtDW.AMB_store += (double)rtb_Subtract / 60000.0 * (double) - rtb_Switch2_p0; + rtDW.AMB_store += (double)rtb_Subtract / 60000.0 * (double)rtb_y_fq; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ } else if (rtDW.VehicleSpeed != 0) { - /* Switch: '/Switch1' incorporates: - * DataStoreWrite: '/Write new AMB' - * Switch: '/Switch' + /* Switch: '/Switch1' incorporates: + * DataStoreWrite: '/Write new AMB' + * Switch: '/Switch' */ - rtDW.AMB_store = rtb_Switch1_oh; + rtDW.AMB_store = rtb_Switch2_by; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/Data Store Read15' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/Data Store Read15' */ - rtDW.UnitDelay_DSTATE = rtDW.t_now; + rtDW.UnitDelay_DSTATE_c = rtDW.t_now; - /* End of Outputs for SubSystem: '/Фильтрация температуры' */ + /* End of Outputs for SubSystem: '/Фильтрация температуры' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* Gain: '/Gain' incorporates: - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' + /* Gain: '/Gain' incorporates: + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' */ rtDW.Sun_R = 4.01575 * (double) rtDW.CCUCAN_BCM_Climatic_model.SolarSensRightVal_ro; - /* Gain: '/Gain' incorporates: - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' + /* Gain: '/Gain' incorporates: + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' */ rtDW.Sun_L = 4.01575 * (double) rtDW.CCUCAN_BCM_Climatic_model.SolarSensLeftVal_ro; - /* Bias: '/Bias' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion1' + /* Bias: '/Bias' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion1' */ rtDW.ECT = (int16_t)(rtDW.CCUCAN_EMS_Veh_model.EMS_EngCoolTemp_Val_ro - 40); - /* Gain: '/Gain' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion1' + /* Gain: '/Gain' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion1' */ rtDW.Engine_speed = 0.25 * (double) rtDW.CCUCAN_EMS_Veh_model.EMS_nICEngineSpeed3_Val_ro; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreRead: '/Data Store Read6' - * DataStoreWrite: '/Data Store Write2' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read6' + * DataStoreWrite: '/Data Store Write2' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' */ rtDW.VehicleSpeed = (uint16_t)(0.01 * (double) rtDW.CCUCAN_ESC_04_model.ESC_VehicleSpeed_ro); - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataStoreRead: '/Data Store Read7' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read7' */ rtDW.BCM_T15_Stat = rtDW.CCUCAN_BCM_VEH_STATE_model.BCM_T15_Stat; - /* DataStoreWrite: '/Data Store Write7' incorporates: - * DataStoreRead: '/Data Store Read8' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * DataStoreRead: '/Data Store Read8' */ rtDW.eCompChiller_Req = rtDW.CCUCAN_EMS_HVC_REQ_MSG_MODEL.EMS_eCompChiller_Req; - /* DataStoreWrite: '/Data Store Write8' incorporates: - * DataStoreRead: '/Data Store Read9' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read9' */ - rtDW.SeatOccupied = rtDW.CCUCAN_OCURL_MSG_model.OCURL_SeatOccupied_Stat; + rtDW.SeatOccupiedRL = rtDW.CCUCAN_OCURL_MSG_model.OCURL_SeatOccupied_Stat; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' + /* Outputs for Enabled SubSystem: '/Subsystem53' incorporates: + * EnablePort: '/Enable' */ - rtb_Compare_oj = (rtDW.TM_CP_model.CCPF_AutoButtonL_Stat > 0); - - /* If: '/If' incorporates: - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM + /* DataStoreRead: '/Data Store Read1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' */ - if ((int32_t)rtb_Compare_oj > (int32_t)rtDW.DelayInput1_DSTATE_n) { - /* Outputs for IfAction SubSystem: '/if action' incorporates: - * ActionPort: '/Action Port' + if (rtDW.BCM_T15_Stat > 0) { + /* Outputs for Enabled SubSystem: '/Subsystem' incorporates: + * EnablePort: '/Enable' */ - /* Outputs for IfAction SubSystem: '/sync front action1' incorporates: - * ActionPort: '/Action Port' - */ - /* Outputs for IfAction SubSystem: '/sync front action3' incorporates: - * ActionPort: '/Action Port' - */ - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read12' - * DataStoreWrite: '/Data Store Write13' - * DataStoreWrite: '/Data Store Write13' - */ - rtDW.CCU_MODE_FL = (uint8_t)(rtDW.CCU_MODE_FL == 0); - - /* End of Outputs for SubSystem: '/sync front action3' */ - /* End of Outputs for SubSystem: '/sync front action1' */ - /* End of Outputs for SubSystem: '/if action' */ - } - - /* End of If: '/If' */ - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' - */ - rtb_Compare_dn = (rtDW.TM_CP_model.CCPF_AutoButtonR_Stat > 0); - - /* If: '/If1' incorporates: - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - if ((int32_t)rtb_Compare_dn > (int32_t)rtDW.DelayInput1_DSTATE_my) { - /* Outputs for IfAction SubSystem: '/if action1' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/true' - */ - rtDW.changed_FR_params = 1U; - - /* Outputs for IfAction SubSystem: '/sync front action1' incorporates: - * ActionPort: '/Action Port' - */ - /* Outputs for IfAction SubSystem: '/sync front action3' incorporates: - * ActionPort: '/Action Port' - */ - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read12' - * DataStoreWrite: '/Data Store Write13' - * DataStoreWrite: '/Data Store Write13' - */ - rtDW.CCU_MODE_FR = (uint8_t)(rtDW.CCU_MODE_FR == 0); - - /* End of Outputs for SubSystem: '/sync front action3' */ - /* End of Outputs for SubSystem: '/sync front action1' */ - /* End of Outputs for SubSystem: '/if action1' */ - } - - /* End of If: '/If1' */ - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' - */ - rtb_Compare_hj = (rtDW.TM_CP_model.CCPR_AutoButtonL_Stat > 0); - - /* If: '/If2' incorporates: - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - if ((int32_t)rtb_Compare_hj > (int32_t)rtDW.DelayInput1_DSTATE_a) { - /* Outputs for IfAction SubSystem: '/if action2' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RL_params = 1U; - - /* Outputs for IfAction SubSystem: '/sync front action1' incorporates: - * ActionPort: '/Action Port' - */ - /* Outputs for IfAction SubSystem: '/sync front action3' incorporates: - * ActionPort: '/Action Port' - */ - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read12' - * DataStoreWrite: '/Data Store Write13' - * DataStoreWrite: '/Data Store Write13' - */ - rtDW.CCU_MODE_RL = (uint8_t)(rtDW.CCU_MODE_RL == 0); - - /* End of Outputs for SubSystem: '/sync front action3' */ - /* End of Outputs for SubSystem: '/sync front action1' */ - /* End of Outputs for SubSystem: '/if action2' */ - } - - /* End of If: '/If2' */ - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' - */ - rtb_Compare_kf = (rtDW.TM_CP_model.CCPR_AutoButtonR_Stat > 0); - - /* If: '/If4' incorporates: - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - if ((int32_t)rtb_Compare_kf > (int32_t)rtDW.DelayInput1_DSTATE_o) { - /* Outputs for IfAction SubSystem: '/if action4' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RR_params = 1U; - - /* Outputs for IfAction SubSystem: '/sync front action1' incorporates: - * ActionPort: '/Action Port' - */ - /* Outputs for IfAction SubSystem: '/sync front action3' incorporates: - * ActionPort: '/Action Port' - */ - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read12' - * DataStoreWrite: '/Data Store Write13' - * DataStoreWrite: '/Data Store Write13' - */ - rtDW.CCU_MODE_RR = (uint8_t)(rtDW.CCU_MODE_RR == 0); - - /* End of Outputs for SubSystem: '/sync front action3' */ - /* End of Outputs for SubSystem: '/sync front action1' */ - /* End of Outputs for SubSystem: '/if action4' */ - } - - /* End of If: '/If4' */ - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' - */ - rtb_Compare_pt = (rtDW.TM_CP_model.CCPF_TempToggleL_Stat > 0); - - /* If: '/If1' incorporates: - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - if ((int32_t)rtb_Compare_pt > (int32_t)rtDW.DelayInput1_DSTATE_od) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' - */ - /* If: '/If5' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * DataStoreRead: '/Data Store Read11' - * Saturate: '/Saturation1' - * Sum: '/Sum' - */ - if ((rtDW.TM_CP_model.CCPF_TempToggleL_Stat == 1) || - (rtDW.TM_CP_model.CCPF_TempToggleL_Stat == 3)) { - /* Outputs for IfAction SubSystem: '/temp up' incorporates: - * ActionPort: '/Action Port' + if (rtDW.FIU_CCU1_MODEL.FIU_FootTempCorFL_Req > 0) { + /* Sum: '/Plus' incorporates: + * Constant: '/Constant' + * DataStoreWrite: '/Data Store Write4' */ - /* Saturate: '/Saturation1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * Sum: '/Add' + rtDW.CCU_SET_FOOT_FL = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_FootTempCorFL_Req + - 1); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant1' */ - if ((uint16_t)(rtDW.CCU_SET_FL + 5U) > 305) { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_FL = 305U; - } else if ((uint16_t)(rtDW.CCU_SET_FL + 5U) < 155) { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_FL = 155U; - } else { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_FL = (uint16_t)(rtDW.CCU_SET_FL + 5U); + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem' */ + + /* Outputs for Enabled SubSystem: '/Subsystem1' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_CCmodeFL_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write6' + */ + rtDW.CCU_MODE_FL = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_CCmodeFL_Req > 1); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + + /* If: '/If' incorporates: + * Constant: '/Constant2' + * DataStoreWrite: '/Data Store Write6' + * RelationalOperator: '/Relational Operator1' + */ + if (rtDW.CCU_MODE_FL == 1) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_RECIRC = 2U; + + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } - /* End of Saturate: '/Saturation1' */ + /* End of If: '/If' */ + } - /* If: '/If' incorporates: - * DataStoreWrite: '/Data Store Write13' + /* End of Outputs for SubSystem: '/Subsystem1' */ + + /* Outputs for Enabled SubSystem: '/Subsystem10' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_CCmodeFR_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write10' */ - if (rtDW.CCU_SET_FL < 160) { - /* Outputs for IfAction SubSystem: '/LO mode' incorporates: - * ActionPort: '/Action Port' + rtDW.CCU_MODE_FR = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_CCmodeFR_Req > 1); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/true' + */ + rtDW.changed_FR_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem10' */ + + /* Outputs for Enabled SubSystem: '/Subsystem11' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Def_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_DEF_FL = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Def_Req + <= 1); + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_DEF_FR = rtDW.CCU_DEF_FL; + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_FR_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem11' */ + + /* Outputs for Enabled SubSystem: '/Subsystem12' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Face_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write12' + */ + rtDW.CCU_FACE_FR = (uint8_t) + (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Face_Req <= 1); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/true' + */ + rtDW.changed_FR_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem12' */ + + /* Outputs for Enabled SubSystem: '/Subsystem13' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Foot_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write13' + */ + rtDW.CCU_FOOT_FR = (uint8_t) + (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Foot_Req <= 1); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/true' + */ + rtDW.changed_FR_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem13' */ + + /* Outputs for Enabled SubSystem: '/Subsystem14' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFL_Req > 0) { + /* Switch: '/Switch5' incorporates: + * Constant: '/blower off' + * DataStoreWrite: '/Data Store Write14' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFL_Req > 7) { + rtDW.CCU_BLOWERS_FL = 0U; + } else { + rtDW.CCU_BLOWERS_FL = rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFL_Req; + } + + /* End of Switch: '/Switch5' */ + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem14' */ + + /* Outputs for Enabled SubSystem: '/Subsystem15' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFR_Req > 0) { + /* Switch: '/Switch5' incorporates: + * Constant: '/blower off' + * DataStoreWrite: '/Data Store Write15' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFR_Req > 7) { + rtDW.CCU_BLOWERS_FR = 0U; + } else { + rtDW.CCU_BLOWERS_FR = rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFR_Req; + } + + /* End of Switch: '/Switch5' */ + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/true' + */ + rtDW.changed_FR_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem15' */ + + /* Outputs for Enabled SubSystem: '/Subsystem16' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFL_Req > 0) { + /* DataStoreWrite: '/Data Store Write16' */ + rtDW.CCU_AUTOMODE_FL = rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFL_Req; + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem16' */ + + /* Outputs for Enabled SubSystem: '/Subsystem17' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFR_Req > 0) { + /* DataStoreWrite: '/Data Store Write17' */ + rtDW.CCU_AUTOMODE_FR = rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFR_Req; + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/true' + */ + rtDW.changed_FR_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem17' */ + + /* Outputs for Enabled SubSystem: '/Subsystem18' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_Recirculation_Req > 0) { + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * DataStoreWrite: '/Data Store Write19' + */ + switch (rtDW.FIU_CCU1_MODEL.FIU_Recirculation_Req) { + case 1: + rtDW.CCU_RECIRC = 1U; + break; + + case 2: + rtDW.CCU_RECIRC = 0U; + break; + + default: + rtDW.CCU_RECIRC = 2U; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant3' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem18' */ + + /* Outputs for Enabled SubSystem: '/Subsystem19' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwDL_Req > 0) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem19' */ + + /* Outputs for Enabled SubSystem: '/Subsystem20' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwDR_Req > 0) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem20' */ + + /* Outputs for Enabled SubSystem: '/Subsystem21' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_ACfrontOFF_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write22' + */ + rtDW.CCU_AC_FRONT = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_ACfrontOFF_Req <= 1); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem21' */ + + /* Outputs for Enabled SubSystem: '/Subsystem22' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwFPL_Req > 0) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem22' */ + + /* Outputs for Enabled SubSystem: '/Subsystem23' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwFPR_Req > 0) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem23' */ + + /* Outputs for Enabled SubSystem: '/Subsystem24' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_FrontZoneSync_Req > 0) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + + /* If: '/If' */ + if (rtDW.FIU_CCU1_MODEL.FIU_FrontZoneSync_Req == 1) { + /* Outputs for IfAction SubSystem: '/sync front action' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/LOW' + /* DataStoreWrite: '/Data Store Write18' incorporates: + * Constant: '/on' + */ + rtDW.enable_front_sync = 1U; + + /* End of Outputs for SubSystem: '/sync front action' */ + } else if (rtDW.FIU_CCU1_MODEL.FIU_FrontZoneSync_Req == 2) { + /* Outputs for IfAction SubSystem: '/full sync action' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.enable_full_sync = 1U; + + /* End of Outputs for SubSystem: '/full sync action' */ + } else if (rtDW.FIU_CCU1_MODEL.FIU_FrontZoneSync_Req == 3) { + /* Outputs for IfAction SubSystem: '/sync off action' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write18' incorporates: + * Constant: '/on' + */ + rtDW.disable_front_sync = 1U; + + /* End of Outputs for SubSystem: '/sync off action' */ + } + + /* End of If: '/If' */ + } + + /* End of Outputs for SubSystem: '/Subsystem24' */ + + /* Outputs for Enabled SubSystem: '/Subsystem4' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_FootTempCorFR_Req > 0) { + /* Sum: '/Plus' incorporates: + * Constant: '/Constant' + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.CCU_SET_FOOT_FR = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_FootTempCorFR_Req + - 1); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant1' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem4' */ + + /* Outputs for Enabled SubSystem: '/Subsystem5' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_TargetTempFL_Val_ro > 0) { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + */ + rtDW.CCU_SET_FL = (uint16_t)((0.5 * (double) + rtDW.FIU_CCU1_MODEL.FIU_TargetTempFL_Val_ro + 15.5) * 10.0); + + /* Saturate: '/Saturation' */ + if (rtDW.CCU_SET_FL > 305) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_FL = 305U; + } + + /* End of Saturate: '/Saturation' */ + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + + /* If: '/If' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + if (rtDW.CCU_SET_FL < 165) { + /* Outputs for IfAction SubSystem: '/LO mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/LOW' */ rtDW.LO_HI_MODE_FL = 1U; - /* End of Outputs for SubSystem: '/LO mode' */ - } else if (rtDW.CCU_SET_FL > 290) { - /* Outputs for IfAction SubSystem: '/HI mode' incorporates: - * ActionPort: '/Action Port' + /* End of Outputs for SubSystem: '/LO mode' */ + } else if (rtDW.CCU_SET_FL > 295) { + /* Outputs for IfAction SubSystem: '/HI mode' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/HI' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/HI' */ rtDW.LO_HI_MODE_FL = 2U; - /* End of Outputs for SubSystem: '/HI mode' */ + /* End of Outputs for SubSystem: '/HI mode' */ } else { - /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/not LO or HI' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/not LO or HI' */ rtDW.LO_HI_MODE_FL = 0U; - /* End of Outputs for SubSystem: '/not LO or HI' */ + /* End of Outputs for SubSystem: '/not LO or HI' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/temp up' */ - } else { - /* Outputs for IfAction SubSystem: '/temp down' incorporates: - * ActionPort: '/Action Port' - */ - if ((uint16_t)(rtDW.CCU_SET_FL - 5) > 305) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Saturate: '/Saturation1' - */ - rtDW.CCU_SET_FL = 305U; - } else if ((uint16_t)(rtDW.CCU_SET_FL - 5) < 155) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Saturate: '/Saturation1' - */ - rtDW.CCU_SET_FL = 155U; - } else { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * Saturate: '/Saturation1' - * Sum: '/Sum' - */ - rtDW.CCU_SET_FL = (uint16_t)(rtDW.CCU_SET_FL - 5); - } - - /* If: '/If' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * DataStoreWrite: '/Data Store Write13' - * Saturate: '/Saturation1' - * Sum: '/Sum' - */ - if (rtDW.CCU_SET_FL < 160) { - /* Outputs for IfAction SubSystem: '/LO mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/LOW' - */ - rtDW.LO_HI_MODE_FL = 1U; - - /* End of Outputs for SubSystem: '/LO mode' */ - } else if (rtDW.CCU_SET_FL > 290) { - /* Outputs for IfAction SubSystem: '/HI mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/HI' - */ - rtDW.LO_HI_MODE_FL = 2U; - - /* End of Outputs for SubSystem: '/HI mode' */ - } else { - /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/not LO or HI' - */ - rtDW.LO_HI_MODE_FL = 0U; - - /* End of Outputs for SubSystem: '/not LO or HI' */ - } - - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/temp down' */ + /* End of If: '/If' */ } - /* End of If: '/If5' */ - /* End of Outputs for SubSystem: '/If Action Subsystem' */ - } + /* End of Outputs for SubSystem: '/Subsystem5' */ - /* End of If: '/If1' */ - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' - */ - rtb_Compare_h2 = (rtDW.TM_CP_model.CCPF_TempToggleR_Stat > 0); - - /* If: '/If1' incorporates: - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - if ((int32_t)rtb_Compare_h2 > (int32_t)rtDW.DelayInput1_DSTATE_j) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for Enabled SubSystem: '/Subsystem6' incorporates: + * EnablePort: '/Enable' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/true' - */ - rtDW.changed_FR_params = 1U; - - /* If: '/If5' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * DataStoreRead: '/Data Store Read11' - * Saturate: '/Saturation1' - * Sum: '/Sum' - */ - if ((rtDW.TM_CP_model.CCPF_TempToggleR_Stat == 1) || - (rtDW.TM_CP_model.CCPF_TempToggleR_Stat == 3)) { - /* Outputs for IfAction SubSystem: '/temp up' incorporates: - * ActionPort: '/Action Port' + if (rtDW.FIU_CCU1_MODEL.FIU_TargetTempFR_Val_ro > 0) { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' */ - /* Saturate: '/Saturation1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * Sum: '/Add' - */ - if ((uint16_t)(rtDW.CCU_SET_FR + 5U) > 305) { - /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_FR = (uint16_t)((0.5 * (double) + rtDW.FIU_CCU1_MODEL.FIU_TargetTempFR_Val_ro + 15.5) * 10.0); + + /* Saturate: '/Saturation' */ + if (rtDW.CCU_SET_FR > 305) { + /* DataTypeConversion: '/Data Type Conversion1' */ rtDW.CCU_SET_FR = 305U; - } else if ((uint16_t)(rtDW.CCU_SET_FR + 5U) < 155) { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_FR = 155U; - } else { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_FR = (uint16_t)(rtDW.CCU_SET_FR + 5U); } - /* End of Saturate: '/Saturation1' */ + /* End of Saturate: '/Saturation' */ - /* If: '/If' incorporates: - * DataStoreWrite: '/Data Store Write13' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant' */ - if (rtDW.CCU_SET_FR < 160) { - /* Outputs for IfAction SubSystem: '/LO mode' incorporates: - * ActionPort: '/Action Port' + rtDW.CCU_AC_MAX = 0U; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/true' + */ + rtDW.changed_FR_params = 1U; + + /* If: '/If' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + if (rtDW.CCU_SET_FR < 165) { + /* Outputs for IfAction SubSystem: '/LO mode' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/LOW' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/LOW' */ rtDW.LO_HI_MODE_FR = 1U; - /* End of Outputs for SubSystem: '/LO mode' */ - } else if (rtDW.CCU_SET_FR > 290) { - /* Outputs for IfAction SubSystem: '/HI mode' incorporates: - * ActionPort: '/Action Port' + /* End of Outputs for SubSystem: '/LO mode' */ + } else if (rtDW.CCU_SET_FR > 295) { + /* Outputs for IfAction SubSystem: '/HI mode' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/HI' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/HI' */ rtDW.LO_HI_MODE_FR = 2U; - /* End of Outputs for SubSystem: '/HI mode' */ + /* End of Outputs for SubSystem: '/HI mode' */ } else { - /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/not LO or HI' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/not LO or HI' */ rtDW.LO_HI_MODE_FR = 0U; - /* End of Outputs for SubSystem: '/not LO or HI' */ + /* End of Outputs for SubSystem: '/not LO or HI' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/temp up' */ - } else { - /* Outputs for IfAction SubSystem: '/temp down' incorporates: - * ActionPort: '/Action Port' - */ - if ((uint16_t)(rtDW.CCU_SET_FR - 5) > 305) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Saturate: '/Saturation1' - */ - rtDW.CCU_SET_FR = 305U; - } else if ((uint16_t)(rtDW.CCU_SET_FR - 5) < 155) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Saturate: '/Saturation1' - */ - rtDW.CCU_SET_FR = 155U; - } else { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * Saturate: '/Saturation1' - * Sum: '/Sum' - */ - rtDW.CCU_SET_FR = (uint16_t)(rtDW.CCU_SET_FR - 5); - } - - /* If: '/If' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * DataStoreWrite: '/Data Store Write13' - * Saturate: '/Saturation1' - * Sum: '/Sum' - */ - if (rtDW.CCU_SET_FR < 160) { - /* Outputs for IfAction SubSystem: '/LO mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/LOW' - */ - rtDW.LO_HI_MODE_FR = 1U; - - /* End of Outputs for SubSystem: '/LO mode' */ - } else if (rtDW.CCU_SET_FR > 290) { - /* Outputs for IfAction SubSystem: '/HI mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/HI' - */ - rtDW.LO_HI_MODE_FR = 2U; - - /* End of Outputs for SubSystem: '/HI mode' */ - } else { - /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/not LO or HI' - */ - rtDW.LO_HI_MODE_FR = 0U; - - /* End of Outputs for SubSystem: '/not LO or HI' */ - } - - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/temp down' */ + /* End of If: '/If' */ } - /* End of If: '/If5' */ - /* End of Outputs for SubSystem: '/If Action Subsystem' */ - } + /* End of Outputs for SubSystem: '/Subsystem6' */ - /* End of If: '/If1' */ - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' - */ - rtb_Compare_au = (rtDW.TM_CP_model.CCPR_TempToggleL_Stat > 0); - - /* If: '/If1' incorporates: - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - if ((int32_t)rtb_Compare_au > (int32_t)rtDW.DelayInput1_DSTATE_f) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for Enabled SubSystem: '/Subsystem7' incorporates: + * EnablePort: '/Enable' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RL_params = 1U; - - /* If: '/If5' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read12' - * Saturate: '/Saturation1' - * Sum: '/Sum' - */ - if ((rtDW.TM_CP_model.CCPR_TempToggleL_Stat == 1) || - (rtDW.TM_CP_model.CCPR_TempToggleL_Stat == 3)) { - /* Outputs for IfAction SubSystem: '/temp up' incorporates: - * ActionPort: '/Action Port' + if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Def_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - /* Saturate: '/Saturation1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * Sum: '/Add' + rtDW.CCU_DEF_FR = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Def_Req + <= 1); + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - if ((uint16_t)(rtDW.CCU_SET_RL + 5U) > 305) { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_RL = 305U; - } else if ((uint16_t)(rtDW.CCU_SET_RL + 5U) < 155) { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_RL = 155U; + rtDW.CCU_DEF_FL = rtDW.CCU_DEF_FR; + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem7' */ + + /* Outputs for Enabled SubSystem: '/Subsystem8' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Face_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write8' + */ + rtDW.CCU_FACE_FL = (uint8_t) + (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Face_Req <= 1); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem8' */ + + /* Outputs for Enabled SubSystem: '/Subsystem9' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Foot_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write9' + */ + rtDW.CCU_FOOT_FL = (uint8_t) + (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Foot_Req <= 1); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_AC_MAX = 0U; + } + + /* End of Outputs for SubSystem: '/Subsystem9' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read11' + */ + rtb_Compare_hv = (rtDW.TM_CP_model.CCPF_AcMaxButton_Stat > 0); + + /* RelationalOperator: '/FixPt Relational Operator' incorporates: + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtb_Compare_df = ((int32_t)rtb_Compare_hv > (int32_t) + rtDW.DelayInput1_DSTATE_c); + + /* Chart: '/AC_Max_Active' incorporates: + * DataStoreRead: '/Data Store Read' + */ + if (rtDW.is_active_c782_HVAC_model == 0U) { + rtDW.is_active_c782_HVAC_model = 1U; + + /* : sf_internal_predicateOutput = AC_MAX==1; */ + if (rtDW.CCU_AC_MAX == 1) { + rtDW.is_c782_HVAC_model = IN_AC_MAX_ON; + + /* : AC_Max_Active = 1; */ + rtDW.CCU_AC_MAX = 1U; } else { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_RL = (uint16_t)(rtDW.CCU_SET_RL + 5U); + rtDW.is_c782_HVAC_model = IN_AC_MAX_OFF; + + /* : AC_Max_Active = 0; */ + rtDW.CCU_AC_MAX = 0U; + } + } else if (rtDW.is_c782_HVAC_model == IN_AC_MAX_OFF) { + rtDW.CCU_AC_MAX = 0U; + + /* : sf_internal_predicateOutput = Btn_Pulse==1; */ + if (rtb_Compare_df) { + rtDW.is_c782_HVAC_model = IN_AC_MAX_ON; + + /* : AC_Max_Active = 1; */ + rtDW.CCU_AC_MAX = 1U; + } + } else { + /* case IN_AC_MAX_ON: */ + rtDW.CCU_AC_MAX = 1U; + + /* : sf_internal_predicateOutput = Btn_Pulse==1; */ + if (rtb_Compare_df) { + rtDW.is_c782_HVAC_model = IN_AC_MAX_OFF; + + /* : AC_Max_Active = 0; */ + rtDW.CCU_AC_MAX = 0U; + } + } + + /* End of Chart: '/AC_Max_Active' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' + */ + rtb_Compare_df = (rtDW.TM_CP_model.CCPF_DefButton_Stat > 0); + + /* RelationalOperator: '/FixPt Relational Operator' incorporates: + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtb_Compare_ls = ((int32_t)rtb_Compare_df > (int32_t) + rtDW.DelayInput1_DSTATE_m); + + /* Chart: '/Defrost_Active' */ + if (rtDW.is_active_c837_HVAC_model == 0U) { + rtDW.is_active_c837_HVAC_model = 1U; + rtDW.is_c837_HVAC_model = IN_REC_OFF; + + /* DataStoreWrite: '/Data Store Write11' */ + /* : Defrost_Active = 0; */ + rtDW.CCU_Defrost = 0U; + } else if (rtDW.is_c837_HVAC_model == IN_REC_OFF) { + /* DataStoreWrite: '/Data Store Write11' */ + rtDW.CCU_Defrost = 0U; + + /* : sf_internal_predicateOutput = Btn_Pulse==1; */ + if (rtb_Compare_ls) { + rtDW.is_c837_HVAC_model = IN_REC_ON; + + /* DataStoreWrite: '/Data Store Write11' */ + /* : Defrost_Active = 1; */ + rtDW.CCU_Defrost = 1U; + } + } else { + /* DataStoreWrite: '/Data Store Write11' */ + /* case IN_REC_ON: */ + rtDW.CCU_Defrost = 1U; + + /* : sf_internal_predicateOutput = Btn_Pulse==1; */ + if (rtb_Compare_ls) { + rtDW.is_c837_HVAC_model = IN_REC_OFF; + + /* DataStoreWrite: '/Data Store Write11' */ + /* : Defrost_Active = 0; */ + rtDW.CCU_Defrost = 0U; + } + } + + /* End of Chart: '/Defrost_Active' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' + */ + rtb_Compare_ls = (rtDW.TM_CP_model.CCPF_RecButton_Stat > 0); + + /* RelationalOperator: '/FixPt Relational Operator' incorporates: + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtb_Compare_ne = ((int32_t)rtb_Compare_ls > (int32_t) + rtDW.DelayInput1_DSTATE_ic); + + /* Chart: '/Full_Rec_Active' */ + if (rtDW.is_active_c836_HVAC_model == 0U) { + rtDW.is_active_c836_HVAC_model = 1U; + rtDW.is_c836_HVAC_model = IN_REC_OFF; + + /* DataStoreWrite: '/Data Store Write9' */ + /* : Full_Rec_Active = 0; */ + rtDW.Full_Rec = 0U; + } else if (rtDW.is_c836_HVAC_model == IN_REC_OFF) { + /* DataStoreWrite: '/Data Store Write9' */ + rtDW.Full_Rec = 0U; + + /* : sf_internal_predicateOutput = Btn_Pulse==1; */ + if (rtb_Compare_ne) { + rtDW.is_c836_HVAC_model = IN_REC_ON; + + /* DataStoreWrite: '/Data Store Write9' */ + /* : Full_Rec_Active = 1; */ + rtDW.Full_Rec = 1U; + } + } else { + /* DataStoreWrite: '/Data Store Write9' */ + /* case IN_REC_ON: */ + rtDW.Full_Rec = 1U; + + /* : sf_internal_predicateOutput = Btn_Pulse==1; */ + if (rtb_Compare_ne) { + rtDW.is_c836_HVAC_model = IN_REC_OFF; + + /* DataStoreWrite: '/Data Store Write9' */ + /* : Full_Rec_Active = 0; */ + rtDW.Full_Rec = 0U; + } + } + + /* End of Chart: '/Full_Rec_Active' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' + */ + rtb_Compare_ne = (rtDW.TM_CP_model.CCPF_AutoButtonL_Stat > 0); + + /* If: '/If' incorporates: + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + if ((int32_t)rtb_Compare_ne > (int32_t)rtDW.DelayInput1_DSTATE_n) { + /* Outputs for IfAction SubSystem: '/if action' incorporates: + * ActionPort: '/Action Port' + */ + /* Outputs for IfAction SubSystem: '/sync front action1' incorporates: + * ActionPort: '/Action Port' + */ + /* Outputs for IfAction SubSystem: '/sync front action3' incorporates: + * ActionPort: '/Action Port' + */ + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read12' + * DataStoreWrite: '/Data Store Write13' + * DataStoreWrite: '/Data Store Write13' + */ + rtDW.CCU_MODE_FL = (uint8_t)(rtDW.CCU_MODE_FL == 0); + + /* End of Outputs for SubSystem: '/sync front action3' */ + /* End of Outputs for SubSystem: '/sync front action1' */ + /* End of Outputs for SubSystem: '/if action' */ + } + + /* End of If: '/If' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' + */ + rtb_Compare_kb = (rtDW.TM_CP_model.CCPF_AutoButtonR_Stat > 0); + + /* If: '/If1' incorporates: + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + if ((int32_t)rtb_Compare_kb > (int32_t)rtDW.DelayInput1_DSTATE_my) { + /* Outputs for IfAction SubSystem: '/if action1' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/true' + */ + rtDW.changed_FR_params = 1U; + + /* Outputs for IfAction SubSystem: '/sync front action1' incorporates: + * ActionPort: '/Action Port' + */ + /* Outputs for IfAction SubSystem: '/sync front action3' incorporates: + * ActionPort: '/Action Port' + */ + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read12' + * DataStoreWrite: '/Data Store Write13' + * DataStoreWrite: '/Data Store Write13' + */ + rtDW.CCU_MODE_FR = (uint8_t)(rtDW.CCU_MODE_FR == 0); + + /* End of Outputs for SubSystem: '/sync front action3' */ + /* End of Outputs for SubSystem: '/sync front action1' */ + /* End of Outputs for SubSystem: '/if action1' */ + } + + /* End of If: '/If1' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' + */ + rtb_Compare_l = (rtDW.TM_CP_model.CCPR_AutoButtonL_Stat > 0); + + /* If: '/If2' incorporates: + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + if ((int32_t)rtb_Compare_l > (int32_t)rtDW.DelayInput1_DSTATE_a) { + /* Outputs for IfAction SubSystem: '/if action2' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RL_params = 1U; + + /* Outputs for IfAction SubSystem: '/sync front action1' incorporates: + * ActionPort: '/Action Port' + */ + /* Outputs for IfAction SubSystem: '/sync front action3' incorporates: + * ActionPort: '/Action Port' + */ + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read12' + * DataStoreWrite: '/Data Store Write13' + * DataStoreWrite: '/Data Store Write13' + */ + rtDW.CCU_MODE_RL = (uint8_t)(rtDW.CCU_MODE_RL == 0); + + /* End of Outputs for SubSystem: '/sync front action3' */ + /* End of Outputs for SubSystem: '/sync front action1' */ + /* End of Outputs for SubSystem: '/if action2' */ + } + + /* End of If: '/If2' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' + */ + rtb_Compare_g1 = (rtDW.TM_CP_model.CCPR_AutoButtonR_Stat > 0); + + /* If: '/If4' incorporates: + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + if ((int32_t)rtb_Compare_g1 > (int32_t)rtDW.DelayInput1_DSTATE_o) { + /* Outputs for IfAction SubSystem: '/if action4' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RR_params = 1U; + + /* Outputs for IfAction SubSystem: '/sync front action1' incorporates: + * ActionPort: '/Action Port' + */ + /* Outputs for IfAction SubSystem: '/sync front action3' incorporates: + * ActionPort: '/Action Port' + */ + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read12' + * DataStoreWrite: '/Data Store Write13' + * DataStoreWrite: '/Data Store Write13' + */ + rtDW.CCU_MODE_RR = (uint8_t)(rtDW.CCU_MODE_RR == 0); + + /* End of Outputs for SubSystem: '/sync front action3' */ + /* End of Outputs for SubSystem: '/sync front action1' */ + /* End of Outputs for SubSystem: '/if action4' */ + } + + /* End of If: '/If4' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' + */ + rtb_Compare_il = (rtDW.TM_CP_model.CCPF_TempToggleL_Stat > 0); + + /* If: '/If1' incorporates: + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + if ((int32_t)rtb_Compare_il > (int32_t)rtDW.DelayInput1_DSTATE_od) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' + */ + /* If: '/If5' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * Saturate: '/Saturation1' + * Sum: '/Sum' + */ + if ((rtDW.TM_CP_model.CCPF_TempToggleL_Stat == 1) || + (rtDW.TM_CP_model.CCPF_TempToggleL_Stat == 3)) { + /* Outputs for IfAction SubSystem: '/temp up' incorporates: + * ActionPort: '/Action Port' + */ + /* Saturate: '/Saturation1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read12' + * Sum: '/Add' + */ + if ((uint16_t)(rtDW.CCU_SET_FL + 5U) > 305) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_FL = 305U; + } else if ((uint16_t)(rtDW.CCU_SET_FL + 5U) < 155) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_FL = 155U; + } else { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_FL = (uint16_t)(rtDW.CCU_SET_FL + 5U); + } + + /* End of Saturate: '/Saturation1' */ + + /* If: '/If' incorporates: + * DataStoreWrite: '/Data Store Write13' + */ + if (rtDW.CCU_SET_FL < 160) { + /* Outputs for IfAction SubSystem: '/LO mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/LOW' + */ + rtDW.LO_HI_MODE_FL = 1U; + + /* End of Outputs for SubSystem: '/LO mode' */ + } else if (rtDW.CCU_SET_FL > 290) { + /* Outputs for IfAction SubSystem: '/HI mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/HI' + */ + rtDW.LO_HI_MODE_FL = 2U; + + /* End of Outputs for SubSystem: '/HI mode' */ + } else { + /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/not LO or HI' + */ + rtDW.LO_HI_MODE_FL = 0U; + + /* End of Outputs for SubSystem: '/not LO or HI' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/temp up' */ + } else { + /* Outputs for IfAction SubSystem: '/temp down' incorporates: + * ActionPort: '/Action Port' + */ + if ((uint16_t)(rtDW.CCU_SET_FL - 5) > 305) { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Saturate: '/Saturation1' + */ + rtDW.CCU_SET_FL = 305U; + } else if ((uint16_t)(rtDW.CCU_SET_FL - 5) < 155) { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Saturate: '/Saturation1' + */ + rtDW.CCU_SET_FL = 155U; + } else { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read12' + * Saturate: '/Saturation1' + * Sum: '/Sum' + */ + rtDW.CCU_SET_FL = (uint16_t)(rtDW.CCU_SET_FL - 5); + } + + /* If: '/If' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read12' + * DataStoreWrite: '/Data Store Write13' + * Saturate: '/Saturation1' + * Sum: '/Sum' + */ + if (rtDW.CCU_SET_FL < 160) { + /* Outputs for IfAction SubSystem: '/LO mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/LOW' + */ + rtDW.LO_HI_MODE_FL = 1U; + + /* End of Outputs for SubSystem: '/LO mode' */ + } else if (rtDW.CCU_SET_FL > 290) { + /* Outputs for IfAction SubSystem: '/HI mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/HI' + */ + rtDW.LO_HI_MODE_FL = 2U; + + /* End of Outputs for SubSystem: '/HI mode' */ + } else { + /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/not LO or HI' + */ + rtDW.LO_HI_MODE_FL = 0U; + + /* End of Outputs for SubSystem: '/not LO or HI' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/temp down' */ } - /* End of Saturate: '/Saturation1' */ + /* End of If: '/If5' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ + } - /* If: '/If' incorporates: - * DataStoreWrite: '/Data Store Write13' + /* End of If: '/If1' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' + */ + rtb_Compare_h2 = (rtDW.TM_CP_model.CCPF_TempToggleR_Stat > 0); + + /* If: '/If1' incorporates: + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + if ((int32_t)rtb_Compare_h2 > (int32_t)rtDW.DelayInput1_DSTATE_j) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - if (rtDW.CCU_SET_RL < 160) { - /* Outputs for IfAction SubSystem: '/LO mode' incorporates: - * ActionPort: '/Action Port' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/true' + */ + rtDW.changed_FR_params = 1U; + + /* If: '/If5' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * Saturate: '/Saturation1' + * Sum: '/Sum' + */ + if ((rtDW.TM_CP_model.CCPF_TempToggleR_Stat == 1) || + (rtDW.TM_CP_model.CCPF_TempToggleR_Stat == 3)) { + /* Outputs for IfAction SubSystem: '/temp up' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/LOW' + /* Saturate: '/Saturation1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read12' + * Sum: '/Add' + */ + if ((uint16_t)(rtDW.CCU_SET_FR + 5U) > 305) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_FR = 305U; + } else if ((uint16_t)(rtDW.CCU_SET_FR + 5U) < 155) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_FR = 155U; + } else { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_FR = (uint16_t)(rtDW.CCU_SET_FR + 5U); + } + + /* End of Saturate: '/Saturation1' */ + + /* If: '/If' incorporates: + * DataStoreWrite: '/Data Store Write13' + */ + if (rtDW.CCU_SET_FR < 160) { + /* Outputs for IfAction SubSystem: '/LO mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/LOW' + */ + rtDW.LO_HI_MODE_FR = 1U; + + /* End of Outputs for SubSystem: '/LO mode' */ + } else if (rtDW.CCU_SET_FR > 290) { + /* Outputs for IfAction SubSystem: '/HI mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/HI' + */ + rtDW.LO_HI_MODE_FR = 2U; + + /* End of Outputs for SubSystem: '/HI mode' */ + } else { + /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/not LO or HI' + */ + rtDW.LO_HI_MODE_FR = 0U; + + /* End of Outputs for SubSystem: '/not LO or HI' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/temp up' */ + } else { + /* Outputs for IfAction SubSystem: '/temp down' incorporates: + * ActionPort: '/Action Port' + */ + if ((uint16_t)(rtDW.CCU_SET_FR - 5) > 305) { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Saturate: '/Saturation1' + */ + rtDW.CCU_SET_FR = 305U; + } else if ((uint16_t)(rtDW.CCU_SET_FR - 5) < 155) { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Saturate: '/Saturation1' + */ + rtDW.CCU_SET_FR = 155U; + } else { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read12' + * Saturate: '/Saturation1' + * Sum: '/Sum' + */ + rtDW.CCU_SET_FR = (uint16_t)(rtDW.CCU_SET_FR - 5); + } + + /* If: '/If' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read12' + * DataStoreWrite: '/Data Store Write13' + * Saturate: '/Saturation1' + * Sum: '/Sum' + */ + if (rtDW.CCU_SET_FR < 160) { + /* Outputs for IfAction SubSystem: '/LO mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/LOW' + */ + rtDW.LO_HI_MODE_FR = 1U; + + /* End of Outputs for SubSystem: '/LO mode' */ + } else if (rtDW.CCU_SET_FR > 290) { + /* Outputs for IfAction SubSystem: '/HI mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/HI' + */ + rtDW.LO_HI_MODE_FR = 2U; + + /* End of Outputs for SubSystem: '/HI mode' */ + } else { + /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/not LO or HI' + */ + rtDW.LO_HI_MODE_FR = 0U; + + /* End of Outputs for SubSystem: '/not LO or HI' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/temp down' */ + } + + /* End of If: '/If5' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ + } + + /* End of If: '/If1' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' + */ + rtb_Compare_au = (rtDW.TM_CP_model.CCPR_TempToggleL_Stat > 0); + + /* If: '/If1' incorporates: + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + if ((int32_t)rtb_Compare_au > (int32_t)rtDW.DelayInput1_DSTATE_f) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RL_params = 1U; + + /* If: '/If5' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * Saturate: '/Saturation1' + * Sum: '/Sum' + */ + if ((rtDW.TM_CP_model.CCPR_TempToggleL_Stat == 1) || + (rtDW.TM_CP_model.CCPR_TempToggleL_Stat == 3)) { + /* Outputs for IfAction SubSystem: '/temp up' incorporates: + * ActionPort: '/Action Port' + */ + /* Saturate: '/Saturation1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read12' + * Sum: '/Add' + */ + if ((uint16_t)(rtDW.CCU_SET_RL + 5U) > 305) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_RL = 305U; + } else if ((uint16_t)(rtDW.CCU_SET_RL + 5U) < 155) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_RL = 155U; + } else { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_RL = (uint16_t)(rtDW.CCU_SET_RL + 5U); + } + + /* End of Saturate: '/Saturation1' */ + + /* If: '/If' incorporates: + * DataStoreWrite: '/Data Store Write13' + */ + if (rtDW.CCU_SET_RL < 160) { + /* Outputs for IfAction SubSystem: '/LO mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/LOW' + */ + rtDW.LO_HI_MODE_RL = 1U; + + /* End of Outputs for SubSystem: '/LO mode' */ + } else if (rtDW.CCU_SET_RL > 290) { + /* Outputs for IfAction SubSystem: '/HI mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/HI' + */ + rtDW.LO_HI_MODE_RL = 2U; + + /* End of Outputs for SubSystem: '/HI mode' */ + } else { + /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/not LO or HI' + */ + rtDW.LO_HI_MODE_RL = 0U; + + /* End of Outputs for SubSystem: '/not LO or HI' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/temp up' */ + } else { + /* Outputs for IfAction SubSystem: '/temp down' incorporates: + * ActionPort: '/Action Port' + */ + if ((uint16_t)(rtDW.CCU_SET_RL - 5) > 305) { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Saturate: '/Saturation1' + */ + rtDW.CCU_SET_RL = 305U; + } else if ((uint16_t)(rtDW.CCU_SET_RL - 5) < 155) { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Saturate: '/Saturation1' + */ + rtDW.CCU_SET_RL = 155U; + } else { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read12' + * Saturate: '/Saturation1' + * Sum: '/Sum' + */ + rtDW.CCU_SET_RL = (uint16_t)(rtDW.CCU_SET_RL - 5); + } + + /* If: '/If' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read12' + * DataStoreWrite: '/Data Store Write13' + * Saturate: '/Saturation1' + * Sum: '/Sum' + */ + if (rtDW.CCU_SET_RL < 160) { + /* Outputs for IfAction SubSystem: '/LO mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/LOW' + */ + rtDW.LO_HI_MODE_RL = 1U; + + /* End of Outputs for SubSystem: '/LO mode' */ + } else if (rtDW.CCU_SET_RL > 290) { + /* Outputs for IfAction SubSystem: '/HI mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/HI' + */ + rtDW.LO_HI_MODE_RL = 2U; + + /* End of Outputs for SubSystem: '/HI mode' */ + } else { + /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/not LO or HI' + */ + rtDW.LO_HI_MODE_RL = 0U; + + /* End of Outputs for SubSystem: '/not LO or HI' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/temp down' */ + } + + /* End of If: '/If5' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ + } + + /* End of If: '/If1' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' + */ + rtb_Compare_iy = (rtDW.TM_CP_model.CCPR_TempToggleR_Stat > 0); + + /* If: '/If1' incorporates: + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + if ((int32_t)rtb_Compare_iy > (int32_t)rtDW.DelayInput1_DSTATE_kz) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RR_params = 1U; + + /* If: '/If5' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * Saturate: '/Saturation1' + * Sum: '/Sum' + */ + if ((rtDW.TM_CP_model.CCPR_TempToggleR_Stat == 1) || + (rtDW.TM_CP_model.CCPR_TempToggleR_Stat == 3)) { + /* Outputs for IfAction SubSystem: '/temp up' incorporates: + * ActionPort: '/Action Port' + */ + /* Saturate: '/Saturation1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read12' + * Sum: '/Add' + */ + if ((uint16_t)(rtDW.CCU_SET_RR + 5U) > 305) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_RR = 305U; + } else if ((uint16_t)(rtDW.CCU_SET_RR + 5U) < 155) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_RR = 155U; + } else { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_RR = (uint16_t)(rtDW.CCU_SET_RR + 5U); + } + + /* End of Saturate: '/Saturation1' */ + + /* If: '/If' incorporates: + * DataStoreWrite: '/Data Store Write13' + */ + if (rtDW.CCU_SET_RR < 160) { + /* Outputs for IfAction SubSystem: '/LO mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/LOW' + */ + rtDW.LO_HI_MODE_RR = 1U; + + /* End of Outputs for SubSystem: '/LO mode' */ + } else if (rtDW.CCU_SET_RR > 290) { + /* Outputs for IfAction SubSystem: '/HI mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/HI' + */ + rtDW.LO_HI_MODE_RR = 2U; + + /* End of Outputs for SubSystem: '/HI mode' */ + } else { + /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/not LO or HI' + */ + rtDW.LO_HI_MODE_RR = 0U; + + /* End of Outputs for SubSystem: '/not LO or HI' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/temp up' */ + } else { + /* Outputs for IfAction SubSystem: '/temp down' incorporates: + * ActionPort: '/Action Port' + */ + if ((uint16_t)(rtDW.CCU_SET_RR - 5) > 305) { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Saturate: '/Saturation1' + */ + rtDW.CCU_SET_RR = 305U; + } else if ((uint16_t)(rtDW.CCU_SET_RR - 5) < 155) { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Saturate: '/Saturation1' + */ + rtDW.CCU_SET_RR = 155U; + } else { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read12' + * Saturate: '/Saturation1' + * Sum: '/Sum' + */ + rtDW.CCU_SET_RR = (uint16_t)(rtDW.CCU_SET_RR - 5); + } + + /* If: '/If' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read12' + * DataStoreWrite: '/Data Store Write13' + * Saturate: '/Saturation1' + * Sum: '/Sum' + */ + if (rtDW.CCU_SET_RR < 160) { + /* Outputs for IfAction SubSystem: '/LO mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/LOW' + */ + rtDW.LO_HI_MODE_RR = 1U; + + /* End of Outputs for SubSystem: '/LO mode' */ + } else if (rtDW.CCU_SET_RR > 290) { + /* Outputs for IfAction SubSystem: '/HI mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/HI' + */ + rtDW.LO_HI_MODE_RR = 2U; + + /* End of Outputs for SubSystem: '/HI mode' */ + } else { + /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/not LO or HI' + */ + rtDW.LO_HI_MODE_RR = 0U; + + /* End of Outputs for SubSystem: '/not LO or HI' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/temp down' */ + } + + /* End of If: '/If5' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ + } + + /* End of If: '/If1' */ + + /* Outputs for Enabled SubSystem: '/Subsystem2' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU2_MODEL.FIU_TargetTempRL_Val_ro > 0) { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + */ + rtDW.CCU_SET_RL = (uint16_t)((0.5 * (double) + rtDW.FIU_CCU2_MODEL.FIU_TargetTempRL_Val_ro + 15.5) * 10.0); + + /* Saturate: '/Saturation' */ + if (rtDW.CCU_SET_RL > 305) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_RL = 305U; + } + + /* End of Saturate: '/Saturation' */ + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RL_params = 1U; + + /* If: '/If' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + if (rtDW.CCU_SET_RL < 165) { + /* Outputs for IfAction SubSystem: '/LO mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/LOW' */ rtDW.LO_HI_MODE_RL = 1U; - /* End of Outputs for SubSystem: '/LO mode' */ - } else if (rtDW.CCU_SET_RL > 290) { - /* Outputs for IfAction SubSystem: '/HI mode' incorporates: - * ActionPort: '/Action Port' + /* End of Outputs for SubSystem: '/LO mode' */ + } else if (rtDW.CCU_SET_RL > 295) { + /* Outputs for IfAction SubSystem: '/HI mode' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/HI' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/HI' */ rtDW.LO_HI_MODE_RL = 2U; - /* End of Outputs for SubSystem: '/HI mode' */ + /* End of Outputs for SubSystem: '/HI mode' */ } else { - /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/not LO or HI' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/not LO or HI' */ rtDW.LO_HI_MODE_RL = 0U; - /* End of Outputs for SubSystem: '/not LO or HI' */ + /* End of Outputs for SubSystem: '/not LO or HI' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/temp up' */ - } else { - /* Outputs for IfAction SubSystem: '/temp down' incorporates: - * ActionPort: '/Action Port' - */ - if ((uint16_t)(rtDW.CCU_SET_RL - 5) > 305) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Saturate: '/Saturation1' - */ - rtDW.CCU_SET_RL = 305U; - } else if ((uint16_t)(rtDW.CCU_SET_RL - 5) < 155) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Saturate: '/Saturation1' - */ - rtDW.CCU_SET_RL = 155U; - } else { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * Saturate: '/Saturation1' - * Sum: '/Sum' - */ - rtDW.CCU_SET_RL = (uint16_t)(rtDW.CCU_SET_RL - 5); - } - - /* If: '/If' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * DataStoreWrite: '/Data Store Write13' - * Saturate: '/Saturation1' - * Sum: '/Sum' - */ - if (rtDW.CCU_SET_RL < 160) { - /* Outputs for IfAction SubSystem: '/LO mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/LOW' - */ - rtDW.LO_HI_MODE_RL = 1U; - - /* End of Outputs for SubSystem: '/LO mode' */ - } else if (rtDW.CCU_SET_RL > 290) { - /* Outputs for IfAction SubSystem: '/HI mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/HI' - */ - rtDW.LO_HI_MODE_RL = 2U; - - /* End of Outputs for SubSystem: '/HI mode' */ - } else { - /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/not LO or HI' - */ - rtDW.LO_HI_MODE_RL = 0U; - - /* End of Outputs for SubSystem: '/not LO or HI' */ - } - - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/temp down' */ + /* End of If: '/If' */ } - /* End of If: '/If5' */ - /* End of Outputs for SubSystem: '/If Action Subsystem' */ - } + /* End of Outputs for SubSystem: '/Subsystem2' */ - /* End of If: '/If1' */ - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' - */ - rtb_Compare_iy = (rtDW.TM_CP_model.CCPR_TempToggleR_Stat > 0); - - /* If: '/If1' incorporates: - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - if ((int32_t)rtb_Compare_iy > (int32_t)rtDW.DelayInput1_DSTATE_k) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for Enabled SubSystem: '/Subsystem25' incorporates: + * EnablePort: '/Enable' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RR_params = 1U; - - /* If: '/If5' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read12' - * Saturate: '/Saturation1' - * Sum: '/Sum' - */ - if ((rtDW.TM_CP_model.CCPR_TempToggleR_Stat == 1) || - (rtDW.TM_CP_model.CCPR_TempToggleR_Stat == 3)) { - /* Outputs for IfAction SubSystem: '/temp up' incorporates: - * ActionPort: '/Action Port' + if (rtDW.FIU_CCU2_MODEL.FIU_FootTempCorRL_Req > 0) { + /* Sum: '/Plus' incorporates: + * Constant: '/Constant' + * DataStoreWrite: '/Data Store Write1' */ - /* Saturate: '/Saturation1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * Sum: '/Add' + rtDW.CCU_SET_FOOT_FR = (uint8_t)(rtDW.FIU_CCU2_MODEL.FIU_FootTempCorRL_Req + - 1); + } + + /* End of Outputs for SubSystem: '/Subsystem25' */ + + /* Outputs for Enabled SubSystem: '/Subsystem26' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU2_MODEL.FIU_FootTempCorRR_Req > 0) { + /* Sum: '/Plus' incorporates: + * Constant: '/Constant' + * DataStoreWrite: '/Data Store Write1' */ - if ((uint16_t)(rtDW.CCU_SET_RR + 5U) > 305) { - /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_FOOT_RR = (uint8_t)(rtDW.FIU_CCU2_MODEL.FIU_FootTempCorRR_Req + - 1); + } + + /* End of Outputs for SubSystem: '/Subsystem26' */ + + /* Outputs for Enabled SubSystem: '/Subsystem27' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU2_MODEL.FIU_CCmodeRL_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_MODE_RL = (uint8_t)(rtDW.FIU_CCU2_MODEL.FIU_CCmodeRL_Req > 1); + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RL_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem27' */ + + /* Outputs for Enabled SubSystem: '/Subsystem28' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Def_Req > 0) { + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RL_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem28' */ + + /* Outputs for Enabled SubSystem: '/Subsystem29' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Face_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_FACE_RL = (uint8_t) + (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Face_Req <= 1); + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RL_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem29' */ + + /* Outputs for Enabled SubSystem: '/Subsystem3' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU2_MODEL.FIU_TargetTempRR_Val_ro > 0) { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + */ + rtDW.CCU_SET_RR = (uint16_t)((0.5 * (double) + rtDW.FIU_CCU2_MODEL.FIU_TargetTempRR_Val_ro + 15.5) * 10.0); + + /* Saturate: '/Saturation' */ + if (rtDW.CCU_SET_RR > 305) { + /* DataTypeConversion: '/Data Type Conversion1' */ rtDW.CCU_SET_RR = 305U; - } else if ((uint16_t)(rtDW.CCU_SET_RR + 5U) < 155) { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_RR = 155U; - } else { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_RR = (uint16_t)(rtDW.CCU_SET_RR + 5U); } - /* End of Saturate: '/Saturation1' */ + /* End of Saturate: '/Saturation' */ - /* If: '/If' incorporates: - * DataStoreWrite: '/Data Store Write13' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' */ - if (rtDW.CCU_SET_RR < 160) { - /* Outputs for IfAction SubSystem: '/LO mode' incorporates: - * ActionPort: '/Action Port' + rtDW.changed_RR_params = 1U; + + /* If: '/If' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + if (rtDW.CCU_SET_RR < 165) { + /* Outputs for IfAction SubSystem: '/LO mode' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/LOW' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/LOW' */ rtDW.LO_HI_MODE_RR = 1U; - /* End of Outputs for SubSystem: '/LO mode' */ - } else if (rtDW.CCU_SET_RR > 290) { - /* Outputs for IfAction SubSystem: '/HI mode' incorporates: - * ActionPort: '/Action Port' + /* End of Outputs for SubSystem: '/LO mode' */ + } else if (rtDW.CCU_SET_RR > 295) { + /* Outputs for IfAction SubSystem: '/HI mode' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/HI' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/HI' */ rtDW.LO_HI_MODE_RR = 2U; - /* End of Outputs for SubSystem: '/HI mode' */ + /* End of Outputs for SubSystem: '/HI mode' */ } else { - /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/not LO or HI' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/not LO or HI' */ rtDW.LO_HI_MODE_RR = 0U; - /* End of Outputs for SubSystem: '/not LO or HI' */ + /* End of Outputs for SubSystem: '/not LO or HI' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/temp up' */ - } else { - /* Outputs for IfAction SubSystem: '/temp down' incorporates: - * ActionPort: '/Action Port' + /* End of If: '/If' */ + } + + /* End of Outputs for SubSystem: '/Subsystem3' */ + + /* Outputs for Enabled SubSystem: '/Subsystem30' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Foot_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - if ((uint16_t)(rtDW.CCU_SET_RR - 5) > 305) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Saturate: '/Saturation1' - */ - rtDW.CCU_SET_RR = 305U; - } else if ((uint16_t)(rtDW.CCU_SET_RR - 5) < 155) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Saturate: '/Saturation1' - */ - rtDW.CCU_SET_RR = 155U; + rtDW.CCU_FOOT_RL = (uint8_t) + (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Foot_Req <= 1); + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RL_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem30' */ + + /* Outputs for Enabled SubSystem: '/Subsystem31' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU2_MODEL.FIU_CCmodeRR_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_MODE_RR = (uint8_t)(rtDW.FIU_CCU2_MODEL.FIU_CCmodeRR_Req > 1); + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RR_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem31' */ + + /* Outputs for Enabled SubSystem: '/Subsystem32' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Def_Req > 0) { + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RR_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem32' */ + + /* Outputs for Enabled SubSystem: '/Subsystem33' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Face_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_FACE_RR = (uint8_t) + (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Face_Req <= 1); + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RR_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem33' */ + + /* Outputs for Enabled SubSystem: '/Subsystem34' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Foot_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_FOOT_RR = (uint8_t) + (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Foot_Req <= 1); + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RR_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem34' */ + + /* Outputs for Enabled SubSystem: '/Subsystem35' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRL_Req > 0) { + /* Switch: '/Switch5' incorporates: + * Constant: '/blower off' + * DataStoreWrite: '/Data Store Write1' + */ + if (rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRL_Req > 7) { + rtDW.CCU_BLOWERS_RL = 0U; } else { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * Saturate: '/Saturation1' - * Sum: '/Sum' - */ - rtDW.CCU_SET_RR = (uint16_t)(rtDW.CCU_SET_RR - 5); + rtDW.CCU_BLOWERS_RL = rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRL_Req; } - /* If: '/If' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * DataStoreWrite: '/Data Store Write13' - * Saturate: '/Saturation1' - * Sum: '/Sum' + /* End of Switch: '/Switch5' */ + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' */ - if (rtDW.CCU_SET_RR < 160) { - /* Outputs for IfAction SubSystem: '/LO mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/LOW' - */ - rtDW.LO_HI_MODE_RR = 1U; + rtDW.changed_RL_params = 1U; + } - /* End of Outputs for SubSystem: '/LO mode' */ - } else if (rtDW.CCU_SET_RR > 290) { - /* Outputs for IfAction SubSystem: '/HI mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/HI' - */ - rtDW.LO_HI_MODE_RR = 2U; + /* End of Outputs for SubSystem: '/Subsystem35' */ - /* End of Outputs for SubSystem: '/HI mode' */ + /* Outputs for Enabled SubSystem: '/Subsystem36' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRR_Req > 0) { + /* Switch: '/Switch5' incorporates: + * Constant: '/blower off' + * DataStoreWrite: '/Data Store Write1' + */ + if (rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRR_Req > 7) { + rtDW.CCU_BLOWERS_RR = 0U; } else { - /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/not LO or HI' - */ - rtDW.LO_HI_MODE_RR = 0U; - - /* End of Outputs for SubSystem: '/not LO or HI' */ + rtDW.CCU_BLOWERS_RR = rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRR_Req; } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/temp down' */ + /* End of Switch: '/Switch5' */ + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RR_params = 1U; } - /* End of If: '/If5' */ - /* End of Outputs for SubSystem: '/If Action Subsystem' */ - } + /* End of Outputs for SubSystem: '/Subsystem36' */ - /* End of If: '/If1' */ - - /* Outputs for Enabled SubSystem: '/Subsystem' incorporates: - * EnablePort: '/Enable' - */ - /* DataStoreRead: '/Data Store Read1' */ - if (rtDW.FIU_CCU1_MODEL.FIU_FootTempCorFL_Req > 0) { - /* Sum: '/Plus' incorporates: - * Constant: '/Constant' - * DataStoreWrite: '/Data Store Write4' + /* Outputs for Enabled SubSystem: '/Subsystem37' incorporates: + * EnablePort: '/Enable' */ - rtDW.CCU_SET_FOOT_FL = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_FootTempCorFL_Req - - 1); - } - - /* End of Outputs for SubSystem: '/Subsystem' */ - - /* Outputs for Enabled SubSystem: '/Subsystem1' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_CCmodeFL_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write6' - */ - rtDW.CCU_MODE_FL = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_CCmodeFL_Req > 1); - - /* If: '/If' incorporates: - * Constant: '/Constant2' - * DataStoreWrite: '/Data Store Write6' - * RelationalOperator: '/Relational Operator1' - */ - if (rtDW.CCU_MODE_FL == 1) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.CCU_RECIRC = 2U; - - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + if (rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRL_Req > 0) { + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.CCU_AUTOMODE_RL = rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRL_Req; } - /* End of If: '/If' */ - } + /* End of Outputs for SubSystem: '/Subsystem37' */ - /* End of Outputs for SubSystem: '/Subsystem1' */ - - /* Outputs for Enabled SubSystem: '/Subsystem10' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_CCmodeFR_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write10' + /* Outputs for Enabled SubSystem: '/Subsystem38' incorporates: + * EnablePort: '/Enable' */ - rtDW.CCU_MODE_FR = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_CCmodeFR_Req > 1); + if (rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRR_Req > 0) { + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.CCU_AUTOMODE_RR = rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRR_Req; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/true' - */ - rtDW.changed_FR_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem10' */ - - /* Outputs for Enabled SubSystem: '/Subsystem11' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Def_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_DEF_FL = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Def_Req <= - 1); - - /* DataStoreWrite: '/Data Store Write11' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_DEF_FR = rtDW.CCU_DEF_FL; - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_FR_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem11' */ - - /* Outputs for Enabled SubSystem: '/Subsystem12' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Face_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write12' - */ - rtDW.CCU_FACE_FR = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Face_Req - <= 1); - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/true' - */ - rtDW.changed_FR_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem12' */ - - /* Outputs for Enabled SubSystem: '/Subsystem13' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Foot_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write13' - */ - rtDW.CCU_FOOT_FR = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Foot_Req - <= 1); - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/true' - */ - rtDW.changed_FR_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem13' */ - - /* Outputs for Enabled SubSystem: '/Subsystem14' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFL_Req > 0) { - /* Switch: '/Switch5' incorporates: - * Constant: '/blower off' - * DataStoreWrite: '/Data Store Write14' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFL_Req > 7) { - rtDW.CCU_BLOWERS_FL = 0U; - } else { - rtDW.CCU_BLOWERS_FL = rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFL_Req; + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RR_params = 1U; } - /* End of Switch: '/Switch5' */ - } + /* End of Outputs for SubSystem: '/Subsystem38' */ - /* End of Outputs for SubSystem: '/Subsystem14' */ - - /* Outputs for Enabled SubSystem: '/Subsystem15' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFR_Req > 0) { - /* Switch: '/Switch5' incorporates: - * Constant: '/blower off' - * DataStoreWrite: '/Data Store Write15' + /* Outputs for Enabled SubSystem: '/Subsystem41' incorporates: + * EnablePort: '/Enable' */ - if (rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFR_Req > 7) { - rtDW.CCU_BLOWERS_FR = 0U; - } else { - rtDW.CCU_BLOWERS_FR = rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFR_Req; + if (rtDW.FIU_CCU2_MODEL.FIU_ACrearOFF_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_AC_REAR = (uint8_t)(rtDW.FIU_CCU2_MODEL.FIU_ACrearOFF_Req <= 1); + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RL_params = 1U; } - /* End of Switch: '/Switch5' */ + /* End of Outputs for SubSystem: '/Subsystem41' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/true' + /* Outputs for Enabled SubSystem: '/Subsystem44' incorporates: + * EnablePort: '/Enable' */ - rtDW.changed_FR_params = 1U; - } + if (rtDW.FIU_CCU2_MODEL.FIU_RearZoneSync_Req > 0) { + /* If: '/If' */ + if (rtDW.FIU_CCU2_MODEL.FIU_RearZoneSync_Req == 1) { + /* Outputs for IfAction SubSystem: '/sync rear action' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write18' incorporates: + * Constant: '/on' + */ + rtDW.enable_rear_sync = 1U; - /* End of Outputs for SubSystem: '/Subsystem15' */ + /* MATLAB Function: '/logger' */ + /* : fprintf('Logger CAN INPUT -> sync rear ON') */ + printf("Logger CAN INPUT -> sync rear ON"); + fflush(stdout); - /* Outputs for Enabled SubSystem: '/Subsystem16' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFL_Req > 0) { - /* DataStoreWrite: '/Data Store Write16' */ - rtDW.CCU_AUTOMODE_FL = rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFL_Req; - } + /* End of Outputs for SubSystem: '/sync rear action' */ + } else if (rtDW.FIU_CCU2_MODEL.FIU_RearZoneSync_Req == 2) { + /* Outputs for IfAction SubSystem: '/sync off rear action' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write18' incorporates: + * Constant: '/on' + */ + rtDW.disable_rear_sync = 1U; - /* End of Outputs for SubSystem: '/Subsystem16' */ + /* MATLAB Function: '/logger' */ + /* : fprintf('Logger CAN INPUT -> sync rear OFF') */ + printf("Logger CAN INPUT -> sync rear OFF"); + fflush(stdout); - /* Outputs for Enabled SubSystem: '/Subsystem17' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFR_Req > 0) { - /* DataStoreWrite: '/Data Store Write17' */ - rtDW.CCU_AUTOMODE_FR = rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFR_Req; + /* End of Outputs for SubSystem: '/sync off rear action' */ + } - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/true' - */ - rtDW.changed_FR_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem17' */ - - /* Outputs for Enabled SubSystem: '/Subsystem18' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_Recirculation_Req > 0) { - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * DataStoreWrite: '/Data Store Write19' - */ - switch (rtDW.FIU_CCU1_MODEL.FIU_Recirculation_Req) { - case 1: - rtDW.CCU_RECIRC = 1U; - break; - - case 2: - rtDW.CCU_RECIRC = 0U; - break; - - default: - rtDW.CCU_RECIRC = 2U; - break; + /* End of If: '/If' */ } - /* End of MultiPortSwitch: '/Multiport Switch' */ - } + /* End of Outputs for SubSystem: '/Subsystem44' */ - /* End of Outputs for SubSystem: '/Subsystem18' */ - - /* Outputs for Enabled SubSystem: '/Subsystem21' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_ACfrontOFF_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write22' + /* Outputs for Enabled SubSystem: '/Subsystem52' incorporates: + * EnablePort: '/Enable' */ - rtDW.CCU_AC_FRONT = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_ACfrontOFF_Req <= 1); - } - - /* End of Outputs for SubSystem: '/Subsystem21' */ - - /* Outputs for Enabled SubSystem: '/Subsystem24' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_FrontZoneSync_Req > 0) { - /* If: '/If' */ - if (rtDW.FIU_CCU1_MODEL.FIU_FrontZoneSync_Req == 1) { - /* Outputs for IfAction SubSystem: '/sync front action' incorporates: - * ActionPort: '/Action Port' + if (rtDW.FIU_CCU3_MODEL.FIU_Ionization_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - /* DataStoreWrite: '/Data Store Write18' incorporates: - * Constant: '/on' - */ - rtDW.enable_front_sync = 1U; - - /* End of Outputs for SubSystem: '/sync front action' */ - } else if (rtDW.FIU_CCU1_MODEL.FIU_FrontZoneSync_Req == 2) { - /* Outputs for IfAction SubSystem: '/full sync action' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.enable_full_sync = 1U; - - /* End of Outputs for SubSystem: '/full sync action' */ - } else if (rtDW.FIU_CCU1_MODEL.FIU_FrontZoneSync_Req == 3) { - /* Outputs for IfAction SubSystem: '/sync off action' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write18' incorporates: - * Constant: '/on' - */ - rtDW.disable_front_sync = 1U; - - /* End of Outputs for SubSystem: '/sync off action' */ + rtDW.CCU_Ionization = (uint8_t)(rtDW.FIU_CCU3_MODEL.FIU_Ionization_Req <= + 1); } - /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/Subsystem52' */ + + /* Update for UnitDelay: '/Delay Input1' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_c = rtb_Compare_hv; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_m = rtb_Compare_df; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_ic = rtb_Compare_ls; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_n = rtb_Compare_ne; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_my = rtb_Compare_kb; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_a = rtb_Compare_l; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_o = rtb_Compare_g1; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_od = rtb_Compare_il; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_j = rtb_Compare_h2; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_f = rtb_Compare_au; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_kz = rtb_Compare_iy; } - /* End of Outputs for SubSystem: '/Subsystem24' */ + /* End of DataStoreRead: '/Data Store Read1' */ + /* End of Outputs for SubSystem: '/Subsystem53' */ - /* Outputs for Enabled SubSystem: '/Subsystem4' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Sleep_mode' incorporates: + * EnablePort: '/Enable' */ - if (rtDW.FIU_CCU1_MODEL.FIU_FootTempCorFR_Req > 0) { - /* Sum: '/Plus' incorporates: - * Constant: '/Constant' - * DataStoreWrite: '/Data Store Write5' + /* DataStoreRead: '/Data Store Read13' */ + if (rtDW.sleep_model > 0) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read' */ - rtDW.CCU_SET_FOOT_FR = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_FootTempCorFR_Req - - 1); - } + rtDW.CCU_MODE_FL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_ModeFL_Stat; - /* End of Outputs for SubSystem: '/Subsystem4' */ - - /* Outputs for Enabled SubSystem: '/Subsystem5' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_TargetTempFL_Val_ro > 0) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Bias: '/Bias' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read' */ - rtDW.CCU_SET_FL = (uint16_t)((0.5 * (double) - rtDW.FIU_CCU1_MODEL.FIU_TargetTempFL_Val_ro + 15.5) * 10.0); + rtDW.CCU_MODE_FR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_ModeFR_Stat; - /* Saturate: '/Saturation' */ - if (rtDW.CCU_SET_FL > 305) { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_FL = 305U; - } - - /* End of Saturate: '/Saturation' */ - - /* If: '/If' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* DataStoreWrite: '/Data Store Write10' incorporates: + * DataStoreRead: '/Data Store Read' */ - if (rtDW.CCU_SET_FL < 165) { - /* Outputs for IfAction SubSystem: '/LO mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/LOW' - */ - rtDW.LO_HI_MODE_FL = 1U; + rtDW.CCU_FACE_RR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionRR_Face_Stat; - /* End of Outputs for SubSystem: '/LO mode' */ - } else if (rtDW.CCU_SET_FL > 295) { - /* Outputs for IfAction SubSystem: '/HI mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/HI' - */ - rtDW.LO_HI_MODE_FL = 2U; - - /* End of Outputs for SubSystem: '/HI mode' */ - } else { - /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/not LO or HI' - */ - rtDW.LO_HI_MODE_FL = 0U; - - /* End of Outputs for SubSystem: '/not LO or HI' */ - } - - /* End of If: '/If' */ - } - - /* End of Outputs for SubSystem: '/Subsystem5' */ - - /* Outputs for Enabled SubSystem: '/Subsystem6' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_TargetTempFR_Val_ro > 0) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Bias: '/Bias' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreRead: '/Data Store Read' */ - rtDW.CCU_SET_FR = (uint16_t)((0.5 * (double) - rtDW.FIU_CCU1_MODEL.FIU_TargetTempFR_Val_ro + 15.5) * 10.0); + rtDW.CCU_FOOT_RR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionRR_Foot_Stat; - /* Saturate: '/Saturation' */ - if (rtDW.CCU_SET_FR > 305) { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_FR = 305U; - } - - /* End of Saturate: '/Saturation' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/true' + /* DataStoreWrite: '/Data Store Write12' incorporates: + * DataStoreRead: '/Data Store Read' */ - rtDW.changed_FR_params = 1U; + rtDW.CCU_DEF_FL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionFL_Def_Stat; - /* If: '/If' incorporates: - * DataStoreWrite: '/Data Store Write' + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreRead: '/Data Store Read' */ - if (rtDW.CCU_SET_FR < 165) { - /* Outputs for IfAction SubSystem: '/LO mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/LOW' - */ - rtDW.LO_HI_MODE_FR = 1U; + rtDW.CCU_FACE_FL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionFL_Face_Stat; - /* End of Outputs for SubSystem: '/LO mode' */ - } else if (rtDW.CCU_SET_FR > 295) { - /* Outputs for IfAction SubSystem: '/HI mode' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/HI' - */ - rtDW.LO_HI_MODE_FR = 2U; - - /* End of Outputs for SubSystem: '/HI mode' */ - } else { - /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/not LO or HI' - */ - rtDW.LO_HI_MODE_FR = 0U; - - /* End of Outputs for SubSystem: '/not LO or HI' */ - } - - /* End of If: '/If' */ - } - - /* End of Outputs for SubSystem: '/Subsystem6' */ - - /* Outputs for Enabled SubSystem: '/Subsystem7' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Def_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* DataStoreWrite: '/Data Store Write14' incorporates: + * DataStoreRead: '/Data Store Read' */ - rtDW.CCU_DEF_FR = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Def_Req <= - 1); + rtDW.CCU_FOOT_FL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionFL_Foot_Stat; - /* DataStoreWrite: '/Data Store Write7' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* DataStoreWrite: '/Data Store Write15' incorporates: + * DataStoreRead: '/Data Store Read' */ - rtDW.CCU_DEF_FL = rtDW.CCU_DEF_FR; - } + rtDW.CCU_DEF_FR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionFR_Def_Stat; - /* End of Outputs for SubSystem: '/Subsystem7' */ - - /* Outputs for Enabled SubSystem: '/Subsystem8' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Face_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write8' + /* DataStoreWrite: '/Data Store Write16' incorporates: + * DataStoreRead: '/Data Store Read' */ - rtDW.CCU_FACE_FL = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Face_Req - <= 1); - } + rtDW.CCU_FACE_FR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionFR_Face_Stat; - /* End of Outputs for SubSystem: '/Subsystem8' */ - - /* Outputs for Enabled SubSystem: '/Subsystem9' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Foot_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write9' + /* DataStoreWrite: '/Data Store Write17' incorporates: + * DataStoreRead: '/Data Store Read' */ - rtDW.CCU_FOOT_FL = (uint8_t)(rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Foot_Req - <= 1); - } + rtDW.CCU_FOOT_FR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionFR_Foot_Stat; - /* End of DataStoreRead: '/Data Store Read1' */ - /* End of Outputs for SubSystem: '/Subsystem9' */ + /* DataStoreWrite: '/Data Store Write18' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_RECIRC = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_Recirculation_Stat; - /* Outputs for Enabled SubSystem: '/Subsystem2' incorporates: - * EnablePort: '/Enable' - */ - /* DataStoreRead: '/Data Store Read2' */ - if (rtDW.FIU_CCU2_MODEL.FIU_TargetTempRL_Val_ro > 0) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Bias: '/Bias' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' + /* DataStoreWrite: '/Data Store Write19' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_BLOWERS_FL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_BlowerSpeedFL_Stat; + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_MODE_RL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_ModeRL_Stat; + + /* DataStoreWrite: '/Data Store Write21' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_BLOWERS_FR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_BlowerSpeedFR_Stat; + + /* DataStoreWrite: '/Data Store Write23' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_BLOWERS_RL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_BlowerSpeedRL_Stat; + + /* DataStoreWrite: '/Data Store Write25' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_BLOWERS_RR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_BlowerSpeedRR_Stat; + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_MODE_RR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_ModeRR_Stat; + + /* DataStoreWrite: '/Data Store Write4' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_AUTOMODE_FL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AutoModeFL_Stat; + + /* DataStoreWrite: '/Data Store Write5' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_AUTOMODE_FR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AutoModeFR_Stat; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_FACE_RL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionRL_Face_Stat; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_FOOT_RL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionRL_Foot_Stat; + + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_AUTOMODE_RL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AutoModeRL_Stat; + + /* DataStoreWrite: '/Data Store Write9' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_AUTOMODE_RR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AutoModeRR_Stat; + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Bias: '/Bias' + * DataStoreRead: '/Data Store Read' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Gain: '/Gain' + * Gain: '/Gain1' */ rtDW.CCU_SET_RL = (uint16_t)((0.5 * (double) - rtDW.FIU_CCU2_MODEL.FIU_TargetTempRL_Val_ro + 15.5) * 10.0); + rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_TargetTempRL_Stat_ro + 15.5) * 10.0); - /* Saturate: '/Saturation' */ + /* Saturate: '/Saturation' */ if (rtDW.CCU_SET_RL > 305) { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ rtDW.CCU_SET_RL = 305U; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RL_params = 1U; - - /* If: '/If' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* If: '/If' incorporates: + * DataStoreWrite: '/Data Store Write1' */ if (rtDW.CCU_SET_RL < 165) { - /* Outputs for IfAction SubSystem: '/LO mode' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/LO mode' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/LOW' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/LOW' */ rtDW.LO_HI_MODE_RL = 1U; - /* End of Outputs for SubSystem: '/LO mode' */ + /* End of Outputs for SubSystem: '/LO mode' */ } else if (rtDW.CCU_SET_RL > 295) { - /* Outputs for IfAction SubSystem: '/HI mode' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/HI mode' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/HI' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/HI' */ rtDW.LO_HI_MODE_RL = 2U; - /* End of Outputs for SubSystem: '/HI mode' */ + /* End of Outputs for SubSystem: '/HI mode' */ } else { - /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/not LO or HI' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/not LO or HI' */ rtDW.LO_HI_MODE_RL = 0U; - /* End of Outputs for SubSystem: '/not LO or HI' */ + /* End of Outputs for SubSystem: '/not LO or HI' */ } - /* End of If: '/If' */ - } + /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/Subsystem2' */ - - /* Outputs for Enabled SubSystem: '/Subsystem25' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_FootTempCorRL_Req > 0) { - /* Sum: '/Plus' incorporates: - * Constant: '/Constant' - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_SET_FOOT_FR = (uint8_t)(rtDW.FIU_CCU2_MODEL.FIU_FootTempCorRL_Req - - 1); - } - - /* End of Outputs for SubSystem: '/Subsystem25' */ - - /* Outputs for Enabled SubSystem: '/Subsystem27' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_CCmodeRL_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_MODE_RL = (uint8_t)(rtDW.FIU_CCU2_MODEL.FIU_CCmodeRL_Req > 1); - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RL_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem27' */ - - /* Outputs for Enabled SubSystem: '/Subsystem28' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Def_Req > 0) { - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RL_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem28' */ - - /* Outputs for Enabled SubSystem: '/Subsystem29' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Face_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_FACE_RL = (uint8_t)(rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Face_Req - <= 1); - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RL_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem29' */ - - /* Outputs for Enabled SubSystem: '/Subsystem3' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_TargetTempRR_Val_ro > 0) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Bias: '/Bias' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Bias: '/Bias' + * DataStoreRead: '/Data Store Read' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Gain: '/Gain' + * Gain: '/Gain1' */ rtDW.CCU_SET_RR = (uint16_t)((0.5 * (double) - rtDW.FIU_CCU2_MODEL.FIU_TargetTempRR_Val_ro + 15.5) * 10.0); + rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_TargetTempRR_Stat_ro + 15.5) * 10.0); - /* Saturate: '/Saturation' */ + /* Saturate: '/Saturation' */ if (rtDW.CCU_SET_RR > 305) { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ rtDW.CCU_SET_RR = 305U; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RR_params = 1U; - - /* If: '/If' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* If: '/If' incorporates: + * DataStoreWrite: '/Data Store Write1' */ if (rtDW.CCU_SET_RR < 165) { - /* Outputs for IfAction SubSystem: '/LO mode' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/LO mode' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/LOW' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/LOW' */ rtDW.LO_HI_MODE_RR = 1U; - /* End of Outputs for SubSystem: '/LO mode' */ + /* End of Outputs for SubSystem: '/LO mode' */ } else if (rtDW.CCU_SET_RR > 295) { - /* Outputs for IfAction SubSystem: '/HI mode' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/HI mode' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/HI' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/HI' */ rtDW.LO_HI_MODE_RR = 2U; - /* End of Outputs for SubSystem: '/HI mode' */ + /* End of Outputs for SubSystem: '/HI mode' */ } else { - /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/not LO or HI' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/not LO or HI' */ rtDW.LO_HI_MODE_RR = 0U; - /* End of Outputs for SubSystem: '/not LO or HI' */ + /* End of Outputs for SubSystem: '/not LO or HI' */ } - /* End of If: '/If' */ - } + /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/Subsystem3' */ - - /* Outputs for Enabled SubSystem: '/Subsystem30' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Foot_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Bias: '/Bias' + * DataStoreRead: '/Data Store Read' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Gain: '/Gain' + * Gain: '/Gain1' */ - rtDW.CCU_FOOT_RL = (uint8_t)(rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Foot_Req - <= 1); + rtDW.CCU_SET_FL = (uint16_t)((0.5 * (double) + rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_TargetTempFL_Stat_ro + 15.5) * 10.0); - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' + /* Saturate: '/Saturation' */ + if (rtDW.CCU_SET_FL > 305) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_FL = 305U; + } + + /* End of Saturate: '/Saturation' */ + + /* If: '/If' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.changed_RL_params = 1U; - } + if (rtDW.CCU_SET_FL < 165) { + /* Outputs for IfAction SubSystem: '/LO mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/LOW' + */ + rtDW.LO_HI_MODE_FL = 1U; - /* End of Outputs for SubSystem: '/Subsystem30' */ + /* End of Outputs for SubSystem: '/LO mode' */ + } else if (rtDW.CCU_SET_FL > 295) { + /* Outputs for IfAction SubSystem: '/HI mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/HI' + */ + rtDW.LO_HI_MODE_FL = 2U; - /* Outputs for Enabled SubSystem: '/Subsystem31' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_CCmodeRR_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_MODE_RR = (uint8_t)(rtDW.FIU_CCU2_MODEL.FIU_CCmodeRR_Req > 1); - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RR_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem31' */ - - /* Outputs for Enabled SubSystem: '/Subsystem32' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Def_Req > 0) { - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RR_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem32' */ - - /* Outputs for Enabled SubSystem: '/Subsystem33' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Face_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_FACE_RR = (uint8_t)(rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Face_Req - <= 1); - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RR_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem33' */ - - /* Outputs for Enabled SubSystem: '/Subsystem34' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Foot_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_FOOT_RR = (uint8_t)(rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Foot_Req - <= 1); - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RR_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem34' */ - - /* Outputs for Enabled SubSystem: '/Subsystem35' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRL_Req > 0) { - /* Switch: '/Switch5' incorporates: - * Constant: '/blower off' - * DataStoreWrite: '/Data Store Write1' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRL_Req > 7) { - rtDW.CCU_BLOWERS_RL = 0U; + /* End of Outputs for SubSystem: '/HI mode' */ } else { - rtDW.CCU_BLOWERS_RL = rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRL_Req; + /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/not LO or HI' + */ + rtDW.LO_HI_MODE_FL = 0U; + + /* End of Outputs for SubSystem: '/not LO or HI' */ } - /* End of Switch: '/Switch5' */ + /* End of If: '/If' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Bias: '/Bias' + * DataStoreRead: '/Data Store Read' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Gain: '/Gain' + * Gain: '/Gain1' */ - rtDW.changed_RL_params = 1U; - } + rtDW.CCU_SET_FR = (uint16_t)((0.5 * (double) + rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_TargetTempFR_Stat_ro + 15.5) * 10.0); - /* End of Outputs for SubSystem: '/Subsystem35' */ + /* Saturate: '/Saturation' */ + if (rtDW.CCU_SET_FR > 305) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_FR = 305U; + } - /* Outputs for Enabled SubSystem: '/Subsystem36' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRR_Req > 0) { - /* Switch: '/Switch5' incorporates: - * Constant: '/blower off' - * DataStoreWrite: '/Data Store Write1' + /* End of Saturate: '/Saturation' */ + + /* If: '/If' incorporates: + * DataStoreWrite: '/Data Store Write' */ - if (rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRR_Req > 7) { - rtDW.CCU_BLOWERS_RR = 0U; + if (rtDW.CCU_SET_FR < 165) { + /* Outputs for IfAction SubSystem: '/LO mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/LOW' + */ + rtDW.LO_HI_MODE_FR = 1U; + + /* End of Outputs for SubSystem: '/LO mode' */ + } else if (rtDW.CCU_SET_FR > 295) { + /* Outputs for IfAction SubSystem: '/HI mode' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/HI' + */ + rtDW.LO_HI_MODE_FR = 2U; + + /* End of Outputs for SubSystem: '/HI mode' */ } else { - rtDW.CCU_BLOWERS_RR = rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRR_Req; + /* Outputs for IfAction SubSystem: '/not LO or HI' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/not LO or HI' + */ + rtDW.LO_HI_MODE_FR = 0U; + + /* End of Outputs for SubSystem: '/not LO or HI' */ } - /* End of Switch: '/Switch5' */ + /* End of If: '/If' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' + /* DataStoreWrite: '/Data Store Write27' incorporates: + * DataStoreRead: '/Data Store Read1' */ - rtDW.changed_RR_params = 1U; - } + CCU_FRONT_SYNC = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_FrontZoneSync_Stat; - /* End of Outputs for SubSystem: '/Subsystem36' */ - - /* Outputs for Enabled SubSystem: '/Subsystem37' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRL_Req > 0) { - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.CCU_AUTOMODE_RL = rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRL_Req; - } - - /* End of Outputs for SubSystem: '/Subsystem37' */ - - /* Outputs for Enabled SubSystem: '/Subsystem38' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRR_Req > 0) { - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.CCU_AUTOMODE_RR = rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRR_Req; - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' + /* DataStoreWrite: '/Data Store Write28' incorporates: + * DataStoreRead: '/Data Store Read1' */ - rtDW.changed_RR_params = 1U; - } + rtb_timer_out = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_RearZoneSync_Stat; - /* End of Outputs for SubSystem: '/Subsystem38' */ - - /* Outputs for Enabled SubSystem: '/Subsystem41' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_ACrearOFF_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* DataStoreWrite: '/Data Store Write29' incorporates: + * DataStoreRead: '/Data Store Read1' */ - rtDW.CCU_AC_REAR = (uint8_t)(rtDW.FIU_CCU2_MODEL.FIU_ACrearOFF_Req <= 1); + rtb_DataTypeConversion3_gs = + rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_AllZoneSync_Stat; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' + /* DataStoreWrite: '/Data Store Write30' incorporates: + * DataStoreRead: '/Data Store Read1' */ - rtDW.changed_RL_params = 1U; + rtDW.CCU_AC_FRONT = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_ACfront_Stat; + + /* DataStoreWrite: '/Data Store Write31' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.CCU_AC_REAR = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_ACrear_Stat; + + /* DataStoreWrite: '/Data Store Write32' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.CCU_SET_FOOT_FL = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_FootTempCorFL_Stat; + + /* DataStoreWrite: '/Data Store Write33' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.CCU_SET_FOOT_FR = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_FootTempCorFR_Stat; + + /* DataStoreWrite: '/Data Store Write34' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.DRS_SFL = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_DeflectorSwDL_Stat; + + /* DataStoreWrite: '/Data Store Write35' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.DRS_SFR = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_DeflectorSwDR_Stat; + + /* DataStoreWrite: '/Data Store Write36' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.DRS_CFL = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_DeflectorSwFPL_Stat; + + /* DataStoreWrite: '/Data Store Write37' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.DRS_CFR = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_DeflectorSwFPR_Stat; + + /* DataStoreWrite: '/Data Store Write38' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.DRS_CRL = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_DeflectorSwFCL_Stat; + + /* DataStoreWrite: '/Data Store Write39' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.DRS_CRR = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_DeflectorSwFCR_Stat; + + /* DataStoreWrite: '/Data Store Write40' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.DRS_SRL = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_DeflectorSwRLB_Stat; + + /* DataStoreWrite: '/Data Store Write41' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.DRS_SRR = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_DeflectorSwRRB_Stat; + + /* DataStoreWrite: '/Data Store Write20' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + rtDW.CCU_Defrost = rtDW.CCU_Msg1_WakeUp_model.CCU_DefrostLed_Req; + + /* DataStoreWrite: '/Data Store Write22' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + rtDW.Full_Rec = rtDW.CCU_Msg1_WakeUp_model.CCU_RecirculationLed_Cmd; + + /* DataStoreWrite: '/Data Store Write24' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + rtDW.CCU_AC_MAX = rtDW.CCU_Msg1_WakeUp_model.CCU_AC_MaxLed_Cmd; } - /* End of Outputs for SubSystem: '/Subsystem41' */ + /* End of DataStoreRead: '/Data Store Read13' */ + /* End of Outputs for SubSystem: '/Sleep_mode' */ - /* Outputs for Enabled SubSystem: '/Subsystem44' incorporates: - * EnablePort: '/Enable' - */ - if (rtDW.FIU_CCU2_MODEL.FIU_RearZoneSync_Req > 0) { - /* If: '/If' */ - if (rtDW.FIU_CCU2_MODEL.FIU_RearZoneSync_Req == 1) { - /* Outputs for IfAction SubSystem: '/sync rear action' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write18' incorporates: - * Constant: '/on' - */ - rtDW.enable_rear_sync = 1U; - - /* MATLAB Function: '/logger' */ - /* : fprintf('Logger CAN INPUT -> sync rear ON') */ - printf("Logger CAN INPUT -> sync rear ON"); - fflush(stdout); - - /* End of Outputs for SubSystem: '/sync rear action' */ - } else if (rtDW.FIU_CCU2_MODEL.FIU_RearZoneSync_Req == 2) { - /* Outputs for IfAction SubSystem: '/sync off rear action' incorporates: - * ActionPort: '/Action Port' - */ - /* DataStoreWrite: '/Data Store Write18' incorporates: - * Constant: '/on' - */ - rtDW.disable_rear_sync = 1U; - - /* MATLAB Function: '/logger' */ - /* : fprintf('Logger CAN INPUT -> sync rear OFF') */ - printf("Logger CAN INPUT -> sync rear OFF"); - fflush(stdout); - - /* End of Outputs for SubSystem: '/sync off rear action' */ - } - - /* End of If: '/If' */ - } - - /* End of DataStoreRead: '/Data Store Read2' */ - /* End of Outputs for SubSystem: '/Subsystem44' */ - - /* Switch: '/Switch2' incorporates: - * BusCreator: '/Bus Creator2' - * BusCreator: '/Bus Creator8' - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read64' - * DataStoreRead: '/Data Store Read65' - * DataStoreRead: '/Data Store Read66' - * DataStoreWrite: '/Data Store Write31' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion' - * Logic: '/Logical Operator13' - * Logic: '/Logical Operator4' - * Logic: '/Logical Operator4' - * Logic: '/Logical Operator9' - * Switch: '/Switch1' - * Switch: '/Switch3' - * Switch: '/Switch4' - * Switch: '/Switch5' - * Switch: '/Switch6' + /* Switch: '/Switch2' incorporates: + * BusCreator: '/Bus Creator2' + * BusCreator: '/Bus Creator8' + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read49' + * DataStoreRead: '/Data Store Read50' + * DataStoreRead: '/Data Store Read51' + * DataStoreRead: '/Data Store Read57' + * DataStoreRead: '/Data Store Read58' + * DataStoreRead: '/Data Store Read59' + * DataStoreRead: '/Data Store Read60' + * DataStoreRead: '/Data Store Read61' + * DataStoreRead: '/Data Store Read64' + * DataStoreRead: '/Data Store Read65' + * DataStoreRead: '/Data Store Read66' + * DataStoreWrite: '/Data Store Write31' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Logic: '/Logical Operator13' + * Logic: '/Logical Operator4' + * Logic: '/Logical Operator4' + * Logic: '/Logical Operator9' + * Switch: '/Switch1' + * Switch: '/Switch3' + * Switch: '/Switch4' + * Switch: '/Switch5' + * Switch: '/Switch6' + * Switch: '/Switch7' */ if (rtDW.BCM_T15_Stat > 0) { /* Outport: '/CCU_Stat1_model' incorporates: - * BusCreator: '/Bus Creator' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read17' - * DataStoreRead: '/Data Store Read18' - * DataStoreRead: '/Data Store Read19' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read20' - * DataStoreRead: '/Data Store Read21' - * DataStoreRead: '/Data Store Read22' - * DataStoreRead: '/Data Store Read23' - * DataStoreRead: '/Data Store Read24' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - * DataStoreRead: '/Data Store Read9' + * BusCreator: '/Bus Creator' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read17' + * DataStoreRead: '/Data Store Read18' + * DataStoreRead: '/Data Store Read19' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read20' + * DataStoreRead: '/Data Store Read21' + * DataStoreRead: '/Data Store Read22' + * DataStoreRead: '/Data Store Read23' + * DataStoreRead: '/Data Store Read24' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * DataStoreRead: '/Data Store Read9' */ rtY.CCU_Stat1_model.CCU_ModeFL_Stat = rtDW.CCU_MODE_FL; rtY.CCU_Stat1_model.CCU_ModeFR_Stat = rtDW.CCU_MODE_FR; @@ -27144,113 +32561,124 @@ void HVAC_model_step(void) rtY.CCU_Stat1_model.CCU_Recirculation_Stat = rtDW.CCU_RECIRC; rtY.CCU_Stat1_model.CCU_BlowerSpeedFL_Stat = rtDW.CCU_BLOWERS_FL; - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read13' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read13' */ if (rtDW.CCU_SET_FL > 310) { - rtb_out_os = 310U; + rtb_out_px = 310U; } else if (rtDW.CCU_SET_FL < 155) { - rtb_out_os = 155U; + rtb_out_px = 155U; } else { - rtb_out_os = rtDW.CCU_SET_FL; + rtb_out_px = rtDW.CCU_SET_FL; } /* Outport: '/CCU_Stat1_model' incorporates: - * Bias: '/Bias' - * BusCreator: '/Bus Creator' - * DataStoreRead: '/Data Store Read12' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - * Saturate: '/Saturation' + * Bias: '/Bias' + * BusCreator: '/Bus Creator' + * DataStoreRead: '/Data Store Read12' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' */ rtY.CCU_Stat1_model.CCU_TargetTempFL_Stat_ro = (uint8_t) - ((0.10000038146972656 * (double)rtb_out_os - 16.0) * 2.0); + ((0.10000038146972656 * (double)rtb_out_px - 16.0) * 2.0); rtY.CCU_Stat1_model.CCU_BlowerSpeedFR_Stat = rtDW.CCU_BLOWERS_FR; - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read14' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read14' */ if (rtDW.CCU_SET_FR > 310) { - rtb_out_os = 310U; + rtb_out_px = 310U; } else if (rtDW.CCU_SET_FR < 155) { - rtb_out_os = 155U; + rtb_out_px = 155U; } else { - rtb_out_os = rtDW.CCU_SET_FR; + rtb_out_px = rtDW.CCU_SET_FR; } /* Outport: '/CCU_Stat1_model' incorporates: - * Bias: '/Bias1' - * BusCreator: '/Bus Creator' - * DataStoreRead: '/Data Store Read26' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - * Saturate: '/Saturation' + * Bias: '/Bias1' + * BusCreator: '/Bus Creator' + * DataStoreRead: '/Data Store Read26' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' */ rtY.CCU_Stat1_model.CCU_TargetTempFR_Stat_ro = (uint8_t) - ((0.10000038146972656 * (double)rtb_out_os - 16.0) * 2.0); + ((0.10000038146972656 * (double)rtb_out_px - 16.0) * 2.0); rtY.CCU_Stat1_model.CCU_BlowerSpeedRL_Stat = rtDW.CCU_BLOWERS_RL; - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read15' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read15' */ if (rtDW.CCU_SET_RR > 310) { - rtb_out_os = 310U; + rtb_out_px = 310U; } else if (rtDW.CCU_SET_RR < 155) { - rtb_out_os = 155U; + rtb_out_px = 155U; } else { - rtb_out_os = rtDW.CCU_SET_RR; + rtb_out_px = rtDW.CCU_SET_RR; } /* Outport: '/CCU_Stat1_model' incorporates: - * Bias: '/Bias' - * BusCreator: '/Bus Creator' - * DataStoreRead: '/Data Store Read25' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - * Saturate: '/Saturation' + * Bias: '/Bias' + * BusCreator: '/Bus Creator' + * DataStoreRead: '/Data Store Read25' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' */ rtY.CCU_Stat1_model.CCU_TargetTempRR_Stat_ro = (uint8_t) - ((0.10000038146972656 * (double)rtb_out_os - 16.0) * 2.0); + ((0.10000038146972656 * (double)rtb_out_px - 16.0) * 2.0); rtY.CCU_Stat1_model.CCU_BlowerSpeedRR_Stat = rtDW.CCU_BLOWERS_RR; - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read16' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read16' */ if (rtDW.CCU_SET_RL > 310) { - rtb_out_os = 310U; + rtb_out_px = 310U; } else if (rtDW.CCU_SET_RL < 155) { - rtb_out_os = 155U; + rtb_out_px = 155U; } else { - rtb_out_os = rtDW.CCU_SET_RL; + rtb_out_px = rtDW.CCU_SET_RL; } /* Outport: '/CCU_Stat1_model' incorporates: - * Bias: '/Bias' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - * Saturate: '/Saturation' + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' */ rtY.CCU_Stat1_model.CCU_TargetTempRL_Stat_ro = (uint8_t) - ((0.10000038146972656 * (double)rtb_out_os - 16.0) * 2.0); + ((0.10000038146972656 * (double)rtb_out_px - 16.0) * 2.0); /* Outport: '/CCU_Stat2_model' incorporates: - * BusCreator: '/Bus Creator1' - * DataStoreRead: '/Data Store Read34' - * DataStoreRead: '/Data Store Read35' - * DataStoreRead: '/Data Store Read55' - * DataStoreRead: '/Data Store Read56' - * DataStoreWrite: '/Data Store Write15' - * DataStoreWrite: '/Data Store Write16' - * DataStoreWrite: '/Data Store Write17' + * BusCreator: '/Bus Creator1' + * DataStoreRead: '/Data Store Read27' + * DataStoreRead: '/Data Store Read28' + * DataStoreRead: '/Data Store Read29' + * DataStoreRead: '/Data Store Read34' + * DataStoreRead: '/Data Store Read35' + * DataStoreRead: '/Data Store Read55' + * DataStoreRead: '/Data Store Read56' + * DataStoreRead: '/Data Store Read62' + * DataStoreRead: '/Data Store Read63' + * DataStoreRead: '/Data Store Read67' + * DataStoreRead: '/Data Store Read68' + * DataStoreRead: '/Data Store Read69' + * DataStoreRead: '/Data Store Read70' + * DataStoreRead: '/Data Store Read71' + * DataStoreRead: '/Data Store Read72' + * DataStoreRead: '/Data Store Read73' + * DataStoreRead: '/Data Store Read74' + * DataStoreRead: '/Data Store Read77' */ - rtY.CCU_Stat2_model.CCU_AromaCartridgeSw_Stat = 0U; - rtY.CCU_Stat2_model.CCU_FrontZoneSync_Stat = rtB.sync_front; - rtY.CCU_Stat2_model.CCU_RearZoneSync_Stat = rtB.sync_rear; - rtY.CCU_Stat2_model.CCU_AllZoneSync_Stat = rtB.sync_all; + rtY.CCU_Stat2_model.CCU_AromaCartridgeSw_Stat = rtDW.Aroma_CartridgeSw; + rtY.CCU_Stat2_model.CCU_FrontZoneSync_Stat = CCU_FRONT_SYNC; + rtY.CCU_Stat2_model.CCU_RearZoneSync_Stat = rtb_timer_out; + rtY.CCU_Stat2_model.CCU_AllZoneSync_Stat = rtb_DataTypeConversion3_gs; rtY.CCU_Stat2_model.CCU_ACfront_Stat = rtDW.CCU_AC_FRONT; rtY.CCU_Stat2_model.CCU_ACrear_Stat = rtDW.CCU_AC_REAR; rtY.CCU_Stat2_model.CCU_ACmaxF_Stat = 0U; @@ -27260,38 +32688,38 @@ void HVAC_model_step(void) rtY.CCU_Stat2_model.CCU_FootTempCorFL_Stat = rtDW.CCU_SET_FOOT_FL; rtY.CCU_Stat2_model.CCU_FootTempCorFR_Stat = rtDW.CCU_SET_FOOT_FR; rtY.CCU_Stat2_model.CCU_AromaIntens_Stat = 0U; - rtY.CCU_Stat2_model.CCU_FootTempCorRL_Stat = 0U; - rtY.CCU_Stat2_model.CCU_FootTempCorRR_Stat = 0U; - rtY.CCU_Stat2_model.CCU_DeflectorSwDL_Stat = 0U; - rtY.CCU_Stat2_model.CCU_DeflectorSwDR_Stat = 0U; - rtY.CCU_Stat2_model.CCU_DeflectorSwFPL_Stat = 0U; - rtY.CCU_Stat2_model.CCU_DeflectorSwFPR_Stat = 0U; - rtY.CCU_Stat2_model.CCU_DeflectorSwFCL_Stat = 0U; - rtY.CCU_Stat2_model.CCU_DeflectorSwFCR_Stat = 0U; - rtY.CCU_Stat2_model.CCU_DeflectorSwRLB_Stat = 0U; - rtY.CCU_Stat2_model.CCU_DeflectorSwRRB_Stat = 0U; + rtY.CCU_Stat2_model.CCU_FootTempCorRL_Stat = rtDW.CCU_SET_FOOT_RL; + rtY.CCU_Stat2_model.CCU_FootTempCorRR_Stat = rtDW.CCU_SET_FOOT_RR; + rtY.CCU_Stat2_model.CCU_DeflectorSwDL_Stat = rtDW.DRS_SFL; + rtY.CCU_Stat2_model.CCU_DeflectorSwDR_Stat = rtDW.DRS_SFR; + rtY.CCU_Stat2_model.CCU_DeflectorSwFPL_Stat = rtDW.DRS_CFL; + rtY.CCU_Stat2_model.CCU_DeflectorSwFPR_Stat = rtDW.DRS_CFR; + rtY.CCU_Stat2_model.CCU_DeflectorSwFCL_Stat = rtDW.DRS_CRL; + rtY.CCU_Stat2_model.CCU_DeflectorSwFCR_Stat = rtDW.DRS_CRR; + rtY.CCU_Stat2_model.CCU_DeflectorSwRLB_Stat = rtDW.DRS_SRL; + rtY.CCU_Stat2_model.CCU_DeflectorSwRRB_Stat = rtDW.DRS_SRR; - /* Saturate: '/Saturation' incorporates: + /* Saturate: '/Saturation' incorporates: * MATLAB Function: '/MATLAB Function' */ - if (u0 <= 160) { + if (El_window_heating <= 160) { /* Outport: '/CCUCAN_HVC_REQ_MSG_MODEL' */ - rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_eCompSpeedReq_Val_ro = u0; + rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_eCompSpeedReq_Val_ro = El_window_heating; } else { /* Outport: '/CCUCAN_HVC_REQ_MSG_MODEL' */ rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_eCompSpeedReq_Val_ro = 160U; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ /* Outport: '/CCUCAN_HVC_REQ_MSG_MODEL' incorporates: - * BusCreator: '/Bus Creator3' - * DataStoreRead: '/Data Store Read37' + * BusCreator: '/Bus Creator3' + * DataStoreRead: '/Data Store Read37' * DataStoreWrite: '/Data Store Write13' - * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' */ rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_eCompReq_Stat = Enable_Comp_PID; - rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_LowTempValve_Req = LowTempValve; + rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_LowTempValve_Req = rtb_Cmd_3Way; rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_HVC_Req_RC = 0U; rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_HVC_Req_CS = 0U; @@ -27316,12 +32744,26 @@ void HVAC_model_step(void) /* End of Saturate: '/Saturation5' */ /* Outport: '/CCU_Msg3_model' incorporates: - * BusCreator: '/Bus Creator4' + * BusCreator: '/Bus Creator4' */ rtY.CCU_Msg3_model.CCU_RestMode_Stat = 0U; rtY.CCU_Msg3_model.CCU_IncarTempSum_Val_ro = 0U; rtY.CCU_Msg3_model.CCU_MSG3_RC = 0U; rtY.CCU_Msg3_model.CCU_MSG3_CS = 0U; + + /* Outport: '/CCU_Stat3_model' incorporates: + * BusCreator: '/Bus Creator12' + * DataStoreRead: '/Data Store Read75' + * DataStoreRead: '/Data Store Read76' + */ + rtY.CCU_Stat3_model.CCU_AromaCartridgeCapacity_Stat_ro = + rtDW.Aroma_CartridgeCapacity; + rtY.CCU_Stat3_model.CCU_AromaCartridgeFlavor_Stat = + rtDW.Aroma_CartridgeFlavor; + rtY.CCU_Stat3_model.CCU_AromaFaultReason_Stat = 0U; + rtY.CCU_Stat3_model.CCU_RLfootBlowDis_Stat = 0U; + rtY.CCU_Stat3_model.CCU_RRfootBlowDis_Stat = 0U; + rtY.CCU_Stat3_model.CCU_RestMode2_Stat = 0U; CCU_Errors_Model.CCU_IncarTempErrF_Stat = (uint8_t)(rtb_err || rtb_LogicalOperator6); CCU_Errors_Model.CCU_IncarTempErrR_Stat = (uint8_t)(rtb_LogicalOperator3 || @@ -27330,13 +32772,13 @@ void HVAC_model_step(void) (rtb_LogicalOperator3_cz || rtb_LogicalOperator4_fo || rtb_LogicalOperator6_m || rtb_LogicalOperator8_i || rtb_LogicalOperator10 || rtb_LogicalOperator11); - CCU_Errors_Model.CCU_DuctTempSenErrR_Stat = (uint8_t)(rtb_Compare_an || - rtb_Compare_gp || rtb_Compare_od || rtb_Compare_oo); - CCU_Errors_Model.CCU_EvaTempSenErrF_Stat = rtb_LogicalOperator1; - CCU_Errors_Model.CCU_EvaTempSenErrR_Stat = rtb_LogicalOperator1_dv; - CCU_Errors_Model.CCU_DeflectorSwErrF_Stat = 0U; - CCU_Errors_Model.CCU_DeflectorSwErrR_Stat = 0U; - CCU_Errors_Model.CCU_PressSenErr_Stat = rtb_LogicalOperator1_n; + CCU_Errors_Model.CCU_DuctTempSenErrR_Stat = (uint8_t)(rtb_Compare_hs || + rtb_Compare_ps1 || rtb_Compare_fi || rtb_Compare_oi1); + CCU_Errors_Model.CCU_EvaTempSenErrF_Stat = rtDW.CCU_EvaTempSenErrF_Stat; + CCU_Errors_Model.CCU_EvaTempSenErrR_Stat = rtDW.CCU_EvaTempSenErrR_Stat; + CCU_Errors_Model.CCU_DeflectorSwErrF_Stat = rtDW.CCU_DeflectorSwErrF_Stat; + CCU_Errors_Model.CCU_DeflectorSwErrR_Stat = rtDW.CCU_DeflectorSwErrR_Stat; + CCU_Errors_Model.CCU_PressSenErr_Stat = rtDW.CCU_PressSenErr_Stat; CCU_Errors_Model.CCU_AmbienTemptSenErr_Stat = 0U; CCU_Errors_Model.CCU_SealingValveErr_Stat = 0U; CCU_Errors_Model.CCU_ETXVerr_Stat = 0U; @@ -27346,40 +32788,45 @@ void HVAC_model_step(void) CCU_Errors_Model.CCU_ActuatorErrR_Stat = rtDW.CCU_ActuatorErrR_Stat_private; CCU_Errors_Model.CCU_UltravioletErr_Stat = 0U; CCU_Errors_Model.CCU_VinRecordErr_Stat = 0U; - CCU_Errors_Model.CCU_AirQualSenErr_Stat = 0U; + CCU_Errors_Model.CCU_AirQualSenErr_Stat = rtDW.CCU_AirQualSenErr_Stat; CCU_Errors_Model.CCU_CommErr_Stat = 0U; CCU_Errors_Model.CCU_TWVerr_Stat = 0U; - CCU_Errors_Model.CCU_IonizationErr_Stat = 0U; - CCU_Errors_Model.CCU_AromaErr_Stat = 0U; + CCU_Errors_Model.CCU_IonizationErr_Stat = rtDW.CCU_IonizationErr_Stat; + CCU_Errors_Model.CCU_AromaErr_Stat = rtDW.CCU_AromaErr_Stat; /* Outport: '/CCU_Msg1_model' incorporates: - * BusCreator: '/Bus Creator2' - * BusCreator: '/Bus Creator5' - * DataStoreRead: '/Data Store Read38' - * DataStoreRead: '/Data Store Read39' - * DataStoreRead: '/Data Store Read40' - * DataStoreRead: '/Data Store Read41' - * DataStoreRead: '/Data Store Read42' - * DataStoreRead: '/Data Store Read43' - * DataStoreRead: '/Data Store Read44' - * DataStoreRead: '/Data Store Read65' - * DataStoreRead: '/Data Store Read66' - * DataStoreWrite: '/Data Store Write31' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion' - * Logic: '/Logical Operator13' - * Logic: '/Logical Operator4' - * Logic: '/Logical Operator4' - * Logic: '/Logical Operator9' + * BusCreator: '/Bus Creator2' + * BusCreator: '/Bus Creator5' + * DataStoreRead: '/Data Store Read38' + * DataStoreRead: '/Data Store Read39' + * DataStoreRead: '/Data Store Read40' + * DataStoreRead: '/Data Store Read41' + * DataStoreRead: '/Data Store Read42' + * DataStoreRead: '/Data Store Read43' + * DataStoreRead: '/Data Store Read44' + * DataStoreRead: '/Data Store Read49' + * DataStoreRead: '/Data Store Read50' + * DataStoreRead: '/Data Store Read51' + * DataStoreRead: '/Data Store Read57' + * DataStoreRead: '/Data Store Read58' + * DataStoreRead: '/Data Store Read59' + * DataStoreRead: '/Data Store Read60' + * DataStoreRead: '/Data Store Read61' + * DataStoreRead: '/Data Store Read65' + * DataStoreRead: '/Data Store Read66' + * DataStoreWrite: '/Data Store Write31' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Logic: '/Logical Operator13' + * Logic: '/Logical Operator4' + * Logic: '/Logical Operator4' + * Logic: '/Logical Operator9' */ rtY.CCU_Msg1_model.CCU_MirrorHeating_Req = 0U; rtY.CCU_Msg1_model.CCU_RecirculationLed_Cmd = rtDW.Full_Rec; - rtY.CCU_Msg1_model.CCU_DefrostLed_Req = CCU_Defrost; + rtY.CCU_Msg1_model.CCU_DefrostLed_Req = rtDW.CCU_Defrost; rtY.CCU_Msg1_model.CCU_SideWindowHeating_Req = 0U; rtY.CCU_Msg1_model.CCU_RearWindowHeating_Req = 0U; rtY.CCU_Msg1_model.CCU_FrontWindowHeating_Req = 0U; @@ -27389,13 +32836,13 @@ void HVAC_model_step(void) rtY.CCU_Msg1_model.CCU_FRAutoPsngrLed_Cmd = rtDW.CCU_MODE_FR; rtY.CCU_Msg1_model.CCU_RLAutoPsngrLed_Cmd = rtDW.CCU_MODE_RL; rtY.CCU_Msg1_model.CCU_RRAutoPsngrLed_Cmd = rtDW.CCU_MODE_RR; - rtY.CCU_Msg1_model.CCU_AC_MaxLed_Cmd = CCU_AC_MAX; + rtY.CCU_Msg1_model.CCU_AC_MaxLed_Cmd = rtDW.CCU_AC_MAX; rtY.CCU_Msg1_model.CCU_MSG1_RC = 0U; rtY.CCU_Msg1_model.CCU_MSG1_CS = 0U; } else { /* Outport: '/CCU_Stat1_model' incorporates: - * BusCreator: '/Bus Creator6' - * Constant: '/Constant' + * BusCreator: '/Bus Creator6' + * Constant: '/Constant' */ rtY.CCU_Stat1_model.CCU_ModeFL_Stat = 0U; rtY.CCU_Stat1_model.CCU_ModeFR_Stat = 0U; @@ -27426,8 +32873,8 @@ void HVAC_model_step(void) rtY.CCU_Stat1_model.CCU_TargetTempRL_Stat_ro = 0U; /* Outport: '/CCU_Stat2_model' incorporates: - * BusCreator: '/Bus Creator7' - * Constant: '/Constant1' + * BusCreator: '/Bus Creator7' + * Constant: '/Constant1' */ rtY.CCU_Stat2_model.CCU_AromaCartridgeSw_Stat = 0U; rtY.CCU_Stat2_model.CCU_FrontZoneSync_Stat = 0U; @@ -27454,8 +32901,8 @@ void HVAC_model_step(void) rtY.CCU_Stat2_model.CCU_DeflectorSwRRB_Stat = 0U; /* Outport: '/CCUCAN_HVC_REQ_MSG_MODEL' incorporates: - * BusCreator: '/Bus Creator10' - * Constant: '/Constant4' + * BusCreator: '/Bus Creator10' + * Constant: '/Constant4' */ rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_eCompSpeedReq_Val_ro = 0U; rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_eCompReq_Stat = 0U; @@ -27464,14 +32911,25 @@ void HVAC_model_step(void) rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_HVC_Req_CS = 0U; /* Outport: '/CCU_Msg3_model' incorporates: - * BusCreator: '/Bus Creator11' - * Constant: '/Constant5' + * BusCreator: '/Bus Creator11' + * Constant: '/Constant5' */ rtY.CCU_Msg3_model.CCU_FAN_Req = 0U; rtY.CCU_Msg3_model.CCU_RestMode_Stat = 0U; rtY.CCU_Msg3_model.CCU_IncarTempSum_Val_ro = 0U; rtY.CCU_Msg3_model.CCU_MSG3_RC = 0U; rtY.CCU_Msg3_model.CCU_MSG3_CS = 0U; + + /* Outport: '/CCU_Stat3_model' incorporates: + * BusCreator: '/Bus Creator13' + * Constant: '/Constant6' + */ + rtY.CCU_Stat3_model.CCU_AromaCartridgeCapacity_Stat_ro = 0U; + rtY.CCU_Stat3_model.CCU_AromaCartridgeFlavor_Stat = 0U; + rtY.CCU_Stat3_model.CCU_AromaFaultReason_Stat = 0U; + rtY.CCU_Stat3_model.CCU_RLfootBlowDis_Stat = 0U; + rtY.CCU_Stat3_model.CCU_RRfootBlowDis_Stat = 0U; + rtY.CCU_Stat3_model.CCU_RestMode2_Stat = 0U; CCU_Errors_Model.CCU_IncarTempErrF_Stat = 0U; CCU_Errors_Model.CCU_IncarTempErrR_Stat = 0U; CCU_Errors_Model.CCU_DuctTempSenErrF_Stat = 0U; @@ -27497,11 +32955,11 @@ void HVAC_model_step(void) CCU_Errors_Model.CCU_AromaErr_Stat = 0U; /* Outport: '/CCU_Msg1_model' incorporates: - * BusCreator: '/Bus Creator8' - * BusCreator: '/Bus Creator9' - * Constant: '/Constant2' - * Constant: '/Constant3' - * DataStoreWrite: '/Data Store Write31' + * BusCreator: '/Bus Creator8' + * BusCreator: '/Bus Creator9' + * Constant: '/Constant2' + * Constant: '/Constant3' + * DataStoreWrite: '/Data Store Write31' */ rtY.CCU_Msg1_model.CCU_MirrorHeating_Req = 0U; rtY.CCU_Msg1_model.CCU_RecirculationLed_Cmd = 0U; @@ -27520,41 +32978,41 @@ void HVAC_model_step(void) rtY.CCU_Msg1_model.CCU_MSG1_CS = 0U; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write' */ if (rtDW.CCU_MODE_FL > 0) { - rtDW.ModeIndex[0] = rtb_DataTypeConversion3_j0; + rtDW.ModeIndex[0] = rtb_DataTypeConversion_ca; } else { rtDW.ModeIndex[0] = rtDW.Index_mode_FL_manual; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read6' - * DataStoreWrite: '/Data Store Write1' - * DataStoreWrite: '/Data Store Write' + /* Switch: '/Switch1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read6' + * DataStoreWrite: '/Data Store Write1' + * DataStoreWrite: '/Data Store Write' */ if (rtDW.CCU_MODE_FR > 0) { - rtDW.ModeIndex[1] = rtb_Sum1; + rtDW.ModeIndex[1] = rtb_DataTypeConversion3_k; } else { rtDW.ModeIndex[1] = rtb_Saturation4_l; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Switch: '/Switch2' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read9' - * DataStoreWrite: '/Data Store Write1' - * DataStoreWrite: '/Data Store Write' + /* Switch: '/Switch2' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read9' + * DataStoreWrite: '/Data Store Write1' + * DataStoreWrite: '/Data Store Write' */ if (rtDW.CCU_MODE_RL > 0) { rtDW.ModeIndex[2] = (uint8_t)Gain; @@ -27562,13 +33020,13 @@ void HVAC_model_step(void) rtDW.ModeIndex[2] = rtDW.Index_mode_RL_manual; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch3' incorporates: - * DataStoreRead: '/Data Store Read12' - * DataStoreRead: '/Data Store Read3' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write' + /* Switch: '/Switch3' incorporates: + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/Data Store Read3' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write' */ if (rtDW.CCU_MODE_RR > 0) { rtDW.ModeIndex[3] = (uint8_t)Gain1; @@ -27576,285 +33034,285 @@ void HVAC_model_step(void) rtDW.ModeIndex[3] = rtDW.Index_mode_RR_manual; } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ - rtb_Divide5 = 1.0; + rtb_Divide5 = 0.0; - /* DataTypeConversion: '/Data Type Conversion' */ + /* DataTypeConversion: '/Data Type Conversion' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read' - * Gain: '/Gain' - * Product: '/Divide' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Gain: '/Gain' + * Product: '/Divide' */ - rtb_Bias5 = rtDW.MaxPositionCh0_private[i]; - if (rtb_Bias5 != 0) { - rtb_Switch1_oh = (double)Actuator_Ch0_Status_Model.in_CPOS_ALL[i] / - (double)rtb_Bias5 * 100.0; + rtb_y_fq = rtDW.MaxPositionCh0_private[i]; + if (rtb_y_fq != 0) { + rtb_Switch2_by = (double)Actuator_Ch0_Status_Model.in_CPOS_ALL[i] / + (double)rtb_y_fq * 100.0; } else { - rtb_Switch1_oh = 0.0; + rtb_Switch2_by = 0.0; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Saturate: '/Saturation' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* Saturate: '/Saturation' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - if (rtb_Switch1_oh > 100.0) { - rtb_DataTypeConversion_p3[i] = 100U; - } else if (rtb_Switch1_oh < 0.0) { - rtb_DataTypeConversion_p3[i] = 0U; + if (rtb_Switch2_by > 100.0) { + rtb_DataTypeConversion_fv[i] = 100U; + } else if (rtb_Switch2_by < 0.0) { + rtb_DataTypeConversion_fv[i] = 0U; } else { - rtb_DataTypeConversion_p3[i] = (uint8_t)rtb_Switch1_oh; + rtb_DataTypeConversion_fv[i] = (uint8_t)rtb_Switch2_by; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ } - /* End of DataTypeConversion: '/Data Type Conversion' */ + /* End of DataTypeConversion: '/Data Type Conversion' */ - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' */ if (rtDW.stepSig_private > 0) { - rtb_y_c = rtDW.stepSig_private; + rtb_y_f = rtDW.stepSig_private; } else { - rtb_y_c = 1; + rtb_y_f = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* SwitchCase: '/Switch Case' */ - switch (rtb_y_c) { + /* SwitchCase: '/Switch Case' */ + switch (rtb_y_f) { case 1: - /* Outputs for IfAction SubSystem: '/Stop Mode' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Stop Mode' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch0_Status_Model.Busy == 0) && (Actuator_Ch0_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.COM_private[i] = 1U; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.MODE_private[i] = 2U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_f1 = (int8_t)(rtb_y_c + 1); + rtB.Merge_f1 = (int8_t)(rtb_y_f + 1); - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ /* : if(LOGGER == 2) */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_f1 = rtb_y_c; + rtB.Merge_f1 = rtb_y_f; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Stop Mode' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Stop Mode' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Initial CPOS Min' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Initial CPOS Min' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch0_Status_Model.Busy == 0) && (Actuator_Ch0_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.POS_private[i] = 6000U; - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.COM_private[i] = 2U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Merge: '/Merge' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Merge: '/Merge' + * Sum: '/step inc' */ - rtB.Merge_f1 = (int8_t)(rtb_y_c + 1); + rtB.Merge_f1 = (int8_t)(rtb_y_f + 1); - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ /* : if(LOGGER == 2) */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * Merge: '/Merge' - * SignalConversion generated from: '/stepIn1' + /* Merge: '/Merge' incorporates: + * Merge: '/Merge' + * SignalConversion generated from: '/stepIn1' */ - rtB.Merge_f1 = rtb_y_c; + rtB.Merge_f1 = rtb_y_f; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/Initial CPOS Min' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/Initial CPOS Min' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Normal Mode' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Normal Mode' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch0_Status_Model.Busy == 0) && (Actuator_Ch0_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.MODE_private[i] = 0U; - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.COM_private[i] = 1U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_f1 = (int8_t)(rtb_y_c + 1); + rtB.Merge_f1 = (int8_t)(rtb_y_f + 1); - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ /* : if(LOGGER == 2) */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_f1 = rtb_y_c; + rtB.Merge_f1 = rtb_y_f; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Normal Mode' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Normal Mode' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Move to position Min' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Move to position Min' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch0_Status_Model.Busy == 0) && (Actuator_Ch0_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' */ rtDW.Autos_private[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ rtDW.Stall_private[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' */ + /* DataStoreWrite: '/Data Store Write3' */ rtDW.Lnoise_private[i] = 0U; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Speed_private[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Coils_private[i] = 3U; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.POS_private[i] = 0U; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant9' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant9' */ rtDW.COM_private[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_f1 = (int8_t)(rtb_y_c + 1); + rtB.Merge_f1 = (int8_t)(rtb_y_f + 1); - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ /* : if(LOGGER == 2) */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_f1 = rtb_y_c; + rtB.Merge_f1 = rtb_y_f; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Move to position Min' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Move to position Min' */ break; case 5: - /* Outputs for IfAction SubSystem: '/Check Stall Min' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Check Stall Min' incorporates: + * ActionPort: '/Action Port' */ - /* Logic: '/Logical Operator3' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' + /* Logic: '/Logical Operator3' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' */ for (i = 0; i < 9; i++) { rtb_LogicalOperator3_nq[i] = @@ -27863,194 +33321,194 @@ void HVAC_model_step(void) (rtDW.ErrorCalibration_private[i] == 0)); } - /* End of Logic: '/Logical Operator3' */ + /* End of Logic: '/Logical Operator3' */ - /* Logic: '/Logical Operator' incorporates: - * Logic: '/Logical Operator3' + /* Logic: '/Logical Operator' incorporates: + * Logic: '/Logical Operator3' */ rtb_err = rtb_LogicalOperator3_nq[0]; for (i = 0; i < 8; i++) { rtb_err = (rtb_err && rtb_LogicalOperator3_nq[i + 1]); } - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * Logic: '/Logical Operator' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Logic: '/Logical Operator' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch0_Status_Model.Busy == 0) && (Actuator_Ch0_Status_Model.Error_Connect == 0) && rtb_err) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorCalibration_private[i] != 0) { rtDW.MinPositionCh0_private[i] = Actuator_Ch0_Status_Model.in_CPOS_ALL[i]; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of DataStoreWrite: '/Data Store Write1' */ + /* End of DataStoreWrite: '/Data Store Write1' */ - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_f1 = (int8_t)(rtb_y_c + 1); + rtB.Merge_f1 = (int8_t)(rtb_y_f + 1); - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ /* : if(LOGGER == 2) */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_f1 = rtb_y_c; + rtB.Merge_f1 = rtb_y_f; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If2' */ - /* End of Outputs for SubSystem: '/Check Stall Min' */ + /* End of If: '/If2' */ + /* End of Outputs for SubSystem: '/Check Stall Min' */ break; case 6: - /* Outputs for IfAction SubSystem: '/Initial CPOS Max' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Initial CPOS Max' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch0_Status_Model.Busy == 0) && (Actuator_Ch0_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.COM_private[i] = 2U; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.POS_private[i] = 0U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_f1 = (int8_t)(rtb_y_c + 1); + rtB.Merge_f1 = (int8_t)(rtb_y_f + 1); - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ /* : if(LOGGER == 2) */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_f1 = rtb_y_c; + rtB.Merge_f1 = rtb_y_f; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Initial CPOS Max' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Initial CPOS Max' */ break; case 7: - /* Outputs for IfAction SubSystem: '/Move to position Max' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Move to position Max' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch0_Status_Model.Busy == 0) && (Actuator_Ch0_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' */ rtDW.Autos_private[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ rtDW.Stall_private[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' */ + /* DataStoreWrite: '/Data Store Write3' */ rtDW.Lnoise_private[i] = 0U; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Speed_private[i] = 3U; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.POS_private[i] = 6000U; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant9' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant9' */ rtDW.COM_private[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' */ + /* DataStoreWrite: '/Data Store Write6' */ rtDW.Coils_private[i] = 0U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_f1 = (int8_t)(rtb_y_c + 1); + rtB.Merge_f1 = (int8_t)(rtb_y_f + 1); - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ /* : if(LOGGER == 2) */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_f1 = rtb_y_c; + rtB.Merge_f1 = rtb_y_f; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Move to position Max' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Move to position Max' */ break; case 8: - /* Outputs for IfAction SubSystem: '/Check Stall Max' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Check Stall Max' incorporates: + * ActionPort: '/Action Port' */ - /* Logic: '/Logical Operator3' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' + /* Logic: '/Logical Operator3' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' */ for (i = 0; i < 9; i++) { rtb_LogicalOperator3_nq[i] = @@ -28059,203 +33517,184 @@ void HVAC_model_step(void) (rtDW.ErrorCalibration_private[i] == 0)); } - /* End of Logic: '/Logical Operator3' */ + /* End of Logic: '/Logical Operator3' */ - /* Logic: '/Logical Operator1' incorporates: - * Logic: '/Logical Operator3' + /* Logic: '/Logical Operator1' incorporates: + * Logic: '/Logical Operator3' */ rtb_err = rtb_LogicalOperator3_nq[0]; for (i = 0; i < 8; i++) { rtb_err = (rtb_err && rtb_LogicalOperator3_nq[i + 1]); } - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * Logic: '/Logical Operator1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Logic: '/Logical Operator1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch0_Status_Model.Busy == 0) && (Actuator_Ch0_Status_Model.Error_Connect == 0) && rtb_err) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorCalibration_private[i] != 0) { rtDW.MaxPositionCh0_private[i] = Actuator_Ch0_Status_Model.in_CPOS_ALL[i]; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of DataStoreWrite: '/Data Store Write1' */ + /* End of DataStoreWrite: '/Data Store Write1' */ - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_f1 = (int8_t)(rtb_y_c + 1); + rtB.Merge_f1 = (int8_t)(rtb_y_f + 1); - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ /* : if(LOGGER == 2) */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_f1 = rtb_y_c; + rtB.Merge_f1 = rtb_y_f; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If2' */ - /* End of Outputs for SubSystem: '/Check Stall Max' */ + /* End of If: '/If2' */ + /* End of Outputs for SubSystem: '/Check Stall Max' */ break; case 9: - /* Outputs for IfAction SubSystem: '/Homing' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Homing' incorporates: + * ActionPort: '/Action Port' */ - /* Product: '/Divide1' incorporates: - * Constant: '/ACT1' - * DataStoreRead: '/MAX ACT1T ' + /* Product: '/Divide1' incorporates: + * Constant: '/ACT1' + * DataStoreRead: '/MAX ACT1T ' */ for (i = 0; i < 9; i++) { rtb_Divide1_a4[i] = (double)rtDW.MaxPositionCh0_private[i] / (double) rtConstP.ACT1_Value[i]; } - /* End of Product: '/Divide1' */ + /* End of Product: '/Divide1' */ - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read4' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read4' */ switch (rtDW.stepHoming_private) { case 0: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* RelationalOperator: '/Compare' */ - rtb_Switch1_oh = rtb_Divide1_a4[i]; + /* RelationalOperator: '/Compare' */ + rtb_Switch2_by = rtb_Divide1_a4[i]; - /* Logic: '/Logical Operator' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* Logic: '/Logical Operator' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ - Enable_Comp_PID = ((rtb_Switch1_oh >= 0.6) && (rtb_Switch1_oh <= 1.5)); + Enable_Comp_PID = ((rtb_Switch2_by >= 0.6) && (rtb_Switch2_by <= 1.5)); rtb_LogicalOperator3_nq[i] = Enable_Comp_PID; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' */ rtDW.ErrorCalibration_private[i] = (uint8_t)((!Enable_Comp_PID) && (rtDW.ErrorCalibration_private[i] != 0)); } - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/MIN ACT1T 1' - * Logic: '/Logical Operator2' - */ + /* Logic: '/Logical Operator1' */ /* : if(LOGGER>0) */ - /* : fprintf("[LIN 1] Homing 0\n"); */ - printf("[LIN 1] Homing 0\n"); - fflush(stdout); - - /* : for i = 1:numel(MAX) */ - for (i = 0; i < 9; i++) { - /* : fprintf('[LIN 1] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ - printf("[LIN 1] ACT%d MAX = %d KOEF = %f Callibration = %d \n", (int16_t) - (i + 1), rtDW.MaxPositionCh0_private[i], rtb_Divide1_a4[i], - (int16_t)!rtb_LogicalOperator3_nq[i]); - fflush(stdout); - } - - /* End of MATLAB Function: '/MAX POSITION' */ - - /* Logic: '/Logical Operator1' */ rtb_err = rtb_LogicalOperator3_nq[0]; for (i = 0; i < 8; i++) { rtb_err = (rtb_err && rtb_LogicalOperator3_nq[i + 1]); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator1' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator1' */ if (rtb_err) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_a = 4; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ rtB.Merge_a = 1; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ for (i = 0; i < 9; i++) { rtb_LogicalOperator3_nq[i] = (rtb_Divide1_a4[i] > 1.5); } - /* End of RelationalOperator: '/Compare' */ + /* End of RelationalOperator: '/Compare' */ - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_err = rtb_LogicalOperator3_nq[0]; for (i = 0; i < 8; i++) { rtb_err = (rtb_err || rtb_LogicalOperator3_nq[i + 1]); } - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' */ rtDW.CCU_ActuatorErrF_Stat_private = rtb_err; for (i = 0; i < 9; i++) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ Enable_Comp_PID = rtb_LogicalOperator3_nq[i]; rtDW.COM_private[i] = Enable_Comp_PID; - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write3' - * Logic: '/Logical Operator1' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write3' + * Logic: '/Logical Operator1' */ rtDW.ErrorActuator[i] = (uint8_t)(Enable_Comp_PID || (rtDW.ErrorActuator[i] != 0)); - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.MODE_private[i] = 2U; } - /* MATLAB Function: '/Write ERROR' */ + /* MATLAB Function: '/Write ERROR' */ /* : if(LOGGER>=0) */ /* : for i = 1:numel(ErrCallibration) */ for (i = 0; i < 9; i++) { @@ -28267,279 +33706,235 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ for (i = 0; i < 9; i++) { - /* Logic: '/Logical Operator1' */ + /* Logic: '/Logical Operator1' */ Enable_Comp_PID = rtb_LogicalOperator3_nq[i]; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' */ rtDW.ErrorCalibration_private[i] = (uint8_t)((!Enable_Comp_PID) && (rtDW.ErrorCalibration_private[i] != 0)); - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[i + 54] = Enable_Comp_PID; } - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.stepSig_private = 1; - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/MIN ACT1T 1' - * DataStoreWrite: '/Data Store Write' + /* Logic: '/Logical Operator2' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* : if(LOGGER>0) */ - /* : fprintf("[LIN 1] Homing 1. Start Callibration \n"); */ - printf("[LIN 1] Homing 1. Start Callibration \n"); - fflush(stdout); - - /* : for i = 1:numel(MAX) */ - for (i = 0; i < 9; i++) { - /* : if(ERRORS(i)==1) */ - if (rtDW.ErrorCalibration_private[i] == 1) { - /* : fprintf('[LIN 1] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ - printf("[LIN 1] ACT%d MAX = %d KOEF = %f Callibration = %d \n", - (int16_t)(i + 1), rtDW.MaxPositionCh0_private[i], - rtb_Divide1_a4[i], (int16_t)rtDW.ErrorCalibration_private[i]); - fflush(stdout); - } - } - - /* End of MATLAB Function: '/MAX POSITION' */ - - /* Logic: '/Logical Operator2' incorporates: - * DataStoreWrite: '/Data Store Write' - */ rtb_err = (rtDW.ErrorCalibration_private[0] != 0); for (i = 0; i < 8; i++) { rtb_err = (rtb_err || (rtDW.ErrorCalibration_private[i + 1] != 0)); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ if (rtb_err) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_a = 2; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_a = 4; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem1' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem1' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* RelationalOperator: '/Compare' */ - rtb_Switch1_oh = rtb_Divide1_a4[i]; + /* RelationalOperator: '/Compare' */ + rtb_Switch2_by = rtb_Divide1_a4[i]; - /* Logic: '/Logical Operator3' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator4' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* Logic: '/Logical Operator3' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator4' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ - Enable_Comp_PID = (((rtb_Switch1_oh < 0.97) || (rtb_Switch1_oh > 1.03)) && + Enable_Comp_PID = (((rtb_Switch2_by < 0.97) || (rtb_Switch2_by > 1.03)) && (rtDW.ErrorCalibration_private[i] != 0)); rtb_LogicalOperator3_nq[i] = Enable_Comp_PID; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.ErrorCalibration_private[i] = Enable_Comp_PID; } - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/MIN ACT1T 1' - */ + /* Logic: '/Logical Operator2' */ /* : if(LOGGER>0) */ - /* : fprintf("[LIN 1] Homing 3. Callibration \n"); */ - printf("[LIN 1] Homing 3. Callibration \n"); - fflush(stdout); - - /* : for i = 1:numel(MAX) */ - for (i = 0; i < 9; i++) { - /* : if(ERRORS(i)==1) */ - if (rtb_LogicalOperator3_nq[i]) { - /* : fprintf('[LIN 1] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ - printf("[LIN 1] ACT%d MAX = %d KOEF = %f Callibration = %d \n", - (int16_t)(i + 1), rtDW.MaxPositionCh0_private[i], - rtb_Divide1_a4[i], 1); - fflush(stdout); - } - } - - /* End of MATLAB Function: '/MAX POSITION' */ - - /* Logic: '/Logical Operator2' */ rtb_err = rtb_LogicalOperator3_nq[0]; for (i = 0; i < 8; i++) { rtb_err = (rtb_err || rtb_LogicalOperator3_nq[i + 1]); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ if (rtb_err) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant3' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant3' */ rtB.Merge_a = 3; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_a = 4; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read1' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read1' */ /* : if(LOGGER>1) */ if (rtDW.ErrorHomming_private < 10.0) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/MATLAB Function' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/MATLAB Function' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' */ MATLABFunction(rtDW.Start_timer_n, rtDW.t_now, &rtb_Subtract, &rtDW.sf_MATLABFunction_h); - /* If: '/If' */ + /* If: '/If' */ /* : if(LOGGER>1) */ if (rtb_Subtract > 3600000U) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' */ + /* Merge: '/Merge' */ IfActionSubsystem_h(&rtB.Merge_a, &rtDW.ErrorHomming_private, &rtDW.Start_timer_n, &rtDW.stepSig_private); - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant3' */ rtDW.Start_timer_n = 1.0; - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreRead: '/valves target in percent' - */ + /* DataTypeConversion: '/Data Type Conversion2' */ for (i = 0; i < 9; i++) { - rtb_DataTypeConversion_hon[i] = (uint8_t)rtb_out_j[i]; + rtb_DataTypeConversion_eg[i] = (uint8_t)rtb_out_ak[i]; } - /* End of DataTypeConversion: '/Data Type Conversion2' */ + /* End of DataTypeConversion: '/Data Type Conversion2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ - rtDW.BUS_ADR_private[0] = rtb_DataTypeConversion_hon[8]; + rtDW.BUS_ADR_private[0] = rtb_DataTypeConversion_eg[8]; - /* DataStoreRead: '/Data Store Read4' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreRead: '/Data Store Read4' incorporates: + * Concatenate: '/Vector Concatenate' */ - rtDW.BUS_ADR_private[1] = rtb_Switch_db; + rtDW.BUS_ADR_private[1] = rtb_DataTypeConversion_kv; - /* DataStoreRead: '/Data Store Read3' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreRead: '/Data Store Read3' incorporates: + * Concatenate: '/Vector Concatenate' */ - rtDW.BUS_ADR_private[2] = rtb_u_pc; + rtDW.BUS_ADR_private[2] = rtb_Gain2_hu; - /* DataStoreRead: '/Data Store Read' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreRead: '/Data Store Read' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private[3] = rtDW.PID_TempFUL; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ - rtDW.BUS_ADR_private[4] = rtb_DataTypeConversion_hon[1]; + rtDW.BUS_ADR_private[4] = rtb_DataTypeConversion_eg[1]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ - rtDW.BUS_ADR_private[5] = rtb_DataTypeConversion_hon[0]; + rtDW.BUS_ADR_private[5] = rtb_DataTypeConversion_eg[0]; - /* DataStoreRead: '/Data Store Read6' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreRead: '/Data Store Read6' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private[6] = rtDW.PID_TempFLL; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ - rtDW.BUS_ADR_private[7] = rtb_DataTypeConversion_hon[4]; + rtDW.BUS_ADR_private[7] = rtb_DataTypeConversion_eg[4]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ - rtDW.BUS_ADR_private[8] = rtb_DataTypeConversion_hon[5]; + rtDW.BUS_ADR_private[8] = rtb_DataTypeConversion_eg[5]; for (i = 0; i < 9; i++) { - /* Product: '/Product' */ - u0 = rtDW.BUS_ADR_private[i]; + /* Product: '/Product' */ + El_window_heating = rtDW.BUS_ADR_private[i]; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Product: '/Divide1' - * Product: '/Product' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Product: '/Divide1' + * Product: '/Product' */ - rtDW.POS_private[i] = (uint16_t)((double)(u0 * + rtDW.POS_private[i] = (uint16_t)((double)(El_window_heating * rtDW.MaxPositionCh0_private[i]) / 100.0); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ - rtb_LogicalOperator3_nq[i] = (rtb_DataTypeConversion_p3[i] == u0); + rtb_LogicalOperator3_nq[i] = (rtb_DataTypeConversion_fv[i] == + El_window_heating); } - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_err = rtb_LogicalOperator3_nq[0]; for (i = 0; i < 8; i++) { rtb_err = (rtb_err && rtb_LogicalOperator3_nq[i + 1]); } for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant4' - * Constant: '/Constant9' - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant4' + * Constant: '/Constant9' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' */ if (rtb_err) { rtDW.COM_private[i] = 0U; @@ -28547,163 +33942,162 @@ void HVAC_model_step(void) rtDW.COM_private[i] = 3U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Concatenate: '/Vector Concatenate' - * Constant: '/Constant5' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write7' - * Product: '/Product' - * RelationalOperator: '/Relational Operator' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Concatenate: '/Vector Concatenate' + * Constant: '/Constant5' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write7' + * Product: '/Product' + * RelationalOperator: '/Relational Operator' */ rtDW.BUS_ADR_private[i] = (uint8_t)((uint32_t) - (rtb_DataTypeConversion_p3[i] != rtDW.BUS_ADR_private[i]) * - rtConstP.pooled102[i]); + (rtb_DataTypeConversion_fv[i] != rtDW.BUS_ADR_private[i]) * + rtConstP.pooled115[i]); - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' */ rtDW.Autos_private[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ rtDW.Stall_private[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant11' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant11' */ rtDW.Lnoise_private[i] = 0U; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Speed_private[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Coils_private[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - * Merge: '/Merge' - * SignalConversion generated from: '/Out1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + * Merge: '/Merge' + * SignalConversion generated from: '/Out1' */ rtB.Merge_a = 3; - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ IfActionSubsystem1_h(&rtB.Merge_a, &rtDW.CCU_ActuatorErrF_Stat_private, rtDW.COM_private, rtDW.ErrorActuator, rtDW.ErrorCalibration_private, &rtb_Divide5, rtDW.MODE_private, rtDW.dtc_state_error_model); - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem3' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem3' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem4' incorporates: - * ActionPort: '/Action Port' - */ - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreRead: '/valves target in percent' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem4' incorporates: + * ActionPort: '/Action Port' */ + /* DataTypeConversion: '/Data Type Conversion2' */ for (i = 0; i < 9; i++) { - rtb_DataTypeConversion_hon[i] = (uint8_t)rtb_out_j[i]; + rtb_DataTypeConversion_eg[i] = (uint8_t)rtb_out_ak[i]; } - /* End of DataTypeConversion: '/Data Type Conversion2' */ + /* End of DataTypeConversion: '/Data Type Conversion2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ - rtDW.BUS_ADR_private[0] = rtb_DataTypeConversion_hon[8]; + rtDW.BUS_ADR_private[0] = rtb_DataTypeConversion_eg[8]; - /* DataStoreRead: '/Data Store Read4' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreRead: '/Data Store Read4' incorporates: + * Concatenate: '/Vector Concatenate' */ - rtDW.BUS_ADR_private[1] = rtb_Switch_db; + rtDW.BUS_ADR_private[1] = rtb_DataTypeConversion_kv; - /* DataStoreRead: '/Data Store Read2' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreRead: '/Data Store Read2' incorporates: + * Concatenate: '/Vector Concatenate' */ - rtDW.BUS_ADR_private[2] = rtb_u_pc; + rtDW.BUS_ADR_private[2] = rtb_Gain2_hu; - /* DataStoreRead: '/Data Store Read' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreRead: '/Data Store Read' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private[3] = rtDW.PID_TempFUL; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ - rtDW.BUS_ADR_private[4] = rtb_DataTypeConversion_hon[1]; + rtDW.BUS_ADR_private[4] = rtb_DataTypeConversion_eg[1]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ - rtDW.BUS_ADR_private[5] = rtb_DataTypeConversion_hon[0]; + rtDW.BUS_ADR_private[5] = rtb_DataTypeConversion_eg[0]; - /* DataStoreRead: '/Data Store Read6' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreRead: '/Data Store Read6' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private[6] = rtDW.PID_TempFLL; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ - rtDW.BUS_ADR_private[7] = rtb_DataTypeConversion_hon[4]; + rtDW.BUS_ADR_private[7] = rtb_DataTypeConversion_eg[4]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ - rtDW.BUS_ADR_private[8] = rtb_DataTypeConversion_hon[5]; + rtDW.BUS_ADR_private[8] = rtb_DataTypeConversion_eg[5]; for (i = 0; i < 9; i++) { - /* Product: '/Product' */ - u0 = rtDW.BUS_ADR_private[i]; + /* Product: '/Product' */ + El_window_heating = rtDW.BUS_ADR_private[i]; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Product: '/Divide1' - * Product: '/Product' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Product: '/Divide1' + * Product: '/Product' */ - rtDW.POS_private[i] = (uint16_t)((double)(u0 * + rtDW.POS_private[i] = (uint16_t)((double)(El_window_heating * rtDW.MaxPositionCh0_private[i]) / 100.0); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ - rtb_LogicalOperator3_nq[i] = (rtb_DataTypeConversion_p3[i] == u0); + rtb_LogicalOperator3_nq[i] = (rtb_DataTypeConversion_fv[i] == + El_window_heating); } - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_err = rtb_LogicalOperator3_nq[0]; for (i = 0; i < 8; i++) { rtb_err = (rtb_err && rtb_LogicalOperator3_nq[i + 1]); } for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant4' - * Constant: '/Constant9' - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant4' + * Constant: '/Constant9' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' */ if (rtb_err) { rtDW.COM_private[i] = 0U; @@ -28711,86 +34105,86 @@ void HVAC_model_step(void) rtDW.COM_private[i] = 3U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Concatenate: '/Vector Concatenate' - * Constant: '/Constant5' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write7' - * Product: '/Product' - * RelationalOperator: '/Relational Operator' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Concatenate: '/Vector Concatenate' + * Constant: '/Constant5' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write7' + * Product: '/Product' + * RelationalOperator: '/Relational Operator' */ rtDW.BUS_ADR_private[i] = (uint8_t)((uint32_t) - (rtb_DataTypeConversion_p3[i] != rtDW.BUS_ADR_private[i]) * - rtConstP.pooled102[i]); + (rtb_DataTypeConversion_fv[i] != rtDW.BUS_ADR_private[i]) * + rtConstP.pooled115[i]); - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' */ rtDW.Autos_private[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ rtDW.Stall_private[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant11' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant11' */ rtDW.Lnoise_private[i] = 0U; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Speed_private[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Coils_private[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - * SignalConversion generated from: '/step' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + * SignalConversion generated from: '/step' */ rtB.Merge_a = 4; - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* DataStoreWrite: '/Data Store Write2' */ + /* DataStoreWrite: '/Data Store Write2' */ rtDW.stepHoming_private = rtB.Merge_a; - /* Merge: '/Merge' incorporates: - * DataStoreRead: '/Data Store Read7' + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Data Store Read7' */ rtB.Merge_f1 = rtDW.stepSig_private; - /* End of Outputs for SubSystem: '/Homing' */ + /* End of Outputs for SubSystem: '/Homing' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* DataStoreWrite: '/Finish write stepSig' */ + /* DataStoreWrite: '/Finish write stepSig' */ rtDW.stepSig_private = rtB.Merge_f1; for (i = 0; i < 9; i++) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * DataStoreWrite: '/Data Store Write' */ Actuator_Ch0_Command_Model.POS[i] = rtDW.POS_private[i]; Actuator_Ch0_Command_Model.BUS_ADR[i] = rtDW.BUS_ADR_private[i]; @@ -28802,132 +34196,132 @@ void HVAC_model_step(void) Actuator_Ch0_Command_Model.Speed_SET[i] = rtDW.Speed_private[i]; Actuator_Ch0_Command_Model.Coils_Stop_SET[i] = rtDW.Coils_private[i]; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read2' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read2' */ rtb_LogicalOperator3_nq[i] = (rtDW.ErrorCalibration_private[i] == 0); } - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_err = rtb_LogicalOperator3_nq[0]; for (i = 0; i < 8; i++) { rtb_err = (rtb_err || rtb_LogicalOperator3_nq[i + 1]); } for (i = 0; i < 9; i++) { - /* Switch: '/Switch1' incorporates: - * Concatenate: '/Vector Concatenate' - * Constant: '/Constant' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read2' - * DataStoreWrite: '/Data Store Write7' - * Logic: '/Logical Operator' - * Product: '/Product' + /* Switch: '/Switch1' incorporates: + * Concatenate: '/Vector Concatenate' + * Constant: '/Constant' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write7' + * Logic: '/Logical Operator' + * Product: '/Product' */ if (rtb_err) { rtDW.BUS_ADR_private[i] = (uint8_t)((uint32_t) - rtDW.ErrorCalibration_private[i] * rtConstP.pooled102[i]); + rtDW.ErrorCalibration_private[i] * rtConstP.pooled115[i]); } else { rtDW.BUS_ADR_private[i] = 0U; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.COM_private[i] = 0U; } - /* DataTypeConversion: '/Data Type Conversion' */ + /* DataTypeConversion: '/Data Type Conversion' */ for (i = 0; i < 6; i++) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read' - * Gain: '/Gain' - * Product: '/Divide' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Gain: '/Gain' + * Product: '/Divide' */ - rtb_Bias5 = rtDW.MaxPositionCh1_private[i]; - if (rtb_Bias5 != 0) { - rtb_Switch1_oh = (double)Actuator_Ch1_Status_Model.in_CPOS_ALL[i] / - (double)rtb_Bias5 * 100.0; + rtb_y_fq = rtDW.MaxPositionCh1_private[i]; + if (rtb_y_fq != 0) { + rtb_Switch2_by = (double)Actuator_Ch1_Status_Model.in_CPOS_ALL[i] / + (double)rtb_y_fq * 100.0; } else { - rtb_Switch1_oh = 0.0; + rtb_Switch2_by = 0.0; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Saturate: '/Saturation' */ - if (rtb_Switch1_oh > 100.0) { - rtb_DataTypeConversion_hon[i] = 100U; - } else if (rtb_Switch1_oh < 0.0) { - rtb_DataTypeConversion_hon[i] = 0U; + /* Saturate: '/Saturation' */ + if (rtb_Switch2_by > 100.0) { + rtb_DataTypeConversion_eg[i] = 100U; + } else if (rtb_Switch2_by < 0.0) { + rtb_DataTypeConversion_eg[i] = 0U; } else { - rtb_DataTypeConversion_hon[i] = (uint8_t)rtb_Switch1_oh; + rtb_DataTypeConversion_eg[i] = (uint8_t)rtb_Switch2_by; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ } - /* End of DataTypeConversion: '/Data Type Conversion' */ + /* End of DataTypeConversion: '/Data Type Conversion' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant1' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant1' */ - rtb_DataTypeConversion_hon[6] = 0U; - rtb_DataTypeConversion_hon[7] = 0U; - rtb_DataTypeConversion_hon[8] = 0U; + rtb_DataTypeConversion_eg[6] = 0U; + rtb_DataTypeConversion_eg[7] = 0U; + rtb_DataTypeConversion_eg[8] = 0U; - /* DataStoreWrite: '/Data Store Write2' */ + /* DataStoreWrite: '/Data Store Write2' */ for (i = 0; i < 9; i++) { - Actuator_pos_percent_Ch1[i] = rtb_DataTypeConversion_hon[i]; + Actuator_pos_percent_Ch1[i] = rtb_DataTypeConversion_eg[i]; } - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' */ if (rtDW.stepSig_private_h > 0) { - rtb_y_c = rtDW.stepSig_private_h; + rtb_y_f = rtDW.stepSig_private_h; } else { - rtb_y_c = 1; + rtb_y_f = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* SwitchCase: '/Switch Case' */ - switch (rtb_y_c) { + /* SwitchCase: '/Switch Case' */ + switch (rtb_y_f) { case 1: - /* Outputs for IfAction SubSystem: '/Stop Mode' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Stop Mode' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch1_Status_Model.Busy == 0) && (Actuator_Ch1_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.COM_private_g[i] = 1U; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.MODE_private_b[i] = 2U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_e = (int8_t)(rtb_y_c + 1); + rtB.Merge_e = (int8_t)(rtb_y_f + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtb_Divide5 == 2.0) { @@ -28936,55 +34330,55 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_e = rtb_y_c; + rtB.Merge_e = rtb_y_f; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Stop Mode' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Stop Mode' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Initial CPOS Min' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Initial CPOS Min' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch1_Status_Model.Busy == 0) && (Actuator_Ch1_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.POS_private_m[i] = 6000U; - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.COM_private_g[i] = 2U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Merge: '/Merge' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Merge: '/Merge' + * Sum: '/step inc' */ - rtB.Merge_e = (int8_t)(rtb_y_c + 1); + rtB.Merge_e = (int8_t)(rtb_y_f + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtb_Divide5 == 2.0) { @@ -28993,55 +34387,55 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * Merge: '/Merge' - * SignalConversion generated from: '/stepIn1' + /* Merge: '/Merge' incorporates: + * Merge: '/Merge' + * SignalConversion generated from: '/stepIn1' */ - rtB.Merge_e = rtb_y_c; + rtB.Merge_e = rtb_y_f; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/Initial CPOS Min' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/Initial CPOS Min' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Normal Mode' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Normal Mode' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch1_Status_Model.Busy == 0) && (Actuator_Ch1_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.MODE_private_b[i] = 0U; - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.COM_private_g[i] = 1U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_e = (int8_t)(rtb_y_c + 1); + rtB.Merge_e = (int8_t)(rtb_y_f + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtb_Divide5 == 2.0) { @@ -29050,79 +34444,79 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_e = rtb_y_c; + rtB.Merge_e = rtb_y_f; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Normal Mode' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Normal Mode' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Move to position Min' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Move to position Min' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch1_Status_Model.Busy == 0) && (Actuator_Ch1_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' */ rtDW.Autos_private_n[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ rtDW.Stall_private_l[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' */ + /* DataStoreWrite: '/Data Store Write3' */ rtDW.Lnoise_private_n[i] = 0U; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Speed_private_j[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Coils_private_c[i] = 3U; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.POS_private_m[i] = 0U; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant9' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant9' */ rtDW.COM_private_g[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_e = (int8_t)(rtb_y_c + 1); + rtB.Merge_e = (int8_t)(rtb_y_f + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtb_Divide5 == 2.0) { @@ -29131,35 +34525,35 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_e = rtb_y_c; + rtB.Merge_e = rtb_y_f; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Move to position Min' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Move to position Min' */ break; case 5: - /* Outputs for IfAction SubSystem: '/Check Stall Min' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Check Stall Min' incorporates: + * ActionPort: '/Action Port' */ - /* Logic: '/Logical Operator3' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' + /* Logic: '/Logical Operator3' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' */ for (i = 0; i < 6; i++) { rtb_LogicalOperator3_k[i] = @@ -29168,52 +34562,52 @@ void HVAC_model_step(void) (rtDW.ErrorCalibration_private_p[i] == 0)); } - /* End of Logic: '/Logical Operator3' */ + /* End of Logic: '/Logical Operator3' */ - /* Logic: '/Logical Operator' incorporates: - * Logic: '/Logical Operator3' + /* Logic: '/Logical Operator' incorporates: + * Logic: '/Logical Operator3' */ rtb_err = rtb_LogicalOperator3_k[0]; for (i = 0; i < 5; i++) { rtb_err = (rtb_err && rtb_LogicalOperator3_k[i + 1]); } - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * Logic: '/Logical Operator' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Logic: '/Logical Operator' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch1_Status_Model.Busy == 0) && (Actuator_Ch1_Status_Model.Error_Connect == 0) && rtb_err) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorCalibration_private_p[i] != 0) { rtDW.MinPositionCh1_private[i] = Actuator_Ch1_Status_Model.in_CPOS_ALL[i]; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of DataStoreWrite: '/Data Store Write1' */ + /* End of DataStoreWrite: '/Data Store Write1' */ - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_e = (int8_t)(rtb_y_c + 1); + rtB.Merge_e = (int8_t)(rtb_y_f + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtb_Divide5 == 2.0) { @@ -29233,54 +34627,54 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_e = rtb_y_c; + rtB.Merge_e = rtb_y_f; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If2' */ - /* End of Outputs for SubSystem: '/Check Stall Min' */ + /* End of If: '/If2' */ + /* End of Outputs for SubSystem: '/Check Stall Min' */ break; case 6: - /* Outputs for IfAction SubSystem: '/Initial CPOS Max' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Initial CPOS Max' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch1_Status_Model.Busy == 0) && (Actuator_Ch1_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.COM_private_g[i] = 2U; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.POS_private_m[i] = 0U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_e = (int8_t)(rtb_y_c + 1); + rtB.Merge_e = (int8_t)(rtb_y_f + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtb_Divide5 == 2.0) { @@ -29289,79 +34683,79 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_e = rtb_y_c; + rtB.Merge_e = rtb_y_f; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Initial CPOS Max' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Initial CPOS Max' */ break; case 7: - /* Outputs for IfAction SubSystem: '/Move to position Max' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Move to position Max' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch1_Status_Model.Busy == 0) && (Actuator_Ch1_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' */ rtDW.Autos_private_n[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ rtDW.Stall_private_l[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' */ + /* DataStoreWrite: '/Data Store Write3' */ rtDW.Lnoise_private_n[i] = 0U; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Speed_private_j[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Coils_private_c[i] = 3U; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.POS_private_m[i] = 6000U; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant9' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant9' */ rtDW.COM_private_g[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_e = (int8_t)(rtb_y_c + 1); + rtB.Merge_e = (int8_t)(rtb_y_f + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtb_Divide5 == 2.0) { @@ -29370,35 +34764,35 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_e = rtb_y_c; + rtB.Merge_e = rtb_y_f; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Move to position Max' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Move to position Max' */ break; case 8: - /* Outputs for IfAction SubSystem: '/Check Stall Max' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Check Stall Max' incorporates: + * ActionPort: '/Action Port' */ - /* Logic: '/Logical Operator3' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' + /* Logic: '/Logical Operator3' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' */ for (i = 0; i < 6; i++) { rtb_LogicalOperator3_k[i] = @@ -29407,33 +34801,33 @@ void HVAC_model_step(void) (rtDW.ErrorCalibration_private_p[i] == 0)); } - /* End of Logic: '/Logical Operator3' */ + /* End of Logic: '/Logical Operator3' */ - /* Logic: '/Logical Operator1' incorporates: - * Logic: '/Logical Operator3' + /* Logic: '/Logical Operator1' incorporates: + * Logic: '/Logical Operator3' */ rtb_err = rtb_LogicalOperator3_k[0]; for (i = 0; i < 5; i++) { rtb_err = (rtb_err && rtb_LogicalOperator3_k[i + 1]); } - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * Logic: '/Logical Operator1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Logic: '/Logical Operator1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch1_Status_Model.Busy == 0) && (Actuator_Ch1_Status_Model.Error_Connect == 0) && rtb_err) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorCalibration_private_p[i] != 0) { rtDW.MaxPositionCh1_private[i] = @@ -29442,19 +34836,19 @@ void HVAC_model_step(void) rtDW.MaxPositionCh1_private[i] = 0; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of DataStoreWrite: '/Data Store Write1' */ + /* End of DataStoreWrite: '/Data Store Write1' */ - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_e = (int8_t)(rtb_y_c + 1); + rtB.Merge_e = (int8_t)(rtb_y_f + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtb_Divide5 == 2.0) { @@ -29474,81 +34868,81 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_e = rtb_y_c; + rtB.Merge_e = rtb_y_f; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If2' */ - /* End of Outputs for SubSystem: '/Check Stall Max' */ + /* End of If: '/If2' */ + /* End of Outputs for SubSystem: '/Check Stall Max' */ break; case 9: - /* Outputs for IfAction SubSystem: '/Homing' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Homing' incorporates: + * ActionPort: '/Action Port' */ - /* Product: '/Divide1' incorporates: - * Constant: '/ACT1' - * DataStoreRead: '/MAX ACT1T ' + /* Product: '/Divide1' incorporates: + * Constant: '/ACT1' + * DataStoreRead: '/MAX ACT1T ' */ for (i = 0; i < 6; i++) { rtb_Divide1_a4[i] = (double)rtDW.MaxPositionCh1_private[i] / (double) rtConstP.ACT1_Value_c[i]; } - /* End of Product: '/Divide1' */ + /* End of Product: '/Divide1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant' */ rtb_Divide1_a4[6] = 1.0; rtb_Divide1_a4[7] = 1.0; rtb_Divide1_a4[8] = 1.0; - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read4' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read4' */ switch (rtDW.stepHoming_private_f) { case 0: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* RelationalOperator: '/Compare' */ - rtb_Switch1_oh = rtb_Divide1_a4[i]; + /* RelationalOperator: '/Compare' */ + rtb_Switch2_by = rtb_Divide1_a4[i]; - /* Logic: '/Logical Operator' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* Logic: '/Logical Operator' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ - Enable_Comp_PID = ((rtb_Switch1_oh >= 0.6) && (rtb_Switch1_oh <= 1.5)); + Enable_Comp_PID = ((rtb_Switch2_by >= 0.6) && (rtb_Switch2_by <= 1.5)); rtb_LogicalOperator3_nq[i] = Enable_Comp_PID; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' */ rtDW.ErrorCalibration_private_p[i] = (uint8_t)((!Enable_Comp_PID) && (rtDW.ErrorCalibration_private_p[i] != 0)); } - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/MIN ACT1T 1' - * Logic: '/Logical Operator2' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/MIN ACT1T 1' + * Logic: '/Logical Operator2' */ /* : if(LOGGER>0) */ if (rtb_Divide5 > 0.0) { @@ -29566,78 +34960,78 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator1' */ + /* Logic: '/Logical Operator1' */ rtb_err = rtb_LogicalOperator3_nq[0]; for (i = 0; i < 8; i++) { rtb_err = (rtb_err && rtb_LogicalOperator3_nq[i + 1]); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator1' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator1' */ if (rtb_err) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_p = 4; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ rtB.Merge_p = 1; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ for (i = 0; i < 9; i++) { rtb_LogicalOperator3_nq[i] = (rtb_Divide1_a4[i] > 1.5); } - /* End of RelationalOperator: '/Compare' */ + /* End of RelationalOperator: '/Compare' */ - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_err = rtb_LogicalOperator3_nq[0]; for (i = 0; i < 8; i++) { rtb_err = (rtb_err || rtb_LogicalOperator3_nq[i + 1]); } - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' */ rtDW.CCU_ActuatorErrF_Stat_private = rtb_err; for (i = 0; i < 9; i++) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ Enable_Comp_PID = rtb_LogicalOperator3_nq[i]; rtDW.COM_private_g[i] = Enable_Comp_PID; - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write3' - * Logic: '/Logical Operator1' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write3' + * Logic: '/Logical Operator1' */ rtDW.ErrorActuator_o[i] = (uint8_t)(Enable_Comp_PID || (rtDW.ErrorActuator_o[i] != 0)); - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.MODE_private_b[i] = 2U; } - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read6' + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read6' */ /* : if(LOGGER>=0) */ if (rtb_Divide5 >= 0.0) { @@ -29652,35 +35046,35 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ for (i = 0; i < 9; i++) { - /* Logic: '/Logical Operator1' */ + /* Logic: '/Logical Operator1' */ Enable_Comp_PID = rtb_LogicalOperator3_nq[i]; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' */ rtDW.ErrorCalibration_private_p[i] = (uint8_t)((!Enable_Comp_PID) && (rtDW.ErrorCalibration_private_p[i] != 0)); - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[i + 54] = Enable_Comp_PID; } - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.stepSig_private_h = 1; - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/MIN ACT1T 1' - * DataStoreWrite: '/Data Store Write' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/MIN ACT1T 1' + * DataStoreWrite: '/Data Store Write' */ /* : if(LOGGER>0) */ if (rtb_Divide5 > 0.0) { @@ -29701,65 +35095,65 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator2' incorporates: - * DataStoreWrite: '/Data Store Write' + /* Logic: '/Logical Operator2' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtb_err = (rtDW.ErrorCalibration_private_p[0] != 0); for (i = 0; i < 8; i++) { rtb_err = (rtb_err || (rtDW.ErrorCalibration_private_p[i + 1] != 0)); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ if (rtb_err) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_p = 2; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_p = 4; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem1' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem1' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* RelationalOperator: '/Compare' */ - rtb_Switch1_oh = rtb_Divide1_a4[i]; + /* RelationalOperator: '/Compare' */ + rtb_Switch2_by = rtb_Divide1_a4[i]; - /* Logic: '/Logical Operator3' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator4' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* Logic: '/Logical Operator3' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator4' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ - Enable_Comp_PID = (((rtb_Switch1_oh < 0.97) || (rtb_Switch1_oh > 1.03)) && + Enable_Comp_PID = (((rtb_Switch2_by < 0.97) || (rtb_Switch2_by > 1.03)) && (rtDW.ErrorCalibration_private_p[i] != 0)); rtb_LogicalOperator3_nq[i] = Enable_Comp_PID; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.ErrorCalibration_private_p[i] = Enable_Comp_PID; } - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/MIN ACT1T 1' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/MIN ACT1T 1' */ /* : if(LOGGER>0) */ if (rtb_Divide5 > 0.0) { @@ -29780,77 +35174,77 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator2' */ + /* Logic: '/Logical Operator2' */ rtb_err = rtb_LogicalOperator3_nq[0]; for (i = 0; i < 8; i++) { rtb_err = (rtb_err || rtb_LogicalOperator3_nq[i + 1]); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ if (rtb_err) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant3' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant3' */ rtB.Merge_p = 3; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_p = 4; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read5' */ /* : if(LOGGER>1) */ if (rtb_Divide5 > 1.0) { /* : fprintf("[LIN 2] Homing 3. Start Time on step %d\n",int16(step)); */ - rtb_Switch1_oh = rt_roundd(rtDW.ErrorHomming_private_h); - if (rtb_Switch1_oh < 32768.0) { - if (rtb_Switch1_oh >= -32768.0) { - rtb_Switch2_p0 = (int16_t)rtb_Switch1_oh; + rtb_Switch2_by = rt_roundd(rtDW.ErrorHomming_private_h); + if (rtb_Switch2_by < 32768.0) { + if (rtb_Switch2_by >= -32768.0) { + rtb_y_fq = (int16_t)rtb_Switch2_by; } else { - rtb_Switch2_p0 = INT16_MIN; + rtb_y_fq = INT16_MIN; } } else { - rtb_Switch2_p0 = INT16_MAX; + rtb_y_fq = INT16_MAX; } - printf("[LIN 2] Homing 3. Start Time on step %d\n", rtb_Switch2_p0); + printf("[LIN 2] Homing 3. Start Time on step %d\n", rtb_y_fq); fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read1' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorHomming_private_h < 10.0) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/MATLAB Function' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/MATLAB Function' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' */ MATLABFunction(rtDW.Start_timer_j, rtDW.t_now, &rtb_dt_nx, &rtDW.sf_MATLABFunction_hk); - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' */ /* : if(LOGGER>1) */ if (rtb_Divide5 > 1.0) { @@ -29865,115 +35259,114 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* If: '/If' */ + /* If: '/If' */ if (rtb_dt_nx > 3600000U) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' */ + /* Merge: '/Merge' */ IfActionSubsystem_h(&rtB.Merge_p, &rtDW.ErrorHomming_private_h, &rtDW.Start_timer_j, &rtDW.stepSig_private_h); - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant3' */ rtDW.Start_timer_j = 1.0; - /* DataStoreRead: '/Data Store Read' incorporates: - * Concatenate: '/LIN1' + /* DataStoreRead: '/Data Store Read' incorporates: + * Concatenate: '/LIN1' */ rtDW.BUS_ADR_private_j[0] = rtDW.PID_TempFUR; - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreRead: '/valves target in percent' - */ + /* DataTypeConversion: '/Data Type Conversion2' */ for (i = 0; i < 9; i++) { - rtb_DataTypeConversion_p4[i] = (uint8_t)rtb_out_j[i]; + rtb_DataTypeConversion_jn[i] = (uint8_t)rtb_out_ak[i]; } - /* End of DataTypeConversion: '/Data Type Conversion2' */ + /* End of DataTypeConversion: '/Data Type Conversion2' */ - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' */ - rtDW.BUS_ADR_private_j[1] = rtb_DataTypeConversion_p4[2]; + rtDW.BUS_ADR_private_j[1] = rtb_DataTypeConversion_jn[2]; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' */ - rtDW.BUS_ADR_private_j[2] = rtb_DataTypeConversion_p4[3]; + rtDW.BUS_ADR_private_j[2] = rtb_DataTypeConversion_jn[3]; - /* DataStoreRead: '/Data Store Read2' incorporates: - * Concatenate: '/LIN1' + /* DataStoreRead: '/Data Store Read2' incorporates: + * Concatenate: '/LIN1' */ rtDW.BUS_ADR_private_j[3] = rtDW.PID_TempFRL; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' */ - rtDW.BUS_ADR_private_j[4] = rtb_DataTypeConversion_p4[6]; + rtDW.BUS_ADR_private_j[4] = rtb_DataTypeConversion_jn[6]; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' */ - rtDW.BUS_ADR_private_j[5] = rtb_DataTypeConversion_p4[7]; + rtDW.BUS_ADR_private_j[5] = rtb_DataTypeConversion_jn[7]; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private_j[6] = 0U; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private_j[7] = 0U; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private_j[8] = 0U; for (i = 0; i < 9; i++) { - /* Product: '/Product' */ - u0 = rtDW.BUS_ADR_private_j[i]; + /* Product: '/Product' */ + El_window_heating = rtDW.BUS_ADR_private_j[i]; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Product: '/Divide1' - * Product: '/Product' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Product: '/Divide1' + * Product: '/Product' */ - rtDW.POS_private_m[i] = (uint16_t)((double)(u0 * + rtDW.POS_private_m[i] = (uint16_t)((double)(El_window_heating * rtDW.MaxPositionCh1_private[i]) / 100.0); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ - rtb_LogicalOperator3_nq[i] = (rtb_DataTypeConversion_hon[i] == u0); + rtb_LogicalOperator3_nq[i] = (rtb_DataTypeConversion_eg[i] == + El_window_heating); } - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_err = rtb_LogicalOperator3_nq[0]; for (i = 0; i < 8; i++) { rtb_err = (rtb_err && rtb_LogicalOperator3_nq[i + 1]); } for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant4' - * Constant: '/Constant9' - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant4' + * Constant: '/Constant9' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' */ if (rtb_err) { rtDW.COM_private_g[i] = 0U; @@ -29981,166 +35374,165 @@ void HVAC_model_step(void) rtDW.COM_private_g[i] = 3U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Concatenate: '/LIN1' - * Constant: '/Constant5' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write7' - * Product: '/Product' - * RelationalOperator: '/Relational Operator' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Concatenate: '/LIN1' + * Constant: '/Constant5' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write7' + * Product: '/Product' + * RelationalOperator: '/Relational Operator' */ rtDW.BUS_ADR_private_j[i] = (uint8_t)((uint32_t) - (rtb_DataTypeConversion_hon[i] != rtDW.BUS_ADR_private_j[i]) * - rtConstP.pooled102[i]); + (rtb_DataTypeConversion_eg[i] != rtDW.BUS_ADR_private_j[i]) * + rtConstP.pooled115[i]); - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' */ rtDW.Autos_private_n[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ rtDW.Stall_private_l[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant11' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant11' */ rtDW.Lnoise_private_n[i] = 0U; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Speed_private_j[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Coils_private_c[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - * Merge: '/Merge' - * SignalConversion generated from: '/Out1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + * Merge: '/Merge' + * SignalConversion generated from: '/Out1' */ rtB.Merge_p = 3; - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ IfActionSubsystem1_h(&rtB.Merge_p, &rtDW.CCU_ActuatorErrF_Stat_private, rtDW.COM_private_g, rtDW.ErrorActuator_o, rtDW.ErrorCalibration_private_p, &rtb_Divide5, rtDW.MODE_private_b, rtDW.dtc_state_error_model); - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem3' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem3' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem4' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem4' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreRead: '/Data Store Read' incorporates: - * Concatenate: '/LIN1' + /* DataStoreRead: '/Data Store Read' incorporates: + * Concatenate: '/LIN1' */ rtDW.BUS_ADR_private_j[0] = rtDW.PID_TempFUR; - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreRead: '/valves target in percent' - */ + /* DataTypeConversion: '/Data Type Conversion2' */ for (i = 0; i < 9; i++) { - rtb_DataTypeConversion_p4[i] = (uint8_t)rtb_out_j[i]; + rtb_DataTypeConversion_jn[i] = (uint8_t)rtb_out_ak[i]; } - /* End of DataTypeConversion: '/Data Type Conversion2' */ + /* End of DataTypeConversion: '/Data Type Conversion2' */ - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' */ - rtDW.BUS_ADR_private_j[1] = rtb_DataTypeConversion_p4[2]; + rtDW.BUS_ADR_private_j[1] = rtb_DataTypeConversion_jn[2]; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' */ - rtDW.BUS_ADR_private_j[2] = rtb_DataTypeConversion_p4[3]; + rtDW.BUS_ADR_private_j[2] = rtb_DataTypeConversion_jn[3]; - /* DataStoreRead: '/Data Store Read2' incorporates: - * Concatenate: '/LIN1' + /* DataStoreRead: '/Data Store Read2' incorporates: + * Concatenate: '/LIN1' */ rtDW.BUS_ADR_private_j[3] = rtDW.PID_TempFRL; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' */ - rtDW.BUS_ADR_private_j[4] = rtb_DataTypeConversion_p4[6]; + rtDW.BUS_ADR_private_j[4] = rtb_DataTypeConversion_jn[6]; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' */ - rtDW.BUS_ADR_private_j[5] = rtb_DataTypeConversion_p4[7]; + rtDW.BUS_ADR_private_j[5] = rtb_DataTypeConversion_jn[7]; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private_j[6] = 0U; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private_j[7] = 0U; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' - * DataStoreWrite: '/Data Store Write2' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' + * DataStoreWrite: '/Data Store Write2' */ rtDW.BUS_ADR_private_j[8] = 0U; for (i = 0; i < 9; i++) { - /* Product: '/Product' */ - u0 = rtDW.BUS_ADR_private_j[i]; + /* Product: '/Product' */ + El_window_heating = rtDW.BUS_ADR_private_j[i]; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Product: '/Divide1' - * Product: '/Product' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Product: '/Divide1' + * Product: '/Product' */ - rtDW.POS_private_m[i] = (uint16_t)((double)(u0 * + rtDW.POS_private_m[i] = (uint16_t)((double)(El_window_heating * rtDW.MaxPositionCh1_private[i]) / 100.0); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ - rtb_LogicalOperator3_nq[i] = (rtb_DataTypeConversion_hon[i] == u0); + rtb_LogicalOperator3_nq[i] = (rtb_DataTypeConversion_eg[i] == + El_window_heating); } - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_err = rtb_LogicalOperator3_nq[0]; for (i = 0; i < 8; i++) { rtb_err = (rtb_err && rtb_LogicalOperator3_nq[i + 1]); } for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant4' - * Constant: '/Constant9' - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant4' + * Constant: '/Constant9' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' */ if (rtb_err) { rtDW.COM_private_g[i] = 0U; @@ -30148,54 +35540,54 @@ void HVAC_model_step(void) rtDW.COM_private_g[i] = 3U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Concatenate: '/LIN1' - * Constant: '/Constant5' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write7' - * Product: '/Product' - * RelationalOperator: '/Relational Operator' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Concatenate: '/LIN1' + * Constant: '/Constant5' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write7' + * Product: '/Product' + * RelationalOperator: '/Relational Operator' */ rtDW.BUS_ADR_private_j[i] = (uint8_t)((uint32_t) - (rtb_DataTypeConversion_hon[i] != rtDW.BUS_ADR_private_j[i]) * - rtConstP.pooled102[i]); + (rtb_DataTypeConversion_eg[i] != rtDW.BUS_ADR_private_j[i]) * + rtConstP.pooled115[i]); - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' */ rtDW.Autos_private_n[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ rtDW.Stall_private_l[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant11' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant11' */ rtDW.Lnoise_private_n[i] = 0U; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Speed_private_j[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Coils_private_c[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - * SignalConversion generated from: '/step' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + * SignalConversion generated from: '/step' */ rtB.Merge_p = 4; - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' */ /* : if(LOGGER>0) */ if (rtb_Divide5 > 0.0) { @@ -30204,41 +35596,41 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ + /* End of MATLAB Function: '/MAX POSITION' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* DataStoreWrite: '/Data Store Write2' */ + /* DataStoreWrite: '/Data Store Write2' */ rtDW.stepHoming_private_f = rtB.Merge_p; - /* Merge: '/Merge' incorporates: - * DataStoreRead: '/Data Store Read7' + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Data Store Read7' */ rtB.Merge_e = rtDW.stepSig_private_h; - /* End of Outputs for SubSystem: '/Homing' */ + /* End of Outputs for SubSystem: '/Homing' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* DataStoreWrite: '/Finish write stepSig' */ + /* DataStoreWrite: '/Finish write stepSig' */ rtDW.stepSig_private_h = rtB.Merge_e; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * DataStoreWrite: '/Data Store Write' */ for (i = 0; i < 9; i++) { Actuator_Ch1_Command_Model.POS[i] = rtDW.POS_private_m[i]; @@ -30252,146 +35644,146 @@ void HVAC_model_step(void) Actuator_Ch1_Command_Model.Coils_Stop_SET[i] = rtDW.Coils_private_c[i]; } - /* End of BusCreator: '/Bus Creator' */ + /* End of BusCreator: '/Bus Creator' */ - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read2' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read2' */ for (i = 0; i < 6; i++) { rtb_Compare_fe[i] = (rtDW.ErrorCalibration_private_p[i] == 0); } - /* End of RelationalOperator: '/Compare' */ + /* End of RelationalOperator: '/Compare' */ - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_err = rtb_Compare_fe[0]; for (i = 0; i < 5; i++) { rtb_err = (rtb_err || rtb_Compare_fe[i + 1]); } - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read2' - * Logic: '/Logical Operator' - * Product: '/Product' + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read2' + * Logic: '/Logical Operator' + * Product: '/Product' */ for (i = 0; i < 6; i++) { if (rtb_err) { - rtb_DataTypeConversion_hon[i] = (uint8_t)((uint32_t) + rtb_DataTypeConversion_eg[i] = (uint8_t)((uint32_t) rtDW.ErrorCalibration_private_p[i] * rtConstP.Constant3_Value[i]); } else { - rtb_DataTypeConversion_hon[i] = 0U; + rtb_DataTypeConversion_eg[i] = 0U; } } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant1' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant1' */ - rtb_DataTypeConversion_hon[6] = 0U; - rtb_DataTypeConversion_hon[7] = 0U; - rtb_DataTypeConversion_hon[8] = 0U; + rtb_DataTypeConversion_eg[6] = 0U; + rtb_DataTypeConversion_eg[7] = 0U; + rtb_DataTypeConversion_eg[8] = 0U; for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Concatenate: '/LIN1' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Concatenate: '/LIN1' */ - rtDW.BUS_ADR_private_j[i] = rtb_DataTypeConversion_hon[i]; + rtDW.BUS_ADR_private_j[i] = rtb_DataTypeConversion_eg[i]; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.COM_private_g[i] = 0U; } - /* DataTypeConversion: '/Data Type Conversion' */ + /* DataTypeConversion: '/Data Type Conversion' */ for (i = 0; i < 8; i++) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read' - * Gain: '/Gain' - * Product: '/Divide' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Gain: '/Gain' + * Product: '/Divide' */ - rtb_Bias5 = rtDW.MaxPositionCh2_private[i]; - if (rtb_Bias5 != 0) { - rtb_Switch1_oh = (double)Actuator_Ch2_Status_Model.in_CPOS_ALL[i] / - (double)rtb_Bias5 * 100.0; + rtb_y_fq = rtDW.MaxPositionCh2_private[i]; + if (rtb_y_fq != 0) { + rtb_Switch2_by = (double)Actuator_Ch2_Status_Model.in_CPOS_ALL[i] / + (double)rtb_y_fq * 100.0; } else { - rtb_Switch1_oh = 0.0; + rtb_Switch2_by = 0.0; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Saturate: '/Saturation' */ - if (rtb_Switch1_oh > 100.0) { - rtb_DataTypeConversion_hon[i] = 100U; - } else if (rtb_Switch1_oh < 0.0) { - rtb_DataTypeConversion_hon[i] = 0U; + /* Saturate: '/Saturation' */ + if (rtb_Switch2_by > 100.0) { + rtb_DataTypeConversion_eg[i] = 100U; + } else if (rtb_Switch2_by < 0.0) { + rtb_DataTypeConversion_eg[i] = 0U; } else { - rtb_DataTypeConversion_hon[i] = (uint8_t)rtb_Switch1_oh; + rtb_DataTypeConversion_eg[i] = (uint8_t)rtb_Switch2_by; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ } - /* End of DataTypeConversion: '/Data Type Conversion' */ + /* End of DataTypeConversion: '/Data Type Conversion' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant1' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant1' */ - rtb_DataTypeConversion_hon[8] = 0U; + rtb_DataTypeConversion_eg[8] = 0U; - /* DataStoreWrite: '/Data Store Write2' */ + /* DataStoreWrite: '/Data Store Write2' */ for (i = 0; i < 9; i++) { - rtb_DataTypeConversion_p4[i] = rtb_DataTypeConversion_hon[i]; + rtb_DataTypeConversion_jn[i] = rtb_DataTypeConversion_eg[i]; } - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' */ if (rtDW.stepSig_private_g > 0) { - rtb_y_c = rtDW.stepSig_private_g; + rtb_y_f = rtDW.stepSig_private_g; } else { - rtb_y_c = 1; + rtb_y_f = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* SwitchCase: '/Switch Case' */ - switch (rtb_y_c) { + /* SwitchCase: '/Switch Case' */ + switch (rtb_y_f) { case 1: - /* Outputs for IfAction SubSystem: '/Stop Mode' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Stop Mode' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch2_Status_Model.Busy == 0) && (Actuator_Ch2_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.COM_private_k[i] = 1U; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.MODE_private_c[i] = 2U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_b4 = (int8_t)(rtb_y_c + 1); + rtB.Merge_b4 = (int8_t)(rtb_y_f + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtb_Divide5 == 2.0) { @@ -30400,55 +35792,55 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_b4 = rtb_y_c; + rtB.Merge_b4 = rtb_y_f; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Stop Mode' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Stop Mode' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Initial CPOS Min' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Initial CPOS Min' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch2_Status_Model.Busy == 0) && (Actuator_Ch2_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.POS_private_h[i] = 6000U; - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.COM_private_k[i] = 2U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Merge: '/Merge' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Merge: '/Merge' + * Sum: '/step inc' */ - rtB.Merge_b4 = (int8_t)(rtb_y_c + 1); + rtB.Merge_b4 = (int8_t)(rtb_y_f + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtb_Divide5 == 2.0) { @@ -30457,55 +35849,55 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * Merge: '/Merge' - * SignalConversion generated from: '/stepIn1' + /* Merge: '/Merge' incorporates: + * Merge: '/Merge' + * SignalConversion generated from: '/stepIn1' */ - rtB.Merge_b4 = rtb_y_c; + rtB.Merge_b4 = rtb_y_f; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/Initial CPOS Min' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/Initial CPOS Min' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Normal Mode' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Normal Mode' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch2_Status_Model.Busy == 0) && (Actuator_Ch2_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.MODE_private_c[i] = 0U; - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.COM_private_k[i] = 1U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_b4 = (int8_t)(rtb_y_c + 1); + rtB.Merge_b4 = (int8_t)(rtb_y_f + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtb_Divide5 == 2.0) { @@ -30514,79 +35906,79 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_b4 = rtb_y_c; + rtB.Merge_b4 = rtb_y_f; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Normal Mode' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Normal Mode' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Move to position Min' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Move to position Min' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch2_Status_Model.Busy == 0) && (Actuator_Ch2_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' */ rtDW.Autos_private_g[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ rtDW.Stall_private_f[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' */ + /* DataStoreWrite: '/Data Store Write3' */ rtDW.Lnoise_private_g[i] = 0U; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Speed_private_b[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Coils_private_l[i] = 3U; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.POS_private_h[i] = 0U; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant9' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant9' */ rtDW.COM_private_k[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_b4 = (int8_t)(rtb_y_c + 1); + rtB.Merge_b4 = (int8_t)(rtb_y_f + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtb_Divide5 == 2.0) { @@ -30595,35 +35987,35 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_b4 = rtb_y_c; + rtB.Merge_b4 = rtb_y_f; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Move to position Min' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Move to position Min' */ break; case 5: - /* Outputs for IfAction SubSystem: '/Check Stall Min' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Check Stall Min' incorporates: + * ActionPort: '/Action Port' */ - /* Logic: '/Logical Operator3' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' + /* Logic: '/Logical Operator3' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' */ for (i = 0; i < 8; i++) { rtb_Compare_fe[i] = ((Actuator_Ch2_Status_Model.in_Act_Stall_Slave[i] == 1) @@ -30631,52 +36023,52 @@ void HVAC_model_step(void) (rtDW.ErrorCalibration_private_b[i] == 0)); } - /* End of Logic: '/Logical Operator3' */ + /* End of Logic: '/Logical Operator3' */ - /* Logic: '/Logical Operator' incorporates: - * Logic: '/Logical Operator3' + /* Logic: '/Logical Operator' incorporates: + * Logic: '/Logical Operator3' */ rtb_err = rtb_Compare_fe[0]; for (i = 0; i < 7; i++) { rtb_err = (rtb_err && rtb_Compare_fe[i + 1]); } - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * Logic: '/Logical Operator' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Logic: '/Logical Operator' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch2_Status_Model.Busy == 0) && (Actuator_Ch2_Status_Model.Error_Connect == 0) && rtb_err) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorCalibration_private_b[i] != 0) { rtDW.MinPositionCh2_private[i] = Actuator_Ch2_Status_Model.in_CPOS_ALL[i]; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of DataStoreWrite: '/Data Store Write1' */ + /* End of DataStoreWrite: '/Data Store Write1' */ - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_b4 = (int8_t)(rtb_y_c + 1); + rtB.Merge_b4 = (int8_t)(rtb_y_f + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtb_Divide5 == 2.0) { @@ -30696,54 +36088,54 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_b4 = rtb_y_c; + rtB.Merge_b4 = rtb_y_f; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If2' */ - /* End of Outputs for SubSystem: '/Check Stall Min' */ + /* End of If: '/If2' */ + /* End of Outputs for SubSystem: '/Check Stall Min' */ break; case 6: - /* Outputs for IfAction SubSystem: '/Initial CPOS Max' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Initial CPOS Max' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch2_Status_Model.Busy == 0) && (Actuator_Ch2_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.COM_private_k[i] = 2U; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.POS_private_h[i] = 0U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_b4 = (int8_t)(rtb_y_c + 1); + rtB.Merge_b4 = (int8_t)(rtb_y_f + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtb_Divide5 == 2.0) { @@ -30752,79 +36144,79 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_b4 = rtb_y_c; + rtB.Merge_b4 = rtb_y_f; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Initial CPOS Max' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Initial CPOS Max' */ break; case 7: - /* Outputs for IfAction SubSystem: '/Move to position Max' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Move to position Max' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch2_Status_Model.Busy == 0) && (Actuator_Ch2_Status_Model.Error_Connect == 0)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' */ rtDW.Autos_private_g[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ rtDW.Stall_private_f[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' */ + /* DataStoreWrite: '/Data Store Write3' */ rtDW.Lnoise_private_g[i] = 0U; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Speed_private_b[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Coils_private_l[i] = 3U; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.POS_private_h[i] = 6000U; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant9' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant9' */ rtDW.COM_private_k[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_b4 = (int8_t)(rtb_y_c + 1); + rtB.Merge_b4 = (int8_t)(rtb_y_f + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtb_Divide5 == 2.0) { @@ -30833,35 +36225,35 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_b4 = rtb_y_c; + rtB.Merge_b4 = rtb_y_f; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/Move to position Max' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/Move to position Max' */ break; case 8: - /* Outputs for IfAction SubSystem: '/Check Stall Max' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Check Stall Max' incorporates: + * ActionPort: '/Action Port' */ - /* Logic: '/Logical Operator3' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' + /* Logic: '/Logical Operator3' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' */ for (i = 0; i < 8; i++) { rtb_Compare_fe[i] = ((Actuator_Ch2_Status_Model.in_Act_Stall_Slave[i] == 1) @@ -30869,33 +36261,33 @@ void HVAC_model_step(void) || (rtDW.ErrorCalibration_private_b[i] == 0)); } - /* End of Logic: '/Logical Operator3' */ + /* End of Logic: '/Logical Operator3' */ - /* Logic: '/Logical Operator1' incorporates: - * Logic: '/Logical Operator3' + /* Logic: '/Logical Operator1' incorporates: + * Logic: '/Logical Operator3' */ rtb_err = rtb_Compare_fe[0]; for (i = 0; i < 7; i++) { rtb_err = (rtb_err && rtb_Compare_fe[i + 1]); } - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * Logic: '/Logical Operator1' - * SignalConversion generated from: '/Bus Selector' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Logic: '/Logical Operator1' + * SignalConversion generated from: '/Bus Selector' */ if ((Actuator_Ch2_Status_Model.Busy == 0) && (Actuator_Ch2_Status_Model.Error_Connect == 0) && rtb_err) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorCalibration_private_b[i] != 0) { rtDW.MaxPositionCh2_private[i] = @@ -30904,19 +36296,19 @@ void HVAC_model_step(void) rtDW.MaxPositionCh2_private[i] = 0; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of DataStoreWrite: '/Data Store Write1' */ + /* End of DataStoreWrite: '/Data Store Write1' */ - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ - rtB.Merge_b4 = (int8_t)(rtb_y_c + 1); + rtB.Merge_b4 = (int8_t)(rtb_y_f + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ if (rtb_Divide5 == 2.0) { @@ -30936,79 +36328,79 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of MATLAB Function: '/Write' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' */ - rtB.Merge_b4 = rtb_y_c; + rtB.Merge_b4 = rtb_y_f; - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } - /* End of If: '/If2' */ - /* End of Outputs for SubSystem: '/Check Stall Max' */ + /* End of If: '/If2' */ + /* End of Outputs for SubSystem: '/Check Stall Max' */ break; case 9: - /* Outputs for IfAction SubSystem: '/Homing' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Homing' incorporates: + * ActionPort: '/Action Port' */ - /* Product: '/Divide1' incorporates: - * Constant: '/ACT1' - * DataStoreRead: '/MAX ACT1T ' + /* Product: '/Divide1' incorporates: + * Constant: '/ACT1' + * DataStoreRead: '/MAX ACT1T ' */ for (i = 0; i < 8; i++) { rtb_Divide1_a4[i] = (double)rtDW.MaxPositionCh2_private[i] / (double) rtConstP.ACT1_Value_m[i]; } - /* End of Product: '/Divide1' */ + /* End of Product: '/Divide1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant' */ rtb_Divide1_a4[8] = 1.0; - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read4' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read4' */ switch (rtDW.stepHoming_private_a) { case 0: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* RelationalOperator: '/Compare' */ - rtb_Switch1_oh = rtb_Divide1_a4[i]; + /* RelationalOperator: '/Compare' */ + rtb_Switch2_by = rtb_Divide1_a4[i]; - /* Logic: '/Logical Operator' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* Logic: '/Logical Operator' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ - Enable_Comp_PID = ((rtb_Switch1_oh >= 0.6) && (rtb_Switch1_oh <= 1.5)); + Enable_Comp_PID = ((rtb_Switch2_by >= 0.6) && (rtb_Switch2_by <= 1.5)); rtb_LogicalOperator3_nq[i] = Enable_Comp_PID; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' */ rtDW.ErrorCalibration_private_b[i] = (uint8_t)((!Enable_Comp_PID) && (rtDW.ErrorCalibration_private_b[i] != 0)); } - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/MIN ACT1T 1' - * Logic: '/Logical Operator2' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/MIN ACT1T 1' + * Logic: '/Logical Operator2' */ /* : if(LOGGER>0) */ if (rtb_Divide5 > 0.0) { @@ -31026,78 +36418,78 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator1' */ + /* Logic: '/Logical Operator1' */ rtb_err = rtb_LogicalOperator3_nq[0]; for (i = 0; i < 8; i++) { rtb_err = (rtb_err && rtb_LogicalOperator3_nq[i + 1]); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator1' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator1' */ if (rtb_err) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_h3 = 4; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ rtB.Merge_h3 = 1; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ for (i = 0; i < 9; i++) { rtb_LogicalOperator3_nq[i] = (rtb_Divide1_a4[i] > 1.5); } - /* End of RelationalOperator: '/Compare' */ + /* End of RelationalOperator: '/Compare' */ - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_err = rtb_LogicalOperator3_nq[0]; for (i = 0; i < 8; i++) { rtb_err = (rtb_err || rtb_LogicalOperator3_nq[i + 1]); } - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' */ rtDW.CCU_ActuatorErrF_Stat_private = rtb_err; for (i = 0; i < 9; i++) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ Enable_Comp_PID = rtb_LogicalOperator3_nq[i]; rtDW.COM_private_k[i] = Enable_Comp_PID; - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write3' - * Logic: '/Logical Operator1' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write3' + * Logic: '/Logical Operator1' */ rtDW.ErrorActuator_a[i] = (uint8_t)(Enable_Comp_PID || (rtDW.ErrorActuator_a[i] != 0)); - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.MODE_private_c[i] = 2U; } - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read6' + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read6' */ /* : if(LOGGER>=0) */ if (rtb_Divide5 >= 0.0) { @@ -31112,35 +36504,35 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ for (i = 0; i < 9; i++) { - /* Logic: '/Logical Operator1' */ + /* Logic: '/Logical Operator1' */ Enable_Comp_PID = rtb_LogicalOperator3_nq[i]; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' */ rtDW.ErrorCalibration_private_b[i] = (uint8_t)((!Enable_Comp_PID) && (rtDW.ErrorCalibration_private_b[i] != 0)); - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[i + 54] = Enable_Comp_PID; } - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.stepSig_private_g = 1; - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/MIN ACT1T 1' - * DataStoreWrite: '/Data Store Write' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/MIN ACT1T 1' + * DataStoreWrite: '/Data Store Write' */ /* : if(LOGGER>0) */ if (rtb_Divide5 > 0.0) { @@ -31161,65 +36553,65 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator2' incorporates: - * DataStoreWrite: '/Data Store Write' + /* Logic: '/Logical Operator2' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtb_err = (rtDW.ErrorCalibration_private_b[0] != 0); for (i = 0; i < 8; i++) { rtb_err = (rtb_err || (rtDW.ErrorCalibration_private_b[i + 1] != 0)); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ if (rtb_err) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_h3 = 2; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_h3 = 4; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem1' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem1' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* RelationalOperator: '/Compare' */ - rtb_Switch1_oh = rtb_Divide1_a4[i]; + /* RelationalOperator: '/Compare' */ + rtb_Switch2_by = rtb_Divide1_a4[i]; - /* Logic: '/Logical Operator3' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator4' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* Logic: '/Logical Operator3' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator4' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ - Enable_Comp_PID = (((rtb_Switch1_oh < 0.97) || (rtb_Switch1_oh > 1.03)) && + Enable_Comp_PID = (((rtb_Switch2_by < 0.97) || (rtb_Switch2_by > 1.03)) && (rtDW.ErrorCalibration_private_b[i] != 0)); rtb_LogicalOperator3_nq[i] = Enable_Comp_PID; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.ErrorCalibration_private_b[i] = Enable_Comp_PID; } - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/MIN ACT1T 1' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/MIN ACT1T 1' */ /* : if(LOGGER>0) */ if (rtb_Divide5 > 0.0) { @@ -31240,77 +36632,77 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator2' */ + /* Logic: '/Logical Operator2' */ rtb_err = rtb_LogicalOperator3_nq[0]; for (i = 0; i < 8; i++) { rtb_err = (rtb_err || rtb_LogicalOperator3_nq[i + 1]); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ if (rtb_err) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant3' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant3' */ rtB.Merge_h3 = 3; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_h3 = 4; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read5' */ /* : if(LOGGER>1) */ if (rtb_Divide5 > 1.0) { /* : fprintf("[LIN 3] Homing 3. Start Time on step %d\n",int16(step)); */ - rtb_Switch1_oh = rt_roundd(rtDW.ErrorHomming_private_m); - if (rtb_Switch1_oh < 32768.0) { - if (rtb_Switch1_oh >= -32768.0) { - rtb_Switch2_p0 = (int16_t)rtb_Switch1_oh; + rtb_Switch2_by = rt_roundd(rtDW.ErrorHomming_private_m); + if (rtb_Switch2_by < 32768.0) { + if (rtb_Switch2_by >= -32768.0) { + rtb_y_fq = (int16_t)rtb_Switch2_by; } else { - rtb_Switch2_p0 = INT16_MIN; + rtb_y_fq = INT16_MIN; } } else { - rtb_Switch2_p0 = INT16_MAX; + rtb_y_fq = INT16_MAX; } - printf("[LIN 3] Homing 3. Start Time on step %d\n", rtb_Switch2_p0); + printf("[LIN 3] Homing 3. Start Time on step %d\n", rtb_y_fq); fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read1' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.ErrorHomming_private_m < 10.0) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/MATLAB Function' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/MATLAB Function' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' */ MATLABFunction(rtDW.Start_timer, rtDW.t_now, &rtb_dt_nx, &rtDW.sf_MATLABFunction_g); - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' */ /* : if(LOGGER>1) */ if (rtb_Divide5 > 1.0) { @@ -31325,114 +36717,115 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* If: '/If' */ + /* If: '/If' */ if (rtb_dt_nx > 3600000U) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' */ + /* Merge: '/Merge' */ IfActionSubsystem_h(&rtB.Merge_h3, &rtDW.ErrorHomming_private_m, &rtDW.Start_timer, &rtDW.stepSig_private_g); - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant3' */ rtDW.Start_timer = 1.0; - /* DataStoreRead: '/Data Store Read2' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreRead: '/Data Store Read2' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[0] = rtDW.PID_TempRR; - /* DataStoreRead: '/Data Store Read' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreRead: '/Data Store Read' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[1] = rtDW.PID_TempRL; - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreWrite: '/Data Store Write24' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreRead: '/valves target in percent' */ for (i = 0; i < 6; i++) { - rtb_DataTypeConversion2_ie[i] = (uint8_t)rtb_Gain1_h[i]; + rtb_DataTypeConversion2_ie[i] = (uint8_t)rtb_Gain1_o3[i]; } - /* End of DataTypeConversion: '/Data Type Conversion2' */ + /* End of DataTypeConversion: '/Data Type Conversion2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[2] = rtb_DataTypeConversion2_ie[0]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[3] = rtb_DataTypeConversion2_ie[4]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[4] = rtb_DataTypeConversion2_ie[1]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[5] = rtb_DataTypeConversion2_ie[2]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[6] = rtb_DataTypeConversion2_ie[5]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[7] = rtb_DataTypeConversion2_ie[3]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * Constant: '/Constant1' - * SignalConversion generated from: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * Constant: '/Constant1' + * SignalConversion generated from: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[8] = 0U; for (i = 0; i < 9; i++) { - /* Product: '/Product' */ - u0 = rtDW.BUS_ADR_private_a[i]; + /* Product: '/Product' */ + El_window_heating = rtDW.BUS_ADR_private_a[i]; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Product: '/Divide1' - * Product: '/Product' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Product: '/Divide1' + * Product: '/Product' */ - rtDW.POS_private_h[i] = (uint16_t)((double)(u0 * + rtDW.POS_private_h[i] = (uint16_t)((double)(El_window_heating * rtDW.MaxPositionCh2_private[i]) / 100.0); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ - rtb_LogicalOperator3_nq[i] = (rtb_DataTypeConversion_hon[i] == u0); + rtb_LogicalOperator3_nq[i] = (rtb_DataTypeConversion_eg[i] == + El_window_heating); } - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_err = rtb_LogicalOperator3_nq[0]; for (i = 0; i < 8; i++) { rtb_err = (rtb_err && rtb_LogicalOperator3_nq[i + 1]); } for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant4' - * Constant: '/Constant9' - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant4' + * Constant: '/Constant9' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' */ if (rtb_err) { rtDW.COM_private_k[i] = 0U; @@ -31440,165 +36833,166 @@ void HVAC_model_step(void) rtDW.COM_private_k[i] = 3U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Concatenate: '/Vector Concatenate' - * Constant: '/Constant5' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write7' - * Product: '/Product' - * RelationalOperator: '/Relational Operator' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Concatenate: '/Vector Concatenate' + * Constant: '/Constant5' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write7' + * Product: '/Product' + * RelationalOperator: '/Relational Operator' */ rtDW.BUS_ADR_private_a[i] = (uint8_t)((uint32_t) - (rtb_DataTypeConversion_hon[i] != rtDW.BUS_ADR_private_a[i]) * - rtConstP.pooled102[i]); + (rtb_DataTypeConversion_eg[i] != rtDW.BUS_ADR_private_a[i]) * + rtConstP.pooled115[i]); - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' */ rtDW.Autos_private_g[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ rtDW.Stall_private_f[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant11' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant11' */ rtDW.Lnoise_private_g[i] = 0U; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Speed_private_b[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Coils_private_l[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - * Merge: '/Merge' - * SignalConversion generated from: '/Out1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + * Merge: '/Merge' + * SignalConversion generated from: '/Out1' */ rtB.Merge_h3 = 3; - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ IfActionSubsystem1_h(&rtB.Merge_h3, &rtDW.CCU_ActuatorErrF_Stat_private, rtDW.COM_private_k, rtDW.ErrorActuator_a, rtDW.ErrorCalibration_private_b, &rtb_Divide5, rtDW.MODE_private_c, rtDW.dtc_state_error_model); - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem3' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem3' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem4' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem4' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreRead: '/Data Store Read2' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreRead: '/Data Store Read2' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[0] = rtDW.PID_TempRR; - /* DataStoreRead: '/Data Store Read' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreRead: '/Data Store Read' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[1] = rtDW.PID_TempRL; - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreWrite: '/Data Store Write24' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreRead: '/valves target in percent' */ for (i = 0; i < 6; i++) { - rtb_DataTypeConversion2_ie[i] = (uint8_t)rtb_Gain1_h[i]; + rtb_DataTypeConversion2_ie[i] = (uint8_t)rtb_Gain1_o3[i]; } - /* End of DataTypeConversion: '/Data Type Conversion2' */ + /* End of DataTypeConversion: '/Data Type Conversion2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[2] = rtb_DataTypeConversion2_ie[0]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[3] = rtb_DataTypeConversion2_ie[4]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[4] = rtb_DataTypeConversion2_ie[1]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[5] = rtb_DataTypeConversion2_ie[2]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[6] = rtb_DataTypeConversion2_ie[5]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[7] = rtb_DataTypeConversion2_ie[3]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * Constant: '/Constant1' - * SignalConversion generated from: '/Vector Concatenate' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Concatenate: '/Vector Concatenate' + * Constant: '/Constant1' + * SignalConversion generated from: '/Vector Concatenate' */ rtDW.BUS_ADR_private_a[8] = 0U; for (i = 0; i < 9; i++) { - /* Product: '/Product' */ - u0 = rtDW.BUS_ADR_private_a[i]; + /* Product: '/Product' */ + El_window_heating = rtDW.BUS_ADR_private_a[i]; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Product: '/Divide1' - * Product: '/Product' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Product: '/Divide1' + * Product: '/Product' */ - rtDW.POS_private_h[i] = (uint16_t)((double)(u0 * + rtDW.POS_private_h[i] = (uint16_t)((double)(El_window_heating * rtDW.MaxPositionCh2_private[i]) / 100.0); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ - rtb_LogicalOperator3_nq[i] = (rtb_DataTypeConversion_hon[i] == u0); + rtb_LogicalOperator3_nq[i] = (rtb_DataTypeConversion_eg[i] == + El_window_heating); } - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_err = rtb_LogicalOperator3_nq[0]; for (i = 0; i < 8; i++) { rtb_err = (rtb_err && rtb_LogicalOperator3_nq[i + 1]); } for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant4' - * Constant: '/Constant9' - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant4' + * Constant: '/Constant9' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator' */ if (rtb_err) { rtDW.COM_private_k[i] = 0U; @@ -31606,54 +37000,54 @@ void HVAC_model_step(void) rtDW.COM_private_k[i] = 3U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Concatenate: '/Vector Concatenate' - * Constant: '/Constant5' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write7' - * Product: '/Product' - * RelationalOperator: '/Relational Operator' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Concatenate: '/Vector Concatenate' + * Constant: '/Constant5' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write7' + * Product: '/Product' + * RelationalOperator: '/Relational Operator' */ rtDW.BUS_ADR_private_a[i] = (uint8_t)((uint32_t) - (rtb_DataTypeConversion_hon[i] != rtDW.BUS_ADR_private_a[i]) * - rtConstP.pooled102[i]); + (rtb_DataTypeConversion_eg[i] != rtDW.BUS_ADR_private_a[i]) * + rtConstP.pooled115[i]); - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' */ rtDW.Autos_private_g[i] = 1U; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' */ rtDW.Stall_private_f[i] = 1U; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant11' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant11' */ rtDW.Lnoise_private_g[i] = 0U; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Speed_private_b[i] = 3U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Coils_private_l[i] = 3U; } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' - * SignalConversion generated from: '/step' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + * SignalConversion generated from: '/step' */ rtB.Merge_h3 = 4; - /* MATLAB Function: '/MAX POSITION' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/MAX POSITION' incorporates: + * DataStoreRead: '/Data Store Read5' */ /* : if(LOGGER>0) */ if (rtb_Divide5 > 0.0) { @@ -31662,56 +37056,56 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ + /* End of MATLAB Function: '/MAX POSITION' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* DataStoreWrite: '/Data Store Write2' */ + /* DataStoreWrite: '/Data Store Write2' */ rtDW.stepHoming_private_a = rtB.Merge_h3; - /* Merge: '/Merge' incorporates: - * DataStoreRead: '/Data Store Read7' + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Data Store Read7' */ rtB.Merge_b4 = rtDW.stepSig_private_g; - /* End of Outputs for SubSystem: '/Homing' */ + /* End of Outputs for SubSystem: '/Homing' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ /* Outport: '/CCU_Errors_model' incorporates: * DataStoreRead: '/Data Store Read10' */ rtY.CCU_Errors_model = CCU_Errors_Model; - /* Outport: '/Actuator_Ch0_Command_Model' incorporates: + /* Outport: '/Actuator_Ch0_Command_Model_out' incorporates: * DataStoreRead: '/Data Store Read66' */ - rtY.Actuator_Ch0_Command_Model_g = Actuator_Ch0_Command_Model; + rtY.Actuator_Ch0_Command_Model_out = Actuator_Ch0_Command_Model; - /* Outport: '/Actuator_Ch1_Command_Model' incorporates: + /* Outport: '/Actuator_Ch1_Command_Mode_out' incorporates: * DataStoreRead: '/Data Store Read67' */ - rtY.Actuator_Ch1_Command_Model_e = Actuator_Ch1_Command_Model; + rtY.Actuator_Ch1_Command_Mode_out = Actuator_Ch1_Command_Model; - /* DataStoreWrite: '/Finish write stepSig' */ + /* DataStoreWrite: '/Finish write stepSig' */ rtDW.stepSig_private_g = rtB.Merge_b4; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * DataStoreWrite: '/Data Store Write' */ for (i = 0; i < 9; i++) { Actuator_Ch2_Command_Model.POS[i] = rtDW.POS_private_h[i]; @@ -31725,91 +37119,680 @@ void HVAC_model_step(void) Actuator_Ch2_Command_Model.Coils_Stop_SET[i] = rtDW.Coils_private_l[i]; } - /* End of BusCreator: '/Bus Creator' */ + /* End of BusCreator: '/Bus Creator' */ - /* Outport: '/Actuator_Ch2_Command_Model' incorporates: + /* Outport: '/Actuator_Ch2_Command_Model_out' incorporates: * DataStoreRead: '/Data Store Read68' */ - rtY.Actuator_Ch2_Command_Model_o = Actuator_Ch2_Command_Model; + rtY.Actuator_Ch2_Command_Model_out = Actuator_Ch2_Command_Model; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read2' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read2' */ for (i = 0; i < 8; i++) { rtb_Compare_fe[i] = (rtDW.ErrorCalibration_private_b[i] == 0); } - /* End of RelationalOperator: '/Compare' */ + /* End of RelationalOperator: '/Compare' */ - /* Logic: '/Logical Operator' */ + /* Logic: '/Logical Operator' */ rtb_err = rtb_Compare_fe[0]; for (i = 0; i < 7; i++) { rtb_err = (rtb_err || rtb_Compare_fe[i + 1]); } - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read2' - * Logic: '/Logical Operator' - * Product: '/Product' + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read2' + * Logic: '/Logical Operator' + * Product: '/Product' */ for (i = 0; i < 8; i++) { if (rtb_err) { - rtb_DataTypeConversion_hon[i] = (uint8_t)((uint32_t) + rtb_DataTypeConversion_eg[i] = (uint8_t)((uint32_t) rtDW.ErrorCalibration_private_b[i] * rtConstP.Constant3_Value_d[i]); } else { - rtb_DataTypeConversion_hon[i] = 0U; + rtb_DataTypeConversion_eg[i] = 0U; } } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant1' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant1' */ - rtb_DataTypeConversion_hon[8] = 0U; + rtb_DataTypeConversion_eg[8] = 0U; for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Concatenate: '/Vector Concatenate' */ - rtDW.BUS_ADR_private_a[i] = rtb_DataTypeConversion_hon[i]; + rtDW.BUS_ADR_private_a[i] = rtb_DataTypeConversion_eg[i]; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.COM_private_k[i] = 0U; } - /* Sum: '/Subtract13' incorporates: - * DataStoreRead: '/Data Store Read17' - * DataStoreRead: '/Data Store Read33' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/OR2' */ - rtb_Bias5 = (int16_t)(rtb_FLU_tg_correct - rtb_MultiportSwitch_m); + rtDW.CCU_AirQualSenErr_Stat = (uint8_t) + ((rtDW.LIN4_ERROR_model.in_error_connect[0] != 0) || + (rtDW.LIN4_ERROR_model.Error_Connect != 0) || + (rtDW.LIN4_AirQS_Stat_Model.AirQS_LinRespErr_Stat != 0) || + (rtDW.LIN4_AirQS_Stat_Model.AirQS_Err_Stat != 0)); - /* DeadZone: '/Dead Zone6' */ - if (rtb_Bias5 > 5) { - rtb_Switch2_p0 = (int16_t)(rtb_Bias5 - 5); - } else if (rtb_Bias5 >= -5) { - rtb_Switch2_p0 = 0; - } else { - rtb_Switch2_p0 = (int16_t)(rtb_Bias5 - -5); + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + rtDW.Aroma_CartridgeFlavor = + rtDW.LIN4_Aroma_Stat_Model.Aroma_CartridgeFlavor_Stat; + + /* DataStoreWrite: '/Data Store Write12' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + rtDW.Aroma_CartridgeCapacity = + rtDW.LIN4_Aroma_Stat_Model.Aroma_CartridgeCapacity_Stat; + + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read3' + * DataStoreWrite: '/Data Store Write13' + * Logic: '/OR' + */ + rtDW.CCU_IonizationErr_Stat = (uint8_t) + ((rtDW.LIN4_ERROR_model.in_error_connect[2] != 0) || + (rtDW.LIN4_ERROR_model.Error_Connect != 0) || + (rtDW.LIN4_Ionizer_Stat_Model.Ionizer_LinRespErr_Stat != 0) || + (rtDW.LIN4_Ionizer_Stat_Model.Ionizer_Err_Stat != 0)); + + /* DataStoreWrite: '/Data Store Write14' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.dtc_state_error_model[41] = rtDW.LIN4_ERROR_model.Error_Connect; + + /* DataStoreWrite: '/Data Store Write16' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.dtc_state_error_model[44] = rtDW.LIN4_ERROR_model.Error_Connect; + + /* DataStoreWrite: '/Data Store Write17' incorporates: + * DataStoreWrite: '/Data Store Write13' + */ + rtDW.dtc_state_error_model[42] = rtDW.CCU_IonizationErr_Stat; + + /* DataStoreWrite: '/Data Store Write18' incorporates: + * DataStoreWrite: '/Data Store Write13' + */ + rtDW.dtc_state_error_model[43] = rtDW.CCU_IonizationErr_Stat; + + /* DataStoreWrite: '/Data Store Write19' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.dtc_state_error_model[49] = rtDW.LIN4_ERROR_model.Error_Connect; + + /* DataStoreWrite: '/Data Store Write20' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.dtc_state_error_model[47] = rtDW.CCU_AirQualSenErr_Stat; + + /* DataStoreWrite: '/Data Store Write21' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.dtc_state_error_model[48] = rtDW.CCU_AirQualSenErr_Stat; + + /* DataStoreWrite: '/Data Store Write22' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.dtc_state_error_model[117] = rtDW.CCU_AirQualSenErr_Stat; + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write7' + * Logic: '/OR1' + */ + rtDW.CCU_AromaErr_Stat = (uint8_t)((rtDW.LIN4_ERROR_model.in_error_connect[1] + != 0) || (rtDW.LIN4_ERROR_model.Error_Connect != 0) || + (rtDW.LIN4_Aroma_Stat_Model.Aroma_LinRespErr_Stat != 0) || + (rtDW.LIN4_Aroma_Stat_Model.Aroma_Err_Stat != 0)); + + /* DataStoreWrite: '/Data Store Write23' incorporates: + * DataStoreWrite: '/Data Store Write7' + */ + rtDW.dtc_state_error_model[119] = rtDW.CCU_AromaErr_Stat; + + /* DataStoreWrite: '/Data Store Write24' incorporates: + * DataStoreWrite: '/Data Store Write13' + */ + rtDW.dtc_state_error_model[118] = rtDW.CCU_IonizationErr_Stat; + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreWrite: '/Data Store Write7' + */ + rtDW.dtc_state_error_model[39] = rtDW.CCU_AromaErr_Stat; + + /* DataStoreWrite: '/Data Store Write4' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.AirQS_COLvl = rtDW.LIN4_AirQS_Stat_Model.AirQS_COLvl_Stat; + + /* DataStoreWrite: '/Data Store Write5' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.AirQS_NOxLvl = rtDW.LIN4_AirQS_Stat_Model.AirQS_NOxLvl_Stat; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.AirQS_NH3Lvl = rtDW.LIN4_AirQS_Stat_Model.AirQS_NH3Lvl_Stat; + + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + rtDW.Aroma_CartridgeSw = rtDW.LIN4_Aroma_Stat_Model.Aroma_CartridgeSw_Stat; + + /* DataStoreWrite: '/Data Store Write9' incorporates: + * DataStoreWrite: '/Data Store Write7' + */ + rtDW.dtc_state_error_model[40] = rtDW.CCU_AromaErr_Stat; + + /* Outputs for Enabled SubSystem: '/CHANEL4' incorporates: + * EnablePort: '/Enable' + */ + /* DataStoreRead: '/Data Store Read1' incorporates: + * RelationalOperator: '/FixPt Relational Operator' + * RelationalOperator: '/FixPt Relational Operator' + * RelationalOperator: '/FixPt Relational Operator' + * RelationalOperator: '/FixPt Relational Operator' + * RelationalOperator: '/FixPt Relational Operator' + * RelationalOperator: '/FixPt Relational Operator' + * RelationalOperator: '/FixPt Relational Operator' + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * UnitDelay: '/Delay Input1' + * UnitDelay: '/Delay Input1' + * UnitDelay: '/Delay Input1' + * UnitDelay: '/Delay Input1' + * UnitDelay: '/Delay Input1' + * UnitDelay: '/Delay Input1' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + if (rtDW.BCM_T15_Stat > 0) { + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/Data Store Read7' + * DataStoreWrite: '/Data Store Write8' + * Logic: '/OR' + * Logic: '/OR2' + * Logic: '/OR4' + * Logic: '/OR6' + */ + rtDW.CCU_DeflectorSwErrF_Stat = (uint8_t) + ((rtDW.LIN5_SENSON_ADR_Stat_model.in_error_connect[0] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.in_error_connect[1] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.in_error_connect[2] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.in_error_connect[3] != 0) || + ((rtDW.LIN5_SENSON_ADR_Stat_model.LinRespErr_Stat[0] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.LinRespErr_Stat[1] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.LinRespErr_Stat[2] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.LinRespErr_Stat[3] != 0)) || + ((rtDW.LIN5_SENSON_ADR_Stat_model.Err_Stat[0] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.Err_Stat[1] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.Err_Stat[2] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.Err_Stat[3] != 0)) || + (rtDW.LIN5_SENSON_ADR_Stat_model.Error_Connect != 0)); + + /* DataStoreWrite: '/Data Store Write10' incorporates: + * DataStoreWrite: '/Data Store Write8' + */ + rtDW.dtc_state_error_model[45] = rtDW.CCU_DeflectorSwErrF_Stat; + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + rtDW.dtc_state_error_model[125] = + rtDW.LIN5_SENSON_ADR_Stat_model.Error_Connect; + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read7' + * DataStoreWrite: '/Data Store Write9' + * Logic: '/OR1' + * Logic: '/OR3' + * Logic: '/OR5' + * Logic: '/OR7' + */ + rtDW.CCU_DeflectorSwErrR_Stat = (uint8_t) + ((rtDW.LIN5_SENSON_ADR_Stat_model.in_error_connect[4] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.in_error_connect[5] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.in_error_connect[6] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.in_error_connect[7] != 0) || + ((rtDW.LIN5_SENSON_ADR_Stat_model.LinRespErr_Stat[4] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.LinRespErr_Stat[5] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.LinRespErr_Stat[6] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.LinRespErr_Stat[7] != 0)) || + ((rtDW.LIN5_SENSON_ADR_Stat_model.Err_Stat[4] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.Err_Stat[5] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.Err_Stat[6] != 0) || + (rtDW.LIN5_SENSON_ADR_Stat_model.Err_Stat[7] != 0)) || + (rtDW.LIN5_SENSON_ADR_Stat_model.Error_Connect != 0)); + + /* DataStoreWrite: '/Data Store Write12' incorporates: + * DataStoreWrite: '/Data Store Write9' + */ + rtDW.dtc_state_error_model[46] = rtDW.CCU_DeflectorSwErrR_Stat; + + /* DataStoreWrite: '/Data Store Write23' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + rtDW.dtc_state_error_model[119] = + rtDW.LIN5_SENSON_ADR_Stat_model.Error_Connect; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read7' + */ + Enable_Comp_PID = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[0] > 0); + + /* Outputs for Enabled SubSystem: '/Subsystem' incorporates: + * EnablePort: '/Enable' + */ + if ((int32_t)Enable_Comp_PID > (int32_t)rtDW.DelayInput1_DSTATE_e) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Sum: '/Add' + */ + if ((int8_t)((int8_t)rtDW.DRS_SFL - 1) >= 0) { + rtDW.DRS_SFL = (uint8_t)((int8_t)rtDW.DRS_SFL - 1); + } else { + rtDW.DRS_SFL = 3U; + } + + /* End of Switch: '/Switch' */ + } + + /* End of Outputs for SubSystem: '/Subsystem' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read7' + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtb_err = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[1] > 0); + + /* Outputs for Enabled SubSystem: '/Subsystem1' incorporates: + * EnablePort: '/Enable' + */ + if ((int32_t)rtb_err > (int32_t)rtDW.DelayInput1_DSTATE_k) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Sum: '/Add' + */ + if ((int8_t)((int8_t)rtDW.DRS_SFR - 1) >= 0) { + rtDW.DRS_SFR = (uint8_t)((int8_t)rtDW.DRS_SFR - 1); + } else { + rtDW.DRS_SFR = 3U; + } + + /* End of Switch: '/Switch' */ + } + + /* End of Outputs for SubSystem: '/Subsystem1' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read7' + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtb_LogicalOperator6 = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[2] > 0); + + /* Outputs for Enabled SubSystem: '/Subsystem2' incorporates: + * EnablePort: '/Enable' + */ + if ((int32_t)rtb_LogicalOperator6 > (int32_t)rtDW.DelayInput1_DSTATE_l) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Sum: '/Add' + */ + if ((int8_t)((int8_t)rtDW.DRS_CFL - 1) >= 0) { + rtDW.DRS_CFL = (uint8_t)((int8_t)rtDW.DRS_CFL - 1); + } else { + rtDW.DRS_CFL = 3U; + } + + /* End of Switch: '/Switch' */ + } + + /* End of Outputs for SubSystem: '/Subsystem2' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read7' + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtb_LogicalOperator3 = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[3] > 0); + + /* Outputs for Enabled SubSystem: '/Subsystem3' incorporates: + * EnablePort: '/Enable' + */ + if ((int32_t)rtb_LogicalOperator3 > (int32_t)rtDW.DelayInput1_DSTATE_kb) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Sum: '/Add' + */ + if ((int8_t)((int8_t)rtDW.DRS_CFR - 1) >= 0) { + rtDW.DRS_CFR = (uint8_t)((int8_t)rtDW.DRS_CFR - 1); + } else { + rtDW.DRS_CFR = 3U; + } + + /* End of Switch: '/Switch' */ + } + + /* End of Outputs for SubSystem: '/Subsystem3' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read7' + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtb_LogicalOperator8 = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[4] > 0); + + /* Outputs for Enabled SubSystem: '/Subsystem4' incorporates: + * EnablePort: '/Enable' + */ + if ((int32_t)rtb_LogicalOperator8 > (int32_t)rtDW.DelayInput1_DSTATE_kk) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Sum: '/Add' + */ + if ((int8_t)((int8_t)rtDW.DRS_SRL - 1) >= 0) { + rtDW.DRS_SRL = (uint8_t)((int8_t)rtDW.DRS_SRL - 1); + } else { + rtDW.DRS_SRL = 3U; + } + + /* End of Switch: '/Switch' */ + } + + /* End of Outputs for SubSystem: '/Subsystem4' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read7' + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtb_LogicalOperator3_cz = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[5] > 0); + + /* Outputs for Enabled SubSystem: '/Subsystem5' incorporates: + * EnablePort: '/Enable' + */ + if ((int32_t)rtb_LogicalOperator3_cz > (int32_t)rtDW.DelayInput1_DSTATE_d) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Sum: '/Add' + */ + if ((int8_t)((int8_t)rtDW.DRS_SRR - 1) >= 0) { + rtDW.DRS_SRR = (uint8_t)((int8_t)rtDW.DRS_SRR - 1); + } else { + rtDW.DRS_SRR = 3U; + } + + /* End of Switch: '/Switch' */ + } + + /* End of Outputs for SubSystem: '/Subsystem5' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read7' + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtb_LogicalOperator4_fo = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[6] > 0); + + /* Outputs for Enabled SubSystem: '/Subsystem6' incorporates: + * EnablePort: '/Enable' + */ + if ((int32_t)rtb_LogicalOperator4_fo > (int32_t)rtDW.DelayInput1_DSTATE_b) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Sum: '/Add' + */ + if ((int8_t)((int8_t)rtDW.DRS_CRL - 1) >= 0) { + rtDW.DRS_CRL = (uint8_t)((int8_t)rtDW.DRS_CRL - 1); + } else { + rtDW.DRS_CRL = 3U; + } + + /* End of Switch: '/Switch' */ + } + + /* End of Outputs for SubSystem: '/Subsystem6' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read7' + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtb_LogicalOperator6_m = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[7] > 0); + + /* Outputs for Enabled SubSystem: '/Subsystem7' incorporates: + * EnablePort: '/Enable' + */ + if ((int32_t)rtb_LogicalOperator6_m > (int32_t)rtDW.DelayInput1_DSTATE_i3) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Sum: '/Add' + */ + if ((int8_t)((int8_t)rtDW.DRS_CRR - 1) >= 0) { + rtDW.DRS_CRR = (uint8_t)((int8_t)rtDW.DRS_CRR - 1); + } else { + rtDW.DRS_CRR = 3U; + } + + /* End of Switch: '/Switch' */ + } + + /* End of Outputs for SubSystem: '/Subsystem7' */ + + /* Update for UnitDelay: '/Delay Input1' incorporates: + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_e = Enable_Comp_PID; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_k = rtb_err; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_l = rtb_LogicalOperator6; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_kb = rtb_LogicalOperator3; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_kk = rtb_LogicalOperator8; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_d = rtb_LogicalOperator3_cz; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_b = rtb_LogicalOperator4_fo; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_i3 = rtb_LogicalOperator6_m; } - /* End of DeadZone: '/Dead Zone6' */ + /* End of DataStoreRead: '/Data Store Read1' */ + /* End of Outputs for SubSystem: '/CHANEL4' */ - /* Product: '/Divide4' incorporates: - * Constant: '/Constant36' - * Constant: '/Constant95' - * Product: '/Divide4' + /* Sum: '/Subtract13' incorporates: + * DataStoreRead: '/Data Store Read17' + * DataStoreRead: '/Data Store Read33' */ - rtb_Switch1_oh = (double)g_assPID_VALVE_FRONT_UP[1] / 1000.0; + rtb_Bias5 = (int16_t)(rtb_Merge_by - Duct1_F); - /* Sum: '/Sum' incorporates: - * Constant: '/Constant36' - * Memory: '/Memory1' - * Product: '/Divide4' + /* DeadZone: '/Dead Zone6' */ + if (rtb_Bias5 > 5) { + rtb_y_fq = (int16_t)(rtb_Bias5 - 5); + } else if (rtb_Bias5 >= -5) { + rtb_y_fq = 0; + } else { + rtb_y_fq = (int16_t)(rtb_Bias5 - -5); + } + + /* End of DeadZone: '/Dead Zone6' */ + + /* Product: '/Divide4' incorporates: + * Constant: '/Constant36' + * Constant: '/Constant95' + * Product: '/Divide4' */ - tmp_3 = (int64_t)floor(rtb_Switch1_oh * (double)rtb_Switch2_p0) + + rtb_Switch2_by = (double)g_assPID_VALVE_FRONT_UP[1] / 1000.0; + + /* Sum: '/Sum' incorporates: + * Constant: '/Constant36' + * Memory: '/Memory1' + * Product: '/Divide4' + */ + tmp_3 = (int64_t)floor(rtb_Switch2_by * (double)rtb_y_fq) + rtDW.MemComp_I_Value_c; if (tmp_3 > 2147483647LL) { tmp_3 = 2147483647LL; @@ -31817,138 +37800,117 @@ void HVAC_model_step(void) tmp_3 = -2147483648LL; } - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Sum: '/Sum' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Sum: '/Sum' + * Switch: '/Switch' */ if ((int32_t)tmp_3 > 10000) { - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant4' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant4' */ rtDW.MemComp_I_Value_c = 10000; } else if ((int32_t)tmp_3 < 0) { - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant3' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant3' + * Switch: '/Switch' */ rtDW.MemComp_I_Value_c = 0; } else { - /* Switch: '/Switch2' */ + /* Switch: '/Switch2' */ rtDW.MemComp_I_Value_c = (int32_t)tmp_3; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Product: '/Divide2' incorporates: - * Constant: '/Constant26' - * Constant: '/Constant94' - * Product: '/Divide2' + /* Switch: '/Switch12' incorporates: + * Constant: '/Constant97' + * DataStoreRead: '/Data Store Read76' + * DataStoreWrite: '/Data Store Write12' */ - rtb_Divide5 = (double)g_assPID_VALVE_FRONT_UP[0] / 100.0; - - /* Product: '/Divide5' incorporates: - * Constant: '/Constant41' - * Constant: '/Constant96' - * Product: '/Divide5' - */ - rtb_Divide3 = (double)g_assPID_VALVE_FRONT_UP[2] / 100.0; - - /* Sum: '/Sum2' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant26' - * Constant: '/Constant41' - * Memory: '/pError' - * Product: '/Divide1' - * Product: '/Divide2' - * Product: '/Divide3' - * Product: '/Divide5' - * Product: '/Divide6' - * Sum: '/Sum1' - * - * Block description for '/Divide1': - * Round - * - * Block description for '/Divide3': - * Round - * - * Block description for '/Divide6': - * Round - */ - i = ((int16_t)div_nzp_s32_round((int16_t)floor(rtb_Divide5 * (double) - rtb_Switch2_p0), 10) + (int16_t)div_nzp_s32_round - (rtDW.MemComp_I_Value_c, 100)) + (int16_t)div_nzp_s32_round((int32_t) - floor((double)(int16_t)(rtb_Switch2_p0 - rtDW.pError_PreviousInput_g) * - rtb_Divide3), 100); - if (i < 0) { - i = 0; - } else if (i > 255) { - i = 255; - } - - /* Saturate: '/Saturation9' incorporates: - * Sum: '/Sum2' - */ - if (i <= 100) { - rtDW.PID_TempFUL = (uint8_t)i; + if (rtDW.CCU_AC_MAX > 0) { + rtDW.PID_TempFUL = 0U; } else { - rtDW.PID_TempFUL = 100U; + /* Sum: '/Sum2' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant26' + * Constant: '/Constant41' + * Memory: '/pError' + * Product: '/Divide1' + * Product: '/Divide2' + * Product: '/Divide3' + * Product: '/Divide5' + * Product: '/Divide6' + * Sum: '/Sum1' + * + * Block description for '/Divide1': + * Round + * + * Block description for '/Divide3': + * Round + * + * Block description for '/Divide6': + * Round + */ + i = ((int16_t)div_nzp_s32_round((int16_t)floor((double) + g_assPID_VALVE_FRONT_UP[0] / 100.0 * (double)rtb_y_fq), 10) + + (int16_t)div_nzp_s32_round(rtDW.MemComp_I_Value_c, 100)) + (int16_t) + div_nzp_s32_round((int32_t)floor((double)(int16_t)(rtb_y_fq - + rtDW.pError_PreviousInput_g) * ((double)g_assPID_VALVE_FRONT_UP[2] / 100.0)), + 100); + if (i < 0) { + i = 0; + } else if (i > 255) { + i = 255; + } + + /* Saturate: '/Saturation9' incorporates: + * Sum: '/Sum2' + */ + if (i <= 100) { + rtDW.PID_TempFUL = (uint8_t)i; + } else { + rtDW.PID_TempFUL = 100U; + } + + /* End of Saturate: '/Saturation9' */ } - /* End of Saturate: '/Saturation9' */ + /* End of Switch: '/Switch12' */ - /* Sum: '/Subtract14' incorporates: - * DataStoreRead: '/Data Store Read34' - * DataStoreRead: '/Data Store Read37' + /* Sum: '/Subtract14' incorporates: + * DataStoreRead: '/Data Store Read34' + * DataStoreRead: '/Data Store Read37' */ - rtb_Bias5 = (int16_t)(rtb_FLU_tg_correct_a - rtb_Bias1_h); + rtb_Bias5 = (int16_t)(rtb_FLU_tg_correct_o - Duct4_F); - /* DeadZone: '/Dead Zone8' */ + /* DeadZone: '/Dead Zone8' */ if (rtb_Bias5 > 5) { - rtb_DeadZone8 = (int16_t)(rtb_Bias5 - 5); + rtb_MultiportSwitch_h = (int16_t)(rtb_Bias5 - 5); } else if (rtb_Bias5 >= -5) { - rtb_DeadZone8 = 0; + rtb_MultiportSwitch_h = 0; } else { - rtb_DeadZone8 = (int16_t)(rtb_Bias5 - -5); + rtb_MultiportSwitch_h = (int16_t)(rtb_Bias5 - -5); } - /* End of DeadZone: '/Dead Zone8' */ + /* End of DeadZone: '/Dead Zone8' */ - /* Product: '/Divide2' incorporates: - * Constant: '/Constant42' - * Constant: '/Constant43' - * Product: '/Divide2' + /* Product: '/Divide4' incorporates: + * Constant: '/Constant55' + * Constant: '/Constant86' + * Product: '/Divide4' */ - rtb_Gain_e = (double)g_assPID_VALVE_FRONT_LOW[0] / 100.0; + rtb_Divide5 = (double)g_assPID_VALVE_FRONT_LOW[1] / 1000.0; - /* Product: '/Divide1' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant42' - * DataStoreWrite: '/Data Store Write' - * Product: '/Divide2' - * - * Block description for '/Divide1': - * Round + /* Sum: '/Sum' incorporates: + * Constant: '/Constant86' + * Memory: '/Memory1' + * Product: '/Divide4' */ - test_Pid_P = (int16_t)div_nzp_s32_round((int16_t)floor(rtb_Gain_e * (double) - rtb_DeadZone8), 10); - - /* Product: '/Divide4' incorporates: - * Constant: '/Constant55' - * Constant: '/Constant86' - * Product: '/Divide4' - */ - rtb_Divide7 = (double)g_assPID_VALVE_FRONT_LOW[1] / 1000.0; - - /* Sum: '/Sum' incorporates: - * Constant: '/Constant86' - * Memory: '/Memory1' - * Product: '/Divide4' - */ - tmp_3 = (int64_t)floor(rtb_Divide7 * (double)rtb_DeadZone8) + + tmp_3 = (int64_t)floor(rtb_Divide5 * (double)rtb_MultiportSwitch_h) + rtDW.MemComp_I_Value_m; if (tmp_3 > 2147483647LL) { tmp_3 = 2147483647LL; @@ -31956,105 +37918,109 @@ void HVAC_model_step(void) tmp_3 = -2147483648LL; } - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Sum: '/Sum' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Sum: '/Sum' + * Switch: '/Switch' */ if ((int32_t)tmp_3 > 10000) { - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant4' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant4' */ rtDW.MemComp_I_Value_m = 10000; } else if ((int32_t)tmp_3 < 0) { - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant3' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant3' + * Switch: '/Switch' */ rtDW.MemComp_I_Value_m = 0; } else { - /* Switch: '/Switch2' */ + /* Switch: '/Switch2' */ rtDW.MemComp_I_Value_m = (int32_t)tmp_3; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Product: '/Divide3' incorporates: - * Constant: '/Constant' - * DataStoreWrite: '/Data Store Write1' - * - * Block description for '/Divide3': - * Round + /* Switch: '/Switch14' incorporates: + * Constant: '/Constant97' + * DataStoreRead: '/Data Store Read76' + * DataStoreWrite: '/Data Store Write13' */ - test_Pid_I = (int16_t)div_nzp_s32_round(rtDW.MemComp_I_Value_m, 100); - - /* Product: '/Divide5' incorporates: - * Constant: '/Constant85' - * Constant: '/Constant87' - * Product: '/Divide5' - */ - rtb_Divide4 = (double)g_assPID_VALVE_FRONT_LOW[2] / 100.0; - - /* Product: '/Divide6' incorporates: - * Constant: '/Constant2' - * Constant: '/Constant87' - * DataStoreWrite: '/Data Store Write2' - * Memory: '/pError' - * Product: '/Divide5' - * Sum: '/Sum1' - * - * Block description for '/Divide6': - * Round - */ - test_Pid_D = (int16_t)div_nzp_s32_round((int32_t)floor((double)(int16_t) - (rtb_DeadZone8 - rtDW.pError_PreviousInput_p) * rtb_Divide4), 100); - - /* Sum: '/Sum2' incorporates: - * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write1' - * DataStoreWrite: '/Data Store Write2' - */ - i = (test_Pid_P + test_Pid_I) + test_Pid_D; - if (i < 0) { - i = 0; - } else if (i > 255) { - i = 255; - } - - /* Saturate: '/Saturation11' incorporates: - * Sum: '/Sum2' - */ - if (i <= 100) { - rtDW.PID_TempFRL = (uint8_t)i; + if (rtDW.CCU_AC_MAX > 0) { + rtDW.PID_TempFRL = 0U; } else { - rtDW.PID_TempFRL = 100U; + /* Sum: '/Sum2' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant42' + * Constant: '/Constant87' + * Memory: '/pError' + * Product: '/Divide1' + * Product: '/Divide2' + * Product: '/Divide3' + * Product: '/Divide5' + * Product: '/Divide6' + * Sum: '/Sum1' + * + * Block description for '/Divide1': + * Round + * + * Block description for '/Divide3': + * Round + * + * Block description for '/Divide6': + * Round + */ + i = ((int16_t)div_nzp_s32_round((int16_t)floor((double) + g_assPID_VALVE_FRONT_LOW[0] / 100.0 * (double)rtb_MultiportSwitch_h), + 10) + (int16_t)div_nzp_s32_round(rtDW.MemComp_I_Value_m, 100)) + + (int16_t)div_nzp_s32_round((int32_t)floor((double)(int16_t) + (rtb_MultiportSwitch_h - rtDW.pError_PreviousInput_p) * ((double) + g_assPID_VALVE_FRONT_LOW[2] / 100.0)), 100); + if (i < 0) { + i = 0; + } else if (i > 255) { + i = 255; + } + + /* Saturate: '/Saturation11' incorporates: + * Sum: '/Sum2' + */ + if (i <= 100) { + rtDW.PID_TempFRL = (uint8_t)i; + } else { + rtDW.PID_TempFRL = 100U; + } + + /* End of Saturate: '/Saturation11' */ } - /* End of Saturate: '/Saturation11' */ + /* End of Switch: '/Switch14' */ - /* Sum: '/Subtract15' incorporates: - * DataStoreRead: '/Data Store Read35' - * DataStoreRead: '/Data Store Read36' + /* Sum: '/Subtract15' incorporates: + * DataStoreRead: '/Data Store Read35' + * DataStoreRead: '/Data Store Read36' */ - rtb_Bias5 = (int16_t)(rtb_FLU_tg_correct_i - rtb_X); + rtb_Bias5 = (int16_t)(rtb_y_j1 - Duct3_F); - /* DeadZone: '/Dead Zone7' */ + /* DeadZone: '/Dead Zone7' */ if (rtb_Bias5 > 5) { - rtb_DeadZone7 = (int16_t)(rtb_Bias5 - 5); + rtb_MultiportSwitch_k = (int16_t)(rtb_Bias5 - 5); } else if (rtb_Bias5 >= -5) { - rtb_DeadZone7 = 0; + rtb_MultiportSwitch_k = 0; } else { - rtb_DeadZone7 = (int16_t)(rtb_Bias5 - -5); + rtb_MultiportSwitch_k = (int16_t)(rtb_Bias5 - -5); } - /* End of DeadZone: '/Dead Zone7' */ + /* End of DeadZone: '/Dead Zone7' */ - /* Sum: '/Sum' incorporates: - * Memory: '/Memory1' - * Product: '/Divide4' + /* Sum: '/Sum' incorporates: + * Memory: '/Memory1' + * Product: '/Divide4' */ - tmp_3 = (int64_t)floor(rtb_Divide7 * (double)rtb_DeadZone7) + + tmp_3 = (int64_t)floor(rtb_Divide5 * (double)rtb_MultiportSwitch_k) + rtDW.MemComp_I_Value_p; if (tmp_3 > 2147483647LL) { tmp_3 = 2147483647LL; @@ -32062,102 +38028,227 @@ void HVAC_model_step(void) tmp_3 = -2147483648LL; } - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Sum: '/Sum' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Sum: '/Sum' + * Switch: '/Switch' */ if ((int32_t)tmp_3 > 10000) { - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant4' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant4' */ rtDW.MemComp_I_Value_p = 10000; } else if ((int32_t)tmp_3 < 0) { - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant3' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant3' + * Switch: '/Switch' */ rtDW.MemComp_I_Value_p = 0; } else { - /* Switch: '/Switch2' */ + /* Switch: '/Switch2' */ rtDW.MemComp_I_Value_p = (int32_t)tmp_3; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Sum: '/Sum2' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Memory: '/pError' - * Product: '/Divide1' - * Product: '/Divide2' - * Product: '/Divide3' - * Product: '/Divide5' - * Product: '/Divide6' - * Sum: '/Sum1' - * - * Block description for '/Divide1': - * Round - * - * Block description for '/Divide3': - * Round - * - * Block description for '/Divide6': - * Round + /* Switch: '/Switch13' incorporates: + * Constant: '/Constant97' + * DataStoreRead: '/Data Store Read76' + * DataStoreWrite: '/Data Store Write14' */ - i = ((int16_t)div_nzp_s32_round((int16_t)floor(rtb_Gain_e * (double) - rtb_DeadZone7), 10) + (int16_t)div_nzp_s32_round(rtDW.MemComp_I_Value_p, - 100)) + (int16_t)div_nzp_s32_round((int32_t)floor((double)(int16_t) - (rtb_DeadZone7 - rtDW.pError_PreviousInput_pe) * rtb_Divide4), 100); - if (i < 0) { - i = 0; - } else if (i > 255) { - i = 255; - } - - /* Saturate: '/Saturation10' incorporates: - * Sum: '/Sum2' - */ - if (i <= 100) { - rtDW.PID_TempFLL = (uint8_t)i; + if (rtDW.CCU_AC_MAX > 0) { + rtDW.PID_TempFLL = 0U; } else { - rtDW.PID_TempFLL = 100U; + /* Sum: '/Sum2' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant43' + * Constant: '/Constant85' + * Memory: '/pError' + * Product: '/Divide1' + * Product: '/Divide2' + * Product: '/Divide3' + * Product: '/Divide5' + * Product: '/Divide6' + * Sum: '/Sum1' + * + * Block description for '/Divide1': + * Round + * + * Block description for '/Divide3': + * Round + * + * Block description for '/Divide6': + * Round + */ + i = ((int16_t)div_nzp_s32_round((int16_t)floor((double) + g_assPID_VALVE_FRONT_LOW[0] / 100.0 * (double)rtb_MultiportSwitch_k), + 10) + (int16_t)div_nzp_s32_round(rtDW.MemComp_I_Value_p, 100)) + + (int16_t)div_nzp_s32_round((int32_t)floor((double)(int16_t) + (rtb_MultiportSwitch_k - rtDW.pError_PreviousInput_pe) * ((double) + g_assPID_VALVE_FRONT_LOW[2] / 100.0)), 100); + if (i < 0) { + i = 0; + } else if (i > 255) { + i = 255; + } + + /* Saturate: '/Saturation10' incorporates: + * Sum: '/Sum2' + */ + if (i <= 100) { + rtDW.PID_TempFLL = (uint8_t)i; + } else { + rtDW.PID_TempFLL = 100U; + } + + /* End of Saturate: '/Saturation10' */ } - /* End of Saturate: '/Saturation10' */ + /* End of Switch: '/Switch13' */ - /* Sum: '/Subtract16' incorporates: - * DataStoreRead: '/Data Store Read38' - * DataStoreRead: '/Data Store Read41' + /* Sum: '/Subtract18' incorporates: + * DataStoreRead: '/Data Store Read42' + * DataStoreRead: '/Data Store Read43' + */ + rtb_Bias5 = (int16_t)(rtb_FLU_tg_correct1 - rtb_Bias1_h); + + /* DeadZone: '/Dead Zone11' */ + if (rtb_Bias5 > 5) { + rtb_MultiportSwitch_ev = (int16_t)(rtb_Bias5 - 5); + } else if (rtb_Bias5 >= -5) { + rtb_MultiportSwitch_ev = 0; + } else { + rtb_MultiportSwitch_ev = (int16_t)(rtb_Bias5 - -5); + } + + /* End of DeadZone: '/Dead Zone11' */ + + /* Sum: '/Sum' incorporates: + * Memory: '/Memory1' + * Product: '/Divide4' + */ + tmp_3 = (int64_t)floor(rtb_Switch2_by * (double)rtb_MultiportSwitch_ev) + + rtDW.MemComp_I_Value_f; + if (tmp_3 > 2147483647LL) { + tmp_3 = 2147483647LL; + } else if (tmp_3 < -2147483648LL) { + tmp_3 = -2147483648LL; + } + + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Sum: '/Sum' + * Switch: '/Switch' + */ + if ((int32_t)tmp_3 > 10000) { + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant4' + */ + rtDW.MemComp_I_Value_f = 10000; + } else if ((int32_t)tmp_3 < 0) { + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant3' + * Switch: '/Switch' + */ + rtDW.MemComp_I_Value_f = 0; + } else { + /* Switch: '/Switch2' */ + rtDW.MemComp_I_Value_f = (int32_t)tmp_3; + } + + /* End of Switch: '/Switch2' */ + + /* Switch: '/Switch11' incorporates: + * Constant: '/Constant97' + * DataStoreRead: '/Data Store Read76' + * DataStoreWrite: '/Data Store Write17' + */ + if (rtDW.CCU_AC_MAX > 0) { + rtDW.PID_TempFUR = 0U; + } else { + /* Sum: '/Sum2' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant94' + * Constant: '/Constant96' + * Memory: '/pError' + * Product: '/Divide1' + * Product: '/Divide2' + * Product: '/Divide3' + * Product: '/Divide5' + * Product: '/Divide6' + * Sum: '/Sum1' + * + * Block description for '/Divide1': + * Round + * + * Block description for '/Divide3': + * Round + * + * Block description for '/Divide6': + * Round + */ + i = ((int16_t)div_nzp_s32_round((int16_t)floor((double) + g_assPID_VALVE_FRONT_UP[0] / 100.0 * (double)rtb_MultiportSwitch_ev), + 10) + (int16_t)div_nzp_s32_round(rtDW.MemComp_I_Value_f, 100)) + + (int16_t)div_nzp_s32_round((int32_t)floor((double)(int16_t) + (rtb_MultiportSwitch_ev - rtDW.pError_PreviousInput_i) * ((double) + g_assPID_VALVE_FRONT_UP[2] / 100.0)), 100); + if (i < 0) { + i = 0; + } else if (i > 255) { + i = 255; + } + + /* Saturate: '/Saturation14' incorporates: + * Sum: '/Sum2' + */ + if (i <= 100) { + rtDW.PID_TempFUR = (uint8_t)i; + } else { + rtDW.PID_TempFUR = 100U; + } + + /* End of Saturate: '/Saturation14' */ + } + + /* End of Switch: '/Switch11' */ + + /* Sum: '/Subtract16' incorporates: + * DataStoreRead: '/Data Store Read38' + * DataStoreRead: '/Data Store Read41' */ rtb_Bias5 = (int16_t)(rtDW.Duct_RR_Tg - Duct2_R); - /* DeadZone: '/Dead Zone10' */ + /* DeadZone: '/Dead Zone10' */ if (rtb_Bias5 > 5) { - rtb_DeadZone10 = (int16_t)(rtb_Bias5 - 5); + rtb_u5FRU_tg_incar = (int16_t)(rtb_Bias5 - 5); } else if (rtb_Bias5 >= -5) { - rtb_DeadZone10 = 0; + rtb_u5FRU_tg_incar = 0; } else { - rtb_DeadZone10 = (int16_t)(rtb_Bias5 - -5); + rtb_u5FRU_tg_incar = (int16_t)(rtb_Bias5 - -5); } - /* End of DeadZone: '/Dead Zone10' */ + /* End of DeadZone: '/Dead Zone10' */ - /* Product: '/Divide4' incorporates: - * Constant: '/Constant90' - * Constant: '/Constant92' - * Product: '/Divide4' + /* Product: '/Divide4' incorporates: + * Constant: '/Constant90' + * Constant: '/Constant92' + * Product: '/Divide4' */ - rtb_Divide7 = (double)g_assPID_VALVE_REAR[1] / 1000.0; + rtb_Switch2_by = (double)g_assPID_VALVE_REAR[1] / 1000.0; - /* Sum: '/Sum' incorporates: - * Constant: '/Constant92' - * Memory: '/Memory1' - * Product: '/Divide4' + /* Sum: '/Sum' incorporates: + * Constant: '/Constant92' + * Memory: '/Memory1' + * Product: '/Divide4' */ - tmp_3 = (int64_t)floor(rtb_Divide7 * (double)rtb_DeadZone10) + + tmp_3 = (int64_t)floor(rtb_Switch2_by * (double)rtb_u5FRU_tg_incar) + rtDW.MemComp_I_Value_n; if (tmp_3 > 2147483647LL) { tmp_3 = 2147483647LL; @@ -32165,80 +38256,80 @@ void HVAC_model_step(void) tmp_3 = -2147483648LL; } - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Sum: '/Sum' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Sum: '/Sum' + * Switch: '/Switch' */ if ((int32_t)tmp_3 > 10000) { - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant4' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant4' */ rtDW.MemComp_I_Value_n = 10000; } else if ((int32_t)tmp_3 < 0) { - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant3' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant3' + * Switch: '/Switch' */ rtDW.MemComp_I_Value_n = 0; } else { - /* Switch: '/Switch2' */ + /* Switch: '/Switch2' */ rtDW.MemComp_I_Value_n = (int32_t)tmp_3; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Product: '/Divide2' incorporates: - * Constant: '/Constant88' - * Constant: '/Constant89' - * Product: '/Divide2' + /* Product: '/Divide2' incorporates: + * Constant: '/Constant88' + * Constant: '/Constant89' + * Product: '/Divide2' */ - rtb_Gain_e = (double)g_assPID_VALVE_REAR[0] / 100.0; + rtb_Divide5 = (double)g_assPID_VALVE_REAR[0] / 100.0; - /* Product: '/Divide5' incorporates: - * Constant: '/Constant91' - * Constant: '/Constant93' - * Product: '/Divide5' + /* Product: '/Divide5' incorporates: + * Constant: '/Constant91' + * Constant: '/Constant93' + * Product: '/Divide5' */ - rtb_Divide4 = (double)g_assPID_VALVE_REAR[2] / 100.0; + rtb_Divide3 = (double)g_assPID_VALVE_REAR[2] / 100.0; - /* Sum: '/Sum2' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant88' - * Constant: '/Constant93' - * Memory: '/pError' - * Product: '/Divide1' - * Product: '/Divide2' - * Product: '/Divide3' - * Product: '/Divide5' - * Product: '/Divide6' - * Sum: '/Sum1' + /* Sum: '/Sum2' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant88' + * Constant: '/Constant93' + * Memory: '/pError' + * Product: '/Divide1' + * Product: '/Divide2' + * Product: '/Divide3' + * Product: '/Divide5' + * Product: '/Divide6' + * Sum: '/Sum1' * - * Block description for '/Divide1': + * Block description for '/Divide1': * Round * - * Block description for '/Divide3': + * Block description for '/Divide3': * Round * - * Block description for '/Divide6': + * Block description for '/Divide6': * Round */ - i = ((int16_t)div_nzp_s32_round((int16_t)floor(rtb_Gain_e * (double) - rtb_DeadZone10), 10) + (int16_t)div_nzp_s32_round + i = ((int16_t)div_nzp_s32_round((int16_t)floor(rtb_Divide5 * (double) + rtb_u5FRU_tg_incar), 10) + (int16_t)div_nzp_s32_round (rtDW.MemComp_I_Value_n, 100)) + (int16_t)div_nzp_s32_round((int32_t) - floor((double)(int16_t)(rtb_DeadZone10 - rtDW.pError_PreviousInput_b) * - rtb_Divide4), 100); + floor((double)(int16_t)(rtb_u5FRU_tg_incar - rtDW.pError_PreviousInput_b) * + rtb_Divide3), 100); if (i < 0) { i = 0; } else if (i > 255) { i = 255; } - /* Saturate: '/Saturation13' incorporates: - * Sum: '/Sum2' + /* Saturate: '/Saturation13' incorporates: + * Sum: '/Sum2' */ if (i <= 100) { rtDW.PID_TempRR = (uint8_t)i; @@ -32246,111 +38337,15 @@ void HVAC_model_step(void) rtDW.PID_TempRR = 100U; } - /* End of Saturate: '/Saturation13' */ + /* End of Saturate: '/Saturation13' */ - /* Sum: '/Subtract17' incorporates: - * DataStoreRead: '/Data Store Read39' - * DataStoreRead: '/Data Store Read40' + /* Sum: '/Subtract17' incorporates: + * DataStoreRead: '/Data Store Read39' + * DataStoreRead: '/Data Store Read40' */ - rtb_Bias5 = (int16_t)(rtb_FLU_tg_correct_me - Duct1_R); + rtb_Bias5 = (int16_t)(Switch3 - Duct1_R); - /* DeadZone: '/Dead Zone9' */ - if (rtb_Bias5 > 5) { - rtb_DeadZone9 = (int16_t)(rtb_Bias5 - 5); - } else if (rtb_Bias5 >= -5) { - rtb_DeadZone9 = 0; - } else { - rtb_DeadZone9 = (int16_t)(rtb_Bias5 - -5); - } - - /* End of DeadZone: '/Dead Zone9' */ - - /* Sum: '/Sum' incorporates: - * Memory: '/Memory1' - * Product: '/Divide4' - */ - tmp_3 = (int64_t)floor(rtb_Divide7 * (double)rtb_DeadZone9) + - rtDW.MemComp_I_Value_m0; - if (tmp_3 > 2147483647LL) { - tmp_3 = 2147483647LL; - } else if (tmp_3 < -2147483648LL) { - tmp_3 = -2147483648LL; - } - - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Sum: '/Sum' - * Switch: '/Switch' - */ - if ((int32_t)tmp_3 > 10000) { - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant4' - */ - rtDW.MemComp_I_Value_m0 = 10000; - } else if ((int32_t)tmp_3 < 0) { - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant3' - * Switch: '/Switch' - */ - rtDW.MemComp_I_Value_m0 = 0; - } else { - /* Switch: '/Switch2' */ - rtDW.MemComp_I_Value_m0 = (int32_t)tmp_3; - } - - /* End of Switch: '/Switch2' */ - - /* Sum: '/Sum2' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Memory: '/pError' - * Product: '/Divide1' - * Product: '/Divide2' - * Product: '/Divide3' - * Product: '/Divide5' - * Product: '/Divide6' - * Sum: '/Sum1' - * - * Block description for '/Divide1': - * Round - * - * Block description for '/Divide3': - * Round - * - * Block description for '/Divide6': - * Round - */ - i = ((int16_t)div_nzp_s32_round((int16_t)floor(rtb_Gain_e * (double) - rtb_DeadZone9), 10) + (int16_t)div_nzp_s32_round - (rtDW.MemComp_I_Value_m0, 100)) + (int16_t)div_nzp_s32_round((int32_t) - floor((double)(int16_t)(rtb_DeadZone9 - rtDW.pError_PreviousInput_d) * - rtb_Divide4), 100); - if (i < 0) { - i = 0; - } else if (i > 255) { - i = 255; - } - - /* Saturate: '/Saturation12' incorporates: - * Sum: '/Sum2' - */ - if (i <= 100) { - rtDW.PID_TempRL = (uint8_t)i; - } else { - rtDW.PID_TempRL = 100U; - } - - /* End of Saturate: '/Saturation12' */ - - /* Sum: '/Subtract18' incorporates: - * DataStoreRead: '/Data Store Read42' - * DataStoreRead: '/Data Store Read43' - */ - rtb_Bias5 = (int16_t)(rtb_Merge_h - rtb_MultiportSwitch_pp); - - /* DeadZone: '/Dead Zone11' */ + /* DeadZone: '/Dead Zone9' */ if (rtb_Bias5 > 5) { rtb_Bias5 = (int16_t)(rtb_Bias5 - 5); } else if (rtb_Bias5 >= -5) { @@ -32359,222 +38354,221 @@ void HVAC_model_step(void) rtb_Bias5 = (int16_t)(rtb_Bias5 - -5); } - /* End of DeadZone: '/Dead Zone11' */ + /* End of DeadZone: '/Dead Zone9' */ - /* Sum: '/Sum' incorporates: - * Memory: '/Memory1' - * Product: '/Divide4' + /* Sum: '/Sum' incorporates: + * Memory: '/Memory1' + * Product: '/Divide4' */ - tmp_3 = (int64_t)floor(rtb_Switch1_oh * (double)rtb_Bias5) + - rtDW.MemComp_I_Value_f; + tmp_3 = (int64_t)floor(rtb_Switch2_by * (double)rtb_Bias5) + + rtDW.MemComp_I_Value_m0; if (tmp_3 > 2147483647LL) { tmp_3 = 2147483647LL; } else if (tmp_3 < -2147483648LL) { tmp_3 = -2147483648LL; } - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Sum: '/Sum' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Sum: '/Sum' + * Switch: '/Switch' */ if ((int32_t)tmp_3 > 10000) { - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant4' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant4' */ - rtDW.MemComp_I_Value_f = 10000; + rtDW.MemComp_I_Value_m0 = 10000; } else if ((int32_t)tmp_3 < 0) { - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant3' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant3' + * Switch: '/Switch' */ - rtDW.MemComp_I_Value_f = 0; + rtDW.MemComp_I_Value_m0 = 0; } else { - /* Switch: '/Switch2' */ - rtDW.MemComp_I_Value_f = (int32_t)tmp_3; + /* Switch: '/Switch2' */ + rtDW.MemComp_I_Value_m0 = (int32_t)tmp_3; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Sum: '/Sum2' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Memory: '/pError' - * Product: '/Divide1' - * Product: '/Divide2' - * Product: '/Divide3' - * Product: '/Divide5' - * Product: '/Divide6' - * Sum: '/Sum1' + /* Sum: '/Sum2' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Memory: '/pError' + * Product: '/Divide1' + * Product: '/Divide2' + * Product: '/Divide3' + * Product: '/Divide5' + * Product: '/Divide6' + * Sum: '/Sum1' * - * Block description for '/Divide1': + * Block description for '/Divide1': * Round * - * Block description for '/Divide3': + * Block description for '/Divide3': * Round * - * Block description for '/Divide6': + * Block description for '/Divide6': * Round */ i = ((int16_t)div_nzp_s32_round((int16_t)floor(rtb_Divide5 * (double)rtb_Bias5), - 10) + (int16_t)div_nzp_s32_round(rtDW.MemComp_I_Value_f, 100)) + + 10) + (int16_t)div_nzp_s32_round(rtDW.MemComp_I_Value_m0, 100)) + (int16_t)div_nzp_s32_round((int32_t)floor((double)(int16_t)(rtb_Bias5 - - rtDW.pError_PreviousInput_i) * rtb_Divide3), 100); + rtDW.pError_PreviousInput_d) * rtb_Divide3), 100); if (i < 0) { i = 0; } else if (i > 255) { i = 255; } - /* Saturate: '/Saturation14' incorporates: - * Sum: '/Sum2' + /* Saturate: '/Saturation12' incorporates: + * Sum: '/Sum2' */ if (i <= 100) { - rtDW.PID_TempFUR = (uint8_t)i; + rtDW.PID_TempRL = (uint8_t)i; } else { - rtDW.PID_TempFUR = 100U; + rtDW.PID_TempRL = 100U; } - /* End of Saturate: '/Saturation14' */ + /* End of Saturate: '/Saturation12' */ - /* Product: '/Divide' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * Sum: '/Add' + /* Product: '/Divide' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * Sum: '/Add' */ - rtb_Switch1_oh = (double)(rtb_Saturation4 + rtb_DataTypeConversion_kv) / 4.0; + rtb_Switch2_by = (double)(rtb_DataTypeConversion1_nc + Blower_AF_FR) / 4.0; - /* Switch: '/Switch' */ - if (rtb_Switch1_oh > 0.0) { - /* Saturate: '/Saturation2' */ - if (rtb_Switch1_oh > 80.0) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* Switch: '/Switch' */ + if (rtb_Switch2_by > 0.0) { + /* Saturate: '/Saturation2' */ + if (rtb_Switch2_by > 80.0) { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ rtDW.PWM_front = 80U; - } else if (rtb_Switch1_oh < 15.0) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write2' + } else if (rtb_Switch2_by < 15.0) { + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ rtDW.PWM_front = 15U; } else { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ - rtDW.PWM_front = (uint8_t)rtb_Switch1_oh; + rtDW.PWM_front = (uint8_t)rtb_Switch2_by; } - /* End of Saturate: '/Saturation2' */ + /* End of Saturate: '/Saturation2' */ } else { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Constant: '/Constant1' - * DataStoreWrite: '/Data Store Write2' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Constant: '/Constant1' + * DataStoreWrite: '/Data Store Write2' */ rtDW.PWM_front = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * Sum: '/Add1' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * Sum: '/Add1' */ - rtb_Switch1_oh = (double)(rtb_DataTypeConversion1_ao + - rtb_DataTypeConversion1_pk) / 4.0; + rtb_Switch2_by = (double)(Blower_AF_RL + Blower_AF_RR) / 4.0; - /* Switch: '/Switch1' */ - if (rtb_Switch1_oh > 0.0) { - /* Saturate: '/Saturation1' */ - if (rtb_Switch1_oh > 80.0) { - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreWrite: '/Data Store Write3' + /* Switch: '/Switch1' */ + if (rtb_Switch2_by > 0.0) { + /* Saturate: '/Saturation1' */ + if (rtb_Switch2_by > 80.0) { + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreWrite: '/Data Store Write3' */ rtDW.PWM_rear = 80U; - } else if (rtb_Switch1_oh < 15.0) { - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreWrite: '/Data Store Write3' + } else if (rtb_Switch2_by < 15.0) { + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreWrite: '/Data Store Write3' */ rtDW.PWM_rear = 15U; } else { - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * DataStoreWrite: '/Data Store Write3' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * DataStoreWrite: '/Data Store Write3' */ - rtDW.PWM_rear = (uint8_t)rtb_Switch1_oh; + rtDW.PWM_rear = (uint8_t)rtb_Switch2_by; } - /* End of Saturate: '/Saturation1' */ + /* End of Saturate: '/Saturation1' */ } else { - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * Constant: '/Constant3' - * DataStoreWrite: '/Data Store Write3' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * Constant: '/Constant3' + * DataStoreWrite: '/Data Store Write3' */ rtDW.PWM_rear = 0U; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Switch: '/Switch2' incorporates: - * DataStoreRead: '/Data Store Read64' - * Switch: '/Switch3' + /* Switch: '/Switch2' incorporates: + * DataStoreRead: '/Data Store Read64' + * Switch: '/Switch3' */ if (rtDW.BCM_T15_Stat > 0) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write3' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write3' */ PWM_Get.pwmPercentFront = rtDW.PWM_front; PWM_Get.pwmPercentRear = rtDW.PWM_rear; } else { - /* BusCreator: '/Bus Creator' incorporates: - * Constant: '/Constant5' - * Constant: '/Constant6' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * Constant: '/Constant5' + * Constant: '/Constant6' + * DataStoreWrite: '/Data Store Write' */ PWM_Get.pwmPercentFront = 0U; PWM_Get.pwmPercentRear = 0U; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ PWM_Get.pwmPercentFrontReserved = 0U; PWM_Get.pwmPercentRearReserved = 0U; - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreRead: '/Data Store Read51' - * DataStoreRead: '/Data Store Read52' - * DataStoreRead: '/Data Store Read53' - * DataStoreRead: '/Data Store Read54' - * DataStoreRead: '/Data Store Read56' - * DataStoreRead: '/Data Store Read57' - * DataStoreRead: '/Data Store Read58' - * DataStoreRead: '/Data Store Read59' - * DataStoreRead: '/Data Store Read60' - * DataStoreRead: '/Data Store Read61' - * DataStoreRead: '/Data Store Read62' - * DataStoreRead: '/Data Store Read63' - * DataStoreRead: '/Data Store Read64' - * DataStoreRead: '/Data Store Read65' - * DataStoreRead: '/Data Store Read66' - * DataStoreRead: '/Data Store Read67' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreRead: '/Data Store Read51' + * DataStoreRead: '/Data Store Read52' + * DataStoreRead: '/Data Store Read53' + * DataStoreRead: '/Data Store Read54' + * DataStoreRead: '/Data Store Read56' + * DataStoreRead: '/Data Store Read57' + * DataStoreRead: '/Data Store Read58' + * DataStoreRead: '/Data Store Read59' + * DataStoreRead: '/Data Store Read60' + * DataStoreRead: '/Data Store Read61' + * DataStoreRead: '/Data Store Read62' + * DataStoreRead: '/Data Store Read63' + * DataStoreRead: '/Data Store Read64' + * DataStoreRead: '/Data Store Read65' + * DataStoreRead: '/Data Store Read66' + * DataStoreRead: '/Data Store Read67' * DataStoreWrite: '/Data Store Write27' - * DataStoreWrite: '/Data Store Write8' - * DataTypeConversion: '/Data Type Conversion1' - * DataTypeConversion: '/Data Type Conversion2' - * DataTypeConversion: '/Data Type Conversion3' - * DataTypeConversion: '/Data Type Conversion4' - * Logic: '/Logical Operator2' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * Logic: '/Logical Operator5' + * DataStoreWrite: '/Data Store Write8' + * DataTypeConversion: '/Data Type Conversion1' + * DataTypeConversion: '/Data Type Conversion2' + * DataTypeConversion: '/Data Type Conversion3' + * DataTypeConversion: '/Data Type Conversion4' + * Logic: '/Logical Operator2' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * Logic: '/Logical Operator5' */ /* : if(LOGGER) */ rtDW.PowerEnable_Model.SW5V_EN = rtDW.SW5V_EN; @@ -32585,7 +38579,7 @@ void HVAC_model_step(void) rtDW.PowerEnable_Model.ReservePower_EN = rtDW.ReservePower_EN; rtDW.PowerEnable_Model.PtcRelayDriver1_EN = rtDW.PtcRelayDriver1_EN; rtDW.PowerEnable_Model.PtcRelayDriver2_EN = rtDW.PtcRelayDriver2_EN; - rtDW.PowerEnable_Model.ShutOffFront_EN = (uint8_t)(rtb_timer_out == 0); + rtDW.PowerEnable_Model.ShutOffFront_EN = (uint8_t)(ShutOffFront_EN == 0); rtDW.PowerEnable_Model.ShutOffRear_EN = (uint8_t)(ShutOffRear_EN == 0); rtDW.PowerEnable_Model.EN_ReservePower = rtDW.EN_ReservePower; rtDW.PowerEnable_Model.LIN_ActPower_AB = rtDW.LIN_ActPower_AB; @@ -32600,333 +38594,309 @@ void HVAC_model_step(void) */ rtY.PWM_Get_f = PWM_Get; - /* SwitchCase: '/Incar Motors' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* SwitchCase: '/Incar Motors' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ if ((rtDW.BCM_T15_Stat != 0) && ((rtDW.CCU_BLOWERS_RL != 0) || (rtDW.CCU_BLOWERS_RR != 0))) { - /* Outputs for IfAction SubSystem: '/Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Subsystem2' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant' */ rtDW.Incar_Motor_Front_EN = 1U; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant' */ rtDW.Incar_Motor_Rear_EN = 1U; - /* End of Outputs for SubSystem: '/Subsystem2' */ + /* End of Outputs for SubSystem: '/Subsystem2' */ } else { - /* Outputs for IfAction SubSystem: '/Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant' */ rtDW.Incar_Motor_Front_EN = 0U; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant' */ rtDW.Incar_Motor_Rear_EN = 0U; - /* End of Outputs for SubSystem: '/Subsystem' */ + /* End of Outputs for SubSystem: '/Subsystem' */ } - /* End of SwitchCase: '/Incar Motors' */ + /* End of SwitchCase: '/Incar Motors' */ - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion2' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion2' */ rtDW.dbgCAN_dbg_Sen_0_model.dbg_Sen_BattVolt_ro = 0U; rtDW.dbgCAN_dbg_Sen_0_model.dbg_Sen_Pressure_ro = (uint16_t)rtDW.Pressure; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreRead: '/Data Store Read' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/Data Store Read' */ - rtb_Switch1_oh = fabs(rtDW.Sun_L); - if (rtb_Switch1_oh < 4.503599627370496E+15) { - if (rtb_Switch1_oh >= 0.5) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + rtb_Switch2_by = fabs(rtDW.Sun_L); + if (rtb_Switch2_by < 4.503599627370496E+15) { + if (rtb_Switch2_by >= 0.5) { + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_dbg_Sen_0_model.dbg_Sen_Sun_L = (uint16_t)floor(rtDW.Sun_L + 0.5); } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_dbg_Sen_0_model.dbg_Sen_Sun_L = 0U; } } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_dbg_Sen_0_model.dbg_Sen_Sun_L = (uint16_t)rtDW.Sun_L; } - /* End of DataTypeConversion: '/Data Type Conversion' */ + /* End of DataTypeConversion: '/Data Type Conversion' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreRead: '/Data Store Read1' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read1' */ - rtb_Switch1_oh = fabs(rtDW.Sun_R); - if (rtb_Switch1_oh < 4.503599627370496E+15) { - if (rtb_Switch1_oh >= 0.5) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + rtb_Switch2_by = fabs(rtDW.Sun_R); + if (rtb_Switch2_by < 4.503599627370496E+15) { + if (rtb_Switch2_by >= 0.5) { + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_dbg_Sen_0_model.dbg_Sen_Sun_R = (uint16_t)floor(rtDW.Sun_R + 0.5); } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_dbg_Sen_0_model.dbg_Sen_Sun_R = 0U; } } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_dbg_Sen_0_model.dbg_Sen_Sun_R = (uint16_t)rtDW.Sun_R; } - /* End of DataTypeConversion: '/Data Type Conversion1' */ + /* End of DataTypeConversion: '/Data Type Conversion1' */ - /* BusCreator: '/Bus Creator1' incorporates: - * Constant: '/Constant10' - * Constant: '/Constant6' - * Constant: '/Constant7' - * Constant: '/Constant8' - * Constant: '/Constant9' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read12' - * DataStoreRead: '/Data Store Read13' - * DataStoreRead: '/Data Store Read15' - * DataStoreRead: '/Data Store Read17' - * DataStoreRead: '/Data Store Read19' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - * DataStoreRead: '/Data Store Read9' - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * Constant: '/Constant10' + * Constant: '/Constant6' + * Constant: '/Constant7' + * Constant: '/Constant8' + * Constant: '/Constant9' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/Data Store Read13' + * DataStoreRead: '/Data Store Read15' + * DataStoreRead: '/Data Store Read17' + * DataStoreRead: '/Data Store Read19' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * DataStoreRead: '/Data Store Read9' + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_MultMsg_Idx = 0U; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Fb_Select = 0U; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RR_Fb_Select = 0U; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RL_Fb_Select = 0U; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Fb_Select = 0U; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RL_Tgt_ro = rtb_FLU_tg_correct_me; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Upper_Tgt_ro = rtb_Merge_h; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RL_Tgt_ro = Switch3; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Upper_Tgt_ro = + rtb_FLU_tg_correct1; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RR_Tgt_ro = rtDW.Duct_RR_Tg; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Upper_Tgt_ro = - rtb_FLU_tg_correct; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Upper_Tgt_ro = rtb_Merge_by; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RR_Fb_ro = Duct2_R; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RL_Fb_ro = Duct1_R; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Upper_Fb_ro = - rtb_MultiportSwitch_pp; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Upper_Fb_ro = - rtb_MultiportSwitch_m; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Upper_Fb_ro = rtb_Bias1_h; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Upper_Fb_ro = Duct1_F; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Side_Fb_ro = Duct6_F; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Side_Fb_ro = Duct5_F; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RL_Side_Fb_ro = Duct3_R; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RR_Side_Fb_ro = Duct4_R; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Lower_Tgt_ro = - rtb_FLU_tg_correct_a; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Lower_Tgt_ro = - rtb_FLU_tg_correct_i; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Lower_Fb_ro = rtb_Bias1_h; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Lower_Fb_ro = rtb_X; + rtb_FLU_tg_correct_o; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Lower_Tgt_ro = rtb_y_j1; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Lower_Fb_ro = Duct4_F; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Lower_Fb_ro = Duct3_F; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read53' - * DataStoreRead: '/Data Store Read54' - * DataStoreRead: '/Data Store Read6' - * DataStoreWrite: '/Data Store Write27' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ - rtDW.dbgCAN_CCU_IO_model.dbg_IO_Txv_F = rtb_timer_out; + rtDW.dbg_Logic_Valve_Plus_model.dbg_Auto_Valve_Plus_Vent_SFL_ro = 0; + rtDW.dbg_Logic_Valve_Plus_model.dbg_Auto_Valve_Plus_Vent_CFL_ro = 0; + rtDW.dbg_Logic_Valve_Plus_model.dbg_Auto_Valve_Plus_Foot_FL_ro = 0; + rtDW.dbg_Logic_Valve_Plus_model.dbg_Auto_Valve_Plus_Vent_SFR_ro = 0; + rtDW.dbg_Logic_Valve_Plus_model.dbg_Auto_Valve_Plus_Vent_CFR_ro = 0; + rtDW.dbg_Logic_Valve_Plus_model.dbg_Auto_Valve_Plus_Foot_FR_ro = 0; + + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read53' + * DataStoreRead: '/Data Store Read54' + * DataStoreRead: '/Data Store Read6' + * DataStoreWrite: '/Data Store Write27' + * DataStoreWrite: '/Data Store Write' + */ + rtDW.dbgCAN_CCU_IO_model.dbg_IO_Txv_F = ShutOffFront_EN; rtDW.dbgCAN_CCU_IO_model.dbg_IO_Txv_R = ShutOffRear_EN; rtDW.dbgCAN_CCU_IO_model.dbg_IO_Txv_Ch = EN_BATTChiller; rtDW.dbgCAN_CCU_IO_model.dbg_IO_2WayValve = rtB.Cmd_2Way; rtDW.dbgCAN_CCU_IO_model.dbg_IO_IncarMotor_F = rtDW.Incar_Motor_Front_EN; rtDW.dbgCAN_CCU_IO_model.dbg_IO_IncarMotor_R = rtDW.Incar_Motor_Rear_EN; - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read2' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read2' */ if (rtDW.CCU_SET_FL > 310) { - rtb_out_os = 310U; + rtb_out_px = 310U; } else if (rtDW.CCU_SET_FL < 155) { - rtb_out_os = 155U; + rtb_out_px = 155U; } else { - rtb_out_os = rtDW.CCU_SET_FL; + rtb_out_px = rtDW.CCU_SET_FL; } - /* BusCreator: '/Bus Creator' incorporates: - * Bias: '/Bias' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - * Saturate: '/Saturation' + /* BusCreator: '/Bus Creator' incorporates: + * Bias: '/Bias' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' */ rtDW.dbgCAN_CCU_IO_model.dbg_SetTemp_FL_ro = (uint8_t)((0.10000038146972656 * - (double)rtb_out_os - 16.0) * 2.0); + (double)rtb_out_px - 16.0) * 2.0); - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read3' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read3' */ if (rtDW.CCU_SET_FR > 310) { - rtb_out_os = 310U; + rtb_out_px = 310U; } else if (rtDW.CCU_SET_FR < 155) { - rtb_out_os = 155U; + rtb_out_px = 155U; } else { - rtb_out_os = rtDW.CCU_SET_FR; + rtb_out_px = rtDW.CCU_SET_FR; } - /* BusCreator: '/Bus Creator' incorporates: - * Bias: '/Bias' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - * Saturate: '/Saturation' + /* BusCreator: '/Bus Creator' incorporates: + * Bias: '/Bias' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' */ rtDW.dbgCAN_CCU_IO_model.dbg_SetTemp_FR_ro = (uint8_t)((0.10000038146972656 * - (double)rtb_out_os - 16.0) * 2.0); + (double)rtb_out_px - 16.0) * 2.0); - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read4' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read4' */ if (rtDW.CCU_SET_RL > 310) { - rtb_out_os = 310U; + rtb_out_px = 310U; } else if (rtDW.CCU_SET_RL < 155) { - rtb_out_os = 155U; + rtb_out_px = 155U; } else { - rtb_out_os = rtDW.CCU_SET_RL; + rtb_out_px = rtDW.CCU_SET_RL; } - /* BusCreator: '/Bus Creator' incorporates: - * Bias: '/Bias' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - * Saturate: '/Saturation' + /* BusCreator: '/Bus Creator' incorporates: + * Bias: '/Bias' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' */ rtDW.dbgCAN_CCU_IO_model.dbg_SetTemp_RL_ro = (uint8_t)((0.10000038146972656 * - (double)rtb_out_os - 16.0) * 2.0); + (double)rtb_out_px - 16.0) * 2.0); - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read5' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read5' */ if (rtDW.CCU_SET_RR > 310) { - rtb_out_os = 310U; + rtb_out_px = 310U; } else if (rtDW.CCU_SET_RR < 155) { - rtb_out_os = 155U; + rtb_out_px = 155U; } else { - rtb_out_os = rtDW.CCU_SET_RR; + rtb_out_px = rtDW.CCU_SET_RR; } - /* BusCreator: '/Bus Creator' incorporates: - * Bias: '/Bias' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - * Saturate: '/Saturation' + /* BusCreator: '/Bus Creator' incorporates: + * Bias: '/Bias' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' */ rtDW.dbgCAN_CCU_IO_model.dbg_SetTemp_RR_ro = (uint8_t)((0.10000038146972656 * - (double)rtb_out_os - 16.0) * 2.0); + (double)rtb_out_px - 16.0) * 2.0); rtDW.dbgCAN_CCU_IO_model.dbg_IO_Input_Emergency = 0U; rtDW.dbgCAN_CCU_IO_model.dbg_IO_Input_FireExtinguisher = 0U; rtDW.dbgCAN_CCU_IO_model.dbg_IO_Install_Sealing_Valve = 0U; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read7' - * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write1' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write3' - * DataStoreWrite: '/Data Store Write4' - * DataStoreWrite: '/Data Store Write5' - * DataStoreWrite: '/Data Store Write6' - * DataStoreWrite: '/Data Store Write7' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreWrite: '/Data Store Write' */ - rtDW.dbg_Drs_t_model.dbg_Drs_0_SFL_DL = - rtDW.LIN5_SENSON_ADR_Stat_model.DRS_DL_Stat; - rtDW.dbg_Drs_t_model.dbg_Drs_1_CFL_FPL = - rtDW.LIN5_SENSON_ADR_Stat_model.DRS_FPL_Stat; - rtDW.dbg_Drs_t_model.dbg_Drs_2_CFR_FPR = - rtDW.LIN5_SENSON_ADR_Stat_model.DRS_FPR_Stat; - rtDW.dbg_Drs_t_model.dbg_Drs_3_SFR_DR = - rtDW.LIN5_SENSON_ADR_Stat_model.DRS_DR_Stat; - rtDW.dbg_Drs_t_model.dbg_Drs_4_SRL_RLB = - rtDW.LIN5_SENSON_ADR_Stat_model.DRS_RLB_Stat; - rtDW.dbg_Drs_t_model.dbg_Drs_5_CRL_FCL = - rtDW.LIN5_SENSON_ADR_Stat_model.DRS_FCL_Stat; - rtDW.dbg_Drs_t_model.dbg_Drs_6_CRR_FCR = - rtDW.LIN5_SENSON_ADR_Stat_model.DRS_FCR_Stat; - rtDW.dbg_Drs_t_model.dbg_Drs_7_SRR_RRB = - rtDW.LIN5_SENSON_ADR_Stat_model.DRS_RRB_Stat; + rtDW.dbg_Drs_t_model.dbg_Drs_0_SFL_DL = rtDW.DRS_SFL; + rtDW.dbg_Drs_t_model.dbg_Drs_1_CFL_FPL = rtDW.DRS_CFL; + rtDW.dbg_Drs_t_model.dbg_Drs_2_CFR_FPR = rtDW.DRS_CFR; + rtDW.dbg_Drs_t_model.dbg_Drs_3_SFR_DR = rtDW.DRS_SFR; + rtDW.dbg_Drs_t_model.dbg_Drs_4_SRL_RLB = rtDW.DRS_SRL; + rtDW.dbg_Drs_t_model.dbg_Drs_5_CRL_FCL = rtDW.DRS_CRL; + rtDW.dbg_Drs_t_model.dbg_Drs_6_CRR_FCR = rtDW.DRS_CRR; + rtDW.dbg_Drs_t_model.dbg_Drs_7_SRR_RRB = rtDW.DRS_SRR; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * DataTypeConversion: '/Data Type Conversion2' - * Gain: '/Gain' - * Gain: '/Gain1' - * Gain: '/Gain2' - */ - rtDW.dbg_Logic_Valve_Plus_model.dbg_Auto_Valve_Plus_Vent_SFL_ro = (int16_t)(10 - * test_Pid_P); - rtDW.dbg_Logic_Valve_Plus_model.dbg_Auto_Valve_Plus_Vent_CFL_ro = (int16_t)(10 - * test_Pid_I); - rtDW.dbg_Logic_Valve_Plus_model.dbg_Auto_Valve_Plus_Foot_FL_ro = (int16_t)(10 * - test_Pid_D); - rtDW.dbg_Logic_Valve_Plus_model.dbg_Auto_Valve_Plus_Vent_SFR_ro = 0; - rtDW.dbg_Logic_Valve_Plus_model.dbg_Auto_Valve_Plus_Vent_CFR_ro = 0; - rtDW.dbg_Logic_Valve_Plus_model.dbg_Auto_Valve_Plus_Foot_FR_ro = 0; - - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write1' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write3' - * DataStoreWrite: '/Data Store Write4' - * DataStoreWrite: '/Data Store Write5' - * DataStoreWrite: '/Data Store Write6' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write25' + * DataStoreWrite: '/Data Store Write26' + * DataStoreWrite: '/Data Store Write' */ rtDW.dbg_LIN_AirQS_Stat_t_model.LIN_AirQS_LinRespErr_Stat = rtDW.LIN4_AirQS_Stat_Model.AirQS_LinRespErr_Stat; @@ -32936,79 +38906,110 @@ void HVAC_model_step(void) rtDW.LIN4_AirQS_Stat_Model.AirQS_Combined_Stat; rtDW.dbg_LIN_AirQS_Stat_t_model.LIN_AirQualSen_Error_Stat = rtDW.LIN4_AirQS_Stat_Model.AirQS_Err_Stat; - rtDW.dbg_LIN_AirQS_Stat_t_model.LIN_AirQualSenCOlvl_Val = - rtDW.LIN4_AirQS_Stat_Model.AirQS_COLvl_Stat; - rtDW.dbg_LIN_AirQS_Stat_t_model.LIN_AirQualSenNOxlvl_Val = - rtDW.LIN4_AirQS_Stat_Model.AirQS_NOxLvl_Stat; - rtDW.dbg_LIN_AirQS_Stat_t_model.LIN_AirQualSenNH3lvl_Val = - rtDW.LIN4_AirQS_Stat_Model.AirQS_NH3Lvl_Stat; + rtDW.dbg_LIN_AirQS_Stat_t_model.LIN_AirQualSenCOlvl_Val = rtDW.AirQS_COLvl; + rtDW.dbg_LIN_AirQS_Stat_t_model.LIN_AirQualSenNOxlvl_Val = rtDW.AirQS_NOxLvl; + rtDW.dbg_LIN_AirQS_Stat_t_model.LIN_AirQualSenNH3lvl_Val = rtDW.AirQS_NH3Lvl; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read55' - * DataStoreRead: '/Data Store Read7' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write27' + * DataStoreWrite: '/Data Store Write28' + * DataStoreWrite: '/Data Store Write' + */ + rtDW.dbg_LIN_Aroma_Stat_t_model.LIN_AromaLinRespErr_Stat = + rtDW.LIN4_Aroma_Stat_Model.Aroma_LinRespErr_Stat; + rtDW.dbg_LIN_Aroma_Stat_t_model.LIN_Aroma_1CartridgeSw = 0U; + rtDW.dbg_LIN_Aroma_Stat_t_model.LIN_Aroma_2CartridgeSw = 0U; + rtDW.dbg_LIN_Aroma_Stat_t_model.LIN_Aroma_3CartridgeSw = 0U; + rtDW.dbg_LIN_Aroma_Stat_t_model.LIN_Aroma_Error_Stat = + rtDW.LIN4_Aroma_Stat_Model.Aroma_Err_Stat; + rtDW.dbg_LIN_Aroma_Stat_t_model.LIN_Aroma_Intens = 0U; + rtDW.dbg_LIN_Aroma_Stat_t_model.LIN_Aroma_CartridgeSel = 0U; + rtDW.dbg_LIN_Aroma_Stat_t_model.LIN_Aroma_1CartridgeFlavor = 0U; + rtDW.dbg_LIN_Aroma_Stat_t_model.LIN_Aroma_2CartridgeFlavor = 0U; + rtDW.dbg_LIN_Aroma_Stat_t_model.LIN_Aroma_3CartridgeFlavor = 0U; + rtDW.dbg_LIN_Aroma_Stat_t_model.LIN_Aroma_1CartridgeCapacity = 0U; + rtDW.dbg_LIN_Aroma_Stat_t_model.LIN_Aroma_2CartridgeCapacity = 0U; + rtDW.dbg_LIN_Aroma_Stat_t_model.LIN_Aroma_3CartridgeCapacity = 0U; + + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read3' + * DataStoreWrite: '/Data Store Write15' + * DataStoreWrite: '/Data Store Write29' + * DataStoreWrite: '/Data Store Write30' + * DataStoreWrite: '/Data Store Write' + */ + rtDW.dbg_LIN_Ionizer_Stat_t_model.LIN_Ionizer_Err_Stat = + rtDW.LIN4_Ionizer_Stat_Model.Ionizer_LinRespErr_Stat; + rtDW.dbg_LIN_Ionizer_Stat_t_model.LIN_Ionizer_LinRespErr = + rtDW.LIN4_Ionizer_Stat_Model.Ionizer_Err_Stat; + rtDW.dbg_LIN_Ionizer_Stat_t_model.LIN_Ionizer_Ionization = + rtDW.LIN4_Ionizer_Stat_Model.Ionizer_Ionization_Stat; + + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read55' + * DataStoreRead: '/Data Store Read7' * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion2' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion2' */ rtDW.dbg_Logic_Ac_model.Logic_Ac_Req_Front = rtDW.CCU_AC_FRONT; - rtDW.dbg_Logic_Ac_model.Logic_Ac_Txv_Front = rtb_timer_out; + rtDW.dbg_Logic_Ac_model.Logic_Ac_Txv_Front = ShutOffFront_EN; rtDW.dbg_Logic_Ac_model.Logic_Ac_Txv_Rear = ShutOffRear_EN; rtDW.dbg_Logic_Ac_model.Logic_Ac_Req_Rear = rtDW.CCU_AC_REAR; rtDW.dbg_Logic_Ac_model.Logic_Ac_Req_Chiller = rtDW.eCompChiller_Req; rtDW.dbg_Logic_Ac_model.Logic_Ac_Txv_Chiller = EN_BATTChiller; rtDW.dbg_Logic_Ac_model.Logic_Ac_EvaCtrl = rtB.Eva_Ctrl; - rtDW.dbg_Logic_Ac_model.Logic_Ac_Comp_EmrStop_Reason = 0U; + rtDW.dbg_Logic_Ac_model.Logic_Ac_Comp_EmrStop_Reason = eComp_stop; /* Switch: '/Switch4' */ if (rtB.Chiller_Only_Flag > 0.0) { - /* BusCreator: '/Bus Creator' incorporates: + /* BusCreator: '/Bus Creator' incorporates: * Constant: '/Constant' - * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write' */ rtDW.dbg_Logic_Ac_model.Logic_Ac_Comp_LimitRpm_ro = g_ucAC_EXTRA_RPM; } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbg_Logic_Ac_model.Logic_Ac_Comp_LimitRpm_ro = Comp_Max_RPM_Allowed; } /* End of Switch: '/Switch4' */ - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbg_Logic_Ac_model.Logic_Ac_Txv_Closed_bySen = 0U; rtDW.dbg_Logic_Ac_model.Logic_Ac_WinterSts_Front = 0U; rtDW.dbg_Logic_Ac_model.Logic_Ac_WinterSts_Rear = 0U; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write' * DataStoreWrite: '/Data Store Write3' */ rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Idx = rtDW.Full_Rec; - rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Spd_Sts = rtb_Gain_l; rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Winter = 0U; - rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Summer = rtb_Gain2_hu; + rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Summer = rtb_Gain_l; rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_FreshAirPurge_Sts = 0U; - /* BusCreator: '/Bus Creator' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write' - * Sum: '/Sum' - * Sum: '/Sum1' + /* BusCreator: '/Bus Creator' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write' + * Sum: '/Sum' + * Sum: '/Sum1' */ rtDW.dbgCAN_Logic_State_model.Logic_Operation_Mode = 0U; rtDW.dbgCAN_Logic_State_model.Logic_Amb_Level = rtDW.LEVEL; @@ -33036,9 +39037,9 @@ void HVAC_model_step(void) rtDW.dbgCAN_Logic_State_model.Logic_AF_WaitCorrection_FL = 0U; rtDW.dbgCAN_Logic_State_model.Logic_AF_WaitCorrection_FR = 0U; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' */ rtDW.dbg_Logic_Valve_model.Logic_Valve_Index_FL = rtDW.ModeIndex[0]; rtDW.dbg_Logic_Valve_model.Logic_Valve_Index_FR = rtDW.ModeIndex[1]; @@ -33049,124 +39050,124 @@ void HVAC_model_step(void) rtDW.dbg_Logic_Valve_model.Logic_Valve_Direction_RL = 0U; rtDW.dbg_Logic_Valve_model.Logic_Valve_Direction_RR = 0U; - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write1' */ - rtDW.dbgCAN_dbg_Act0_model.dbg_Act00_Def = rtb_DataTypeConversion_p3[0]; - rtDW.dbgCAN_dbg_Act0_model.dbg_Act01_Vent_SFL = rtb_DataTypeConversion_p3[5]; - rtDW.dbgCAN_dbg_Act0_model.dbg_Act02_Vent_CFL = rtb_DataTypeConversion_p3[4]; - rtDW.dbgCAN_dbg_Act0_model.dbg_Act03_Foot_1FL = rtb_DataTypeConversion_p3[7]; - rtDW.dbgCAN_dbg_Act0_model.dbg_Act04_Foot_2FL = rtb_DataTypeConversion_p3[8]; + rtDW.dbgCAN_dbg_Act0_model.dbg_Act00_Def = rtb_DataTypeConversion_fv[0]; + rtDW.dbgCAN_dbg_Act0_model.dbg_Act01_Vent_SFL = rtb_DataTypeConversion_fv[5]; + rtDW.dbgCAN_dbg_Act0_model.dbg_Act02_Vent_CFL = rtb_DataTypeConversion_fv[4]; + rtDW.dbgCAN_dbg_Act0_model.dbg_Act03_Foot_1FL = rtb_DataTypeConversion_fv[7]; + rtDW.dbgCAN_dbg_Act0_model.dbg_Act04_Foot_2FL = rtb_DataTypeConversion_fv[8]; rtDW.dbgCAN_dbg_Act0_model.dbg_Act05_Vent_CFR = Actuator_pos_percent_Ch1[1]; rtDW.dbgCAN_dbg_Act0_model.dbg_Act06_Vent_SFR = Actuator_pos_percent_Ch1[2]; rtDW.dbgCAN_dbg_Act0_model.dbg_Act07_Foot_1FR = Actuator_pos_percent_Ch1[4]; - /* BusCreator: '/Bus Creator3' incorporates: - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write2' + /* BusCreator: '/Bus Creator3' incorporates: + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write2' */ - rtDW.dbgCAN_dbg_Act2_model.dbg_Act16_TempL_FL = rtb_DataTypeConversion_p3[6]; + rtDW.dbgCAN_dbg_Act2_model.dbg_Act16_TempL_FL = rtb_DataTypeConversion_fv[6]; rtDW.dbgCAN_dbg_Act2_model.dbg_Act17_TempU_FR = Actuator_pos_percent_Ch1[0]; rtDW.dbgCAN_dbg_Act2_model.dbg_Act18_TempL_FR = Actuator_pos_percent_Ch1[3]; - rtDW.dbgCAN_dbg_Act2_model.dbg_Act19_Temp_RL = rtb_DataTypeConversion_p4[1]; - rtDW.dbgCAN_dbg_Act2_model.dbg_Act20_Temp_RR = rtb_DataTypeConversion_p4[0]; - rtDW.dbgCAN_dbg_Act2_model.dbg_Act21_Rec = rtb_DataTypeConversion_p3[1]; - rtDW.dbgCAN_dbg_Act2_model.dbg_Act22_OSA = rtb_DataTypeConversion_p3[2]; - rtDW.dbgCAN_dbg_Act2_model.dbg_Act23_SealingValve = rtb_DataTypeConversion_p4 + rtDW.dbgCAN_dbg_Act2_model.dbg_Act19_Temp_RL = rtb_DataTypeConversion_jn[1]; + rtDW.dbgCAN_dbg_Act2_model.dbg_Act20_Temp_RR = rtb_DataTypeConversion_jn[0]; + rtDW.dbgCAN_dbg_Act2_model.dbg_Act21_Rec = rtb_DataTypeConversion_fv[1]; + rtDW.dbgCAN_dbg_Act2_model.dbg_Act22_OSA = rtb_DataTypeConversion_fv[2]; + rtDW.dbgCAN_dbg_Act2_model.dbg_Act23_SealingValve = rtb_DataTypeConversion_jn [8]; - /* BusCreator: '/Bus Creator2' incorporates: - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write3' + /* BusCreator: '/Bus Creator2' incorporates: + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write3' */ rtDW.dbgCAN_dbg_Act1_model.dbg_Act08_Foot_2FR = Actuator_pos_percent_Ch1[5]; - rtDW.dbgCAN_dbg_Act1_model.dbg_Act09_Vent_SRL = rtb_DataTypeConversion_p4[2]; - rtDW.dbgCAN_dbg_Act1_model.dbg_Act10_Vent_CRL = rtb_DataTypeConversion_p4[4]; - rtDW.dbgCAN_dbg_Act1_model.dbg_Act11_Foot_RL = rtb_DataTypeConversion_p4[3]; - rtDW.dbgCAN_dbg_Act1_model.dbg_Act12_Vent_CRR = rtb_DataTypeConversion_p4[5]; - rtDW.dbgCAN_dbg_Act1_model.dbg_Act13_Vent_SRR = rtb_DataTypeConversion_p4[7]; - rtDW.dbgCAN_dbg_Act1_model.dbg_Act14_Foot_RR = rtb_DataTypeConversion_p4[6]; - rtDW.dbgCAN_dbg_Act1_model.dbg_Act15_TempU_FL = rtb_DataTypeConversion_p3[3]; + rtDW.dbgCAN_dbg_Act1_model.dbg_Act09_Vent_SRL = rtb_DataTypeConversion_jn[2]; + rtDW.dbgCAN_dbg_Act1_model.dbg_Act10_Vent_CRL = rtb_DataTypeConversion_jn[4]; + rtDW.dbgCAN_dbg_Act1_model.dbg_Act11_Foot_RL = rtb_DataTypeConversion_jn[3]; + rtDW.dbgCAN_dbg_Act1_model.dbg_Act12_Vent_CRR = rtb_DataTypeConversion_jn[5]; + rtDW.dbgCAN_dbg_Act1_model.dbg_Act13_Vent_SRR = rtb_DataTypeConversion_jn[7]; + rtDW.dbgCAN_dbg_Act1_model.dbg_Act14_Foot_RR = rtb_DataTypeConversion_jn[6]; + rtDW.dbgCAN_dbg_Act1_model.dbg_Act15_TempU_FL = rtb_DataTypeConversion_fv[3]; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_dbg_Sen_Amb_model.dbg_Sen_Amb_ro = rtDW.AMB; rtDW.dbgCAN_dbg_Sen_Amb_model.dbg_Sen_Amb_Raw_ro = rtDW.AMB; rtDW.dbgCAN_dbg_Sen_Amb_model.dbg_Amb_Tg_ro = 0; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - * SignalConversion generated from: '/Vector Concatenate' - * SignalConversion generated from: '/Vector Concatenate' - * SignalConversion generated from: '/Vector Concatenate' - * SignalConversion generated from: '/Vector Concatenate' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + * SignalConversion generated from: '/Vector Concatenate' + * SignalConversion generated from: '/Vector Concatenate' + * SignalConversion generated from: '/Vector Concatenate' + * SignalConversion generated from: '/Vector Concatenate' * */ rtDW.dbg_Auto_AF_model.dbg_Auto_AF_MultMsg_Idx = 0U; rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Correct_FL = 0; rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Correct_FR = 0; rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Correct_RL = 0; rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Correct_RR = 0; - rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Vtg_RL = rtb_MultiportSwitch_j; + rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Vtg_RL = rtb_u6FRU_tg_amb_f; rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Vtg_FL = rtb_Bias_ct; rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Vtg_FR = rtb_MultiportSwitch1_oi; - rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Vtg_RR = rtb_u6FRU_tg_amb_h; - rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Incar_RL = rtb_MultiportSwitch_g; - rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Incar_FR = rtb_u5FLU_tg_incar_ce; - rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Incar_RR = rtb_MultiportSwitch_ag; + rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Vtg_RR = rtb_u5FLU_tg_incar_g; + rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Incar_RL = rtb_u6FRU_tg_amb; + rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Incar_FR = rtb_u5FLU_tg_incar_k; + rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Incar_RR = rtb_X; rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Incar_FL = rtb_Bias4; - rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Amb_RL = rtb_MultiportSwitch_dv; + rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Amb_RL = rtb_MultiportSwitch_c; rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Amb_FR = rtb_u6FLU_tg_amb_l; - rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Sun_RR = rtb_MultiportSwitch_ag; - rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Amb_FL = rtb_Bias2_n; + rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Sun_RR = rtb_X; + rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Amb_FL = rtb_Merge_h; rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Sun_FR = rtb_u6FLU_tg_amb_f; - rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Sun_RL = rtb_u5FRU_tg_incar; - rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Amb_RR = rtb_u6FRU_tg_amb; + rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Sun_RL = rtb_MultiportSwitch_l; + rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Amb_RR = rtb_MultiportSwitch_l4; rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Sun_FL = rtb_Bias3; - /* BusCreator: '/Bus Creator' incorporates: - * Bias: '/Bias1' - * Bias: '/Bias3' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read9' - * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write' - * SignalConversion generated from: '/Vector Concatenate' - * SignalConversion generated from: '/Vector Concatenate' + /* BusCreator: '/Bus Creator' incorporates: + * Bias: '/Bias1' + * Bias: '/Bias3' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read9' + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write' + * SignalConversion generated from: '/Vector Concatenate' + * SignalConversion generated from: '/Vector Concatenate' * */ rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_MultMsg_Idx = 0U; - rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tgt_FL_Upper_ro = rtb_FLU_tg_correct; + rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tgt_FL_Upper_ro = rtb_Merge_by; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tg_Incar_FL_Upper_ro = (int16_t) - (rtb_MultiportSwitch_p - 200); + (rtb_MultiportSwitch_m - 200); rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tgt_RR_ro = rtDW.Duct_RR_Tg; - rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tgt_RL_ro = rtb_FLU_tg_correct_me; - rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tgt_FR_Upper_ro = rtb_Merge_h; - rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tgt_FR_Lower_ro = rtb_FLU_tg_correct_a; - rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tgt_FL_Lower_ro = rtb_FLU_tg_correct_i; + rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tgt_RL_ro = Switch3; + rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tgt_FR_Upper_ro = rtb_FLU_tg_correct1; + rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tgt_FR_Lower_ro = rtb_FLU_tg_correct_o; + rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tgt_FL_Lower_ro = rtb_y_j1; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tg_Incar_FR_Upper_ro = (int16_t) - (rtb_VectorConcatenate_lo[4] - 200); - rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tg_FL_Upper_ro = rtb_MultiportSwitch_c; + (rtb_VectorConcatenate_kz[4] - 200); + rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tg_FL_Upper_ro = rtb_MultiportSwitch_om; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tg_FL_Lower_ro = Duct_FRU_Tg_DBG[0]; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tg_FR_Lower_ro = - rtb_VectorConcatenate_jn[0]; + rtb_VectorConcatenate_by[0]; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tg_FR_Upper_ro = - rtb_VectorConcatenate_lo[0]; - rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tg_RL_ro = rtb_MultiportSwitch_oi; + rtb_VectorConcatenate_kz[0]; + rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tg_RL_ro = rtb_MultiportSwitch_cn; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tg_RR_ro = Duct_RR_Tg_DBG[0]; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tg_Incar_FL_Lower_ro = (int16_t) (Duct_FRU_Tg_DBG[4] - 200); @@ -33174,46 +39175,46 @@ void HVAC_model_step(void) rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Incar_RR_ro = Duct_RR_Tg_DBG[1]; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Incar_RL_ro = rtb_u5R_tg_incar; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Incar_FR_Upper_ro = - rtb_VectorConcatenate_lo[1]; + rtb_VectorConcatenate_kz[1]; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Incar_FR_Lower_ro = - rtb_VectorConcatenate_jn[1]; + rtb_VectorConcatenate_by[1]; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Incar_FL_Upper_ro = - rtb_u5FLU_tg_incar_o; + rtb_u5FLU_tg_incar_b; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tg_Incar_FR_Lower_ro = (int16_t) - (rtb_VectorConcatenate_jn[4] - 200); - rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Amb_RL_ro = rtb_u6FLU_tg_amb_hk; + (rtb_VectorConcatenate_by[4] - 200); + rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Amb_RL_ro = rtb_u6FLU_tg_amb_d; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Amb_FR_Upper_ro = - rtb_VectorConcatenate_lo[2]; + rtb_VectorConcatenate_kz[2]; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Amb_FR_Lower_ro = - rtb_VectorConcatenate_jn[2]; + rtb_VectorConcatenate_by[2]; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Amb_RR_ro = Duct_RR_Tg_DBG[2]; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Amb_FL_Lower_ro = Duct_FRU_Tg_DBG[2]; - rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Amb_FL_Upper_ro = rtb_u6FLU_tg_amb_e; + rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Amb_FL_Upper_ro = rtb_u6FLU_tg_amb_h; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tg_Incar_RL_ro = (int16_t) - (rtb_MultiportSwitch_e - 200); + (rtb_MultiportSwitch_i - 200); rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Sun_FL_Lower_ro = Duct_FRU_Tg_DBG[3]; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Sun_FR_Lower_ro = - rtb_VectorConcatenate_jn[3]; + rtb_VectorConcatenate_by[3]; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Sun_FR_Upper_ro = - rtb_VectorConcatenate_lo[3]; - rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Sun_RL_ro = rtb_u6FLU_tg_amb_o; - rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Sun_FL_Upper_ro = rtb_u6FLU_tg_amb_i; + rtb_VectorConcatenate_kz[3]; + rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Sun_RL_ro = rtb_u6FLU_tg_amb_fi; + rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Sun_FL_Upper_ro = rtb_u6FLU_tg_amb_o; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Sun_RR_ro = Duct_RR_Tg_DBG[3]; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tg_Incar_RR_ro = (int16_t) (Duct_RR_Tg_DBG[4] - 200); - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - * DataStoreRead: '/Data Store Read9' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * DataStoreRead: '/Data Store Read9' + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_Step_FL = rtDW.CCU_BLOWERS_FL; rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_Step_FR = rtDW.CCU_BLOWERS_FR; @@ -33221,21 +39222,19 @@ void HVAC_model_step(void) rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_Step_RR = rtDW.CCU_BLOWERS_RR; rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_Pwm_Front = rtDW.PWM_front; rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_Pwm_Rear = rtDW.PWM_rear; - rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_AF_FL = rtb_Saturation4; - rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_AF_FR = - rtb_DataTypeConversion_kv; - rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_AF_RL = - rtb_DataTypeConversion1_ao; - rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_AF_RR = - rtb_DataTypeConversion1_pk; + rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_AF_FL = + rtb_DataTypeConversion1_nc; + rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_AF_FR = Blower_AF_FR; + rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_AF_RL = Blower_AF_RL; + rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_AF_RR = Blower_AF_RR; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write' */ - rtDW.dbgCAN_dbg_Sen_Eva_model.dbg_Sen_Eva_F = g_assEVA_TG_AMB_F_n; + rtDW.dbgCAN_dbg_Sen_Eva_model.dbg_Sen_Eva_F = Eva_Target; rtDW.dbgCAN_dbg_Sen_Eva_model.dbg_Sen_Eva_R = 0; rtDW.dbgCAN_dbg_Sen_Eva_model.dbg_Sen_Eva_Target = rtDW.Eva_F; rtDW.dbgCAN_dbg_Sen_Eva_model.dbg_Sen_Eva_Diff_FrontRear = rtDW.Eva_R; @@ -33356,409 +39355,3779 @@ void HVAC_model_step(void) */ rtY.dbg_Logic_Valve_Plus_model = rtDW.dbg_Logic_Valve_Plus_model; - /* If: '/If' incorporates: - * DataStoreWrite: '/Data Store Write16' + /* Outport: '/dbg_LIN_Aroma_Stat_t_model' incorporates: + * DataStoreRead: '/Data Store Read85' */ - if (rtB.sync_all > 0) { - /* Outputs for IfAction SubSystem: '/all zone sync' incorporates: - * ActionPort: '/Action Port' + rtY.dbg_LIN_Aroma_Stat_t_model = rtDW.dbg_LIN_Aroma_Stat_t_model; + + /* Outport: '/dbg_LIN_Ionizer_Stat_t_model' incorporates: + * DataStoreRead: '/Data Store Read86' + */ + rtY.dbg_LIN_Ionizer_Stat_t_model = rtDW.dbg_LIN_Ionizer_Stat_t_model; + + /* Saturate: '/from 0 to 3' incorporates: + * Constant: '/Constant' + * Sum: '/Add' + * UnitDelay: '/Unit Delay' + */ + if (rtDW.UnitDelay_DSTATE + 1.0 > 3.0) { + rtDW.UnitDelay_DSTATE = 3.0; + } else if (rtDW.UnitDelay_DSTATE + 1.0 < 0.0) { + rtDW.UnitDelay_DSTATE = 0.0; + } else { + rtDW.UnitDelay_DSTATE++; + } + + /* End of Saturate: '/from 0 to 3' */ + + /* If: '/если SC front не завершен2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion2' + * UnitDelay: '/Unit Delay' + */ + if (((uint8_t)rtDW.start_control_finished_front == 0) && ((uint8_t) + rtDW.UnitDelay_DSTATE >= 3)) { + /* Outputs for IfAction SubSystem: '/Start Control Front' incorporates: + * ActionPort: '/Action Port' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read' + */ + switch (rtDW.step_start_controle_front) { + case -1: + /* Outputs for IfAction SubSystem: '/Step -1 F (Entry Condition)' incorporates: + * ActionPort: '/Action Port' + */ + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + switch (rtDW.LEVEL) { + case 0: + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_ENTER_INCAR_n(rtDW.LEVEL, &rtb_FLU_tg_correct); + + /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + /* : out = g_ausSTART_ENTER_SETTEMP(LVL+1); */ + i = (int32_t)(rtDW.LEVEL + 1U); + if (rtDW.LEVEL + 1U > 255U) { + i = 255; + } + + /* Switch: '/Switch' incorporates: + * Constant: '/not LO or HI' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read5' + * Logic: '/AND' + * MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + */ + if ((rtDW.Incar_FL > rtb_FLU_tg_correct) && (rtDW.CCU_MODE_FL == 1) && + (rtDW.CCU_SET_FL < g_ausSTART_ENTER_SETTEMP[i - 1]) && + (rtDW.LO_HI_MODE_FL == 0)) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + */ + rtB.Merge_pe = 1; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + */ + rtB.Merge_pe = -1; + } + + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Level 0' */ + break; + + case 1: + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_ENTER_INCAR_n(rtDW.LEVEL, &rtb_FLU_tg_correct); + + /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + /* : out = int16(g_ausSTART_ENTER_SETTEMP(LVL+1)); */ + i = (int32_t)(rtDW.LEVEL + 1U); + if (rtDW.LEVEL + 1U > 255U) { + i = 255; + } + + rtb_out_px = g_ausSTART_ENTER_SETTEMP[i - 1]; + if (rtb_out_px > 32767) { + rtb_out_px = 32767U; + } + + /* Switch: '/Switch' incorporates: + * Constant: '/not LO or HI' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read5' + * Logic: '/AND' + * MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + */ + if ((rtDW.Incar_FL > rtb_FLU_tg_correct) && (rtDW.CCU_MODE_FL == 1) && + (rtDW.CCU_SET_FL < rtb_out_px) && (rtDW.LO_HI_MODE_FL == 0)) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + */ + rtB.Merge_pe = 1; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + */ + rtB.Merge_pe = -1; + } + + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Level 1' */ + break; + + case 2: + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' + */ + Level2(&rtB.Merge_pe); + + /* End of Outputs for SubSystem: '/Level 2' */ + break; + + case 3: + /* Outputs for IfAction SubSystem: '/Level 3' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/g_assSTART_ENTER_COOLANT ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_ENTER_COOLANT_m(rtDW.LEVEL, &rtb_FLU_tg_correct); + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/mode driver' + * Logic: '/AND' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator2' + */ + if ((rtDW.ECT < rtb_FLU_tg_correct) && (rtDW.CCU_MODE_FL == 1)) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + */ + rtB.Merge_pe = 0; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + */ + rtB.Merge_pe = -1; + } + + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Level 3' */ + break; + + case 4: + /* Outputs for IfAction SubSystem: '/Level 4' incorporates: + * ActionPort: '/Action Port' + */ + Level4(&rtB.Merge_pe, &rtDW.CCU_MODE_FL, &rtDW.ECT, &rtDW.LEVEL, + &rtDW.LO_HI_MODE_FL); + + /* End of Outputs for SubSystem: '/Level 4' */ + break; + + case 5: + /* Outputs for IfAction SubSystem: '/Level 5' incorporates: + * ActionPort: '/Action Port' + */ + Level4(&rtB.Merge_pe, &rtDW.CCU_MODE_FL, &rtDW.ECT, &rtDW.LEVEL, + &rtDW.LO_HI_MODE_FL); + + /* End of Outputs for SubSystem: '/Level 5' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + /* End of Outputs for SubSystem: '/Step -1 F (Entry Condition)' */ + break; + + case 0: + /* Outputs for IfAction SubSystem: '/Step 0 F' incorporates: + * ActionPort: '/Action Port' + */ + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + switch (rtDW.LEVEL) { + case 0: + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' + */ + Level0(&rtB.Merge_pe); + + /* End of Outputs for SubSystem: '/Level 0' */ + break; + + case 1: + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' + */ + Level0(&rtB.Merge_pe); + + /* End of Outputs for SubSystem: '/Level 1' */ + break; + + case 2: + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' + */ + Level0(&rtB.Merge_pe); + + /* End of Outputs for SubSystem: '/Level 2' */ + break; + + case 3: + /* Outputs for IfAction SubSystem: '/Level 3' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' + */ + rtDW.Blower_FR = 20U; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' + */ + rtDW.Blower_FL = 20U; + + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/Constant4' + */ + rtDW.Dtg_FUR = 600U; + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * Constant: '/Constant4' + */ + rtDW.Dtg_FUL = 600U; + + /* DataStoreWrite: '/Data Store Write12' incorporates: + * Constant: '/Constant6' + */ + rtDW.Dtg_FLR = 800U; + + /* DataStoreWrite: '/Data Store Write13' incorporates: + * Constant: '/Constant6' + */ + rtDW.Dtg_FLL = 800U; + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown(rtDW.LEVEL, &EN_BATTChiller); + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Mode - def' + */ + rtDW.Mode_FR = 80U; + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Mode - def' + */ + rtDW.Mode_FL = 80U; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + rtb_Switch2_by = 1.0; + + /* DataStoreWrite: '/Data Store Write8' incorporates: + * Constant: '/Valve open' + */ + ShutOffFront_EN = 1U; + + /* DataStoreWrite: '/Data Store Write9' incorporates: + * Constant: '/Valve open' + */ + ShutOffRear_EN = 1U; + + /* Switch: '/Switch1' incorporates: + * Constant: '/LO' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + */ + /* : out = int16(g_assSTART_COOLANT_STEP0_TO_1(LVL + 1 - 2)); */ + if ((rtDW.CCU_MODE_FL != 1) || (rtDW.LO_HI_MODE_FL == 1)) { + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' + */ + rtB.Merge_pe = 3; + } else { + /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + rtb_Switch5 = (int32_t)(rtDW.LEVEL + 1U); + if (rtDW.LEVEL + 1U > 255U) { + rtb_Switch5 = 255; + } + + rtb_Subtract = (uint32_t)rtb_Switch5 - 2U; + if ((uint32_t)rtb_Switch5 - 2U > (uint32_t)rtb_Switch5) { + rtb_Subtract = 0U; + } + + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Engine coolant temp' + * MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' + * RelationalOperator: '/Relational Operator' + */ + rtB.Merge_pe = (int8_t)(rtDW.ECT > g_assSTART_COOLANT_STEP0_TO_1 + [(int32_t)rtb_Subtract - 1]); + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Level 3' */ + break; + + case 4: + /* Outputs for IfAction SubSystem: '/Level 4' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' + */ + rtDW.Blower_FR = 20U; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' + */ + rtDW.Blower_FL = 20U; + + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/Constant4' + */ + rtDW.Dtg_FUR = 600U; + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * Constant: '/Constant4' + */ + rtDW.Dtg_FUL = 600U; + + /* DataStoreWrite: '/Data Store Write12' incorporates: + * Constant: '/Constant6' + */ + rtDW.Dtg_FLR = 800U; + + /* DataStoreWrite: '/Data Store Write13' incorporates: + * Constant: '/Constant6' + */ + rtDW.Dtg_FLL = 800U; + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown(rtDW.LEVEL, &EN_BATTChiller); + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Mode - def' + */ + rtDW.Mode_FR = 80U; + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Mode - def' + */ + rtDW.Mode_FL = 80U; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + rtb_Switch2_by = 1.0; + + /* DataStoreWrite: '/Data Store Write8' incorporates: + * Constant: '/Valve open' + */ + ShutOffFront_EN = 1U; + + /* DataStoreWrite: '/Data Store Write9' incorporates: + * Constant: '/Valve open' + */ + ShutOffRear_EN = 1U; + + /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_COOLANT_STEP0_TO_1_c(rtDW.LEVEL, &rtb_FLU_tg_correct); + + /* Switch: '/Switch1' incorporates: + * Constant: '/LO' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + */ + if ((rtDW.CCU_MODE_FL != 1) || (rtDW.LO_HI_MODE_FL == 1)) { + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' + */ + rtB.Merge_pe = 3; + } else { + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Engine coolant temp' + * RelationalOperator: '/Relational Operator' + */ + rtB.Merge_pe = (int8_t)(rtDW.ECT > rtb_FLU_tg_correct); + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Level 4' */ + break; + + case 5: + /* Outputs for IfAction SubSystem: '/Level 5' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' + */ + rtDW.Blower_FR = 20U; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' + */ + rtDW.Blower_FL = 20U; + + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/Constant4' + */ + rtDW.Dtg_FUR = 800U; + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * Constant: '/Constant4' + */ + rtDW.Dtg_FUL = 800U; + + /* DataStoreWrite: '/Data Store Write12' incorporates: + * Constant: '/Constant6' + */ + rtDW.Dtg_FLR = 800U; + + /* DataStoreWrite: '/Data Store Write13' incorporates: + * Constant: '/Constant6' + */ + rtDW.Dtg_FLL = 800U; + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown(rtDW.LEVEL, &EN_BATTChiller); + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Mode - def' + */ + rtDW.Mode_FR = 80U; + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Mode - def' + */ + rtDW.Mode_FL = 80U; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + rtb_Switch2_by = 1.0; + + /* DataStoreWrite: '/Data Store Write8' incorporates: + * Constant: '/Valve open' + */ + ShutOffFront_EN = 1U; + + /* DataStoreWrite: '/Data Store Write9' incorporates: + * Constant: '/Valve open' + */ + ShutOffRear_EN = 1U; + + /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_COOLANT_STEP0_TO_1_c(rtDW.LEVEL, &rtb_FLU_tg_correct); + + /* Switch: '/Switch1' incorporates: + * Constant: '/LO' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + */ + if ((rtDW.CCU_MODE_FL != 1) || (rtDW.LO_HI_MODE_FL == 1)) { + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' + */ + rtB.Merge_pe = 3; + } else { + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Engine coolant temp' + * RelationalOperator: '/Relational Operator' + */ + rtB.Merge_pe = (int8_t)(rtDW.ECT > rtb_FLU_tg_correct); + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Level 5' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + /* End of Outputs for SubSystem: '/Step 0 F' */ + break; + + case 1: + /* Outputs for IfAction SubSystem: '/Step 1 F' incorporates: + * ActionPort: '/Action Port' + */ + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + switch (rtDW.LEVEL) { + case 0: + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read10' + * MATLAB Function: '/3 way valve status' + */ + uwayvalvestatus(rtDW.LEVEL, &ShutOffFront_EN); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown(rtDW.LEVEL, &EN_BATTChiller); + + /* MATLAB Function: '/mode FR step 1' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + modeFRstep1(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write2' */ + rtDW.Mode_FR = Comp_Max_RPM_Allowed; + + /* DataStoreWrite: '/Data Store Write3' */ + rtDW.Mode_FL = Comp_Max_RPM_Allowed; + + /* MATLAB Function: '/window heating' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + windowheating(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/blower FR' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerFR(rtDW.LEVEL, &Gain); + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.Blower_FR = (uint8_t)Gain; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.Blower_FL = rtDW.Blower_FR; + + /* MATLAB Function: '/Dtg_FrontUpper_X' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_FrontUpper_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* Gain: '/Gain' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_FUR = (uint16_t)(10U * Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_FUL = rtDW.Dtg_FUR; + + /* MATLAB Function: '/Dtg_FrontLower_X' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + Dtg_FrontLower_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* Gain: '/Gain1' incorporates: + * DataStoreWrite: '/Data Store Write12' + */ + rtDW.Dtg_FLR = (uint16_t)(10U * Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreWrite: '/Data Store Write12' + */ + rtDW.Dtg_FLL = rtDW.Dtg_FLR; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + rtb_Switch2_by = 1.0; + + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + Incartempgotofromstep1tostep2(rtDW.LEVEL, &rtb_FLU_tg_correct); + + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + /* : out = int16(g_ausSTART_TIME_STEP1_TO_2(LVL + 1)); */ + i = (int32_t)(rtDW.LEVEL + 1U); + if (rtDW.LEVEL + 1U > 255U) { + i = 255; + } + + rtb_out_px = g_ausSTART_TIME_STEP1_TO_2[i - 1]; + if (rtb_out_px > 32767) { + rtb_out_px = 32767U; + } + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read13' + * Gain: '/из сек в мс' + * MATLAB Function: '/Time goto from step 1 to step 2 ' + */ + MATLABFunction1(rtDW.t_now, (uint16_t)(1000 * rtb_out_px), &eComp_stop, + &rtDW.sf_MATLABFunction1_n); + + /* Switch: '/Switch1' incorporates: + * Constant: '/not LO or HI' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/incar temp' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * Switch: '/Switch' + */ + if ((rtDW.CCU_MODE_FL != 1) || (rtDW.LO_HI_MODE_FL != 0)) { + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' + */ + rtB.Merge_pe = 3; + } else if ((rtDW.Incar_FL < rtb_FLU_tg_correct) || eComp_stop) { + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + * Merge: '/Merge' + */ + rtB.Merge_pe = 2; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step 1' + * Switch: '/Switch' + */ + rtB.Merge_pe = 1; + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Level 0' */ + break; + + case 1: + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read10' + * MATLAB Function: '/3 way valve status' + */ + uwayvalvestatus(rtDW.LEVEL, &ShutOffFront_EN); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown(rtDW.LEVEL, &EN_BATTChiller); + + /* MATLAB Function: '/mode FR step 1' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + modeFRstep1(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write2' */ + rtDW.Mode_FR = Comp_Max_RPM_Allowed; + + /* DataStoreWrite: '/Data Store Write3' */ + rtDW.Mode_FL = Comp_Max_RPM_Allowed; + + /* MATLAB Function: '/window heating' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + windowheating(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/blower FR' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerFR(rtDW.LEVEL, &Gain); + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.Blower_FR = (uint8_t)Gain; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.Blower_FL = rtDW.Blower_FR; + + /* MATLAB Function: '/Dtg_FrontUpper_X' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_FrontUpper_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* Gain: '/Gain1' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_FUR = (uint16_t)(10U * Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_FUL = rtDW.Dtg_FUR; + + /* MATLAB Function: '/Dtg_FrontLower_X' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + Dtg_FrontLower_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* Gain: '/Gain2' incorporates: + * DataStoreWrite: '/Data Store Write12' + */ + rtDW.Dtg_FLR = (uint16_t)(10U * Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreWrite: '/Data Store Write12' + */ + rtDW.Dtg_FLL = rtDW.Dtg_FLR; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + rtb_Switch2_by = 1.0; + + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + Incartempgotofromstep1tostep2(rtDW.LEVEL, &rtb_FLU_tg_correct); + + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep1tostep2(rtDW.LEVEL, &rtb_MultiportSwitch_cn); + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read13' + * Gain: '/из сек в мс' + */ + MATLABFunction1_j(rtDW.t_now, (uint32_t)(1000 * rtb_MultiportSwitch_cn), + &eComp_stop, &rtDW.sf_MATLABFunction1_j); + + /* Switch: '/Switch1' incorporates: + * Constant: '/not LO or HI' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/incar temp' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * Switch: '/Switch' + */ + if ((rtDW.CCU_MODE_FL != 1) || (rtDW.LO_HI_MODE_FL != 0)) { + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' + */ + rtB.Merge_pe = 3; + } else if ((rtDW.Incar_FL < rtb_FLU_tg_correct) || eComp_stop) { + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + * Merge: '/Merge' + */ + rtB.Merge_pe = 2; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step 1' + * Switch: '/Switch' + */ + rtB.Merge_pe = 1; + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Level 1' */ + break; + + case 2: + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' + */ + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * SignalConversion generated from: '/step' + */ + rtB.Merge_pe = 2; + + /* End of Outputs for SubSystem: '/Level 2' */ + break; + + case 3: + /* Outputs for IfAction SubSystem: '/Level 3' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read11' + * MATLAB Function: '/3 way valve status' + */ + uwayvalvestatus(rtDW.LEVEL, &ShutOffFront_EN); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown(rtDW.LEVEL, &EN_BATTChiller); + + /* MATLAB Function: '/mode FR step 1' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + modeFRstep1(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write2' */ + rtDW.Mode_FR = Comp_Max_RPM_Allowed; + + /* DataStoreWrite: '/Data Store Write3' */ + rtDW.Mode_FL = Comp_Max_RPM_Allowed; + + /* MATLAB Function: '/window heating' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + windowheating(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/blower min max' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerminmax(rtDW.LEVEL, rtb_out_ix5); + + /* MATLAB Function: '/ECT min max' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + ECTminmax(rtDW.LEVEL, rtb_out_kvd); + + /* Lookup_n-D: '/blower для текущего ECT' incorporates: + * DataStoreRead: '/engine coolant temp' + */ + rtb_FLU_tg_correct = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, + rtb_out_kvd, rtb_out_ix5, 1U); + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write5' + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.Blower_FR = (uint8_t)rtb_FLU_tg_correct; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.Blower_FL = rtDW.Blower_FR; + + /* MATLAB Function: '/Dtg_FrontUpper_X' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_FrontUpper_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* Gain: '/Gain1' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_FUR = (uint16_t)(10U * Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_FUL = rtDW.Dtg_FUR; + + /* MATLAB Function: '/Dtg_FrontLower_X' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + Dtg_FrontLower_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* Gain: '/Gain2' incorporates: + * DataStoreWrite: '/Data Store Write12' + */ + rtDW.Dtg_FLR = (uint16_t)(10U * Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreWrite: '/Data Store Write12' + */ + rtDW.Dtg_FLL = rtDW.Dtg_FLR; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + rtb_Switch2_by = 1.0; + + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + Incartempgotofromstep1tostep2(rtDW.LEVEL, &rtb_MultiportSwitch_cn); + + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep1tostep2(rtDW.LEVEL, &rtb_FLU_tg_correct); + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read14' + * Gain: '/из сек в мс' + */ + MATLABFunction1_j(rtDW.t_now, (uint32_t)(1000 * rtb_FLU_tg_correct), + &eComp_stop, &rtDW.sf_MATLABFunction1_d); + + /* Switch: '/Switch1' incorporates: + * Constant: '/LO' + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/Data Store Read13' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + */ + /* : out = int16(g_assSTART_COOLANT_TO_STEP2(LVL + 1 - 3)); */ + if ((rtDW.CCU_MODE_FL != 1) || (rtDW.LO_HI_MODE_FL == 1)) { + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' + */ + rtB.Merge_pe = 3; + } else { + /* MATLAB Function: '/g_assSTART_COOLANT_TO_STEP2 ' incorporates: + * DataStoreRead: '/Data Store Read10' + */ + rtb_Switch5 = (int32_t)(rtDW.LEVEL + 1U); + if (rtDW.LEVEL + 1U > 255U) { + rtb_Switch5 = 255; + } + + /* MW:begin MISRA2012:D4.1 CERT-C:INT30-C 'Justifying MISRA CPP rule violation' */ + rtb_Subtract = (uint32_t)rtb_Switch5 - 3U; + + /* MW:end MISRA2012:D4.1 CERT-C:INT30-C */ + if ((uint32_t)rtb_Switch5 - 3U > (uint32_t)rtb_Switch5) { + rtb_Subtract = 0U; + } + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/engine coolant temp' + * DataStoreRead: '/incar temp' + * Logic: '/Logical Operator' + * MATLAB Function: '/g_assSTART_COOLANT_TO_STEP2 ' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator2' + */ + if ((rtDW.Incar_FL < rtb_MultiportSwitch_cn) || eComp_stop || + (rtDW.ECT > g_assSTART_COOLANT_TO_STEP2[(int32_t)rtb_Subtract - 1])) + { + /* Merge: '/Merge' incorporates: + * Constant: '/go to next step 2' + */ + rtB.Merge_pe = 2; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step 1' + */ + rtB.Merge_pe = 1; + } + + /* End of Switch: '/Switch' */ + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Level 3' */ + break; + + case 4: + /* Outputs for IfAction SubSystem: '/Level 4' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read10' + * MATLAB Function: '/3 way valve status' + */ + uwayvalvestatus(rtDW.LEVEL, &ShutOffFront_EN); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown(rtDW.LEVEL, &EN_BATTChiller); + + /* MATLAB Function: '/mode FR step 1' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + modeFRstep1(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write2' */ + rtDW.Mode_FR = Comp_Max_RPM_Allowed; + + /* DataStoreWrite: '/Data Store Write3' */ + rtDW.Mode_FL = Comp_Max_RPM_Allowed; + + /* MATLAB Function: '/window heating' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + windowheating(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/blower min max' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerminmax(rtDW.LEVEL, rtb_out_ix5); + + /* MATLAB Function: '/ECT min max' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + ECTminmax(rtDW.LEVEL, rtb_out_kvd); + + /* Lookup_n-D: '/blower для текущего ECT' incorporates: + * DataStoreRead: '/engine coolant temp' + */ + rtb_FLU_tg_correct = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, + rtb_out_kvd, rtb_out_ix5, 1U); + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write5' + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.Blower_FR = (uint8_t)rtb_FLU_tg_correct; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.Blower_FL = rtDW.Blower_FR; + + /* MATLAB Function: '/Dtg_FrontUpper_X' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_FrontUpper_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* Gain: '/Gain1' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_FUR = (uint16_t)(10U * Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_FUL = rtDW.Dtg_FUR; + + /* MATLAB Function: '/Dtg_FrontLower_X' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + Dtg_FrontLower_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* Gain: '/Gain2' incorporates: + * DataStoreWrite: '/Data Store Write12' + */ + rtDW.Dtg_FLR = (uint16_t)(10U * Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreWrite: '/Data Store Write12' + */ + rtDW.Dtg_FLL = rtDW.Dtg_FLR; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + rtb_Switch2_by = 1.0; + + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + Incartempgotofromstep1tostep2(rtDW.LEVEL, &rtb_MultiportSwitch_cn); + + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep1tostep2(rtDW.LEVEL, &rtb_FLU_tg_correct); + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read13' + * Gain: '/из сек в мс' + */ + MATLABFunction1_j(rtDW.t_now, (uint32_t)(1000 * rtb_FLU_tg_correct), + &eComp_stop, &rtDW.sf_MATLABFunction1_h); + + /* Switch: '/Switch1' incorporates: + * Constant: '/LO' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/incar temp' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * Switch: '/Switch' + */ + if ((rtDW.CCU_MODE_FL != 1) || (rtDW.LO_HI_MODE_FL == 1)) { + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' + */ + rtB.Merge_pe = 3; + } else if ((rtDW.Incar_FL > rtb_MultiportSwitch_cn) || eComp_stop) { + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + * Merge: '/Merge' + */ + rtB.Merge_pe = 2; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step 1' + * Switch: '/Switch' + */ + rtB.Merge_pe = 1; + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Level 4' */ + break; + + case 5: + /* Outputs for IfAction SubSystem: '/Level 5' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read10' + * MATLAB Function: '/3 way valve status' + */ + uwayvalvestatus(rtDW.LEVEL, &ShutOffFront_EN); + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown(rtDW.LEVEL, &EN_BATTChiller); + + /* MATLAB Function: '/mode FR step 1' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + modeFRstep1(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write2' */ + rtDW.Mode_FR = Comp_Max_RPM_Allowed; + + /* DataStoreWrite: '/Data Store Write3' */ + rtDW.Mode_FL = Comp_Max_RPM_Allowed; + + /* MATLAB Function: '/window heating' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + windowheating(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/blower min max' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerminmax(rtDW.LEVEL, rtb_out_ix5); + + /* MATLAB Function: '/ECT min max' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + ECTminmax(rtDW.LEVEL, rtb_out_kvd); + + /* Lookup_n-D: '/blower для текущего ECT' incorporates: + * DataStoreRead: '/engine coolant temp' + */ + rtb_FLU_tg_correct = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, + rtb_out_kvd, rtb_out_ix5, 1U); + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write5' + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.Blower_FR = (uint8_t)rtb_FLU_tg_correct; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.Blower_FL = rtDW.Blower_FR; + + /* MATLAB Function: '/Dtg_FrontUpper_X' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_FrontUpper_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* Gain: '/Gain2' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_FUR = (uint16_t)(10U * Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_FUL = rtDW.Dtg_FUR; + + /* MATLAB Function: '/Dtg_FrontLower_X' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + Dtg_FrontLower_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* Gain: '/Gain1' incorporates: + * DataStoreWrite: '/Data Store Write12' + */ + rtDW.Dtg_FLR = (uint16_t)(10U * Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreWrite: '/Data Store Write12' + */ + rtDW.Dtg_FLL = rtDW.Dtg_FLR; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + rtb_Switch2_by = 1.0; + + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + Incartempgotofromstep1tostep2(rtDW.LEVEL, &rtb_MultiportSwitch_cn); + + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep1tostep2(rtDW.LEVEL, &rtb_FLU_tg_correct); + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read13' + * Gain: '/из сек в мс' + */ + MATLABFunction1_j(rtDW.t_now, (uint32_t)(1000 * rtb_FLU_tg_correct), + &eComp_stop, &rtDW.sf_MATLABFunction1_p); + + /* Switch: '/Switch1' incorporates: + * Constant: '/LO' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/incar temp' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * Switch: '/Switch' + */ + if ((rtDW.CCU_MODE_FL != 1) || (rtDW.LO_HI_MODE_FL == 1)) { + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' + */ + rtB.Merge_pe = 3; + } else if ((rtDW.Incar_FL > rtb_MultiportSwitch_cn) || eComp_stop) { + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + * Merge: '/Merge' + */ + rtB.Merge_pe = 2; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step 1' + * Switch: '/Switch' + */ + rtB.Merge_pe = 1; + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Level 5' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + /* End of Outputs for SubSystem: '/Step 1 F' */ + break; + + case 2: + /* Outputs for IfAction SubSystem: '/Step 2 F' incorporates: + * ActionPort: '/Action Port' + */ + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + switch (rtDW.LEVEL) { + case 0: + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read10' + * MATLAB Function: '/3 way valve status' + */ + uwayvalvestatus_m(rtDW.LEVEL, &ShutOffFront_EN); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + */ + rtb_MultiportSwitch_cn = (int16_t)((rtDW.Dtg_FLL - rtb_y_k) >> 1); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + Dtg_FrontLower_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + timeforstep(rtDW.LEVEL, &EN_BATTChiller); + + /* Abs: '/Abs' */ + if (rtb_MultiportSwitch_cn < 0) { + rtb_MultiportSwitch_cn = (int16_t)-rtb_MultiportSwitch_cn; + } + + /* Switch: '/Switch' incorporates: + * Abs: '/Abs' + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write12' + * Gain: '/Gain1' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((double)rtb_MultiportSwitch_cn * 2.0 <= 0.01) { + rtDW.Dtg_FLR = (uint16_t)rtb_y_k; + } else { + if (rtDW.Dtg_FLL <= rtb_y_k) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + i = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + i = -1; + } + + rtDW.Dtg_FLR = (uint16_t)rt_roundd(10.0 * (double)Comp_Max_RPM_Allowed + / (double)EN_BATTChiller / 1000.0 * (double)(rtDW.t_now - + rtDW.UnitDelay_DSTATE_k) * (double)i + (double)rtDW.Dtg_FLL); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreWrite: '/Data Store Write12' + */ + rtDW.Dtg_FLL = rtDW.Dtg_FLR; + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + */ + rtb_MultiportSwitch_cn = (int16_t)((rtDW.Dtg_FUL - rtb_FLU_tg_correct) >> + 1); + + /* Abs: '/Abs' */ + if (rtb_MultiportSwitch_cn < 0) { + rtb_MultiportSwitch_cn = (int16_t)-rtb_MultiportSwitch_cn; + } + + /* End of Abs: '/Abs' */ + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_FrontUpper_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + timeforstep_d(rtDW.LEVEL, &EN_BATTChiller); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write10' + * Gain: '/Gain1' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((double)rtb_MultiportSwitch_cn * 2.0 <= 0.01) { + rtDW.Dtg_FUR = (uint16_t)rtb_FLU_tg_correct; + } else { + if (rtDW.Dtg_FUL <= rtb_FLU_tg_correct) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + i = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + i = -1; + } + + rtDW.Dtg_FUR = (uint16_t)rt_roundd(10.0 * (double)Comp_Max_RPM_Allowed + / (double)EN_BATTChiller / 1000.0 * (double)(rtDW.t_now - + rtDW.UnitDelay_DSTATE_cm) * (double)i + (double)rtDW.Dtg_FUL); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_FUL = rtDW.Dtg_FUR; + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown(rtDW.LEVEL, &EN_BATTChiller); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + step_g(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + timeforstep_f(rtDW.LEVEL, &EN_BATTChiller); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write2' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((uint8_t)(rtDW.Mode_FL - rtDW.Mode_logic_FL) <= 0.01) { + rtDW.Mode_FR = rtDW.Mode_logic_FL; + } else { + if (rtDW.Mode_FL <= rtDW.Mode_logic_FL) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + i = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + i = -1; + } + + rtDW.Mode_FR = (uint8_t)((double)Comp_Max_RPM_Allowed / (double) + EN_BATTChiller / 1000.0 * (double)(rtDW.t_now - + rtDW.UnitDelay_DSTATE_f) * (double)i + (double)rtDW.Mode_FL); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreWrite: '/Data Store Write2' + */ + rtDW.Mode_FL = rtDW.Mode_FR; + + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + /* : out = g_aucSTART_ELEC_WINDOW(LVL + 1 + 6); */ + blowerstep(rtDW.LEVEL, &Gain); + + /* MATLAB Function: '/blower time for step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowertimeforstep(rtDW.LEVEL, &Gain1); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * Product: '/Product1' + * Product: '/change rate (AF//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((uint8_t)(rtDW.Blower_FL - rtDW.Blower_logic_FL) <= 0.01) { + rtb_Switch2_by = rtDW.Blower_logic_FL; + } else { + if (rtDW.Blower_FL <= rtDW.Blower_logic_FL) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + i = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + i = -1; + } + + rtb_Switch2_by = (double)Gain / (double)Gain1 / 1000.0 * (double) + (rtDW.t_now - rtDW.UnitDelay_DSTATE_gc) * (double)i + (double) + rtDW.Blower_FL; + } + + /* End of Switch: '/Switch' */ + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.Blower_FR = (uint8_t)rtb_Switch2_by; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.Blower_FL = rtDW.Blower_FR; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + rtb_Switch2_by = 1.0; + + /* RelationalOperator: '/Relational Operator2' incorporates: + * DataStoreRead: '/Data Store Read11' + */ + eComp_stop = (rtDW.CCU_MODE_FL != 1); + + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/not LO or HI' + * DataStoreRead: '/Data Store Read12' + * RelationalOperator: '/Relational Operator3' + */ + Enable_Comp_PID = (eComp_stop || (rtDW.LO_HI_MODE_FL != 0)); + + /* MATLAB Function: '/Time goto from step 2 to step 3 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep2tostep3(rtDW.LEVEL, &rtb_MultiportSwitch_cn); + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read3' + * Gain: '/из сек в мс' + */ + MATLABFunction1_j(rtDW.t_now, (uint32_t)(1000 * rtb_MultiportSwitch_cn), + &eComp_stop, &rtDW.sf_MATLABFunction1_m); + + /* Switch: '/Switch1' incorporates: + * Switch: '/Switch' + */ + if (Enable_Comp_PID) { + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' + */ + rtB.Merge_pe = 3; + } else if (eComp_stop) { + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + * Merge: '/Merge' + */ + rtB.Merge_pe = 3; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step' + * Switch: '/Switch' + */ + rtB.Merge_pe = 2; + } + + /* End of Switch: '/Switch1' */ + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + rtDW.UnitDelay_DSTATE_k = rtDW.t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + rtDW.UnitDelay_DSTATE_cm = rtDW.t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + rtDW.UnitDelay_DSTATE_f = rtDW.t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + rtDW.UnitDelay_DSTATE_gc = rtDW.t_now; + + /* End of Outputs for SubSystem: '/Level 0' */ + break; + + case 1: + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read10' + * MATLAB Function: '/3 way valve status' + */ + uwayvalvestatus_m(rtDW.LEVEL, &ShutOffFront_EN); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + */ + rtb_MultiportSwitch_cn = (int16_t)((rtDW.Dtg_FLL - rtb_y_k) >> 1); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + Dtg_FrontLower_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + timeforstep(rtDW.LEVEL, &EN_BATTChiller); + + /* Abs: '/Abs' */ + if (rtb_MultiportSwitch_cn < 0) { + rtb_MultiportSwitch_cn = (int16_t)-rtb_MultiportSwitch_cn; + } + + /* Switch: '/Switch' incorporates: + * Abs: '/Abs' + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write12' + * Gain: '/Gain1' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((double)rtb_MultiportSwitch_cn * 2.0 <= 0.01) { + rtDW.Dtg_FLR = (uint16_t)rtb_y_k; + } else { + if (rtDW.Dtg_FLL <= rtb_y_k) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + i = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + i = -1; + } + + rtDW.Dtg_FLR = (uint16_t)rt_roundd(10.0 * (double)Comp_Max_RPM_Allowed + / (double)EN_BATTChiller / 1000.0 * (double)(rtDW.t_now - + rtDW.UnitDelay_DSTATE_mz) * (double)i + (double)rtDW.Dtg_FLL); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreWrite: '/Data Store Write12' + */ + rtDW.Dtg_FLL = rtDW.Dtg_FLR; + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + */ + rtb_MultiportSwitch_cn = (int16_t)((rtDW.Dtg_FUL - rtb_FLU_tg_correct) >> + 1); + + /* Abs: '/Abs' */ + if (rtb_MultiportSwitch_cn < 0) { + rtb_MultiportSwitch_cn = (int16_t)-rtb_MultiportSwitch_cn; + } + + /* End of Abs: '/Abs' */ + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_FrontUpper_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + timeforstep_d(rtDW.LEVEL, &EN_BATTChiller); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write10' + * Gain: '/Gain1' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((double)rtb_MultiportSwitch_cn * 2.0 <= 0.01) { + rtDW.Dtg_FUR = (uint16_t)rtb_FLU_tg_correct; + } else { + if (rtDW.Dtg_FUL <= rtb_FLU_tg_correct) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + i = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + i = -1; + } + + rtDW.Dtg_FUR = (uint16_t)rt_roundd(10.0 * (double)Comp_Max_RPM_Allowed + / (double)EN_BATTChiller / 1000.0 * (double)(rtDW.t_now - + rtDW.UnitDelay_DSTATE_n) * (double)i + (double)rtDW.Dtg_FUL); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_FUL = rtDW.Dtg_FUR; + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown(rtDW.LEVEL, &EN_BATTChiller); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + */ + Comp_Max_RPM_Allowed = (uint8_t)(rtDW.Mode_FL - rtDW.Mode_logic_FL); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + step_g(rtDW.LEVEL, &EN_BATTChiller); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + timeforstep_f(rtDW.LEVEL, &ShutOffFront_EN); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write2' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if (Comp_Max_RPM_Allowed <= 0.01) { + rtDW.Mode_FR = rtDW.Mode_logic_FL; + } else { + if (rtDW.Mode_FL <= rtDW.Mode_logic_FL) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + i = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + i = -1; + } + + rtDW.Mode_FR = (uint8_t)((double)EN_BATTChiller / (double) + ShutOffFront_EN / 1000.0 * (double)(rtDW.t_now - + rtDW.UnitDelay_DSTATE_le) * (double)i + (double)rtDW.Mode_FL); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreWrite: '/Data Store Write2' + */ + rtDW.Mode_FL = rtDW.Mode_FR; + + /* MATLAB Function: '/window heating' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + windowheating_o(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerstep(rtDW.LEVEL, &Gain); + + /* MATLAB Function: '/blower time for step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowertimeforstep(rtDW.LEVEL, &Gain1); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((uint8_t)(rtDW.Blower_FL - rtDW.Blower_logic_FL) <= 0.01) { + rtb_Switch2_by = rtDW.Blower_logic_FL; + } else { + if (rtDW.Blower_FL <= rtDW.Blower_logic_FL) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + i = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + i = -1; + } + + rtb_Switch2_by = (double)Gain / (double)Gain1 / 1000.0 * (double) + (rtDW.t_now - rtDW.UnitDelay_DSTATE_cb) * (double)i + (double) + rtDW.Blower_FL; + } + + /* End of Switch: '/Switch' */ + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.Blower_FR = (uint8_t)rtb_Switch2_by; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.Blower_FL = rtDW.Blower_FR; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + rtb_Switch2_by = 1.0; + + /* RelationalOperator: '/Relational Operator2' incorporates: + * DataStoreRead: '/Data Store Read11' + */ + eComp_stop = (rtDW.CCU_MODE_FL != 1); + + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/not LO or HI' + * DataStoreRead: '/Data Store Read12' + * RelationalOperator: '/Relational Operator3' + */ + Enable_Comp_PID = (eComp_stop || (rtDW.LO_HI_MODE_FL != 0)); + + /* MATLAB Function: '/Time goto from step 2 to step 3 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep2tostep3(rtDW.LEVEL, &rtb_MultiportSwitch_cn); + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read3' + * Gain: '/из сек в мс' + */ + MATLABFunction1_j(rtDW.t_now, (uint32_t)(1000 * rtb_MultiportSwitch_cn), + &eComp_stop, &rtDW.sf_MATLABFunction1_i2); + + /* Switch: '/Switch1' incorporates: + * Switch: '/Switch' + */ + if (Enable_Comp_PID) { + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' + */ + rtB.Merge_pe = 3; + } else if (eComp_stop) { + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + * Merge: '/Merge' + */ + rtB.Merge_pe = 3; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step' + * Switch: '/Switch' + */ + rtB.Merge_pe = 2; + } + + /* End of Switch: '/Switch1' */ + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + rtDW.UnitDelay_DSTATE_mz = rtDW.t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + rtDW.UnitDelay_DSTATE_n = rtDW.t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + rtDW.UnitDelay_DSTATE_le = rtDW.t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + rtDW.UnitDelay_DSTATE_cb = rtDW.t_now; + + /* End of Outputs for SubSystem: '/Level 1' */ + break; + + case 2: + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' + */ + Level2(&rtB.Merge_pe); + + /* End of Outputs for SubSystem: '/Level 2' */ + break; + + case 3: + /* Outputs for IfAction SubSystem: '/Level 3' incorporates: + * ActionPort: '/Action Port' + */ + Level3(&rtB.Merge_pe, &ShutOffRear_EN, &rtDW.Blower_FL, &rtDW.Blower_FR, + &rtDW.Blower_logic_FL, &rtDW.CCU_MODE_FL, &rtDW.Dtg_FLL, + &rtDW.Dtg_FLR, &rtDW.Dtg_FUL, &rtDW.Dtg_FUR, &rtb_y_k, + &rtb_FLU_tg_correct, &El_window_heating, &rtDW.HI_logic_on, + &EN_BATTChiller, &Comp_Max_RPM_Allowed, &rtDW.LEVEL, + &rtDW.LO_HI_MODE_FL, &rtDW.Mode_FL, &rtDW.Mode_FR, + &rtDW.Mode_logic_FL, &rtb_Switch2_by, &ShutOffFront_EN, + &rtDW.t_now, &rtDW.Level3_d); + + /* End of Outputs for SubSystem: '/Level 3' */ + break; + + case 4: + /* Outputs for IfAction SubSystem: '/Level 4' incorporates: + * ActionPort: '/Action Port' + */ + Level3(&rtB.Merge_pe, &ShutOffRear_EN, &rtDW.Blower_FL, &rtDW.Blower_FR, + &rtDW.Blower_logic_FL, &rtDW.CCU_MODE_FL, &rtDW.Dtg_FLL, + &rtDW.Dtg_FLR, &rtDW.Dtg_FUL, &rtDW.Dtg_FUR, &rtb_y_k, + &rtb_FLU_tg_correct, &El_window_heating, &rtDW.HI_logic_on, + &EN_BATTChiller, &Comp_Max_RPM_Allowed, &rtDW.LEVEL, + &rtDW.LO_HI_MODE_FL, &rtDW.Mode_FL, &rtDW.Mode_FR, + &rtDW.Mode_logic_FL, &rtb_Switch2_by, &ShutOffFront_EN, + &rtDW.t_now, &rtDW.Level4_l); + + /* End of Outputs for SubSystem: '/Level 4' */ + break; + + case 5: + /* Outputs for IfAction SubSystem: '/Level 5' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read10' + * MATLAB Function: '/3 way valve status' + */ + uwayvalvestatus_m(rtDW.LEVEL, &ShutOffFront_EN); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + */ + rtb_MultiportSwitch_cn = (int16_t)((rtDW.Dtg_FLL - rtb_y_k) >> 1); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + Dtg_FrontLower_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read9' + */ + timeforstep(rtDW.LEVEL, &EN_BATTChiller); + + /* Abs: '/Abs' */ + if (rtb_MultiportSwitch_cn < 0) { + rtb_MultiportSwitch_cn = (int16_t)-rtb_MultiportSwitch_cn; + } + + /* Switch: '/Switch' incorporates: + * Abs: '/Abs' + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write12' + * Gain: '/Gain1' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((double)rtb_MultiportSwitch_cn * 2.0 <= 0.01) { + rtDW.Dtg_FLR = (uint16_t)rtb_y_k; + } else { + if (rtDW.Dtg_FLL <= rtb_y_k) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + i = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + i = -1; + } + + rtDW.Dtg_FLR = (uint16_t)rt_roundd(10.0 * (double)Comp_Max_RPM_Allowed + / (double)EN_BATTChiller / 1000.0 * (double)(rtDW.t_now - + rtDW.UnitDelay_DSTATE_g) * (double)i + (double)rtDW.Dtg_FLL); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreWrite: '/Data Store Write12' + */ + rtDW.Dtg_FLL = rtDW.Dtg_FLR; + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + */ + rtb_MultiportSwitch_cn = (int16_t)((rtDW.Dtg_FUL - rtb_FLU_tg_correct) >> + 1); + + /* Abs: '/Abs' */ + if (rtb_MultiportSwitch_cn < 0) { + rtb_MultiportSwitch_cn = (int16_t)-rtb_MultiportSwitch_cn; + } + + /* End of Abs: '/Abs' */ + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_FrontUpper_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + timeforstep_d(rtDW.LEVEL, &EN_BATTChiller); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write10' + * Gain: '/Gain1' + * Product: '/Product1' + * Product: '/change rate (dtg//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((double)rtb_MultiportSwitch_cn * 2.0 <= 0.01) { + rtDW.Dtg_FUR = (uint16_t)rtb_FLU_tg_correct; + } else { + if (rtDW.Dtg_FUL <= rtb_FLU_tg_correct) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + i = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + i = -1; + } + + rtDW.Dtg_FUR = (uint16_t)rt_roundd(10.0 * (double)Comp_Max_RPM_Allowed + / (double)EN_BATTChiller / 1000.0 * (double)(rtDW.t_now - + rtDW.UnitDelay_DSTATE_h) * (double)i + (double)rtDW.Dtg_FUL); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_FUL = rtDW.Dtg_FUR; + + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' + */ + incarfilterup(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown(rtDW.LEVEL, &EN_BATTChiller); + + /* MATLAB Function: '/autodemist (autodefog)' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + autodemistautodefog(rtDW.LEVEL, &EN_BATTChiller); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + */ + Comp_Max_RPM_Allowed = (uint8_t)(rtDW.Mode_FL - rtDW.Mode_logic_FL); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + step_g(rtDW.LEVEL, &EN_BATTChiller); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + timeforstep_f(rtDW.LEVEL, &ShutOffFront_EN); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * DataStoreWrite: '/Data Store Write2' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if (Comp_Max_RPM_Allowed <= 0.01) { + rtDW.Mode_FR = rtDW.Mode_logic_FL; + } else { + if (rtDW.Mode_FL <= rtDW.Mode_logic_FL) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + i = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + i = -1; + } + + rtDW.Mode_FR = (uint8_t)((double)EN_BATTChiller / (double) + ShutOffFront_EN / 1000.0 * (double)(rtDW.t_now - + rtDW.UnitDelay_DSTATE_ly) * (double)i + (double)rtDW.Mode_FL); + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreWrite: '/Data Store Write2' + */ + rtDW.Mode_FL = rtDW.Mode_FR; + + /* MATLAB Function: '/window heating' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + windowheating_o(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerstep(rtDW.LEVEL, &Gain); + + /* MATLAB Function: '/blower time for step' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowertimeforstep(rtDW.LEVEL, &Gain1); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * DataStoreRead: '/текущее время в мс' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if ((uint8_t)(rtDW.Blower_FL - rtDW.Blower_logic_FL) <= 0.01) { + rtb_Switch2_by = rtDW.Blower_logic_FL; + } else { + if (rtDW.Blower_FL <= rtDW.Blower_logic_FL) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + */ + i = 1; + } else { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + */ + i = -1; + } + + rtb_Switch2_by = (double)Gain / (double)Gain1 / 1000.0 * (double) + (rtDW.t_now - rtDW.UnitDelay_DSTATE_gu) * (double)i + (double) + rtDW.Blower_FL; + } + + /* End of Switch: '/Switch' */ + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.Blower_FR = (uint8_t)rtb_Switch2_by; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.Blower_FL = rtDW.Blower_FR; + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' + */ + rtb_Switch2_by = 1.0; + + /* MATLAB Function: '/Time goto from step 2 to step 3 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep2tostep3(rtDW.LEVEL, &rtb_MultiportSwitch_cn); + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read13' + * Gain: '/из сек в мс' + */ + MATLABFunction1_j(rtDW.t_now, (uint32_t)(1000 * rtb_MultiportSwitch_cn), + &eComp_stop, &rtDW.sf_MATLABFunction1_j2); + + /* Switch: '/Switch1' incorporates: + * Constant: '/not LO or HI' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * Switch: '/Switch' + */ + if ((rtDW.CCU_MODE_FL != 1) || (rtDW.LO_HI_MODE_FL != 0)) { + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' + */ + rtB.Merge_pe = 3; + } else if (eComp_stop || rtDW.HI_logic_on) { + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + * Merge: '/Merge' + */ + rtB.Merge_pe = 3; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step' + * Switch: '/Switch' + */ + rtB.Merge_pe = 2; + } + + /* End of Switch: '/Switch1' */ + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + rtDW.UnitDelay_DSTATE_g = rtDW.t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + rtDW.UnitDelay_DSTATE_h = rtDW.t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + rtDW.UnitDelay_DSTATE_ly = rtDW.t_now; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' + */ + rtDW.UnitDelay_DSTATE_gu = rtDW.t_now; + + /* End of Outputs for SubSystem: '/Level 5' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + /* End of Outputs for SubSystem: '/Step 2 F' */ + break; + + case 3: + /* Outputs for IfAction SubSystem: '/Step 3 F' incorporates: + * ActionPort: '/Action Port' + */ + Step3F(&rtB.Merge_pe, &rtDW.start_control_finished_front); + + /* End of Outputs for SubSystem: '/Step 3 F' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.step_start_controle_front = rtB.Merge_pe; + + /* End of Outputs for SubSystem: '/Start Control Front' */ + } + + /* End of If: '/если SC front не завершен2' */ + + /* Saturate: '/from 0 to 3' incorporates: + * Constant: '/Constant' + * Sum: '/Add' + * UnitDelay: '/Unit Delay' + */ + if (rtDW.UnitDelay_DSTATE_b + 1.0 > 3.0) { + rtDW.UnitDelay_DSTATE_b = 3.0; + } else if (rtDW.UnitDelay_DSTATE_b + 1.0 < 0.0) { + rtDW.UnitDelay_DSTATE_b = 0.0; + } else { + rtDW.UnitDelay_DSTATE_b++; + } + + /* End of Saturate: '/from 0 to 3' */ + + /* If: '/если SC front не завершен3' incorporates: + * DataStoreRead: '/Data Store Read3' + * DataTypeConversion: '/Data Type Conversion1' + * DataTypeConversion: '/Data Type Conversion3' + * UnitDelay: '/Unit Delay' + */ + if (((uint8_t)rtDW.start_control_finished_rear == 0) && ((uint8_t) + rtDW.UnitDelay_DSTATE_b >= 2)) { + /* Outputs for IfAction SubSystem: '/Start Control Rear' incorporates: + * ActionPort: '/Action Port' + */ + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read' + */ + switch (rtDW.step_start_controle_rear) { + case -1: + /* Outputs for IfAction SubSystem: '/Step -1 R (Entry Condition)' incorporates: + * ActionPort: '/Action Port' + */ + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + switch (rtDW.LEVEL) { + case 0: + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + /* : out = int16(g_assSTART_ENTER_INCAR(LVL + 1 + 6)); */ + g_ausSTART_ENTER_SETTEMP_i(rtDW.LEVEL, &rtb_y_il); + + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + i = (int32_t)(rtDW.LEVEL + 1U); + if (rtDW.LEVEL + 1U > 255U) { + i = 255; + } + + rtb_Switch5 = (int32_t)((uint32_t)i + 6U); + if ((uint32_t)i + 6U > 255U) { + rtb_Switch5 = 255; + } + + /* Switch: '/Switch' incorporates: + * Constant: '/not LO or HI' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read5' + * Logic: '/AND' + * MATLAB Function: '/g_assSTART_ENTER_INCAR' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + */ + if ((rtDW.Incar_RR > g_assSTART_ENTER_INCAR[rtb_Switch5 - 1]) && + (rtDW.CCU_MODE_RR == 1) && (rtDW.CCU_SET_RR < rtb_y_il) && + (rtDW.LO_HI_MODE_RR == 0)) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + */ + rtB.Merge_a0 = 1; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + */ + rtB.Merge_a0 = -1; + } + + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Level 0' */ + break; + + case 1: + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_ENTER_INCAR_f(rtDW.LEVEL, &rtb_y_il); + + /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + g_ausSTART_ENTER_SETTEMP_i(rtDW.LEVEL, &rtb_FLU_tg_correct); + + /* Switch: '/Switch' incorporates: + * Constant: '/not LO or HI' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read5' + * Logic: '/AND' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + */ + if ((rtDW.Incar_RR > rtb_y_il) && (rtDW.CCU_MODE_RR == 1) && + (rtDW.CCU_SET_RR < rtb_FLU_tg_correct) && (rtDW.LO_HI_MODE_RR == 0)) + { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + */ + rtB.Merge_a0 = 1; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + */ + rtB.Merge_a0 = -1; + } + + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Level 1' */ + break; + + case 2: + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_ENTER_INCAR_f(rtDW.LEVEL, &rtb_y_il); + + /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + g_ausSTART_ENTER_SETTEMP_i(rtDW.LEVEL, &rtb_FLU_tg_correct); + + /* Switch: '/Switch' incorporates: + * Constant: '/LOW' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read5' + * Logic: '/AND' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + */ + if ((rtDW.Incar_RR < rtb_y_il) && (rtDW.CCU_MODE_RR == 1) && + (rtDW.CCU_SET_RR > rtb_FLU_tg_correct) && (rtDW.LO_HI_MODE_RR != 1)) + { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + */ + rtB.Merge_a0 = 0; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + */ + rtB.Merge_a0 = -1; + } + + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Level 2' */ + break; + + case 3: + /* Outputs for IfAction SubSystem: '/Level 3' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + g_assSTART_ENTER_INCAR_f(rtDW.LEVEL, &rtb_y_il); + + /* MATLAB Function: '/g_assSTART_ENTER_COOLANT ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_ENTER_COOLANT_m1(rtDW.LEVEL, &rtb_FLU_tg_correct); + + /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + /* : out = int16(g_ausSTART_ENTER_SETTEMP(LVL+1+6)); */ + i = (int32_t)(rtDW.LEVEL + 1U); + if (rtDW.LEVEL + 1U > 255U) { + i = 255; + } + + rtb_Switch5 = (int32_t)((uint32_t)i + 6U); + if ((uint32_t)i + 6U > 255U) { + rtb_Switch5 = 255; + } + + rtb_out_px = g_ausSTART_ENTER_SETTEMP[rtb_Switch5 - 1]; + if (rtb_out_px > 32767) { + rtb_out_px = 32767U; + } + + /* Switch: '/Switch' incorporates: + * Constant: '/LOW' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read7' + * Logic: '/AND' + * Logic: '/AND1' + * MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + */ + if (((rtDW.Incar_RR < rtb_y_il) || (rtDW.ECT < rtb_FLU_tg_correct)) && + (rtDW.CCU_MODE_RR == 1) && (rtDW.CCU_SET_RR > rtb_out_px) && + (rtDW.LO_HI_MODE_RR != 1)) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' + */ + rtB.Merge_a0 = 0; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + */ + rtB.Merge_a0 = -1; + } + + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Level 3' */ + break; + + case 4: + /* Outputs for IfAction SubSystem: '/Level 4' incorporates: + * ActionPort: '/Action Port' + */ + Level4_j(&rtB.Merge_a0, &rtDW.CCU_MODE_RR, &rtDW.ECT, &rtDW.Incar_RR, + &rtDW.LEVEL, &rtDW.LO_HI_MODE_RR); + + /* End of Outputs for SubSystem: '/Level 4' */ + break; + + case 5: + /* Outputs for IfAction SubSystem: '/Level 5' incorporates: + * ActionPort: '/Action Port' + */ + Level4_j(&rtB.Merge_a0, &rtDW.CCU_MODE_RR, &rtDW.ECT, &rtDW.Incar_RR, + &rtDW.LEVEL, &rtDW.LO_HI_MODE_RR); + + /* End of Outputs for SubSystem: '/Level 5' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + /* End of Outputs for SubSystem: '/Step -1 R (Entry Condition)' */ + break; + + case 0: + /* Outputs for IfAction SubSystem: '/Step 0 R' incorporates: + * ActionPort: '/Action Port' + */ + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + switch (rtDW.LEVEL) { + case 0: + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' + */ + Level0(&rtB.Merge_a0); + + /* End of Outputs for SubSystem: '/Level 0' */ + break; + + case 1: + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' + */ + Level0(&rtB.Merge_a0); + + /* End of Outputs for SubSystem: '/Level 1' */ + break; + + case 2: + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' + */ + rtDW.Blower_RR = 10U; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' + */ + rtDW.Blower_RL = 10U; + + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/Constant4' + */ + rtDW.Dtg_RR = 650U; + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * Constant: '/Constant4' + */ + rtDW.Dtg_RL = 650U; + + /* MATLAB Function: '/incar filter up' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + incarfilterup_j(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/incar filter down' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + incarfilterdown_m(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Mode - foot' + */ + rtDW.Mode_RR = 60U; + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Mode - foot' + */ + rtDW.Mode_RL = 60U; + + /* Switch: '/Switch1' incorporates: + * Constant: '/LO' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + */ + /* : out = int16(g_assSTART_COOLANT_STEP0_TO_1(LVL + 3)); */ + if ((rtDW.CCU_MODE_RR != 1) || (rtDW.LO_HI_MODE_RR == 1)) { + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' + */ + rtB.Merge_a0 = 3; + } else { + /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + i = (int32_t)(rtDW.LEVEL + 3U); + if (rtDW.LEVEL + 3U > 255U) { + i = 255; + } + + /* Merge: '/Merge' incorporates: + * DataStoreRead: '/Engine coolant temp' + * MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' + * RelationalOperator: '/Relational Operator' + */ + rtB.Merge_a0 = (int8_t)(rtDW.ECT > g_assSTART_COOLANT_STEP0_TO_1[i - 1]); + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Level 2' */ + break; + + case 3: + /* Outputs for IfAction SubSystem: '/Level 3' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' + */ + rtDW.Blower_RR = 10U; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' + */ + rtDW.Blower_RL = 10U; + + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/Constant4' + */ + rtDW.Dtg_RR = 650U; + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * Constant: '/Constant4' + */ + rtDW.Dtg_RL = 650U; + + /* MATLAB Function: '/incar filter up' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + incarfilterup_j(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/incar filter down' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + incarfilterdown_m(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Mode - foot' + */ + rtDW.Mode_RR = 60U; + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Mode - foot' + */ + rtDW.Mode_RL = 60U; + + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/step1' + */ + rtB.Merge_a0 = 0; + + /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + g_assSTART_COOLANT_STEP0_TO_1_j(rtDW.LEVEL, &rtb_y_il); + + /* End of Outputs for SubSystem: '/Level 3' */ + break; + + case 4: + /* Outputs for IfAction SubSystem: '/Level 4' incorporates: + * ActionPort: '/Action Port' + */ + Level4_h(&rtB.Merge_a0, &rtDW.Blower_RL, &rtDW.Blower_RR, + &rtDW.CCU_MODE_RR, &rtDW.Dtg_RL, &rtDW.Dtg_RR, &rtDW.ECT, + &EN_BATTChiller, &Comp_Max_RPM_Allowed, &rtDW.LEVEL, + &rtDW.LO_HI_MODE_RR, &rtDW.Mode_RL, &rtDW.Mode_RR, + &ShutOffRear_EN, &ShutOffFront_EN); + + /* End of Outputs for SubSystem: '/Level 4' */ + break; + + case 5: + /* Outputs for IfAction SubSystem: '/Level 5' incorporates: + * ActionPort: '/Action Port' + */ + Level4_h(&rtB.Merge_a0, &rtDW.Blower_RL, &rtDW.Blower_RR, + &rtDW.CCU_MODE_RR, &rtDW.Dtg_RL, &rtDW.Dtg_RR, &rtDW.ECT, + &EN_BATTChiller, &Comp_Max_RPM_Allowed, &rtDW.LEVEL, + &rtDW.LO_HI_MODE_RR, &rtDW.Mode_RL, &rtDW.Mode_RR, + &ShutOffRear_EN, &ShutOffFront_EN); + + /* End of Outputs for SubSystem: '/Level 5' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + /* End of Outputs for SubSystem: '/Step 0 R' */ + break; + + case 1: + /* Outputs for IfAction SubSystem: '/Step 1 R' incorporates: + * ActionPort: '/Action Port' + */ + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + switch (rtDW.LEVEL) { + case 0: + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' + */ + Level0_g(&rtB.Merge_a0, &rtDW.Blower_RL, &rtDW.Blower_RR, + &rtDW.CCU_MODE_RR, &rtDW.Dtg_RL, &rtDW.Dtg_RR, &rtDW.Incar_RR, + &EN_BATTChiller, &Comp_Max_RPM_Allowed, &rtDW.LEVEL, + &rtDW.LO_HI_MODE_RR, &rtDW.Mode_RL, &rtDW.Mode_RR, + &rtb_Switch2_by, &ShutOffRear_EN, &rtDW.t_now, &rtDW.Level0_gj); + + /* End of Outputs for SubSystem: '/Level 0' */ + break; + + case 1: + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' + */ + Level0_g(&rtB.Merge_a0, &rtDW.Blower_RL, &rtDW.Blower_RR, + &rtDW.CCU_MODE_RR, &rtDW.Dtg_RL, &rtDW.Dtg_RR, &rtDW.Incar_RR, + &EN_BATTChiller, &Comp_Max_RPM_Allowed, &rtDW.LEVEL, + &rtDW.LO_HI_MODE_RR, &rtDW.Mode_RL, &rtDW.Mode_RR, + &rtb_Switch2_by, &ShutOffRear_EN, &rtDW.t_now, &rtDW.Level1_l); + + /* End of Outputs for SubSystem: '/Level 1' */ + break; + + case 2: + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/2 way valve' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + uwayvalve(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/incar filter up' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + incarfilterup_j(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/incar filter down' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + incarfilterdown_m(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/mode rear step 1' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + moderearstep1(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write2' */ + rtDW.Mode_RR = Comp_Max_RPM_Allowed; + + /* DataStoreWrite: '/Data Store Write3' */ + rtDW.Mode_RL = Comp_Max_RPM_Allowed; + + /* MATLAB Function: '/blower start finish' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerstartfinish(rtDW.LEVEL, rtb_out_ix5); + + /* MATLAB Function: '/ECT min max' */ + /* : min = int16(g_assSTART_COOLANT_STEP0_TO_1(5)); */ + /* : max = int16(g_assSTART_COOLANT_TO_STEP2(2)); */ + /* : out = [min, max]; */ + rtb_out_kvd[0] = g_assSTART_COOLANT_STEP0_TO_1[4]; + rtb_out_kvd[1] = g_assSTART_COOLANT_TO_STEP2[1]; + + /* Lookup_n-D: '/blower для текущего ECT' incorporates: + * DataStoreRead: '/engine coolant temp' + */ + rtb_y_il = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, rtb_out_kvd, + rtb_out_ix5, 1U); + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write5' + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.Blower_RR = (uint8_t)rtb_y_il; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.Blower_RL = rtDW.Blower_RR; + + /* MATLAB Function: '/Dtg_rear' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_rear(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* Gain: '/Gain' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_RR = (uint16_t)(10U * Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_RL = rtDW.Dtg_RR; + + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + Incartempgotofromstep1tostep2_m(rtDW.LEVEL, &rtb_FLU_tg_correct); + + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep1tostep2_n(rtDW.LEVEL, &rtb_y_il); + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read9' + * Gain: '/из сек в мс' + */ + MATLABFunction1(rtDW.t_now, (uint16_t)(1000 * rtb_y_il), &eComp_stop, + &rtDW.sf_MATLABFunction1_m3); + + /* Switch: '/Switch1' incorporates: + * Constant: '/LO' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/engine coolant temp' + * DataStoreRead: '/incar temp' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * MATLAB Function: '/g_assSTART_COOLANT_TO_STEP2 ' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * Switch: '/Switch' + */ + /* : out = int16(g_assSTART_COOLANT_TO_STEP2(2)); */ + if ((rtDW.CCU_MODE_RR != 1) || (rtDW.LO_HI_MODE_RR == 1)) { + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' + */ + rtB.Merge_a0 = 3; + } else if ((rtDW.Incar_RR > rtb_FLU_tg_correct) || eComp_stop || + (rtDW.ECT > g_assSTART_COOLANT_TO_STEP2[1])) { + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + * Merge: '/Merge' + */ + rtB.Merge_a0 = 2; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step 1' + * Switch: '/Switch' + */ + rtB.Merge_a0 = 1; + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Level 2' */ + break; + + case 3: + /* Outputs for IfAction SubSystem: '/Level 3' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/2 way valve' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + uwayvalve(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/incar filter up' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + incarfilterup_j(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/incar filter down' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + incarfilterdown_m(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* MATLAB Function: '/mode rear step 1' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + moderearstep1(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write2' */ + rtDW.Mode_RR = Comp_Max_RPM_Allowed; + + /* DataStoreWrite: '/Data Store Write3' */ + rtDW.Mode_RL = Comp_Max_RPM_Allowed; + + /* MATLAB Function: '/blower start finish' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + blowerstartfinish(rtDW.LEVEL, rtb_out_ix5); + + /* MATLAB Function: '/ECT min max' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + ECTminmax_j(rtDW.LEVEL, rtb_out_kvd); + + /* Lookup_n-D: '/blower для текущего ECT' incorporates: + * DataStoreRead: '/engine coolant temp' + */ + rtb_y_il = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, rtb_out_kvd, + rtb_out_ix5, 1U); + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write5' + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.Blower_RR = (uint8_t)rtb_y_il; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.Blower_RL = rtDW.Blower_RR; + + /* MATLAB Function: '/Dtg_rear' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + Dtg_rear(rtDW.LEVEL, &Comp_Max_RPM_Allowed); + + /* Gain: '/Gain' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_RR = (uint16_t)(10U * Comp_Max_RPM_Allowed); + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write10' + */ + rtDW.Dtg_RL = rtDW.Dtg_RR; + + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + Incartempgotofromstep1tostep2_m(rtDW.LEVEL, &rtb_FLU_tg_correct); + + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + Timegotofromstep1tostep2_n(rtDW.LEVEL, &rtb_y_il); + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read9' + * Gain: '/из сек в мс' + */ + MATLABFunction1(rtDW.t_now, (uint16_t)(1000 * rtb_y_il), &eComp_stop, + &rtDW.sf_MATLABFunction1_c); + + /* Switch: '/Switch1' incorporates: + * Constant: '/LO' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/engine coolant temp' + * DataStoreRead: '/incar temp' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * MATLAB Function: '/g_assSTART_COOLANT_TO_STEP2 ' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * Switch: '/Switch' + */ + /* : out = int16(g_assSTART_COOLANT_TO_STEP2(3)); */ + if ((rtDW.CCU_MODE_RR != 1) || (rtDW.LO_HI_MODE_RR == 1)) { + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' + */ + rtB.Merge_a0 = 3; + } else if ((rtDW.Incar_RR > rtb_FLU_tg_correct) || eComp_stop || + (rtDW.ECT > g_assSTART_COOLANT_TO_STEP2[2])) { + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + * Merge: '/Merge' + */ + rtB.Merge_a0 = 2; + } else { + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step 1' + * Switch: '/Switch' + */ + rtB.Merge_a0 = 1; + } + + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Level 3' */ + break; + + case 4: + /* Outputs for IfAction SubSystem: '/Level 4' incorporates: + * ActionPort: '/Action Port' + */ + Level4_m(&rtB.Merge_a0, &rtDW.Blower_RL, &rtDW.Blower_RR, + &rtDW.CCU_MODE_RR, &rtDW.Dtg_RL, &rtDW.Dtg_RR, &rtDW.ECT, + &rtDW.Incar_RR, &EN_BATTChiller, &Comp_Max_RPM_Allowed, + &rtDW.LEVEL, &rtDW.LO_HI_MODE_RR, &rtDW.Mode_RL, &rtDW.Mode_RR, + &rtb_Switch2_by, &ShutOffRear_EN, &rtDW.t_now, &rtDW.Level4_m5); + + /* End of Outputs for SubSystem: '/Level 4' */ + break; + + case 5: + /* Outputs for IfAction SubSystem: '/Level 5' incorporates: + * ActionPort: '/Action Port' + */ + Level4_m(&rtB.Merge_a0, &rtDW.Blower_RL, &rtDW.Blower_RR, + &rtDW.CCU_MODE_RR, &rtDW.Dtg_RL, &rtDW.Dtg_RR, &rtDW.ECT, + &rtDW.Incar_RR, &EN_BATTChiller, &Comp_Max_RPM_Allowed, + &rtDW.LEVEL, &rtDW.LO_HI_MODE_RR, &rtDW.Mode_RL, &rtDW.Mode_RR, + &rtb_Switch2_by, &ShutOffRear_EN, &rtDW.t_now, &rtDW.Level5_i); + + /* End of Outputs for SubSystem: '/Level 5' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + /* End of Outputs for SubSystem: '/Step 1 R' */ + break; + + case 2: + /* Outputs for IfAction SubSystem: '/Step 2 R' incorporates: + * ActionPort: '/Action Port' + */ + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + switch (rtDW.LEVEL) { + case 0: + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' + */ + Level0_a(&rtB.Merge_a0, &rtDW.Blower_RL, &rtDW.Blower_RR, + &rtDW.Blower_logic_RR, &rtDW.CCU_MODE_FL, &rtDW.Dtg_RL, + &rtDW.Dtg_RR, &rtb_y_il, &EN_BATTChiller, &Comp_Max_RPM_Allowed, + &rtDW.LEVEL, &rtDW.LO_HI_MODE_FL, &rtDW.Mode_RL, &rtDW.Mode_RR, + &rtDW.Mode_logic_RR, &rtb_Switch2_by, &ShutOffRear_EN, + &rtDW.t_now, &rtDW.Level0_ad); + + /* End of Outputs for SubSystem: '/Level 0' */ + break; + + case 1: + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' + */ + Level0_a(&rtB.Merge_a0, &rtDW.Blower_RL, &rtDW.Blower_RR, + &rtDW.Blower_logic_RR, &rtDW.CCU_MODE_FL, &rtDW.Dtg_RL, + &rtDW.Dtg_RR, &rtb_y_il, &EN_BATTChiller, &Comp_Max_RPM_Allowed, + &rtDW.LEVEL, &rtDW.LO_HI_MODE_FL, &rtDW.Mode_RL, &rtDW.Mode_RR, + &rtDW.Mode_logic_RR, &rtb_Switch2_by, &ShutOffRear_EN, + &rtDW.t_now, &rtDW.Level1_hm); + + /* End of Outputs for SubSystem: '/Level 1' */ + break; + + case 2: + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' + */ + Level2_f(&rtB.Merge_a0, &rtDW.Blower_RL, &rtDW.Blower_RR, + &rtDW.Blower_logic_RR, &rtDW.CCU_MODE_FL, &rtDW.Dtg_RL, + &rtDW.Dtg_RR, &rtb_y_il, &rtDW.HI_logic_on, &EN_BATTChiller, + &Comp_Max_RPM_Allowed, &rtDW.LEVEL, &rtDW.LO_HI_MODE_FL, + &rtDW.Mode_RL, &rtDW.Mode_RR, &rtDW.Mode_logic_RR, + &rtb_Switch2_by, &ShutOffRear_EN, &rtDW.t_now, &rtDW.Level2_f0); + + /* End of Outputs for SubSystem: '/Level 2' */ + break; + + case 3: + /* Outputs for IfAction SubSystem: '/Level 3' incorporates: + * ActionPort: '/Action Port' + */ + Level2_f(&rtB.Merge_a0, &rtDW.Blower_RL, &rtDW.Blower_RR, + &rtDW.Blower_logic_RR, &rtDW.CCU_MODE_FL, &rtDW.Dtg_RL, + &rtDW.Dtg_RR, &rtb_y_il, &rtDW.HI_logic_on, &EN_BATTChiller, + &Comp_Max_RPM_Allowed, &rtDW.LEVEL, &rtDW.LO_HI_MODE_FL, + &rtDW.Mode_RL, &rtDW.Mode_RR, &rtDW.Mode_logic_RR, + &rtb_Switch2_by, &ShutOffRear_EN, &rtDW.t_now, &rtDW.Level3_p); + + /* End of Outputs for SubSystem: '/Level 3' */ + break; + + case 4: + /* Outputs for IfAction SubSystem: '/Level 4' incorporates: + * ActionPort: '/Action Port' + */ + Level2_f(&rtB.Merge_a0, &rtDW.Blower_RL, &rtDW.Blower_RR, + &rtDW.Blower_logic_RR, &rtDW.CCU_MODE_FL, &rtDW.Dtg_RL, + &rtDW.Dtg_RR, &rtb_y_il, &rtDW.HI_logic_on, &EN_BATTChiller, + &Comp_Max_RPM_Allowed, &rtDW.LEVEL, &rtDW.LO_HI_MODE_FL, + &rtDW.Mode_RL, &rtDW.Mode_RR, &rtDW.Mode_logic_RR, + &rtb_Switch2_by, &ShutOffRear_EN, &rtDW.t_now, &rtDW.Level4_b); + + /* End of Outputs for SubSystem: '/Level 4' */ + break; + + case 5: + /* Outputs for IfAction SubSystem: '/Level 5' incorporates: + * ActionPort: '/Action Port' + */ + Level2_f(&rtB.Merge_a0, &rtDW.Blower_RL, &rtDW.Blower_RR, + &rtDW.Blower_logic_RR, &rtDW.CCU_MODE_FL, &rtDW.Dtg_RL, + &rtDW.Dtg_RR, &rtb_y_il, &rtDW.HI_logic_on, &EN_BATTChiller, + &Comp_Max_RPM_Allowed, &rtDW.LEVEL, &rtDW.LO_HI_MODE_FL, + &rtDW.Mode_RL, &rtDW.Mode_RR, &rtDW.Mode_logic_RR, + &rtb_Switch2_by, &ShutOffRear_EN, &rtDW.t_now, &rtDW.Level5_ph); + + /* End of Outputs for SubSystem: '/Level 5' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + /* End of Outputs for SubSystem: '/Step 2 R' */ + break; + + case 3: + /* Outputs for IfAction SubSystem: '/Step 3 R' incorporates: + * ActionPort: '/Action Port' + */ + Step3F(&rtB.Merge_a0, &rtDW.start_control_finished_front); + + /* End of Outputs for SubSystem: '/Step 3 R' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.step_start_controle_rear = rtB.Merge_a0; + + /* End of Outputs for SubSystem: '/Start Control Rear' */ + } + + /* End of If: '/если SC front не завершен3' */ + + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + if (rtb_DataTypeConversion3_gs > 0) { + /* Outputs for IfAction SubSystem: '/all zone sync' incorporates: + * ActionPort: '/Action Port' + */ + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' */ rtDW.CCU_SET_FR = rtDW.CCU_SET_FL; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write1' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write1' */ rtDW.CCU_SET_RL = rtDW.CCU_SET_FL; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write2' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write2' */ rtDW.CCU_SET_RR = rtDW.CCU_SET_FL; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataStoreRead: '/Data Store Read1' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreRead: '/Data Store Read1' */ rtDW.CCU_BLOWERS_FR = rtDW.CCU_BLOWERS_FL; - /* DataStoreWrite: '/Data Store Write4' incorporates: - * DataStoreRead: '/Data Store Read1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * DataStoreRead: '/Data Store Read1' */ rtDW.CCU_BLOWERS_RL = rtDW.CCU_BLOWERS_FL; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * DataStoreRead: '/Data Store Read1' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * DataStoreRead: '/Data Store Read1' */ rtDW.CCU_BLOWERS_RR = rtDW.CCU_BLOWERS_FL; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * DataStoreRead: '/Data Store Read2' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreRead: '/Data Store Read2' */ rtDW.CCU_DEF_FR = rtDW.CCU_DEF_FL; - /* DataStoreWrite: '/Data Store Write10' incorporates: - * DataStoreRead: '/Data Store Read3' + /* DataStoreWrite: '/Data Store Write10' incorporates: + * DataStoreRead: '/Data Store Read3' */ rtDW.CCU_FACE_RL = rtDW.CCU_FACE_FL; - /* DataStoreWrite: '/Data Store Write11' incorporates: - * DataStoreRead: '/Data Store Read3' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreRead: '/Data Store Read3' */ rtDW.CCU_FACE_RR = rtDW.CCU_FACE_FL; - /* DataStoreWrite: '/Data Store Write9' incorporates: - * DataStoreRead: '/Data Store Read3' + /* DataStoreWrite: '/Data Store Write9' incorporates: + * DataStoreRead: '/Data Store Read3' */ rtDW.CCU_FACE_FR = rtDW.CCU_FACE_FL; - /* DataStoreWrite: '/Data Store Write12' incorporates: - * DataStoreRead: '/Data Store Read4' + /* DataStoreWrite: '/Data Store Write12' incorporates: + * DataStoreRead: '/Data Store Read4' */ rtDW.CCU_FOOT_FR = rtDW.CCU_FOOT_FL; - /* DataStoreWrite: '/Data Store Write13' incorporates: - * DataStoreRead: '/Data Store Read4' + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreRead: '/Data Store Read4' */ rtDW.CCU_FOOT_RL = rtDW.CCU_FOOT_FL; - /* DataStoreWrite: '/Data Store Write14' incorporates: - * DataStoreRead: '/Data Store Read4' + /* DataStoreWrite: '/Data Store Write14' incorporates: + * DataStoreRead: '/Data Store Read4' */ rtDW.CCU_FOOT_RR = rtDW.CCU_FOOT_FL; - /* DataStoreWrite: '/Data Store Write15' incorporates: - * DataStoreRead: '/Data Store Read5' + /* DataStoreWrite: '/Data Store Write15' incorporates: + * DataStoreRead: '/Data Store Read5' */ rtDW.CCU_MODE_RR = rtDW.CCU_MODE_FL; - /* DataStoreWrite: '/Data Store Write7' incorporates: - * DataStoreRead: '/Data Store Read5' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * DataStoreRead: '/Data Store Read5' */ rtDW.CCU_MODE_FR = rtDW.CCU_MODE_FL; - /* DataStoreWrite: '/Data Store Write8' incorporates: - * DataStoreRead: '/Data Store Read5' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read5' */ rtDW.CCU_MODE_RL = rtDW.CCU_MODE_FL; - /* DataStoreWrite: '/Data Store Write16' incorporates: - * DataStoreRead: '/Data Store Read6' + /* DataStoreWrite: '/Data Store Write16' incorporates: + * DataStoreRead: '/Data Store Read6' */ rtDW.CCU_AUTOMODE_FR = rtDW.CCU_AUTOMODE_FL; - /* DataStoreWrite: '/Data Store Write17' incorporates: - * DataStoreRead: '/Data Store Read6' + /* DataStoreWrite: '/Data Store Write17' incorporates: + * DataStoreRead: '/Data Store Read6' */ rtDW.CCU_AUTOMODE_RL = rtDW.CCU_AUTOMODE_FL; - /* DataStoreWrite: '/Data Store Write18' incorporates: - * DataStoreRead: '/Data Store Read6' + /* DataStoreWrite: '/Data Store Write18' incorporates: + * DataStoreRead: '/Data Store Read6' */ rtDW.CCU_AUTOMODE_RR = rtDW.CCU_AUTOMODE_FL; - /* DataStoreWrite: '/Data Store Write19' incorporates: - * DataStoreRead: '/Data Store Read7' + /* DataStoreWrite: '/Data Store Write19' incorporates: + * DataStoreRead: '/Data Store Read7' */ rtDW.CCU_AC_REAR = rtDW.CCU_AC_FRONT; - /* End of Outputs for SubSystem: '/all zone sync' */ + /* End of Outputs for SubSystem: '/all zone sync' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* If: '/If1' incorporates: - * DataStoreWrite: '/Data Store Write17' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read2' */ - if (rtB.sync_front > 0) { - /* Outputs for IfAction SubSystem: '/front sync' incorporates: - * ActionPort: '/Action Port' + if (CCU_FRONT_SYNC > 0) { + /* Outputs for IfAction SubSystem: '/front sync' incorporates: + * ActionPort: '/Action Port' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' */ rtDW.CCU_SET_FR = rtDW.CCU_SET_FL; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataStoreRead: '/Data Store Read1' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreRead: '/Data Store Read1' */ rtDW.CCU_BLOWERS_FR = rtDW.CCU_BLOWERS_FL; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * DataStoreRead: '/Data Store Read2' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreRead: '/Data Store Read2' */ rtDW.CCU_DEF_FR = rtDW.CCU_DEF_FL; - /* DataStoreWrite: '/Data Store Write9' incorporates: - * DataStoreRead: '/Data Store Read3' + /* DataStoreWrite: '/Data Store Write9' incorporates: + * DataStoreRead: '/Data Store Read3' */ rtDW.CCU_FACE_FR = rtDW.CCU_FACE_FL; - /* DataStoreWrite: '/Data Store Write12' incorporates: - * DataStoreRead: '/Data Store Read4' + /* DataStoreWrite: '/Data Store Write12' incorporates: + * DataStoreRead: '/Data Store Read4' */ rtDW.CCU_FOOT_FR = rtDW.CCU_FOOT_FL; - /* DataStoreWrite: '/Data Store Write7' incorporates: - * DataStoreRead: '/Data Store Read5' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * DataStoreRead: '/Data Store Read5' */ rtDW.CCU_MODE_FR = rtDW.CCU_MODE_FL; - /* DataStoreWrite: '/Data Store Write16' incorporates: - * DataStoreRead: '/Data Store Read6' + /* DataStoreWrite: '/Data Store Write16' incorporates: + * DataStoreRead: '/Data Store Read6' */ rtDW.CCU_AUTOMODE_FR = rtDW.CCU_AUTOMODE_FL; - /* End of Outputs for SubSystem: '/front sync' */ + /* End of Outputs for SubSystem: '/front sync' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* If: '/If2' incorporates: - * DataStoreWrite: '/Data Store Write15' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read3' */ - if (rtB.sync_rear > 0) { - /* Outputs for IfAction SubSystem: '/rear sync' incorporates: - * ActionPort: '/Action Port' + if (rtb_timer_out > 0) { + /* Outputs for IfAction SubSystem: '/rear sync' incorporates: + * ActionPort: '/Action Port' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write2' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write2' */ rtDW.CCU_SET_RL = rtDW.CCU_SET_RR; - /* DataStoreWrite: '/Data Store Write4' incorporates: - * DataStoreRead: '/Data Store Read1' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * DataStoreRead: '/Data Store Read1' */ rtDW.CCU_BLOWERS_RL = rtDW.CCU_BLOWERS_RR; - /* DataStoreWrite: '/Data Store Write17' incorporates: - * DataStoreRead: '/Data Store Read2' + /* DataStoreWrite: '/Data Store Write17' incorporates: + * DataStoreRead: '/Data Store Read2' */ rtDW.CCU_AUTOMODE_RL = rtDW.CCU_AUTOMODE_RR; - /* DataStoreWrite: '/Data Store Write10' incorporates: - * DataStoreRead: '/Data Store Read3' + /* DataStoreWrite: '/Data Store Write10' incorporates: + * DataStoreRead: '/Data Store Read3' */ rtDW.CCU_FACE_RL = rtDW.CCU_FACE_RR; - /* DataStoreWrite: '/Data Store Write13' incorporates: - * DataStoreRead: '/Data Store Read4' + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreRead: '/Data Store Read4' */ rtDW.CCU_FOOT_RL = rtDW.CCU_FOOT_RR; - /* DataStoreWrite: '/Data Store Write15' incorporates: - * DataStoreRead: '/Data Store Read5' + /* DataStoreWrite: '/Data Store Write15' incorporates: + * DataStoreRead: '/Data Store Read5' */ rtDW.CCU_MODE_RL = rtDW.CCU_MODE_RR; - /* End of Outputs for SubSystem: '/rear sync' */ + /* End of Outputs for SubSystem: '/rear sync' */ } - /* End of If: '/If2' */ + /* End of If: '/If2' */ - /* Update for Memory: '/Memory1' */ + /* Update for Memory: '/Memory1' */ rtDW.MemComp_I_Value = rtb_Gain1_f; - /* Update for Memory: '/pError' */ - rtDW.pError_PreviousInput = g_assEVA_TG_AMB_R_h; + /* Update for Memory: '/pError' */ + rtDW.pError_PreviousInput = Switch2; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/Data Store Read6' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/Data Store Read6' */ - rtDW.UnitDelay_DSTATE_lk = rtb_FLU_tg_correct_me; + rtDW.UnitDelay_DSTATE_lm = Switch3; - /* Update for UnitDelay: '/Unit Delay1' incorporates: - * DataStoreRead: '/Data Store Read7' + /* Update for UnitDelay: '/Unit Delay1' incorporates: + * DataStoreRead: '/Data Store Read7' */ rtDW.UnitDelay1_DSTATE = rtDW.Duct_RR_Tg; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE = rtb_FailCond_a; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_p = rtb_Compare_ec; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_p = rtb_Compare_edx; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_a = rtb_Compare_ni; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_a = rtb_Compare_e1; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_h = rtb_Compare_og; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_h = rtb_LogicalOperator1; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_c = rtb_Compare_ij; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_c = rtb_LogicalOperator1_dv; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_m = rtb_FailCond_kz; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_m = rtb_LogicalOperator1_n; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_j = rtb_FailCond_n2; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_j = rtb_FailCond_kd; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_f = rtb_FailCond_i4; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_f = rtb_FailCond_d; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_cn = rtb_FailCond_gv; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_cn = rtb_FailCond_ad; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_l = rtb_Compare_et; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_l = rtb_Compare_gwb; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_ja = rtb_Compare_ie; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_ja = rtb_Compare_dw; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_g = rtb_Compare_fq; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_g = rtb_Compare_ohx; - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_cd = rtb_Compare_gy; + /* Update for UnitDelay: '/Cond_prev_private ' */ + rtDW.Cond_prev_private_DSTATE_cd = rtb_Compare_pjy; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.UnitDelay_DSTATE_cb = rtDW.Incar_FL; + rtDW.UnitDelay_DSTATE_cbr = rtDW.Incar_FL; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreWrite: '/Data Store Write3' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreWrite: '/Data Store Write3' */ rtDW.UnitDelay_DSTATE_j = rtDW.Incar_FR; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreWrite: '/Data Store Write4' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreWrite: '/Data Store Write4' */ rtDW.UnitDelay_DSTATE_cs = rtDW.Incar_RL; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreWrite: '/Data Store Write5' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreWrite: '/Data Store Write5' */ - rtDW.UnitDelay_DSTATE_k = rtDW.Incar_RR; + rtDW.UnitDelay_DSTATE_k2 = rtDW.Incar_RR; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_k = rtb_Compare_i5; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_d = rtb_FailCond_jb; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_hw = rtb_FailCond_e; - /* Update for UnitDelay: '/Cond_prev_private ' */ + /* Update for UnitDelay: '/Cond_prev_private ' */ rtDW.Cond_prev_private_DSTATE_i = rtb_FailCond_l; - /* Update for UnitDelay: '/Delay Input1' + /* Update for UnitDelay: '/Delay Input1' * - * Block description for '/Delay Input1': + * Block description for '/Delay Input1': * * Store in Global RAM */ - rtDW.DelayInput1_DSTATE = rtb_Compare_hv; + rtDW.DelayInput1_DSTATE = rtB.out_auto_h; - /* Update for UnitDelay: '/Delay Input1' + /* Update for UnitDelay: '/Delay Input1' * - * Block description for '/Delay Input1': + * Block description for '/Delay Input1': * * Store in Global RAM */ - rtDW.DelayInput1_DSTATE_m = rtb_Compare_m0e; + rtDW.DelayInput1_DSTATE_h = rtB.out_auto_k; - /* Update for UnitDelay: '/Delay Input1' + /* Update for UnitDelay: '/Delay Input1' * - * Block description for '/Delay Input1': + * Block description for '/Delay Input1': * * Store in Global RAM */ - rtDW.DelayInput1_DSTATE_i = rtb_Compare_ba; + rtDW.DelayInput1_DSTATE_p = rtB.out_auto_kk; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreWrite: '/Data Store Write' + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_i = rtB.out_auto; + + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.UnitDelay_DSTATE_cu = rtDW.AMB; - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtDW.DelayInput1_DSTATE_n = rtb_Compare_oj; + /* Update for Memory: '/pError' */ + rtDW.pError_PreviousInput_g = rtb_y_fq; - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtDW.DelayInput1_DSTATE_my = rtb_Compare_dn; + /* Update for Memory: '/pError' */ + rtDW.pError_PreviousInput_p = rtb_MultiportSwitch_h; - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtDW.DelayInput1_DSTATE_a = rtb_Compare_hj; + /* Update for Memory: '/pError' */ + rtDW.pError_PreviousInput_pe = rtb_MultiportSwitch_k; - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtDW.DelayInput1_DSTATE_o = rtb_Compare_kf; + /* Update for Memory: '/pError' */ + rtDW.pError_PreviousInput_i = rtb_MultiportSwitch_ev; - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtDW.DelayInput1_DSTATE_od = rtb_Compare_pt; + /* Update for Memory: '/pError' */ + rtDW.pError_PreviousInput_b = rtb_u5FRU_tg_incar; - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtDW.DelayInput1_DSTATE_j = rtb_Compare_h2; - - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtDW.DelayInput1_DSTATE_f = rtb_Compare_au; - - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtDW.DelayInput1_DSTATE_k = rtb_Compare_iy; - - /* Update for Memory: '/pError' */ - rtDW.pError_PreviousInput_g = rtb_Switch2_p0; - - /* Update for Memory: '/pError' */ - rtDW.pError_PreviousInput_p = rtb_DeadZone8; - - /* Update for Memory: '/pError' */ - rtDW.pError_PreviousInput_pe = rtb_DeadZone7; - - /* Update for Memory: '/pError' */ - rtDW.pError_PreviousInput_b = rtb_DeadZone10; - - /* Update for Memory: '/pError' */ - rtDW.pError_PreviousInput_d = rtb_DeadZone9; - - /* Update for Memory: '/pError' */ - rtDW.pError_PreviousInput_i = rtb_Bias5; + /* Update for Memory: '/pError' */ + rtDW.pError_PreviousInput_d = rtb_Bias5; } /* Model initialize function */ @@ -33791,40 +43160,40 @@ void HVAC_model_initialize(void) { int32_t i; - /* Start for DataStoreMemory: '/Data Store Memory' */ + /* Start for DataStoreMemory: '/Data Store Memory' */ rtDW.Temp_FL_store = -9999.0; - /* Start for DataStoreMemory: '/Data Store Memory10' */ + /* Start for DataStoreMemory: '/Data Store Memory10' */ rtDW.Temp_RR_store = -9999.0; - /* Start for DataStoreMemory: '/Data Store Memory4' */ + /* Start for DataStoreMemory: '/Data Store Memory4' */ rtDW.Temp_FR_store = -9999.0; - /* Start for DataStoreMemory: '/Data Store Memory6' */ + /* Start for DataStoreMemory: '/Data Store Memory6' */ rtDW.Temp_RL_store = -9999.0; - /* Start for Switch: '/Switch1' incorporates: - * DataStoreMemory: '/Data Store Memory' + /* Start for Switch: '/Switch1' incorporates: + * DataStoreMemory: '/Data Store Memory' */ rtDW.AMB_store = -9999.0; for (i = 0; i < 9; i++) { - /* Start for DataStoreMemory: '/Data Store Memory1' */ + /* Start for DataStoreMemory: '/Data Store Memory1' */ rtDW.ErrorCalibration_private[i] = 1U; - /* Start for DataStoreMemory: '/Data Store Memory13' */ + /* Start for DataStoreMemory: '/Data Store Memory13' */ rtDW.MaxPositionCh0_private[i] = rtConstP.DataStoreMemory13_InitialValue[i]; - /* Start for DataStoreMemory: '/Data Store Memory1' */ + /* Start for DataStoreMemory: '/Data Store Memory1' */ rtDW.ErrorCalibration_private_p[i] = 1U; - /* Start for DataStoreMemory: '/Data Store Memory13' */ + /* Start for DataStoreMemory: '/Data Store Memory13' */ rtDW.MaxPositionCh1_private[i] = rtConstP.DataStoreMemory13_InitialValue_i[i]; - /* Start for DataStoreMemory: '/Data Store Memory1' */ + /* Start for DataStoreMemory: '/Data Store Memory1' */ rtDW.ErrorCalibration_private_b[i] = 1U; - /* Start for DataStoreMemory: '/Data Store Memory13' */ + /* Start for DataStoreMemory: '/Data Store Memory13' */ rtDW.MaxPositionCh2_private[i] = rtConstP.DataStoreMemory13_InitialValue_l[i]; } @@ -33841,17 +43210,17 @@ void HVAC_model_initialize(void) /* Start for DataStoreMemory: '/Data Store Memory119' */ rtDW.CCU_AUTOMODE_RR = 3U; - /* Start for DataTypeConversion: '/Data Type Conversion1' incorporates: + /* Start for DataTypeConversion: '/Data Type Conversion1' incorporates: * DataStoreMemory: '/Data Store Memory14' */ rtDW.CCU_SET_FR = 230U; - /* Start for DataTypeConversion: '/Data Type Conversion1' incorporates: + /* Start for DataTypeConversion: '/Data Type Conversion1' incorporates: * DataStoreMemory: '/Data Store Memory15' */ rtDW.CCU_SET_FL = 230U; - /* Start for DataTypeConversion: '/Data Type Conversion1' incorporates: + /* Start for DataTypeConversion: '/Data Type Conversion1' incorporates: * DataStoreMemory: '/Data Store Memory16' */ rtDW.CCU_SET_RR = 230U; @@ -33871,7 +43240,7 @@ void HVAC_model_initialize(void) /* Start for DataStoreMemory: '/Data Store Memory167' */ rtDW.PtcRelayDriver2_EN = 1U; - /* Start for DataTypeConversion: '/Data Type Conversion1' incorporates: + /* Start for DataTypeConversion: '/Data Type Conversion1' incorporates: * DataStoreMemory: '/Data Store Memory17' */ rtDW.CCU_SET_RL = 230U; @@ -33900,6 +43269,30 @@ void HVAC_model_initialize(void) /* Start for DataStoreMemory: '/Data Store Memory232' */ rtDW.step_start_controle_rear = -1; + /* Start for DataStoreMemory: '/Data Store Memory279' */ + rtDW.DRS_CFL = 3U; + + /* Start for DataStoreMemory: '/Data Store Memory282' */ + rtDW.DRS_CFR = 3U; + + /* Start for DataStoreMemory: '/Data Store Memory286' */ + rtDW.DRS_SFR = 3U; + + /* Start for DataStoreMemory: '/Data Store Memory287' */ + rtDW.DRS_SFL = 3U; + + /* Start for DataStoreMemory: '/Data Store Memory288' */ + rtDW.DRS_CRL = 3U; + + /* Start for DataStoreMemory: '/Data Store Memory289' */ + rtDW.DRS_CRR = 3U; + + /* Start for DataStoreMemory: '/Data Store Memory290' */ + rtDW.DRS_SRL = 3U; + + /* Start for DataStoreMemory: '/Data Store Memory291' */ + rtDW.DRS_SRR = 3U; + /* Start for DataStoreMemory: '/Data Store Memory42' */ rtDW.ADC_Data_Model = rtConstP.DataStoreMemory42_InitialValue; @@ -33936,25 +43329,25 @@ void HVAC_model_initialize(void) /* InitializeConditions for RateLimiter: '/Rate Limiter' */ rtDW.PrevY = 0.0; - /* InitializeConditions for UnitDelay: '/Unit Delay' */ - rtDW.UnitDelay_DSTATE_lk = -9999; + /* InitializeConditions for UnitDelay: '/Unit Delay' */ + rtDW.UnitDelay_DSTATE_lm = -9999; - /* InitializeConditions for UnitDelay: '/Unit Delay1' */ + /* InitializeConditions for UnitDelay: '/Unit Delay1' */ rtDW.UnitDelay1_DSTATE = -9999; - /* InitializeConditions for UnitDelay: '/Unit Delay' */ - rtDW.UnitDelay_DSTATE_cb = -9999; + /* InitializeConditions for UnitDelay: '/Unit Delay' */ + rtDW.UnitDelay_DSTATE_cbr = -9999; - /* InitializeConditions for UnitDelay: '/Unit Delay' */ + /* InitializeConditions for UnitDelay: '/Unit Delay' */ rtDW.UnitDelay_DSTATE_j = -9999; - /* InitializeConditions for UnitDelay: '/Unit Delay' */ + /* InitializeConditions for UnitDelay: '/Unit Delay' */ rtDW.UnitDelay_DSTATE_cs = -9999; - /* InitializeConditions for UnitDelay: '/Unit Delay' */ - rtDW.UnitDelay_DSTATE_k = -9999; + /* InitializeConditions for UnitDelay: '/Unit Delay' */ + rtDW.UnitDelay_DSTATE_k2 = -9999; - /* InitializeConditions for UnitDelay: '/Unit Delay' */ + /* InitializeConditions for UnitDelay: '/Unit Delay' */ rtDW.UnitDelay_DSTATE_cu = -9999; /* SystemInitialize for Chart: '/A//C Control' */ @@ -33990,6 +43383,11 @@ void HVAC_model_initialize(void) rtDW.is_ThreeWay_Logic = IN_NO_ACTIVE_CHILD_c; rtDW.is_TwoWay_Logic = IN_NO_ACTIVE_CHILD_c; + /* SystemInitialize for Chart: '/Chart' */ + rtB.condition = 0.0; + rtDW.is_active_c248_HVAC_model = 0U; + rtDW.is_c248_HVAC_model = IN_NO_ACTIVE_CHILD_c; + /* SystemInitialize for Chart: '/Synchronization stateflow chart' */ rtB.sync_all = 0U; rtB.sync_front = 0U; @@ -33997,17 +43395,17 @@ void HVAC_model_initialize(void) rtDW.is_active_c618_HVAC_model = 0U; rtDW.is_c618_HVAC_model = IN_NO_ACTIVE_CHILD_c; - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_b = 0U; - /* SystemInitialize for MATLAB Function: '/Log Ambient Lv' */ + /* SystemInitialize for MATLAB Function: '/Log Ambient Lv' */ rtDW.current_Ambient_Lv_not_empty = false; /* SystemInitialize for Chart: '/Spd_OSA_Trigger' */ rtDW.is_active_c834_HVAC_model = 0U; rtDW.is_c834_HVAC_model = IN_NO_ACTIVE_CHILD_c; - /* SystemInitialize for Chart: '/Chart' */ + /* SystemInitialize for Chart: '/Partial REC' */ rtB.req_OSA = 0U; rtB.req_REC = 0U; rtDW.X_prev = 0; @@ -34016,150 +43414,312 @@ void HVAC_model_initialize(void) rtDW.is_PARTIAL_REC_ON = IN_NO_ACTIVE_CHILD_c; rtDW.is_COND_2 = IN_NO_ACTIVE_CHILD_c; - /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_j = 0; - /* SystemInitialize for Merge: '/Merge1' */ + /* SystemInitialize for Merge: '/Merge1' */ rtB.Merge1_j = 0; - /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ + /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ - /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem1' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem1' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_i2 = 0; - /* SystemInitialize for Merge: '/Merge1' */ + /* SystemInitialize for Merge: '/Merge1' */ rtB.Merge1_h = 0; - /* End of SystemInitialize for SubSystem: '/If Action Subsystem1' */ + /* End of SystemInitialize for SubSystem: '/If Action Subsystem1' */ - /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem2' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem2' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_he = 0; - /* SystemInitialize for Merge: '/Merge1' */ + /* SystemInitialize for Merge: '/Merge1' */ rtB.Merge1_c = 0; - /* End of SystemInitialize for SubSystem: '/If Action Subsystem2' */ + /* End of SystemInitialize for SubSystem: '/If Action Subsystem2' */ - /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_on = 0; - /* SystemInitialize for Merge: '/Merge1' */ + /* SystemInitialize for Merge: '/Merge1' */ rtB.Merge1_g = 0; - /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ + /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ - /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem1' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem1' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_o = 0; - /* SystemInitialize for Merge: '/Merge1' */ + /* SystemInitialize for Merge: '/Merge1' */ rtB.Merge1_e = 0; - /* End of SystemInitialize for SubSystem: '/If Action Subsystem1' */ + /* End of SystemInitialize for SubSystem: '/If Action Subsystem1' */ - /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem2' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem2' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_p5 = 0; - /* SystemInitialize for Merge: '/Merge1' */ + /* SystemInitialize for Merge: '/Merge1' */ rtB.Merge1 = 0; - /* End of SystemInitialize for SubSystem: '/If Action Subsystem2' */ + /* End of SystemInitialize for SubSystem: '/If Action Subsystem2' */ - /* SystemInitialize for Chart: '/Zone_Climate_Logic_Auto_FL2' */ - Zone_Climate_Logic_Auto_FL2_Init(&rtB.out_def_a, &rtB.out_face_p, - &rtB.out_foot_e, &rtB.out_auto_c, &rtB.out_ac_h, + /* SystemInitialize for Chart: '/Zone_Climate_Logic_Auto_FL2' */ + Zone_Climate_Logic_Auto_FL2_Init(&rtB.out_def_i, &rtB.out_face_c, + &rtB.out_foot_d3, &rtB.out_auto_h, &rtB.out_ac_p, &rtDW.sf_Zone_Climate_Logic_Auto_FL2); - /* SystemInitialize for Chart: '/Zone_Climate_Logic_Auto_FL3' */ - Zone_Climate_Logic_Auto_FL2_Init(&rtB.out_def_m, &rtB.out_face_a, - &rtB.out_foot_m, &rtB.out_auto_d, &rtB.out_ac_i, + /* SystemInitialize for Chart: '/Zone_Climate_Logic_Auto_FL3' */ + Zone_Climate_Logic_Auto_FL2_Init(&rtB.out_def_k, &rtB.out_face_k, + &rtB.out_foot_d, &rtB.out_auto_k, &rtB.out_ac_b, &rtDW.sf_Zone_Climate_Logic_Auto_FL3); - /* SystemInitialize for Chart: '/Zone_Climate_Logic_Auto_FL1' */ - Zone_Climate_Logic_Auto_FL1_Init(&rtB.out_def_i, &rtB.out_face_o, - &rtB.out_foot_g, &rtB.out_auto_h, &rtB.out_ac_m, - &rtDW.sf_Zone_Climate_Logic_Auto_FL1); + /* SystemInitialize for Chart: '/Zone_Climate_Logic_Auto_FL1' */ + rtB.out_def_o = 0U; + rtB.out_face_j = 0U; + rtB.out_foot_c = 0U; + rtB.out_auto_kk = 0U; + rtB.out_ac_m = 0.0; + rtDW.is_active_c661_HVAC_model = 0U; + rtDW.is_c661_HVAC_model = IN_NO_ACTIVE_CHILD_c; + rtDW.is_AC_SUB_db = IN_NO_ACTIVE_CHILD_c; + rtDW.is_DEF_SUB_a = IN_NO_ACTIVE_CHILD_c; + rtDW.is_FACE_SUB_i = IN_NO_ACTIVE_CHILD_c; + rtDW.is_FOOT_SUB_j = IN_NO_ACTIVE_CHILD_c; + rtDW.is_AC_SUB_m = IN_NO_ACTIVE_CHILD_c; - /* SystemInitialize for Chart: '/Zone_Climate_Logic_Auto_FL4' */ - Zone_Climate_Logic_Auto_FL1_Init(&rtB.out_def, &rtB.out_face, &rtB.out_foot, - &rtB.out_auto, &rtB.out_ac, &rtDW.sf_Zone_Climate_Logic_Auto_FL4); + /* SystemInitialize for Chart: '/Zone_Climate_Logic_Auto_FL4' */ + rtB.out_def = 0U; + rtB.out_face = 0U; + rtB.out_foot = 0U; + rtB.out_auto = 0U; + rtB.out_ac = 0.0; + rtDW.is_active_c777_HVAC_model = 0U; + rtDW.is_c777_HVAC_model = IN_NO_ACTIVE_CHILD_c; + rtDW.is_AC_SUB = IN_NO_ACTIVE_CHILD_c; + rtDW.is_DEF_SUB = IN_NO_ACTIVE_CHILD_c; + rtDW.is_FACE_SUB = IN_NO_ACTIVE_CHILD_c; + rtDW.is_FOOT_SUB = IN_NO_ACTIVE_CHILD_c; + rtDW.is_AC_SUB_d = IN_NO_ACTIVE_CHILD_c; - /* SystemInitialize for Chart: '/AC_Max_Active' */ + /* SystemInitialize for Enabled SubSystem: '/Subsystem53' */ + /* SystemInitialize for Chart: '/AC_Max_Active' */ rtDW.is_active_c782_HVAC_model = 0U; rtDW.is_c782_HVAC_model = IN_NO_ACTIVE_CHILD_c; - /* SystemInitialize for Chart: '/Defrost_Active' */ + /* SystemInitialize for Chart: '/Defrost_Active' */ rtDW.is_active_c837_HVAC_model = 0U; rtDW.is_c837_HVAC_model = IN_NO_ACTIVE_CHILD_c; - /* SystemInitialize for Chart: '/Full_Rec_Active' */ + /* SystemInitialize for Chart: '/Full_Rec_Active' */ rtDW.is_active_c836_HVAC_model = 0U; rtDW.is_c836_HVAC_model = IN_NO_ACTIVE_CHILD_c; - /* SystemInitialize for IfAction SubSystem: '/Homing' */ - /* SystemInitialize for IfAction SubSystem: '/Switch Case Action Subsystem3' */ - /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ - /* Start for DataStoreMemory: '/Data Store Memory' */ + /* End of SystemInitialize for SubSystem: '/Subsystem53' */ + + /* SystemInitialize for IfAction SubSystem: '/Homing' */ + /* SystemInitialize for IfAction SubSystem: '/Switch Case Action Subsystem3' */ + /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ + /* Start for DataStoreMemory: '/Data Store Memory' */ rtDW.Start_timer_n = 1.0; - /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ MATLABFunction_Init(&rtDW.sf_MATLABFunction_h); - /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ - /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ + /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ + /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_a = 0; - /* End of SystemInitialize for SubSystem: '/Homing' */ + /* End of SystemInitialize for SubSystem: '/Homing' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_f1 = 0; - /* SystemInitialize for IfAction SubSystem: '/Homing' */ - /* SystemInitialize for IfAction SubSystem: '/Switch Case Action Subsystem3' */ - /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ - /* Start for DataStoreMemory: '/Data Store Memory' */ + /* SystemInitialize for IfAction SubSystem: '/Homing' */ + /* SystemInitialize for IfAction SubSystem: '/Switch Case Action Subsystem3' */ + /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ + /* Start for DataStoreMemory: '/Data Store Memory' */ rtDW.Start_timer_j = 1.0; - /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ MATLABFunction_Init(&rtDW.sf_MATLABFunction_hk); - /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ - /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ + /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ + /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_p = 0; - /* End of SystemInitialize for SubSystem: '/Homing' */ + /* End of SystemInitialize for SubSystem: '/Homing' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_e = 0; - /* SystemInitialize for IfAction SubSystem: '/Homing' */ - /* SystemInitialize for IfAction SubSystem: '/Switch Case Action Subsystem3' */ - /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ - /* Start for DataStoreMemory: '/Data Store Memory' */ + /* SystemInitialize for IfAction SubSystem: '/Homing' */ + /* SystemInitialize for IfAction SubSystem: '/Switch Case Action Subsystem3' */ + /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem' */ + /* Start for DataStoreMemory: '/Data Store Memory' */ rtDW.Start_timer = 1.0; - /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ MATLABFunction_Init(&rtDW.sf_MATLABFunction_g); - /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ - /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ + /* End of SystemInitialize for SubSystem: '/If Action Subsystem' */ + /* End of SystemInitialize for SubSystem: '/Switch Case Action Subsystem3' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_h3 = 0; - /* End of SystemInitialize for SubSystem: '/Homing' */ + /* End of SystemInitialize for SubSystem: '/Homing' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_b4 = 0; + + /* SystemInitialize for IfAction SubSystem: '/Start Control Front' */ + /* SystemInitialize for IfAction SubSystem: '/Step 1 F' */ + /* SystemInitialize for IfAction SubSystem: '/Level 0' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_Init(&rtDW.sf_MATLABFunction1_n); + + /* End of SystemInitialize for SubSystem: '/Level 0' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 1' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_a_Init(&rtDW.sf_MATLABFunction1_j); + + /* End of SystemInitialize for SubSystem: '/Level 1' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 3' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_a_Init(&rtDW.sf_MATLABFunction1_d); + + /* End of SystemInitialize for SubSystem: '/Level 3' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 4' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_a_Init(&rtDW.sf_MATLABFunction1_h); + + /* End of SystemInitialize for SubSystem: '/Level 4' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 5' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_a_Init(&rtDW.sf_MATLABFunction1_p); + + /* End of SystemInitialize for SubSystem: '/Level 5' */ + /* End of SystemInitialize for SubSystem: '/Step 1 F' */ + + /* SystemInitialize for IfAction SubSystem: '/Step 2 F' */ + /* SystemInitialize for IfAction SubSystem: '/Level 0' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_a_Init(&rtDW.sf_MATLABFunction1_m); + + /* End of SystemInitialize for SubSystem: '/Level 0' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 1' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_a_Init(&rtDW.sf_MATLABFunction1_i2); + + /* End of SystemInitialize for SubSystem: '/Level 1' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 3' */ + Level3_Init(&rtDW.Level3_d); + + /* End of SystemInitialize for SubSystem: '/Level 3' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 4' */ + Level3_Init(&rtDW.Level4_l); + + /* End of SystemInitialize for SubSystem: '/Level 4' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 5' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_a_Init(&rtDW.sf_MATLABFunction1_j2); + + /* End of SystemInitialize for SubSystem: '/Level 5' */ + /* End of SystemInitialize for SubSystem: '/Step 2 F' */ + + /* SystemInitialize for Merge: '/Merge' */ + rtB.Merge_pe = 0; + + /* End of SystemInitialize for SubSystem: '/Start Control Front' */ + + /* SystemInitialize for IfAction SubSystem: '/Start Control Rear' */ + /* SystemInitialize for IfAction SubSystem: '/Step 1 R' */ + /* SystemInitialize for IfAction SubSystem: '/Level 0' */ + Level0_c_Init(&rtDW.Level0_gj); + + /* End of SystemInitialize for SubSystem: '/Level 0' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 1' */ + Level0_c_Init(&rtDW.Level1_l); + + /* End of SystemInitialize for SubSystem: '/Level 1' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 2' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_Init(&rtDW.sf_MATLABFunction1_m3); + + /* End of SystemInitialize for SubSystem: '/Level 2' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 3' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_Init(&rtDW.sf_MATLABFunction1_c); + + /* End of SystemInitialize for SubSystem: '/Level 3' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 4' */ + Level4_b_Init(&rtDW.Level4_m5); + + /* End of SystemInitialize for SubSystem: '/Level 4' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 5' */ + Level4_b_Init(&rtDW.Level5_i); + + /* End of SystemInitialize for SubSystem: '/Level 5' */ + /* End of SystemInitialize for SubSystem: '/Step 1 R' */ + + /* SystemInitialize for IfAction SubSystem: '/Step 2 R' */ + /* SystemInitialize for IfAction SubSystem: '/Level 0' */ + Level0_h_Init(&rtDW.Level0_ad); + + /* End of SystemInitialize for SubSystem: '/Level 0' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 1' */ + Level0_h_Init(&rtDW.Level1_hm); + + /* End of SystemInitialize for SubSystem: '/Level 1' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 2' */ + Level2_j_Init(&rtDW.Level2_f0); + + /* End of SystemInitialize for SubSystem: '/Level 2' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 3' */ + Level2_j_Init(&rtDW.Level3_p); + + /* End of SystemInitialize for SubSystem: '/Level 3' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 4' */ + Level2_j_Init(&rtDW.Level4_b); + + /* End of SystemInitialize for SubSystem: '/Level 4' */ + + /* SystemInitialize for IfAction SubSystem: '/Level 5' */ + Level2_j_Init(&rtDW.Level5_ph); + + /* End of SystemInitialize for SubSystem: '/Level 5' */ + /* End of SystemInitialize for SubSystem: '/Step 2 R' */ + + /* SystemInitialize for Merge: '/Merge' */ + rtB.Merge_a0 = 0; + + /* End of SystemInitialize for SubSystem: '/Start Control Rear' */ } } diff --git a/HVAC_model.h b/HVAC_model.h index 013b87d..ad1eb33 100644 --- a/HVAC_model.h +++ b/HVAC_model.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'HVAC_model'. * - * Model version : 1.1397 + * Model version : 1.1446 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Fri Jul 17 14:49:32 2026 + * C/C++ source code generated on : Mon Jul 27 16:34:24 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -41,93 +41,132 @@ /* user code (top of header file) */ #include -/* Block states (default storage) for system '/Zone_Climate_Logic_Auto_FL1' */ +/* Block states (default storage) for system '/MATLAB Function1' */ typedef struct { - uint8_t is_active_c23_HVAC_model; /* '/Zone_Climate_Logic_Auto_FL1' */ - uint8_t is_c23_HVAC_model; /* '/Zone_Climate_Logic_Auto_FL1' */ - uint8_t is_AC_SUB; /* '/Zone_Climate_Logic_Auto_FL1' */ - uint8_t is_DEF_SUB; /* '/Zone_Climate_Logic_Auto_FL1' */ - uint8_t is_FACE_SUB; /* '/Zone_Climate_Logic_Auto_FL1' */ - uint8_t is_FOOT_SUB; /* '/Zone_Climate_Logic_Auto_FL1' */ - uint8_t is_AC_SUB_g; /* '/Zone_Climate_Logic_Auto_FL1' */ -} DW_Zone_Climate_Logic_Auto_FL1; + uint32_t t_start; /* '/MATLAB Function1' */ + bool t_start_not_empty; /* '/MATLAB Function1' */ +} DW_MATLABFunction1; -/* Block states (default storage) for system '/Zone_Climate_Logic_Auto_FL2' */ +/* Block states (default storage) for system '/MATLAB Function1' */ typedef struct { - uint8_t is_active_c783_HVAC_model; /* '/Zone_Climate_Logic_Auto_FL2' */ - uint8_t is_c783_HVAC_model; /* '/Zone_Climate_Logic_Auto_FL2' */ - uint8_t is_AC_SUB; /* '/Zone_Climate_Logic_Auto_FL2' */ - uint8_t is_DEF_SUB; /* '/Zone_Climate_Logic_Auto_FL2' */ - uint8_t is_FACE_SUB; /* '/Zone_Climate_Logic_Auto_FL2' */ - uint8_t is_FOOT_SUB; /* '/Zone_Climate_Logic_Auto_FL2' */ - uint8_t is_AC_SUB_b; /* '/Zone_Climate_Logic_Auto_FL2' */ + uint32_t t_start; /* '/MATLAB Function1' */ + bool t_start_not_empty; /* '/MATLAB Function1' */ +} DW_MATLABFunction1_f; + +/* Block states (default storage) for system '/Level 3' */ +typedef struct { + uint32_t UnitDelay_DSTATE; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_c; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_f; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_l; /* '/Unit Delay' */ + DW_MATLABFunction1_f sf_MATLABFunction1;/* '/MATLAB Function1' */ +} DW_Level3; + +/* Block states (default storage) for system '/Level 0' */ +typedef struct { + DW_MATLABFunction1 sf_MATLABFunction1;/* '/MATLAB Function1' */ +} DW_Level0_h; + +/* Block states (default storage) for system '/Level 4' */ +typedef struct { + DW_MATLABFunction1 sf_MATLABFunction1;/* '/MATLAB Function1' */ +} DW_Level4_h; + +/* Block states (default storage) for system '/Level 0' */ +typedef struct { + uint32_t UnitDelay_DSTATE; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_k; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_n; /* '/Unit Delay' */ + DW_MATLABFunction1 sf_MATLABFunction1;/* '/MATLAB Function1' */ +} DW_Level0_hr; + +/* Block states (default storage) for system '/Level 2' */ +typedef struct { + uint32_t UnitDelay_DSTATE; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_n; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_p; /* '/Unit Delay' */ + DW_MATLABFunction1 sf_MATLABFunction1;/* '/MATLAB Function1' */ +} DW_Level2_j; + +/* Block states (default storage) for system '/Zone_Climate_Logic_Auto_FL2' */ +typedef struct { + uint8_t is_active_c783_HVAC_model; /* '/Zone_Climate_Logic_Auto_FL2' */ + uint8_t is_c783_HVAC_model; /* '/Zone_Climate_Logic_Auto_FL2' */ + uint8_t is_AC_SUB; /* '/Zone_Climate_Logic_Auto_FL2' */ + uint8_t is_DEF_SUB; /* '/Zone_Climate_Logic_Auto_FL2' */ + uint8_t is_FACE_SUB; /* '/Zone_Climate_Logic_Auto_FL2' */ + uint8_t is_FOOT_SUB; /* '/Zone_Climate_Logic_Auto_FL2' */ + uint8_t is_AC_SUB_p; /* '/Zone_Climate_Logic_Auto_FL2' */ } DW_Zone_Climate_Logic_Auto_FL2; -/* Block states (default storage) for system '/MATLAB Function' */ +/* Block states (default storage) for system '/MATLAB Function' */ typedef struct { - double cond_prev; /* '/MATLAB Function' */ - uint32_t t_start; /* '/MATLAB Function' */ - bool t_start_not_empty; /* '/MATLAB Function' */ + double cond_prev; /* '/MATLAB Function' */ + uint32_t t_start; /* '/MATLAB Function' */ + bool t_start_not_empty; /* '/MATLAB Function' */ } DW_MATLABFunction; /* Block signals (default storage) */ typedef struct { - double out_ac; /* '/Zone_Climate_Logic_Auto_FL4' */ - double out_ac_i; /* '/Zone_Climate_Logic_Auto_FL3' */ - double out_ac_h; /* '/Zone_Climate_Logic_Auto_FL2' */ - double out_ac_m; /* '/Zone_Climate_Logic_Auto_FL1' */ + double condition; /* '/Chart' */ + double out_ac; /* '/Zone_Climate_Logic_Auto_FL4' */ + double out_ac_b; /* '/Zone_Climate_Logic_Auto_FL3' */ + double out_ac_p; /* '/Zone_Climate_Logic_Auto_FL2' */ + double out_ac_m; /* '/Zone_Climate_Logic_Auto_FL1' */ double Chiller_Only_Flag; /* '/A//C Control' */ - uint16_t MultiportSwitch[6]; /* '/Multiport Switch' */ - uint16_t MultiportSwitch_o[6]; /* '/Multiport Switch' */ - uint16_t MultiportSwitch_f[9]; /* '/Multiport Switch' */ - uint16_t MultiportSwitch_of; /* '/Multiport Switch' */ - uint16_t MultiportSwitch_j; /* '/Multiport Switch' */ - uint16_t MultiportSwitch_a; /* '/Multiport Switch' */ - uint16_t MultiportSwitch_o2; /* '/Multiport Switch' */ + uint16_t MultiportSwitch[6]; /* '/Multiport Switch' */ + uint16_t MultiportSwitch_c[6]; /* '/Multiport Switch' */ + uint16_t MultiportSwitch_e[9]; /* '/Multiport Switch' */ + uint16_t MultiportSwitch_o; /* '/Multiport Switch' */ + uint16_t MultiportSwitch_j; /* '/Multiport Switch' */ + uint16_t MultiportSwitch_a; /* '/Multiport Switch' */ + uint16_t MultiportSwitch_o2; /* '/Multiport Switch' */ int16_t Comp_Feedback_Temp; /* '/A//C Control' */ int16_t Comp_Target_Temp; /* '/A//C Control' */ - int16_t Merge1; /* '/Merge1' */ - int16_t Merge1_e; /* '/Merge1' */ - int16_t Merge1_g; /* '/Merge1' */ - int16_t Merge1_c; /* '/Merge1' */ - int16_t Merge1_h; /* '/Merge1' */ - int16_t Merge1_j; /* '/Merge1' */ - uint8_t Merge_b; /* '/Merge' */ + int16_t Merge1; /* '/Merge1' */ + int16_t Merge1_e; /* '/Merge1' */ + int16_t Merge1_g; /* '/Merge1' */ + int16_t Merge1_c; /* '/Merge1' */ + int16_t Merge1_h; /* '/Merge1' */ + int16_t Merge1_j; /* '/Merge1' */ + uint8_t Merge_b; /* '/Merge' */ uint8_t sync_all; /* '/Synchronization stateflow chart' */ uint8_t sync_front; /* '/Synchronization stateflow chart' */ uint8_t sync_rear; /* '/Synchronization stateflow chart' */ - uint8_t out_def; /* '/Zone_Climate_Logic_Auto_FL4' */ - uint8_t out_face; /* '/Zone_Climate_Logic_Auto_FL4' */ - uint8_t out_foot; /* '/Zone_Climate_Logic_Auto_FL4' */ - uint8_t out_auto; /* '/Zone_Climate_Logic_Auto_FL4' */ - uint8_t out_def_m; /* '/Zone_Climate_Logic_Auto_FL3' */ - uint8_t out_face_a; /* '/Zone_Climate_Logic_Auto_FL3' */ - uint8_t out_foot_m; /* '/Zone_Climate_Logic_Auto_FL3' */ - uint8_t out_auto_d; /* '/Zone_Climate_Logic_Auto_FL3' */ - uint8_t out_def_a; /* '/Zone_Climate_Logic_Auto_FL2' */ - uint8_t out_face_p; /* '/Zone_Climate_Logic_Auto_FL2' */ - uint8_t out_foot_e; /* '/Zone_Climate_Logic_Auto_FL2' */ - uint8_t out_auto_c; /* '/Zone_Climate_Logic_Auto_FL2' */ - uint8_t out_def_i; /* '/Zone_Climate_Logic_Auto_FL1' */ - uint8_t out_face_o; /* '/Zone_Climate_Logic_Auto_FL1' */ - uint8_t out_foot_g; /* '/Zone_Climate_Logic_Auto_FL1' */ - uint8_t out_auto_h; /* '/Zone_Climate_Logic_Auto_FL1' */ + uint8_t out_def; /* '/Zone_Climate_Logic_Auto_FL4' */ + uint8_t out_face; /* '/Zone_Climate_Logic_Auto_FL4' */ + uint8_t out_foot; /* '/Zone_Climate_Logic_Auto_FL4' */ + uint8_t out_auto; /* '/Zone_Climate_Logic_Auto_FL4' */ + uint8_t out_def_k; /* '/Zone_Climate_Logic_Auto_FL3' */ + uint8_t out_face_k; /* '/Zone_Climate_Logic_Auto_FL3' */ + uint8_t out_foot_d; /* '/Zone_Climate_Logic_Auto_FL3' */ + uint8_t out_auto_k; /* '/Zone_Climate_Logic_Auto_FL3' */ + uint8_t out_def_i; /* '/Zone_Climate_Logic_Auto_FL2' */ + uint8_t out_face_c; /* '/Zone_Climate_Logic_Auto_FL2' */ + uint8_t out_foot_d3; /* '/Zone_Climate_Logic_Auto_FL2' */ + uint8_t out_auto_h; /* '/Zone_Climate_Logic_Auto_FL2' */ + uint8_t out_def_o; /* '/Zone_Climate_Logic_Auto_FL1' */ + uint8_t out_face_j; /* '/Zone_Climate_Logic_Auto_FL1' */ + uint8_t out_foot_c; /* '/Zone_Climate_Logic_Auto_FL1' */ + uint8_t out_auto_kk; /* '/Zone_Climate_Logic_Auto_FL1' */ uint8_t Eva_Ctrl; /* '/A//C Control' */ - uint8_t req_OSA; /* '/Chart' */ - uint8_t req_REC; /* '/Chart' */ + uint8_t req_OSA; /* '/Partial REC' */ + uint8_t req_REC; /* '/Partial REC' */ uint8_t Cmd_2Way; /* '/13,1,3,15 Valve control' */ - int8_t Merge_f1; /* '/Merge' */ - int8_t Merge_e; /* '/Merge' */ - int8_t Merge_b4; /* '/Merge' */ - int8_t Merge_h3; /* '/Merge' */ - int8_t Merge_p; /* '/Merge' */ - int8_t Merge_a; /* '/Merge' */ - int8_t Merge_p5; /* '/Merge' */ - int8_t Merge_o; /* '/Merge' */ - int8_t Merge_on; /* '/Merge' */ - int8_t Merge_he; /* '/Merge' */ - int8_t Merge_i2; /* '/Merge' */ - int8_t Merge_j; /* '/Merge' */ + int8_t Merge_f1; /* '/Merge' */ + int8_t Merge_e; /* '/Merge' */ + int8_t Merge_b4; /* '/Merge' */ + int8_t Merge_h3; /* '/Merge' */ + int8_t Merge_p; /* '/Merge' */ + int8_t Merge_a; /* '/Merge' */ + int8_t Merge_a0; /* '/Merge' */ + int8_t Merge_pe; /* '/Merge' */ + int8_t Merge_p5; /* '/Merge' */ + int8_t Merge_o; /* '/Merge' */ + int8_t Merge_on; /* '/Merge' */ + int8_t Merge_he; /* '/Merge' */ + int8_t Merge_i2; /* '/Merge' */ + int8_t Merge_j; /* '/Merge' */ bool FRONT_eTXV; /* '/A//C Control' */ bool REAR_eTXV; /* '/A//C Control' */ bool Chiller_eTXV; /* '/A//C Control' */ @@ -138,8 +177,10 @@ typedef struct { dbg_Auto_Duct_Bus dbg_Auto_Duct_model;/* '/Data Store Memory234' */ CmdBusADCData ADC_Data_Model; /* '/Data Store Memory42' */ dbg_Auto_AF_Bus dbg_Auto_AF_model; /* '/Data Store Memory233' */ + LIN5_SENSON_ADR_Stat_Bus LIN5_SENSON_ADR_Stat_model;/* '/Data Store Memory262' */ dbgCAN_dbg_Sen_Duct_Bus dbgCAN_dbg_Sen_Duct_model;/* '/Data Store Memory82' */ CCUCAN_ESC_04_Bus CCUCAN_ESC_04_model;/* '/Data Store Memory141' */ + CmdCAN_CCU_STAT1_WakeUp_Bus CCU_STAT1_WAKEUP_MODEL;/* '/Data Store Memory257' */ dbg_LIN_DRS_Stat_t_Bus dbg_LIN_DRS_Stat_t_model;/* '/Data Store Memory283' */ CCUCAN_BCM_Climatic_Bus CCUCAN_BCM_Climatic_model;/* '/Data Store Memory138' */ dbgCAN_dbg_Sen_Incar_Bus dbgCAN_dbg_Sen_Incar_model;/* '/Data Store Memory157' */ @@ -148,6 +189,7 @@ typedef struct { CCUCAN_TM_CP_Bus TM_CP_model; /* '/Data Store Memory209' */ HVC_Err_Status_Msg_Bus HVC_ERR_STATUS_MSG_MODEL;/* '/Data Store Memory210' */ dbgCAN_Logic_State_Bus dbgCAN_Logic_State_model;/* '/Data Store Memory227' */ + CmdCAN_CCU_STAT2_WakeUp_Bus CCU_STAT2_WAKEUP_MODEL;/* '/Data Store Memory339' */ CmdCAN_FIU_CCU1_Bus FIU_CCU1_MODEL; /* '/Data Store Memory43' */ CmdCAN_FIU_CCU2_Bus FIU_CCU2_MODEL; /* '/Data Store Memory44' */ CCUCAN_BCM_Powertrain_Bus CCUCAN_BCM_Powertrain_model;/* '/Data Store Memory137' */ @@ -155,33 +197,40 @@ typedef struct { dbg_Logic_Ac_Bus dbg_Logic_Ac_model; /* '/Data Store Memory193' */ dbgCAN_CCU_IO_Bus dbgCAN_CCU_IO_model;/* '/Data Store Memory211' */ dbg_Logic_Valve_Plus_Bus dbg_Logic_Valve_Plus_model;/* '/Data Store Memory297' */ + dbg_LIN_Aroma_Stat_t_Bus dbg_LIN_Aroma_Stat_t_model;/* '/Data Store Memory337' */ + CCU_Msg1_WakeUp_Bus CCU_Msg1_WakeUp_model;/* '/Data Store Memory341' */ + CmdCAN_FIU_CCU3_Bus FIU_CCU3_MODEL; /* '/Data Store Memory45' */ dbgCAN_dbg_Logic_Blower_Bus dbgCAN_dbg_Logic_Blower_model;/* '/Data Store Memory64' */ + double UnitDelay_DSTATE; /* '/Unit Delay' */ + double UnitDelay_DSTATE_b; /* '/Unit Delay' */ double PrevY; /* '/Rate Limiter' */ - double Temp_FL_store; /* '/Data Store Memory' */ - double KEEP_RISING_FL_UNTIL_LIMIT; /* '/Data Store Memory1' */ - double Temp_RR_store; /* '/Data Store Memory10' */ - double KEEP_FALLING_RR_UNTIL_LIMIT; /* '/Data Store Memory11' */ - double KEEP_FALLING_FL_UNTIL_LIMIT; /* '/Data Store Memory2' */ - double KEEP_RISING_FR_UNTIL_LIMIT; /* '/Data Store Memory3' */ - double Temp_FR_store; /* '/Data Store Memory4' */ - double Temp_RL_store; /* '/Data Store Memory6' */ - double KEEP_RISING_RL_UNTIL_LIMIT; /* '/Data Store Memory7' */ - double KEEP_FALLING_RL_UNTIL_LIMIT; /* '/Data Store Memory8' */ - double KEEP_RISING_RR_UNTIL_LIMIT; /* '/Data Store Memory9' */ - double LOGGER_ACP; /* '/Data Store Memory1' */ - double AMB_store; /* '/Data Store Memory' */ - double KEEP_RISING_UNTIL_LIMIT; /* '/Data Store Memory1' */ - double KEEP_FALLING_UNTIL_LIMIT; /* '/Data Store Memory2' */ - double ErrorHomming_private; /* '/Data Store Memory2' */ - double ErrorHomming_private_h; /* '/Data Store Memory2' */ - double ErrorHomming_private_m; /* '/Data Store Memory2' */ + double Temp_FL_store; /* '/Data Store Memory' */ + double KEEP_RISING_FL_UNTIL_LIMIT; /* '/Data Store Memory1' */ + double Temp_RR_store; /* '/Data Store Memory10' */ + double KEEP_FALLING_RR_UNTIL_LIMIT; /* '/Data Store Memory11' */ + double KEEP_FALLING_FL_UNTIL_LIMIT; /* '/Data Store Memory2' */ + double KEEP_RISING_FR_UNTIL_LIMIT; /* '/Data Store Memory3' */ + double Temp_FR_store; /* '/Data Store Memory4' */ + double Temp_RL_store; /* '/Data Store Memory6' */ + double KEEP_RISING_RL_UNTIL_LIMIT; /* '/Data Store Memory7' */ + double KEEP_FALLING_RL_UNTIL_LIMIT; /* '/Data Store Memory8' */ + double KEEP_RISING_RR_UNTIL_LIMIT; /* '/Data Store Memory9' */ + double LOGGER_ACP; /* '/Data Store Memory1' */ + double AMB_store; /* '/Data Store Memory' */ + double KEEP_RISING_UNTIL_LIMIT; /* '/Data Store Memory1' */ + double KEEP_FALLING_UNTIL_LIMIT; /* '/Data Store Memory2' */ + double ErrorHomming_private; /* '/Data Store Memory2' */ + double ErrorHomming_private_h; /* '/Data Store Memory2' */ + double ErrorHomming_private_m; /* '/Data Store Memory2' */ double eCompChiller_Err; /* '/Can_Chiller1' */ double Sun_L; /* '/Data Store Memory143' */ double Sun_R; /* '/Data Store Memory144' */ + double condition_ac_max; /* '/Data Store Memory298' */ double Engine_speed; /* '/EMS_nICEngineSpeed3' */ - double Start_timer; /* '/Data Store Memory' */ - double Start_timer_j; /* '/Data Store Memory' */ - double Start_timer_n; /* '/Data Store Memory' */ + double start_control_finished_rear; /* '/SC Rear' */ + double Start_timer; /* '/Data Store Memory' */ + double Start_timer_j; /* '/Data Store Memory' */ + double Start_timer_n; /* '/Data Store Memory' */ double Cmd_RearTemp_3W; /* '/13,1,3,15 Valve control' */ double Cmd_RearTemp_2W; /* '/13,1,3,15 Valve control' */ dbgCAN_dbg_Sen_Amb_Bus dbgCAN_dbg_Sen_Amb_model;/* '/Data Store Memory142' */ @@ -190,67 +239,82 @@ typedef struct { CmdBusADCDataKey ADC_Key_Data_Model; /* '/Data Store Memory198' */ CCUCAN_OCURL_MSG_Bus CCUCAN_OCURL_MSG_model;/* '/Data Store Memory213' */ dbgCAN_Logic_Rec_Bus dbgCAN_Logic_Rec_model;/* '/Data Store Memory220' */ - LIN5_SENSON_ADR_Stat_Bus LIN5_SENSON_ADR_Stat_model;/* '/Data Store Memory262' */ LIN4_AirQS_Stat_Bus LIN4_AirQS_Stat_Model;/* '/Data Store Memory263' */ + LIN4_Aroma_Stat_Bus LIN4_Aroma_Stat_Model;/* '/Data Store Memory264' */ + LIN4_Ionizer_Stat_Bus LIN4_Ionizer_Stat_Model;/* '/Data Store Memory265' */ LIN4_CCU_Req_Bus LIN4_CCU_Req_Model; /* '/Data Store Memory269' */ dbg_Logic_Valve_Bus dbg_Logic_Valve_model;/* '/Data Store Memory270' */ dbg_LIN_AirQS_Stat_t_Bus dbg_LIN_AirQS_Stat_t_model;/* '/Data Store Memory284' */ dbg_Drs_t_Bus dbg_Drs_t_model; /* '/Data Store Memory285' */ + LIN4_ERROR_Bus LIN4_ERROR_model; /* '/Data Store Memory329' */ + dbg_LIN_Ionizer_Stat_t_Bus dbg_LIN_Ionizer_Stat_t_model;/* '/Data Store Memory336' */ dbgCAN_dbg_Act0_Bus dbgCAN_dbg_Act0_model;/* '/Data Store Memory79' */ dbgCAN_dbg_Act1_Bus dbgCAN_dbg_Act1_model;/* '/Data Store Memory80' */ dbgCAN_dbg_Act2_Bus dbgCAN_dbg_Act2_model;/* '/Data Store Memory81' */ dbgCAN_dbg_dbg_Sen_Eva_Bus dbgCAN_dbg_Sen_Eva_model;/* '/Data Store Memory83' */ - uint32_t t_start_delay_private_DSTATE;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_i;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_k;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_p;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_g;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_c;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_h;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_kc;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_m;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_pn;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_hb;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_i3;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_cc;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_o;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_oy;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_cd;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_or;/* '/t_start_delay_private ' */ - uint32_t UnitDelay_DSTATE; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_m; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_l; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_c; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_o; /* '/Unit Delay' */ - int32_t MemComp_I_Value; /* '/Memory1' */ - int32_t MemComp_I_Value_c; /* '/Memory1' */ - int32_t MemComp_I_Value_m; /* '/Memory1' */ - int32_t MemComp_I_Value_p; /* '/Memory1' */ - int32_t MemComp_I_Value_n; /* '/Memory1' */ - int32_t MemComp_I_Value_m0; /* '/Memory1' */ - int32_t MemComp_I_Value_f; /* '/Memory1' */ + uint32_t t_start_delay_private_DSTATE;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_i;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_k;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_p;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_g;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_c;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_h;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_kc;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_m;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_pn;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_hb;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_i3;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_cc;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_o;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_oy;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_cd;/* '/t_start_delay_private ' */ + uint32_t t_start_delay_private_DSTATE_or;/* '/t_start_delay_private ' */ + uint32_t UnitDelay_DSTATE_c; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_m; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_l; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_cr; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_o; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_g; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_h; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_ly; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_gu; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_mz; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_n; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_le; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_cb; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_k; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_cm; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_f; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_gc; /* '/Unit Delay' */ + int32_t MemComp_I_Value; /* '/Memory1' */ + int32_t MemComp_I_Value_c; /* '/Memory1' */ + int32_t MemComp_I_Value_m; /* '/Memory1' */ + int32_t MemComp_I_Value_p; /* '/Memory1' */ + int32_t MemComp_I_Value_f; /* '/Memory1' */ + int32_t MemComp_I_Value_n; /* '/Memory1' */ + int32_t MemComp_I_Value_m0; /* '/Memory1' */ uint32_t t_now; /* '/Data Store Memory5' */ uint32_t t_start; /* '/MATLAB Function1' */ - int16_t UnitDelay_DSTATE_lk; /* '/Unit Delay' */ - int16_t UnitDelay1_DSTATE; /* '/Unit Delay1' */ - int16_t UnitDelay_DSTATE_cb; /* '/Unit Delay' */ - int16_t UnitDelay_DSTATE_j; /* '/Unit Delay' */ - int16_t UnitDelay_DSTATE_cs; /* '/Unit Delay' */ - int16_t UnitDelay_DSTATE_k; /* '/Unit Delay' */ - int16_t UnitDelay_DSTATE_cu; /* '/Unit Delay' */ - int16_t pError_PreviousInput; /* '/pError' */ - int16_t MinPositionCh0_private[9]; /* '/Data Store Memory12' */ - int16_t MaxPositionCh0_private[9]; /* '/Data Store Memory13' */ - int16_t MinPositionCh1_private[9]; /* '/Data Store Memory12' */ - int16_t MaxPositionCh1_private[9]; /* '/Data Store Memory13' */ - int16_t MinPositionCh2_private[9]; /* '/Data Store Memory12' */ - int16_t MaxPositionCh2_private[9]; /* '/Data Store Memory13' */ - int16_t pError_PreviousInput_g; /* '/pError' */ - int16_t pError_PreviousInput_p; /* '/pError' */ - int16_t pError_PreviousInput_pe; /* '/pError' */ - int16_t pError_PreviousInput_b; /* '/pError' */ - int16_t pError_PreviousInput_d; /* '/pError' */ - int16_t pError_PreviousInput_i; /* '/pError' */ + int16_t UnitDelay_DSTATE_lm; /* '/Unit Delay' */ + int16_t UnitDelay1_DSTATE; /* '/Unit Delay1' */ + int16_t UnitDelay_DSTATE_cbr; /* '/Unit Delay' */ + int16_t UnitDelay_DSTATE_j; /* '/Unit Delay' */ + int16_t UnitDelay_DSTATE_cs; /* '/Unit Delay' */ + int16_t UnitDelay_DSTATE_k2; /* '/Unit Delay' */ + int16_t UnitDelay_DSTATE_cu; /* '/Unit Delay' */ + int16_t pError_PreviousInput; /* '/pError' */ + int16_t MinPositionCh0_private[9]; /* '/Data Store Memory12' */ + int16_t MaxPositionCh0_private[9]; /* '/Data Store Memory13' */ + int16_t MinPositionCh1_private[9]; /* '/Data Store Memory12' */ + int16_t MaxPositionCh1_private[9]; /* '/Data Store Memory13' */ + int16_t MinPositionCh2_private[9]; /* '/Data Store Memory12' */ + int16_t MaxPositionCh2_private[9]; /* '/Data Store Memory13' */ + int16_t pError_PreviousInput_g; /* '/pError' */ + int16_t pError_PreviousInput_p; /* '/pError' */ + int16_t pError_PreviousInput_pe; /* '/pError' */ + int16_t pError_PreviousInput_i; /* '/pError' */ + int16_t pError_PreviousInput_b; /* '/pError' */ + int16_t pError_PreviousInput_d; /* '/pError' */ int16_t eComp_Temp; /* '/Can_Chiller2' */ int16_t Eva_F; /* '/Data Store Memory10' */ int16_t Incar_FR; /* '/Data Store Memory11' */ @@ -266,11 +330,11 @@ typedef struct { int16_t Incar_RL; /* '/Data Store Memory8' */ int16_t Eva_R; /* '/Data Store Memory9' */ int16_t ECT; /* '/engine coolant temp' */ - int16_t X_prev; /* '/Chart' */ - uint16_t KEEP_UNTIL_SPEED_DROPS; /* '/Data Store Memory3' */ - uint16_t POS_private[9]; /* '/Data Store Memory3' */ - uint16_t POS_private_m[9]; /* '/Data Store Memory3' */ - uint16_t POS_private_h[9]; /* '/Data Store Memory3' */ + int16_t X_prev; /* '/Partial REC' */ + uint16_t KEEP_UNTIL_SPEED_DROPS; /* '/Data Store Memory3' */ + uint16_t POS_private[9]; /* '/Data Store Memory3' */ + uint16_t POS_private_m[9]; /* '/Data Store Memory3' */ + uint16_t POS_private_h[9]; /* '/Data Store Memory3' */ uint16_t CCU_SET_FR; /* '/Data Store Memory14' */ uint16_t CCU_SET_FL; /* '/Data Store Memory15' */ uint16_t CCU_SET_RR; /* '/Data Store Memory16' */ @@ -281,79 +345,95 @@ typedef struct { uint16_t Dtg_FLL; /* '/Data Store Memory34' */ uint16_t Dtg_RR; /* '/Data Store Memory52' */ uint16_t Dtg_RL; /* '/Data Store Memory53' */ + uint16_t Blower_logic_RR; /* '/Data Store Memory56' */ uint16_t VehicleSpeed; /* '/VehicleSpeed' */ uint16_t eComp_InputC; /* '/Can_Chiller3' */ - bool Cond_prev_private_DSTATE; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_p; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_a; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_h; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_c; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_m; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_j; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_f; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_cn; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_l; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_ja; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_g; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_cd; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_k; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_d; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_hw; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_i; /* '/Cond_prev_private ' */ - bool DelayInput1_DSTATE; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_m; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_i; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_n; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_my; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_a; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_o; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_od; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_j; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_f; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_k; /* '/Delay Input1' */ - int8_t stepSig_private; /* '/Data Store Memory' */ - int8_t stepHoming_private; /* '/Data Store Memory17' */ - int8_t stepSig_private_h; /* '/Data Store Memory' */ - int8_t stepHoming_private_f; /* '/Data Store Memory17' */ - int8_t stepSig_private_g; /* '/Data Store Memory' */ - int8_t stepHoming_private_a; /* '/Data Store Memory17' */ + uint8_t DelayInput1_DSTATE; /* '/Delay Input1' */ + uint8_t DelayInput1_DSTATE_h; /* '/Delay Input1' */ + uint8_t DelayInput1_DSTATE_p; /* '/Delay Input1' */ + uint8_t DelayInput1_DSTATE_i; /* '/Delay Input1' */ + bool Cond_prev_private_DSTATE; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_p; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_a; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_h; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_c; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_m; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_j; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_f; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_cn; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_l; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_ja; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_g; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_cd; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_k; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_d; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_hw; /* '/Cond_prev_private ' */ + bool Cond_prev_private_DSTATE_i; /* '/Cond_prev_private ' */ + bool DelayInput1_DSTATE_e; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_k; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_l; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_kb; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_kk; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_d; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_b; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_i3; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_c; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_m; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_ic; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_n; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_my; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_a; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_o; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_od; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_j; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_f; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_kz; /* '/Delay Input1' */ + int8_t stepSig_private; /* '/Data Store Memory' */ + int8_t stepHoming_private; /* '/Data Store Memory17' */ + int8_t stepSig_private_h; /* '/Data Store Memory' */ + int8_t stepHoming_private_f; /* '/Data Store Memory17' */ + int8_t stepSig_private_g; /* '/Data Store Memory' */ + int8_t stepHoming_private_a; /* '/Data Store Memory17' */ int8_t step_start_controle_front; /* '/Data Store Memory231' */ int8_t step_start_controle_rear; /* '/Data Store Memory232' */ int8_t Valve_individual_foot_FL; /* '/Data Store Memory300' */ int8_t Valve_individual_foot_FR; /* '/Data Store Memory301' */ - uint8_t ErrorCalibration_private[9]; /* '/Data Store Memory1' */ - uint8_t Speed_private[9]; /* '/Data Store Memory11' */ - uint8_t Coils_private[9]; /* '/Data Store Memory16' */ - uint8_t ErrorActuator[9]; /* '/Data Store Memory18' */ - uint8_t BUS_ADR_private[9]; /* '/Data Store Memory4' */ - uint8_t MODE_private[9]; /* '/Data Store Memory5' */ - uint8_t COM_private[9]; /* '/Data Store Memory6' */ - uint8_t Stall_private[9]; /* '/Data Store Memory7' */ - uint8_t Lnoise_private[9]; /* '/Data Store Memory8' */ - uint8_t Autos_private[9]; /* '/Data Store Memory9' */ - uint8_t ErrorCalibration_private_p[9];/* '/Data Store Memory1' */ - uint8_t Speed_private_j[9]; /* '/Data Store Memory11' */ - uint8_t Coils_private_c[9]; /* '/Data Store Memory16' */ - uint8_t ErrorActuator_o[9]; /* '/Data Store Memory18' */ - uint8_t BUS_ADR_private_j[9]; /* '/Data Store Memory4' */ - uint8_t MODE_private_b[9]; /* '/Data Store Memory5' */ - uint8_t COM_private_g[9]; /* '/Data Store Memory6' */ - uint8_t Stall_private_l[9]; /* '/Data Store Memory7' */ - uint8_t Lnoise_private_n[9]; /* '/Data Store Memory8' */ - uint8_t Autos_private_n[9]; /* '/Data Store Memory9' */ - uint8_t ErrorCalibration_private_b[9];/* '/Data Store Memory1' */ - uint8_t Speed_private_b[9]; /* '/Data Store Memory11' */ - uint8_t Coils_private_l[9]; /* '/Data Store Memory16' */ - uint8_t ErrorActuator_a[9]; /* '/Data Store Memory18' */ - uint8_t BUS_ADR_private_a[9]; /* '/Data Store Memory4' */ - uint8_t MODE_private_c[9]; /* '/Data Store Memory5' */ - uint8_t COM_private_k[9]; /* '/Data Store Memory6' */ - uint8_t Stall_private_f[9]; /* '/Data Store Memory7' */ - uint8_t Lnoise_private_g[9]; /* '/Data Store Memory8' */ - uint8_t Autos_private_g[9]; /* '/Data Store Memory9' */ + int8_t start_control_finished_front; /* '/SC Front' */ + uint8_t ErrorCalibration_private[9]; /* '/Data Store Memory1' */ + uint8_t Speed_private[9]; /* '/Data Store Memory11' */ + uint8_t Coils_private[9]; /* '/Data Store Memory16' */ + uint8_t ErrorActuator[9]; /* '/Data Store Memory18' */ + uint8_t BUS_ADR_private[9]; /* '/Data Store Memory4' */ + uint8_t MODE_private[9]; /* '/Data Store Memory5' */ + uint8_t COM_private[9]; /* '/Data Store Memory6' */ + uint8_t Stall_private[9]; /* '/Data Store Memory7' */ + uint8_t Lnoise_private[9]; /* '/Data Store Memory8' */ + uint8_t Autos_private[9]; /* '/Data Store Memory9' */ + uint8_t ErrorCalibration_private_p[9];/* '/Data Store Memory1' */ + uint8_t Speed_private_j[9]; /* '/Data Store Memory11' */ + uint8_t Coils_private_c[9]; /* '/Data Store Memory16' */ + uint8_t ErrorActuator_o[9]; /* '/Data Store Memory18' */ + uint8_t BUS_ADR_private_j[9]; /* '/Data Store Memory4' */ + uint8_t MODE_private_b[9]; /* '/Data Store Memory5' */ + uint8_t COM_private_g[9]; /* '/Data Store Memory6' */ + uint8_t Stall_private_l[9]; /* '/Data Store Memory7' */ + uint8_t Lnoise_private_n[9]; /* '/Data Store Memory8' */ + uint8_t Autos_private_n[9]; /* '/Data Store Memory9' */ + uint8_t ErrorCalibration_private_b[9];/* '/Data Store Memory1' */ + uint8_t Speed_private_b[9]; /* '/Data Store Memory11' */ + uint8_t Coils_private_l[9]; /* '/Data Store Memory16' */ + uint8_t ErrorActuator_a[9]; /* '/Data Store Memory18' */ + uint8_t BUS_ADR_private_a[9]; /* '/Data Store Memory4' */ + uint8_t MODE_private_c[9]; /* '/Data Store Memory5' */ + uint8_t COM_private_k[9]; /* '/Data Store Memory6' */ + uint8_t Stall_private_f[9]; /* '/Data Store Memory7' */ + uint8_t Lnoise_private_g[9]; /* '/Data Store Memory8' */ + uint8_t Autos_private_g[9]; /* '/Data Store Memory9' */ uint8_t eCompChiller_Req; /* '/Can_Chiller' */ uint8_t CCU_ActuatorErrF_Stat_private;/* '/Data Store Memory' */ uint8_t dtc_state_error_model[127]; /* '/Data Store Memory1' */ + uint8_t CCU_SET_FOOT_RL; /* '/Data Store Memory106' */ + uint8_t CCU_SET_FOOT_RR; /* '/Data Store Memory107' */ uint8_t CCU_MODE_RL; /* '/Data Store Memory108' */ uint8_t CCU_FACE_RL; /* '/Data Store Memory110' */ uint8_t CCU_FOOT_RL; /* '/Data Store Memory111' */ @@ -396,7 +476,9 @@ typedef struct { uint8_t changed_FR_params; /* '/Data Store Memory204' */ uint8_t changed_RL_params; /* '/Data Store Memory205' */ uint8_t changed_RR_params; /* '/Data Store Memory206' */ - uint8_t SeatOccupied; /* '/Data Store Memory214' */ + uint8_t CCU_Defrost; /* '/Data Store Memory207' */ + uint8_t CCU_AC_MAX; /* '/Data Store Memory208' */ + uint8_t SeatOccupiedRL; /* '/Data Store Memory214' */ uint8_t Full_Rec; /* '/Data Store Memory216' */ uint8_t LO_HI_MODE_FR; /* '/Data Store Memory217' */ uint8_t LO_HI_MODE_RR; /* '/Data Store Memory218' */ @@ -405,17 +487,45 @@ typedef struct { uint8_t LO_HI_MODE_RL; /* '/Data Store Memory224' */ uint8_t CAN_LoHi_Front; /* '/Data Store Memory228' */ uint8_t Mode_FL; /* '/Data Store Memory23' */ + uint8_t CCU_EvaTempSenErrR_Stat; /* '/Data Store Memory254' */ + uint8_t CCU_EvaTempSenErrF_Stat; /* '/Data Store Memory255' */ + uint8_t CCU_PressSenErr_Stat; /* '/Data Store Memory256' */ uint8_t Index_mode_FL_manual; /* '/Data Store Memory258' */ uint8_t Blower_FR; /* '/Data Store Memory26' */ uint8_t Index_mode_RL_manual; /* '/Data Store Memory260' */ uint8_t Index_mode_RR_manual; /* '/Data Store Memory261' */ uint8_t Blower_FL; /* '/Data Store Memory27' */ + uint8_t DRS_CFL; /* '/Data Store Memory279' */ + uint8_t DRS_CFR; /* '/Data Store Memory282' */ + uint8_t DRS_SFR; /* '/Data Store Memory286' */ + uint8_t DRS_SFL; /* '/Data Store Memory287' */ + uint8_t DRS_CRL; /* '/Data Store Memory288' */ + uint8_t DRS_CRR; /* '/Data Store Memory289' */ + uint8_t DRS_SRL; /* '/Data Store Memory290' */ + uint8_t DRS_SRR; /* '/Data Store Memory291' */ + uint8_t AirQS_NH3Lvl; /* '/Data Store Memory294' */ + uint8_t AirQS_NOxLvl; /* '/Data Store Memory295' */ + uint8_t AirQS_COLvl; /* '/Data Store Memory296' */ uint8_t ModeIndex[4]; /* '/Data Store Memory304' */ uint8_t Air_status; /* '/Data Store Memory313' */ + uint8_t Aroma_CartridgeFlavor; /* '/Data Store Memory314' */ + uint8_t Aroma_CartridgeCapacity; /* '/Data Store Memory317' */ uint8_t Blower_RR; /* '/Data Store Memory32' */ + uint8_t Aroma_CartridgeSw; /* '/Data Store Memory320' */ + uint8_t Aroma_status; /* '/Data Store Memory321' */ + uint8_t CCU_AirQualSenErr_Stat; /* '/Data Store Memory326' */ + uint8_t CCU_AromaErr_Stat; /* '/Data Store Memory327' */ + uint8_t CCU_IonizationErr_Stat; /* '/Data Store Memory328' */ + uint8_t CCU_DeflectorSwErrR_Stat; /* '/Data Store Memory330' */ + uint8_t CCU_DeflectorSwErrF_Stat; /* '/Data Store Memory331' */ + uint8_t CCU_Ionization; /* '/Data Store Memory335' */ + uint8_t sleep_model; /* '/Data Store Memory338' */ + uint8_t Blower_logic_FL; /* '/Data Store Memory37' */ + uint8_t Mode_logic_FL; /* '/Data Store Memory39' */ uint8_t Blower_RL; /* '/Data Store Memory49' */ uint8_t Mode_RR; /* '/Data Store Memory50' */ uint8_t Mode_RL; /* '/Data Store Memory51' */ + uint8_t Mode_logic_RR; /* '/Data Store Memory54' */ uint8_t CCU_ActuatorErrR_Stat_private;/* '/Data Store Memory67' */ uint8_t CCU_SET_FOOT_FL; /* '/Data Store Memory76' */ uint8_t CCU_SET_FOOT_FR; /* '/Data Store Memory77' */ @@ -437,12 +547,28 @@ typedef struct { /* '/Synchronization stateflow chart' */ uint8_t is_c618_HVAC_model; /* '/Synchronization stateflow chart' */ uint8_t is_running; /* '/MATLAB Function1' */ - uint8_t is_active_c836_HVAC_model; /* '/Full_Rec_Active' */ - uint8_t is_c836_HVAC_model; /* '/Full_Rec_Active' */ - uint8_t is_active_c837_HVAC_model; /* '/Defrost_Active' */ - uint8_t is_c837_HVAC_model; /* '/Defrost_Active' */ - uint8_t is_active_c782_HVAC_model; /* '/AC_Max_Active' */ - uint8_t is_c782_HVAC_model; /* '/AC_Max_Active' */ + uint8_t is_active_c248_HVAC_model; /* '/Chart' */ + uint8_t is_c248_HVAC_model; /* '/Chart' */ + uint8_t is_active_c836_HVAC_model; /* '/Full_Rec_Active' */ + uint8_t is_c836_HVAC_model; /* '/Full_Rec_Active' */ + uint8_t is_active_c837_HVAC_model; /* '/Defrost_Active' */ + uint8_t is_c837_HVAC_model; /* '/Defrost_Active' */ + uint8_t is_active_c782_HVAC_model; /* '/AC_Max_Active' */ + uint8_t is_c782_HVAC_model; /* '/AC_Max_Active' */ + uint8_t is_active_c777_HVAC_model; /* '/Zone_Climate_Logic_Auto_FL4' */ + uint8_t is_c777_HVAC_model; /* '/Zone_Climate_Logic_Auto_FL4' */ + uint8_t is_AC_SUB; /* '/Zone_Climate_Logic_Auto_FL4' */ + uint8_t is_DEF_SUB; /* '/Zone_Climate_Logic_Auto_FL4' */ + uint8_t is_FACE_SUB; /* '/Zone_Climate_Logic_Auto_FL4' */ + uint8_t is_FOOT_SUB; /* '/Zone_Climate_Logic_Auto_FL4' */ + uint8_t is_AC_SUB_d; /* '/Zone_Climate_Logic_Auto_FL4' */ + uint8_t is_active_c661_HVAC_model; /* '/Zone_Climate_Logic_Auto_FL1' */ + uint8_t is_c661_HVAC_model; /* '/Zone_Climate_Logic_Auto_FL1' */ + uint8_t is_AC_SUB_db; /* '/Zone_Climate_Logic_Auto_FL1' */ + uint8_t is_DEF_SUB_a; /* '/Zone_Climate_Logic_Auto_FL1' */ + uint8_t is_FACE_SUB_i; /* '/Zone_Climate_Logic_Auto_FL1' */ + uint8_t is_FOOT_SUB_j; /* '/Zone_Climate_Logic_Auto_FL1' */ + uint8_t is_AC_SUB_m; /* '/Zone_Climate_Logic_Auto_FL1' */ uint8_t is_active_c621_HVAC_model; /* '/A//C Control' */ uint8_t is_PRESSURE_MONITOR; /* '/A//C Control' */ uint8_t is_FRONT_CONTOUR; /* '/A//C Control' */ @@ -452,40 +578,61 @@ typedef struct { uint8_t is_COMP_PROTECTION; /* '/A//C Control' */ uint8_t is_active_c834_HVAC_model; /* '/Spd_OSA_Trigger' */ uint8_t is_c834_HVAC_model; /* '/Spd_OSA_Trigger' */ - uint8_t is_active_c776_HVAC_model; /* '/Chart' */ - uint8_t is_c776_HVAC_model; /* '/Chart' */ - uint8_t is_PARTIAL_REC_ON; /* '/Chart' */ - uint8_t is_COND_2; /* '/Chart' */ + uint8_t is_active_c776_HVAC_model; /* '/Partial REC' */ + uint8_t is_c776_HVAC_model; /* '/Partial REC' */ + uint8_t is_PARTIAL_REC_ON; /* '/Partial REC' */ + uint8_t is_COND_2; /* '/Partial REC' */ uint8_t is_active_c775_HVAC_model; /* '/13,1,3,15 Valve control' */ uint8_t is_ThreeWay_Logic; /* '/13,1,3,15 Valve control' */ uint8_t is_TwoWay_Logic; /* '/13,1,3,15 Valve control' */ - uint8_t current_Ambient_Lv; /* '/Log Ambient Lv' */ + uint8_t current_Ambient_Lv; /* '/Log Ambient Lv' */ + bool HI_logic_on; /* '/Data Store Memory48' */ bool t_start_not_empty; /* '/MATLAB Function1' */ bool Pressure_Condition_table_OK; /* '/A//C Control' */ bool Chiller_Start_request; /* '/A//C Control' */ bool Pressure_Hi_Fault; /* '/A//C Control' */ bool FRONT_Start_request; /* '/A//C Control' */ bool REAR_Start_request; /* '/A//C Control' */ - bool current_Ambient_Lv_not_empty; /* '/Log Ambient Lv' */ - DW_MATLABFunction sf_MATLABFunction_g;/* '/MATLAB Function' */ - DW_MATLABFunction sf_MATLABFunction_hk;/* '/MATLAB Function' */ - DW_MATLABFunction sf_MATLABFunction_h;/* '/MATLAB Function' */ - DW_Zone_Climate_Logic_Auto_FL1 sf_Zone_Climate_Logic_Auto_FL4;/* '/Zone_Climate_Logic_Auto_FL4' */ - DW_Zone_Climate_Logic_Auto_FL2 sf_Zone_Climate_Logic_Auto_FL3;/* '/Zone_Climate_Logic_Auto_FL3' */ - DW_Zone_Climate_Logic_Auto_FL2 sf_Zone_Climate_Logic_Auto_FL2;/* '/Zone_Climate_Logic_Auto_FL2' */ - DW_Zone_Climate_Logic_Auto_FL1 sf_Zone_Climate_Logic_Auto_FL1;/* '/Zone_Climate_Logic_Auto_FL1' */ + bool current_Ambient_Lv_not_empty; /* '/Log Ambient Lv' */ + DW_MATLABFunction sf_MATLABFunction_g;/* '/MATLAB Function' */ + DW_MATLABFunction sf_MATLABFunction_hk;/* '/MATLAB Function' */ + DW_MATLABFunction sf_MATLABFunction_h;/* '/MATLAB Function' */ + DW_Zone_Climate_Logic_Auto_FL2 sf_Zone_Climate_Logic_Auto_FL3;/* '/Zone_Climate_Logic_Auto_FL3' */ + DW_Zone_Climate_Logic_Auto_FL2 sf_Zone_Climate_Logic_Auto_FL2;/* '/Zone_Climate_Logic_Auto_FL2' */ + DW_Level2_j Level5_ph; /* '/Level 5' */ + DW_Level2_j Level4_b; /* '/Level 4' */ + DW_Level2_j Level3_p; /* '/Level 3' */ + DW_Level2_j Level2_f0; /* '/Level 2' */ + DW_Level0_hr Level1_hm; /* '/Level 1' */ + DW_Level0_hr Level0_ad; /* '/Level 0' */ + DW_Level4_h Level5_i; /* '/Level 5' */ + DW_Level4_h Level4_m5; /* '/Level 4' */ + DW_MATLABFunction1 sf_MATLABFunction1_c;/* '/MATLAB Function1' */ + DW_MATLABFunction1 sf_MATLABFunction1_m3;/* '/MATLAB Function1' */ + DW_Level0_h Level1_l; /* '/Level 1' */ + DW_Level0_h Level0_gj; /* '/Level 0' */ + DW_MATLABFunction1_f sf_MATLABFunction1_j2;/* '/MATLAB Function1' */ + DW_Level3 Level4_l; /* '/Level 4' */ + DW_Level3 Level3_d; /* '/Level 3' */ + DW_MATLABFunction1_f sf_MATLABFunction1_i2;/* '/MATLAB Function1' */ + DW_MATLABFunction1_f sf_MATLABFunction1_m;/* '/MATLAB Function1' */ + DW_MATLABFunction1_f sf_MATLABFunction1_p;/* '/MATLAB Function1' */ + DW_MATLABFunction1_f sf_MATLABFunction1_h;/* '/MATLAB Function1' */ + DW_MATLABFunction1_f sf_MATLABFunction1_d;/* '/MATLAB Function1' */ + DW_MATLABFunction1_f sf_MATLABFunction1_j;/* '/MATLAB Function1' */ + DW_MATLABFunction1 sf_MATLABFunction1_n;/* '/MATLAB Function1' */ } DW; -/* Invariant block signals for system '/If Action Subsystem1' */ +/* Invariant block signals for system '/If Action Subsystem1' */ typedef struct { - const uint8_t DataTypeConversion[9]; /* '/Data Type Conversion' */ + const uint8_t DataTypeConversion[9]; /* '/Data Type Conversion' */ } ConstB_IfActionSubsystem1_j; /* Invariant block signals (default storage) */ typedef struct { - ConstB_IfActionSubsystem1_j IfActionSubsystem1_fn;/* '/If Action Subsystem1' */ - ConstB_IfActionSubsystem1_j IfActionSubsystem1_c;/* '/If Action Subsystem1' */ - ConstB_IfActionSubsystem1_j IfActionSubsystem1_hm;/* '/If Action Subsystem1' */ + ConstB_IfActionSubsystem1_j IfActionSubsystem1_fn;/* '/If Action Subsystem1' */ + ConstB_IfActionSubsystem1_j IfActionSubsystem1_c;/* '/If Action Subsystem1' */ + ConstB_IfActionSubsystem1_j IfActionSubsystem1_hm;/* '/If Action Subsystem1' */ } ConstB; /* Constant parameters (default storage) */ @@ -498,306 +645,322 @@ typedef struct { /* Pooled Parameter (Expression: [850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 836 818 800 784 769 754 740 727 714 702 691 680 670 659 650 640 631 622 614 606 598 590 583 575 568 561 555 548 542 536 530 524 518 512 507 501 496 491 486 481 476 471 466 462 457 453 448 444 440 436 431 427 423 420 416 412 408 405 401 397 394 390 387 384 380 377 374 370 367 364 361 358 355 352 349 346 343 340 338 335 332 329 327 324 321 319 316 314 311 309 306 304 301 299 297 294 292 289 287 285 283 280 278 276 274 272 269 267 265 263 261 259 257 255 253 251 249 247 245 243 241 239 237 235 234 232 230 228 226 224 223 221 219 217 216 214 212 210 209 207 205 204 202 200 199 197 195 194 192 191 189 187 186 184 183 181 180 178 177 175 174 172 171 169 168 166 165 163 162 161 159 158 156 155 153 152 151 149 148 147 145 144 143 141 140 139 137 136 135 133 132 131 129 128 127 126 124 123 122 121 119 118 117 116 115 113 112 111 110 109 107 106 105 104 103 101 100 99 98 97 96 95 93 92 91 90 89 88 87 86 84 83 82 81 80 79 78 77 76 75 74 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 29 28 27 26 25 24 23 22 21 20 19 18 17 17 16 15 14 13 12 11 10 9 8 8 7 6 5 4 3 2 1 0 0 0 -1 -2 -3 -4 -5 -5 -6 -7 -8 -9 -10 -11 -11 -12 -13 -14 -15 -16 -17 -17 -18 -19 -20 -21 -22 -22 -23 -24 -25 -26 -27 -27 -28 -29 -30 -31 -31 -32 -33 -34 -35 -36 -36 -37 -38 -39 -40 -40 -41 -42 -43 -44 -44 -45 -46 -47 -47 -48 -49 -50 -51 -51 -52 -53 -54 -55 -55 -56 -57 -58 -58 -59 -60 -61 -62 -62 -63 -64 -65 -65 -66 -67 -68 -68 -69 -70 -71 -71 -72 -73 -74 -74 -75 -76 -77 -77 -78 -79 -80 -80 -81 -82 -83 -83 -84 -85 -86 -86 -87 -88 -89 -89 -90 -91 -92 -92 -93 -94 -95 -95 -96 -97 -97 -98 -99 -100 -100 -101 -102 -103 -103 -104 -105 -105 -106 -107 -108 -108 -109 -110 -111 -111 -112 -113 -113 -114 -115 -116 -116 -117 -118 -118 -119 -120 -121 -121 -122 -123 -123 -124 -125 -126 -126 -127 -128 -128 -129 -130 -131 -131 -132 -133 -133 -134 -135 -136 -136 -137 -138 -138 -139 -140 -140 -141 -142 -143 -143 -144 -145 -145 -146 -147 -148 -148 -149 -150 -150 -151 -152 -152 -153 -154 -155 -155 -156 -157 -157 -158 -159 -159 -160 -161 -162 -162 -163 -164 -164 -165 -166 -166 -167 -168 -169 -169 -170 -171 -171 -172 -173 -173 -174 -175 -176 -176 -177 -178 -178 -179 -180 -180 -181 -182 -183 -183 -184 -185 -185 -186 -187 -187 -188 -189 -189 -190 -191 -192 -192 -193 -194 -194 -195 -196 -196 -197 -198 -199 -199 -200 -201 -201 -202 -203 -204 -204 -205 -206 -206 -207 -208 -208 -209 -210 -211 -211 -212 -213 -213 -214 -215 -216 -216 -217 -218 -218 -219 -220 -221 -221 -222 -223 -223 -224 -225 -226 -226 -227 -228 -228 -229 -230 -231 -231 -232 -233 -233 -234 -235 -236 -236 -237 -238 -238 -239 -240 -241 -241 -242 -243 -244 -244 -245 -246 -246 -247 -248 -249 -249 -250 -251 -252 -252 -253 -254 -255 -255 -256 -257 -257 -258 -259 -260 -260 -261 -262 -263 -263 -264 -265 -266 -266 -267 -268 -269 -269 -270 -271 -272 -272 -273 -274 -275 -275 -276 -277 -278 -279 -279 -280 -281 -282 -282 -283 -284 -285 -285 -286 -287 -288 -289 -289 -290 -291 -292 -292 -293 -294 -295 -296 -296 -297 -298 -299 -300 -300 -301 -302 -303 -304 -304 -305 -306 -307 -308 -308 -309 -310 -311 -312 -313 -313 -314 -315 -316 -317 -318 -318 -319 -320 -321 -322 -323 -323 -324 -325 -326 -327 -328 -329 -329 -330 -331 -332 -333 -334 -335 -335 -336 -337 -338 -339 -340 -341 -342 -342 -343 -344 -345 -346 -347 -348 -349 -350 -351 -351 -352 -353 -354 -355 -356 -357 -358 -359 -360 -361 -362 -363 -364 -364 -365 -366 -367 -368 -369 -370 -371 -372 -373 -374 -375 -376 -377 -378 -379 -380 -381 -382 -383 -384 -385 -386 -387 -388 -389 -390 -391 -392 -393 -394 -395 -396 -398 -399 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 ]) * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table' + * '/1-D Lookup Table' + * '/1-D Lookup Table' */ - double pooled3[1024]; + double pooled7[1024]; /* Expression: [zeros(1, 85), linspace(0.268534, 390.3364, 1024-85)] - * Referenced by: '/1-D Lookup Table' + * Referenced by: '/1-D Lookup Table' */ double uDLookupTable_tableData[1024]; /* Pooled Parameter (Expression: Incar_Temp_Table) * Referenced by: - * '/1-D Lookup Table2' - * '/1-D Lookup Table4' - * '/1-D Lookup Table1' - * '/1-D Lookup Table3' + * '/1-D Lookup Table2' + * '/1-D Lookup Table4' + * '/1-D Lookup Table1' + * '/1-D Lookup Table3' */ - double pooled34[1024]; + double pooled37[1024]; /* Pooled Parameter (Expression: [17 18 19 20 21 22 23 24 25 26 27 28 29]) * Referenced by: - * '/Выбор режима Left' - * '/Выбор режима Right' + * '/Выбор режима Left' + * '/Выбор режима Right' */ - uint32_t pooled44[2]; + uint32_t pooled48[2]; /* Pooled Parameter (Expression: [170:10:290]) * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' */ - int16_t pooled46[13]; + int16_t pooled51[13]; /* Pooled Parameter (Expression: [5, 4, 3, 2, 1, 0]) * Referenced by: - * '/1-D Lookup Table' - * '/Get LVL for temp' + * '/1-D Lookup Table' + * '/Get LVL for temp' */ - int16_t pooled47[6]; + int16_t pooled52[6]; /* Computed Parameter: GetLVLfortemp_bp01Data - * Referenced by: '/Get LVL for temp' + * Referenced by: '/Get LVL for temp' */ int16_t GetLVLfortemp_bp01Data[6]; /* Pooled Parameter (Expression: [0;1;2;3;4;5]) * Referenced by: - * '/Выбор режима Left' - * '/Выбор режима Right' + * '/Выбор режима Left' + * '/Выбор режима Right' */ - int16_t pooled58[13]; + int16_t pooled63[13]; /* Pooled Parameter (Expression: [850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 848 845 841 838 834 831 827 824 821 818 814 811 808 805 802 799 796 793 790 787 784 781 778 775 772 769 767 764 761 758 756 753 750 748 745 742 740 737 735 732 730 727 725 722 720 717 715 713 710 708 706 703 701 699 696 694 692 690 688 685 683 681 679 677 675 673 670 668 666 664 662 660 658 656 654 652 650 648 646 644 642 640 638 637 635 633 631 629 627 625 624 622 620 618 616 614 613 611 609 607 606 604 602 600 599 597 595 594 592 590 589 587 585 584 582 580 579 577 576 574 572 571 569 568 566 564 563 561 560 558 557 555 554 552 551 549 548 546 545 543 542 540 539 537 536 534 533 532 530 529 527 526 524 523 522 520 519 517 516 515 513 512 511 509 508 507 505 504 503 501 500 499 497 496 495 493 492 491 489 488 487 485 484 483 482 480 479 478 477 475 474 473 472 470 469 468 467 465 464 463 462 460 459 458 457 456 454 453 452 451 450 448 447 446 445 444 442 441 440 439 438 437 435 434 433 432 431 430 429 427 426 425 424 423 422 421 420 418 417 416 415 414 413 412 411 410 408 407 406 405 404 403 402 401 400 399 398 396 395 394 393 392 391 390 389 388 387 386 385 384 383 382 381 380 378 377 376 375 374 373 372 371 370 369 368 367 366 365 364 363 362 361 360 359 358 357 356 355 354 353 352 351 350 349 348 347 346 345 344 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 327 326 325 324 324 323 322 321 320 319 318 317 316 315 314 313 312 311 310 309 308 307 306 305 305 304 303 302 301 300 299 298 297 296 295 294 293 292 291 291 290 289 288 287 286 285 284 283 282 281 280 279 279 278 277 276 275 274 273 272 271 270 269 268 268 267 266 265 264 263 262 261 260 259 259 258 257 256 255 254 253 252 251 250 250 249 248 247 246 245 244 243 242 241 241 240 239 238 237 236 235 234 233 233 232 231 230 229 228 227 226 225 224 224 223 222 221 220 219 218 217 217 216 215 214 213 212 211 210 209 209 208 207 206 205 204 203 202 201 201 200 199 198 197 196 195 194 194 193 192 191 190 189 188 187 186 186 185 184 183 182 181 180 179 179 178 177 176 175 174 173 172 171 171 170 169 168 167 166 165 164 163 163 162 161 160 159 158 157 156 155 155 154 153 152 151 150 149 148 147 147 146 145 144 143 142 141 140 139 139 138 137 136 135 134 133 132 131 130 130 129 128 127 126 125 124 123 122 121 121 120 119 118 117 116 115 114 113 112 112 111 110 109 108 107 106 105 104 103 102 101 101 100 99 98 97 96 95 94 93 92 91 90 89 88 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 3 2 1 0 0 -1 -2 -3 -4 -5 -6 -7 -9 -10 -11 -12 -13 -14 -15 -16 -17 -19 -20 -21 -22 -23 -24 -25 -26 -28 -29 -30 -31 -32 -33 -34 -36 -37 -38 -39 -40 -42 -43 -44 -45 -46 -47 -49 -50 -51 -52 -54 -55 -56 -57 -58 -60 -61 -62 -63 -65 -66 -67 -68 -70 -71 -72 -74 -75 -76 -77 -79 -80 -81 -83 -84 -85 -87 -88 -89 -91 -92 -93 -95 -96 -98 -99 -100 -102 -103 -105 -106 -108 -109 -110 -112 -113 -115 -116 -118 -119 -121 -122 -124 -125 -127 -128 -130 -131 -133 -134 -136 -138 -139 -141 -142 -144 -146 -147 -149 -151 -152 -154 -156 -157 -159 -161 -162 -164 -166 -168 -169 -171 -173 -175 -177 -179 -180 -182 -184 -186 -188 -190 -192 -194 -196 -198 -200 -202 -204 -206 -208 -210 -212 -214 -216 -218 -221 -223 -225 -227 -229 -232 -234 -236 -239 -241 -243 -246 -248 -251 -253 -256 -258 -261 -264 -266 -269 -272 -275 -277 -280 -283 -286 -289 -292 -295 -298 -301 -304 -308 -311 -314 -318 -321 -325 -328 -332 -336 -339 -343 -347 -351 -355 -359 -364 -368 -373 -377 -382 -387 -392 -397 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400]) * Referenced by: - * '/1-D Lookup Table7' - * '/1-D Lookup Table4' + * '/1-D Lookup Table7' + * '/1-D Lookup Table4' */ - int16_t pooled59[1024]; + int16_t pooled64[1024]; /* Pooled Parameter (Expression: [0:4:4095]) * Referenced by: - * '/1-D Lookup Table7' - * '/1-D Lookup Table4' + * '/1-D Lookup Table7' + * '/1-D Lookup Table4' */ - int16_t pooled60[1024]; + int16_t pooled65[1024]; /* Computed Parameter: DataStoreMemory13_InitialValue - * Referenced by: '/Data Store Memory13' + * Referenced by: '/Data Store Memory13' */ int16_t DataStoreMemory13_InitialValue[9]; /* Computed Parameter: DataStoreMemory13_InitialValue_i - * Referenced by: '/Data Store Memory13' + * Referenced by: '/Data Store Memory13' */ int16_t DataStoreMemory13_InitialValue_i[9]; /* Computed Parameter: DataStoreMemory13_InitialValue_l - * Referenced by: '/Data Store Memory13' + * Referenced by: '/Data Store Memory13' */ int16_t DataStoreMemory13_InitialValue_l[9]; /* Pooled Parameter (Expression: [170:10:290]) * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table10' - * '/1-D Lookup Table11' - * '/1-D Lookup Table6' - * '/1-D Lookup Table7' - * '/1-D Lookup Table8' - * '/1-D Lookup Table9' - * '/1-D Lookup Table10' - * '/1-D Lookup Table11' - * '/1-D Lookup Table6' - * '/1-D Lookup Table7' - * '/1-D Lookup Table8' - * '/1-D Lookup Table9' - * '/1-D Lookup Table10' - * '/1-D Lookup Table11' - * '/1-D Lookup Table6' - * '/1-D Lookup Table7' - * '/1-D Lookup Table8' - * '/1-D Lookup Table9' - * '/1-D Lookup Table1' - * '/1-D Lookup Table12' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table10' + * '/1-D Lookup Table11' + * '/1-D Lookup Table6' + * '/1-D Lookup Table7' + * '/1-D Lookup Table8' + * '/1-D Lookup Table9' + * '/1-D Lookup Table10' + * '/1-D Lookup Table11' + * '/1-D Lookup Table6' + * '/1-D Lookup Table7' + * '/1-D Lookup Table8' + * '/1-D Lookup Table9' + * '/1-D Lookup Table10' + * '/1-D Lookup Table11' + * '/1-D Lookup Table6' + * '/1-D Lookup Table7' + * '/1-D Lookup Table8' + * '/1-D Lookup Table9' + * '/1-D Lookup Table1' + * '/1-D Lookup Table12' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' */ - uint16_t pooled69[13]; + uint16_t pooled77[13]; /* Pooled Parameter (Expression: [0:4:4092]) * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table' - * '/1-D Lookup Table' - * '/1-D Lookup Table2' - * '/1-D Lookup Table4' - * '/1-D Lookup Table1' - * '/1-D Lookup Table3' + * '/1-D Lookup Table' + * '/1-D Lookup Table' + * '/1-D Lookup Table' + * '/1-D Lookup Table2' + * '/1-D Lookup Table4' + * '/1-D Lookup Table1' + * '/1-D Lookup Table3' */ - uint16_t pooled70[1024]; + uint16_t pooled78[1024]; /* Computed Parameter: uDLookupTable1_bp01Data - * Referenced by: '/1-D Lookup Table1' + * Referenced by: '/1-D Lookup Table1' */ uint16_t uDLookupTable1_bp01Data[2]; /* Computed Parameter: ACT1_Value - * Referenced by: '/ACT1' + * Referenced by: '/ACT1' */ uint16_t ACT1_Value[9]; /* Computed Parameter: ACT1_Value_c - * Referenced by: '/ACT1' + * Referenced by: '/ACT1' */ uint16_t ACT1_Value_c[6]; /* Computed Parameter: ACT1_Value_m - * Referenced by: '/ACT1' + * Referenced by: '/ACT1' */ uint16_t ACT1_Value_m[8]; + /* Pooled Parameter (Expression: [1:7]) + * Referenced by: + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + */ + uint8_t pooled105[7]; + + /* Pooled Parameter (Expression: [0:7]) + * Referenced by: + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + */ + uint8_t pooled106[8]; + /* Pooled Parameter (Expression: [10:10:110]) * Referenced by: - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table' - * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table' + * '/1-D Lookup Table1' * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table' + * '/1-D Lookup Table' + * '/1-D Lookup Table2' + * '/1-D Lookup Table1' * '/1-D Lookup Table2' - * '/1-D Lookup Table1' + * '/1-D Lookup Table' + * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table' * '/1-D Lookup Table2' - * '/1-D Lookup Table' - * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table' + * '/1-D Lookup Table1' * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table' + * '/1-D Lookup Table' + * '/1-D Lookup Table2' + * '/1-D Lookup Table1' * '/1-D Lookup Table2' + * '/1-D Lookup Table' + * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table' + * '/1-D Lookup Table2' */ - uint8_t pooled98[11]; + uint8_t pooled107[11]; /* Pooled Parameter (Expression: [1 2 3 4 5 6 7 8 9]) * Referenced by: - * '/Constant3' - * '/Constant5' - * '/Constant5' - * '/Constant5' - * '/Constant5' - * '/Constant5' - * '/Constant5' + * '/Constant3' + * '/Constant5' + * '/Constant5' + * '/Constant5' + * '/Constant5' + * '/Constant5' + * '/Constant5' */ - uint8_t pooled102[9]; + uint8_t pooled115[9]; /* Computed Parameter: Constant3_Value - * Referenced by: '/Constant3' + * Referenced by: '/Constant3' */ uint8_t Constant3_Value[6]; /* Computed Parameter: Constant3_Value_d - * Referenced by: '/Constant3' + * Referenced by: '/Constant3' */ uint8_t Constant3_Value_d[8]; /* Pooled Parameter (Expression: ) * Referenced by: - * '/Выбор режима Left' - * '/Выбор режима Right' + * '/Выбор режима Left' + * '/Выбор режима Right' */ - uint8_t pooled116[6]; + uint8_t pooled125[6]; /* Pooled Parameter (Expression: [0:6]) * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table' + * '/1-D Lookup Table' + * '/1-D Lookup Table' */ - uint8_t pooled117[7]; + uint8_t pooled126[7]; } ConstP; /* External outputs (root outports fed by signals with default storage) */ @@ -829,13 +992,21 @@ typedef struct { dbg_Auto_AF_Bus dbgCAN_Auto_AF_model;/* '/dbgCAN_Auto_AF_model' */ LIN4_CCU_Req_Bus LIN4_CCU_Req_Model; /* '/LIN4_CCU_Req_Model' */ dbg_Logic_Valve_Bus dbg_Logic_Valve_model;/* '/dbg_Logic_Valve_model' */ - ActuatorCmdBus Actuator_Ch0_Command_Model_g;/* '/Actuator_Ch0_Command_Model' */ - ActuatorCmdBus Actuator_Ch1_Command_Model_e;/* '/Actuator_Ch1_Command_Model' */ - ActuatorCmdBus Actuator_Ch2_Command_Model_o;/* '/Actuator_Ch2_Command_Model' */ + ActuatorCmdBus Actuator_Ch0_Command_Model_out; + /* '/Actuator_Ch0_Command_Model_out' */ + ActuatorCmdBus Actuator_Ch1_Command_Mode_out; + /* '/Actuator_Ch1_Command_Mode_out' */ + ActuatorCmdBus Actuator_Ch2_Command_Model_out; + /* '/Actuator_Ch2_Command_Model_out' */ dbg_LIN_AirQS_Stat_t_Bus dbg_LIN_AirQS_Stat_t_model;/* '/dbg_LIN_AirQS_Stat_t_model' */ dbg_LIN_DRS_Stat_t_Bus dbg_LIN_DRS_Stat_t_model;/* '/dbg_LIN_DRS_Stat_t_model' */ dbg_Drs_t_Bus dbg_Drs_t_model; /* '/dbg_Drs_t_model' */ dbg_Logic_Valve_Plus_Bus dbg_Logic_Valve_Plus_model;/* '/dbg_Logic_Valve_Plus_model' */ + CmdCAN_CCU_STAT3_Bus CCU_Stat3_model;/* '/CCU_Stat3_model' */ + dbg_LIN_Aroma_Stat_t_Bus dbg_LIN_Aroma_Stat_t_model;/* '/dbg_LIN_Aroma_Stat_t_model' */ + dbg_LIN_Ionizer_Stat_t_Bus dbg_LIN_Ionizer_Stat_t_model; + /* '/dbg_LIN_Ionizer_Stat_t_model' */ + uint8_t DRS_output[8]; /* '/DRS_output' */ } ExtY; /* Real-time Model Data Structure */ @@ -892,591 +1063,422 @@ extern RT_MODEL *const rtM; /*- * These blocks were eliminated from the model due to optimizations: * - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Scope' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Gain1' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Scope' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Gain1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination * Block '/Data Type Duplicate' : Unused code path elimination * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination * Block '/Data Type Duplicate' : Unused code path elimination * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display17' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display17' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display17' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display17' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination * Block '/Data Type Duplicate' : Unused code path elimination * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination * Block '/Data Type Duplicate' : Unused code path elimination * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display17' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display17' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display17' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display17' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/t окруж. среды' : Unused code path elimination - * Block '/Заданная t слева' : Unused code path elimination - * Block '/Заданная t справа' : Unused code path elimination - * Block '/Заслонки Left' : Unused code path elimination - * Block '/Заслонки Right' : Unused code path elimination - * Block '/Заслонки итог' : Unused code path elimination - * Block '/Режим L' : Unused code path elimination - * Block '/Режим R' : Unused code path elimination - * Block '/Уровень' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/t окруж. среды' : Unused code path elimination + * Block '/Заданная t слева' : Unused code path elimination + * Block '/Заданная t справа' : Unused code path elimination + * Block '/Заслонки Left' : Unused code path elimination + * Block '/Заслонки Right' : Unused code path elimination + * Block '/Заслонки итог' : Unused code path elimination + * Block '/Режим L' : Unused code path elimination + * Block '/Режим R' : Unused code path elimination + * Block '/Уровень' : Unused code path elimination * Block '/Constant3' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Add' : Unused code path elimination - * Block '/Add1' : Unused code path elimination * Block '/Display' : Unused code path elimination * Block '/Display1' : Unused code path elimination * Block '/Display10' : Unused code path elimination @@ -1485,886 +1487,1245 @@ extern RT_MODEL *const rtM; * Block '/Display13' : Unused code path elimination * Block '/Display14' : Unused code path elimination * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display17' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination * Block '/Display2' : Unused code path elimination + * Block '/Display20' : Unused code path elimination + * Block '/Display21' : Unused code path elimination + * Block '/Display22' : Unused code path elimination + * Block '/Display23' : Unused code path elimination + * Block '/Display24' : Unused code path elimination + * Block '/Display25' : Unused code path elimination + * Block '/Display26' : Unused code path elimination + * Block '/Display27' : Unused code path elimination + * Block '/Display28' : Unused code path elimination + * Block '/Display29' : Unused code path elimination * Block '/Display3' : Unused code path elimination + * Block '/Display30' : Unused code path elimination + * Block '/Display31' : Unused code path elimination + * Block '/Display32' : Unused code path elimination + * Block '/Display33' : Unused code path elimination * Block '/Display4' : Unused code path elimination * Block '/Display5' : Unused code path elimination * Block '/Display6' : Unused code path elimination * Block '/Display7' : Unused code path elimination * Block '/Display8' : Unused code path elimination * Block '/Display9' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display17' : Unused code path elimination - * Block '/Display18' : Unused code path elimination - * Block '/Display19' : Unused code path elimination - * Block '/Display20' : Unused code path elimination - * Block '/Display21' : Unused code path elimination - * Block '/Display22' : Unused code path elimination - * Block '/Display23' : Unused code path elimination - * Block '/Display24' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Gain' : Unused code path elimination - * Block '/Gain1' : Unused code path elimination - * Block '/Gain2' : Unused code path elimination - * Block '/Gain3' : Unused code path elimination - * Block '/Gain4' : Unused code path elimination - * Block '/Gain5' : Unused code path elimination - * Block '/Gain6' : Unused code path elimination - * Block '/Gain7' : Unused code path elimination - * Block '/Gain8' : Unused code path elimination - * Block '/LVL для t окр. среды' : Unused code path elimination - * Block '/SET водителя' : Unused code path elimination - * Block '/SET левого заднего пссажира' : Unused code path elimination - * Block '/SET пассажира' : Unused code path elimination - * Block '/SET правого заднего пссажира' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/t внутри авто - сзади слева' : Unused code path elimination - * Block '/t внутри авто - сзади справа' : Unused code path elimination - * Block '/t внутри авто - спереди слева' : Unused code path elimination - * Block '/t внутри авто - спереди справа' : Unused code path elimination - * Block '/t окр. среды' : Unused code path elimination - * Block '/ After start control system works X sec' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Constant1' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Data Type Conversion' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination * Block '/Display' : Unused code path elimination * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination * Block '/Display2' : Unused code path elimination * Block '/Display3' : Unused code path elimination * Block '/Display4' : Unused code path elimination * Block '/Display5' : Unused code path elimination * Block '/Display6' : Unused code path elimination * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Divide' : Unused code path elimination - * Block '/Product' : Unused code path elimination - * Block '/Delay Input1' : Unused code path elimination - * Block '/FixPt Relational Operator' : Unused code path elimination - * Block '/Compare' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Subtract' : Unused code path elimination - * Block '/Switch' : Unused code path elimination - * Block '/t_start_delay_private ' : Unused code path elimination - * Block '/Relational Operator' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/LowerRelop1' : Unused code path elimination - * Block '/Switch' : Unused code path elimination - * Block '/Switch2' : Unused code path elimination - * Block '/UpperRelop' : Unused code path elimination - * Block '/Switch' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/из 0.01 в 0.1 градус Цельсия' : Unused code path elimination - * Block '/из сек в мс' : Unused code path elimination - * Block '/ After start control system works X sec' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Constant1' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Data Type Conversion' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Divide' : Unused code path elimination - * Block '/Product' : Unused code path elimination - * Block '/Delay Input1' : Unused code path elimination - * Block '/FixPt Relational Operator' : Unused code path elimination - * Block '/Compare' : Unused code path elimination - * Block '/Constant' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Relational Operator3' : Unused code path elimination + * Block '/not LO or HI' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Subtract' : Unused code path elimination - * Block '/Switch' : Unused code path elimination - * Block '/t_start_delay_private ' : Unused code path elimination - * Block '/Relational Operator' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/LowerRelop1' : Unused code path elimination - * Block '/Switch' : Unused code path elimination - * Block '/Switch2' : Unused code path elimination - * Block '/UpperRelop' : Unused code path elimination - * Block '/Switch' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/из 0.01 в 0.1 градус Цельсия' : Unused code path elimination - * Block '/из сек в мс' : Unused code path elimination - * Block '/Датчик солнца слева' : Unused code path elimination - * Block '/Датчик солнца справа' : Unused code path elimination - * Block '/Слева ноги до коррекции' : Unused code path elimination - * Block '/Слева сзади' : Unused code path elimination - * Block '/Слева спереди' : Unused code path elimination - * Block '/Слева спереди снизу (ноги)' : Unused code path elimination - * Block '/Справа ноги до коррекции' : Unused code path elimination - * Block '/Справа сзади' : Unused code path elimination - * Block '/Справа спереди' : Unused code path elimination - * Block '/Справа спереди снизу (ноги)' : Unused code path elimination - * Block '/Gain1' : Unused code path elimination - * Block '/Gain2' : Unused code path elimination - * Block '/Gain3' : Unused code path elimination - * Block '/Gain4' : Unused code path elimination - * Block '/Gain5' : Unused code path elimination - * Block '/Gain6' : Unused code path elimination - * Block '/Gain7' : Unused code path elimination - * Block '/Gain8' : Unused code path elimination - * Block '/RAW t incar front left' : Unused code path elimination - * Block '/RAW t incar front right' : Unused code path elimination - * Block '/RAW t incar rear left' : Unused code path elimination - * Block '/RAW t incar rear right' : Unused code path elimination - * Block '/Data Type Conversion' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/level' : Unused code path elimination - * Block '/temp raw' : Unused code path elimination - * Block '/time passed ms' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/level' : Unused code path elimination - * Block '/temp new (C * 10)' : Unused code path elimination - * Block '/temp old' : Unused code path elimination - * Block '/temp raw' : Unused code path elimination - * Block '/time passed ms' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Data Type Conversion' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/level' : Unused code path elimination - * Block '/temp raw' : Unused code path elimination - * Block '/time passed ms' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/level' : Unused code path elimination - * Block '/temp new (C * 10)' : Unused code path elimination - * Block '/temp old' : Unused code path elimination - * Block '/temp raw' : Unused code path elimination - * Block '/time passed ms' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Data Type Conversion' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/level' : Unused code path elimination - * Block '/temp raw' : Unused code path elimination - * Block '/time passed ms' : Unused code path elimination - * Block '/AMB (C * 10)' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/level' : Unused code path elimination - * Block '/temp old' : Unused code path elimination - * Block '/temp raw' : Unused code path elimination - * Block '/time passed ms' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/AUTO' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Constant1' : Unused code path elimination + * Block '/LO' : Unused code path elimination + * Block '/Logical Operator1' : Unused code path elimination + * Block '/Relational Operator' : Unused code path elimination + * Block '/Relational Operator2' : Unused code path elimination + * Block '/Relational Operator3' : Unused code path elimination + * Block '/Switch' : Unused code path elimination + * Block '/Switch1' : Unused code path elimination + * Block '/exit algorithm' : Unused code path elimination + * Block '/Display' : Unused code path elimination * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Data Type Conversion' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/level' : Unused code path elimination - * Block '/temp raw' : Unused code path elimination - * Block '/time passed ms' : Unused code path elimination - * Block '/AMB (C * 10)' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/level' : Unused code path elimination - * Block '/temp old' : Unused code path elimination - * Block '/temp raw' : Unused code path elimination - * Block '/time passed ms' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/t сзади слева' : Unused code path elimination - * Block '/t сзади справа' : Unused code path elimination - * Block '/t спереди слева' : Unused code path elimination - * Block '/t спереди справа' : Unused code path elimination - * Block '/Время в мс' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Data Type Conversion1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display15' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display16' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display24' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Vtg_FL_correct L display' : Unused code path elimination - * Block '/Vtg_FL_correct после коррекции' : Unused code path elimination - * Block '/Vtg_FR_correct после коррекции' : Unused code path elimination - * Block '/Vtg_FX_correct R display' : Unused code path elimination - * Block '/ After start control system works X sec' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Constant1' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Data Type Conversion' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Divide' : Unused code path elimination - * Block '/Product' : Unused code path elimination - * Block '/Delay Input1' : Unused code path elimination - * Block '/FixPt Relational Operator' : Unused code path elimination - * Block '/Compare' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Subtract' : Unused code path elimination - * Block '/Switch' : Unused code path elimination - * Block '/t_start_delay_private ' : Unused code path elimination - * Block '/Relational Operator' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/LowerRelop1' : Unused code path elimination - * Block '/Switch' : Unused code path elimination - * Block '/Switch2' : Unused code path elimination - * Block '/UpperRelop' : Unused code path elimination - * Block '/Switch' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/из 0.01 в 0.1 градус Цельсия' : Unused code path elimination - * Block '/из сек в мс' : Unused code path elimination - * Block '/ After start control system works X sec' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Constant1' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Data Type Conversion' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Divide' : Unused code path elimination - * Block '/Product' : Unused code path elimination - * Block '/Delay Input1' : Unused code path elimination - * Block '/FixPt Relational Operator' : Unused code path elimination - * Block '/Compare' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Subtract' : Unused code path elimination - * Block '/Switch' : Unused code path elimination - * Block '/t_start_delay_private ' : Unused code path elimination - * Block '/Relational Operator' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/LowerRelop1' : Unused code path elimination - * Block '/Switch' : Unused code path elimination - * Block '/Switch2' : Unused code path elimination - * Block '/UpperRelop' : Unused code path elimination - * Block '/Switch' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/из 0.01 в 0.1' : Unused code path elimination - * Block '/из сек в мс' : Unused code path elimination - * Block '/Gain' : Unused code path elimination - * Block '/Gain1' : Unused code path elimination - * Block '/Gain2' : Unused code path elimination - * Block '/Gain3' : Unused code path elimination - * Block '/Gain4' : Unused code path elimination - * Block '/Gain5' : Unused code path elimination - * Block '/Gain6' : Unused code path elimination - * Block '/Gain7' : Unused code path elimination - * Block '/Gain8' : Unused code path elimination - * Block '/LVL для t окр. среды' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display13' : Unused code path elimination - * Block '/Display14' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Vtg_RL_correct display' : Unused code path elimination - * Block '/Vtg_RR_correct display' : Unused code path elimination - * Block '/SET водителя' : Unused code path elimination - * Block '/SET левого заднего пссажира' : Unused code path elimination - * Block '/SET пассажира' : Unused code path elimination - * Block '/SET правого заднего пссажира' : Unused code path elimination - * Block '/t внутри авто - сзади слева' : Unused code path elimination - * Block '/t внутри авто - сзади справа' : Unused code path elimination - * Block '/t внутри авто - спереди слева' : Unused code path elimination - * Block '/t внутри авто - спереди справа' : Unused code path elimination - * Block '/t окр. среды' : Unused code path elimination - * Block '/Датчик солнца слева' : Unused code path elimination - * Block '/Датчик солнца справа' : Unused code path elimination - * Block '/Constant1' : Unused code path elimination - * Block '/Data Type Conversion' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Gain' : Unused code path elimination - * Block '/Gain1' : Unused code path elimination - * Block '/Gain2' : Unused code path elimination - * Block '/t окруж. среды.' : Unused code path elimination - * Block '/t охл. жидк.' : Unused code path elimination - * Block '/Время в мс' : Unused code path elimination - * Block '/Новая t окр. среды' : Unused code path elimination - * Block '/Скорость авто' : Unused code path elimination - * Block '/AMB (C * 10)' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/lvl' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/step start control front' : Unused code path elimination + * Block '/step start control rear' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Add' : Unused code path elimination + * Block '/Add1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display17' : Unused code path elimination + * Block '/Display18' : Unused code path elimination + * Block '/Display19' : Unused code path elimination + * Block '/Display20' : Unused code path elimination + * Block '/Display21' : Unused code path elimination + * Block '/Display22' : Unused code path elimination + * Block '/Display23' : Unused code path elimination + * Block '/Display24' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Gain' : Unused code path elimination + * Block '/Gain1' : Unused code path elimination + * Block '/Gain2' : Unused code path elimination + * Block '/Gain3' : Unused code path elimination + * Block '/Gain4' : Unused code path elimination + * Block '/Gain5' : Unused code path elimination + * Block '/Gain6' : Unused code path elimination + * Block '/Gain7' : Unused code path elimination + * Block '/Gain8' : Unused code path elimination + * Block '/LVL для t окр. среды' : Unused code path elimination + * Block '/SET водителя' : Unused code path elimination + * Block '/SET левого заднего пссажира' : Unused code path elimination + * Block '/SET пассажира' : Unused code path elimination + * Block '/SET правого заднего пссажира' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/t внутри авто - сзади слева' : Unused code path elimination + * Block '/t внутри авто - сзади справа' : Unused code path elimination + * Block '/t внутри авто - спереди слева' : Unused code path elimination + * Block '/t внутри авто - спереди справа' : Unused code path elimination + * Block '/t окр. среды' : Unused code path elimination + * Block '/ After start control system works X sec' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Constant1' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Data Type Conversion' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Divide' : Unused code path elimination + * Block '/Product' : Unused code path elimination + * Block '/Delay Input1' : Unused code path elimination + * Block '/FixPt Relational Operator' : Unused code path elimination + * Block '/Compare' : Unused code path elimination + * Block '/Constant' : Unused code path elimination * Block '/Display' : Unused code path elimination * Block '/Display1' : Unused code path elimination * Block '/Display2' : Unused code path elimination * Block '/Display3' : Unused code path elimination * Block '/Display4' : Unused code path elimination * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/ABM from read' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination + * Block '/Subtract' : Unused code path elimination + * Block '/Switch' : Unused code path elimination + * Block '/t_start_delay_private ' : Unused code path elimination + * Block '/Relational Operator' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/LowerRelop1' : Unused code path elimination + * Block '/Switch' : Unused code path elimination + * Block '/Switch2' : Unused code path elimination + * Block '/UpperRelop' : Unused code path elimination + * Block '/Switch' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/из 0.01 в 0.1 градус Цельсия' : Unused code path elimination + * Block '/из сек в мс' : Unused code path elimination + * Block '/ After start control system works X sec' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Constant1' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Data Type Conversion' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Divide' : Unused code path elimination + * Block '/Product' : Unused code path elimination + * Block '/Delay Input1' : Unused code path elimination + * Block '/FixPt Relational Operator' : Unused code path elimination + * Block '/Compare' : Unused code path elimination + * Block '/Constant' : Unused code path elimination * Block '/Display' : Unused code path elimination * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/ABM from read' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : Unused code path elimination - * Block '/Display11' : Unused code path elimination - * Block '/Display12' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/1-D Lookup Table' : Unused code path elimination - * Block '/Constant1' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/ABM from read' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Display8' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Logical Operator' : Unused code path elimination - * Block '/Compare' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Constant6' : Unused code path elimination - * Block '/Constant8' : Unused code path elimination - * Block '/Logical Operator1' : Unused code path elimination - * Block '/Relational Operator2' : Unused code path elimination - * Block '/Relational Operator3' : Unused code path elimination - * Block '/Switch1' : Unused code path elimination - * Block '/Switch2' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Constant3' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Subtract' : Unused code path elimination + * Block '/Switch' : Unused code path elimination + * Block '/t_start_delay_private ' : Unused code path elimination + * Block '/Relational Operator' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/LowerRelop1' : Unused code path elimination + * Block '/Switch' : Unused code path elimination + * Block '/Switch2' : Unused code path elimination + * Block '/UpperRelop' : Unused code path elimination + * Block '/Switch' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/из 0.01 в 0.1 градус Цельсия' : Unused code path elimination + * Block '/из сек в мс' : Unused code path elimination + * Block '/Датчик солнца слева' : Unused code path elimination + * Block '/Датчик солнца справа' : Unused code path elimination + * Block '/Слева ноги до коррекции' : Unused code path elimination + * Block '/Слева сзади' : Unused code path elimination + * Block '/Слева спереди' : Unused code path elimination + * Block '/Слева спереди снизу (ноги)' : Unused code path elimination + * Block '/Справа ноги до коррекции' : Unused code path elimination + * Block '/Справа сзади' : Unused code path elimination + * Block '/Справа спереди' : Unused code path elimination + * Block '/Справа спереди снизу (ноги)' : Unused code path elimination + * Block '/Gain1' : Unused code path elimination + * Block '/Gain2' : Unused code path elimination + * Block '/Gain3' : Unused code path elimination + * Block '/Gain4' : Unused code path elimination + * Block '/Gain5' : Unused code path elimination + * Block '/Gain6' : Unused code path elimination + * Block '/Gain7' : Unused code path elimination + * Block '/Gain8' : Unused code path elimination + * Block '/RAW t incar front left' : Unused code path elimination + * Block '/RAW t incar front right' : Unused code path elimination + * Block '/RAW t incar rear left' : Unused code path elimination + * Block '/RAW t incar rear right' : Unused code path elimination + * Block '/Data Type Conversion' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/level' : Unused code path elimination + * Block '/temp raw' : Unused code path elimination + * Block '/time passed ms' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination * Block '/Display1' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/level' : Unused code path elimination + * Block '/temp new (C * 10)' : Unused code path elimination + * Block '/temp old' : Unused code path elimination + * Block '/temp raw' : Unused code path elimination + * Block '/time passed ms' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Data Type Conversion' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/level' : Unused code path elimination + * Block '/temp raw' : Unused code path elimination + * Block '/time passed ms' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/level' : Unused code path elimination + * Block '/temp new (C * 10)' : Unused code path elimination + * Block '/temp old' : Unused code path elimination + * Block '/temp raw' : Unused code path elimination + * Block '/time passed ms' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Data Type Conversion' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/level' : Unused code path elimination + * Block '/temp raw' : Unused code path elimination + * Block '/time passed ms' : Unused code path elimination + * Block '/AMB (C * 10)' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/level' : Unused code path elimination + * Block '/temp old' : Unused code path elimination + * Block '/temp raw' : Unused code path elimination + * Block '/time passed ms' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Data Type Conversion' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/level' : Unused code path elimination + * Block '/temp raw' : Unused code path elimination + * Block '/time passed ms' : Unused code path elimination + * Block '/AMB (C * 10)' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/level' : Unused code path elimination + * Block '/temp old' : Unused code path elimination + * Block '/temp raw' : Unused code path elimination + * Block '/time passed ms' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination * Block '/Display' : Unused code path elimination * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Compare' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Compare' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Compare' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Multiport Switch' : Unused code path elimination - * Block '/Multiport Switch3' : Unused code path elimination - * Block '/Multiport Switch4' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Compare' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Compare' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Compare' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Multiport Switch' : Unused code path elimination - * Block '/Multiport Switch3' : Unused code path elimination - * Block '/Multiport Switch4' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Compare' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Compare' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Compare' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Multiport Switch' : Unused code path elimination - * Block '/Multiport Switch3' : Unused code path elimination - * Block '/Multiport Switch4' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/t сзади слева' : Unused code path elimination + * Block '/t сзади справа' : Unused code path elimination + * Block '/t спереди слева' : Unused code path elimination + * Block '/t спереди справа' : Unused code path elimination + * Block '/Время в мс' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display15' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display16' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display24' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination * Block '/Data Type Duplicate' : Unused code path elimination * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Compare' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Compare' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Compare' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Multiport Switch' : Unused code path elimination - * Block '/Multiport Switch3' : Unused code path elimination - * Block '/Multiport Switch4' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Compare' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Compare' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Compare' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Multiport Switch' : Unused code path elimination - * Block '/Multiport Switch3' : Unused code path elimination - * Block '/Multiport Switch4' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Vtg_FL_correct L display' : Unused code path elimination + * Block '/Vtg_FL_correct после коррекции' : Unused code path elimination + * Block '/Vtg_FR_correct после коррекции' : Unused code path elimination + * Block '/Vtg_FX_correct R display' : Unused code path elimination + * Block '/ After start control system works X sec' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Constant1' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Data Type Conversion' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Divide' : Unused code path elimination + * Block '/Product' : Unused code path elimination + * Block '/Delay Input1' : Unused code path elimination + * Block '/FixPt Relational Operator' : Unused code path elimination + * Block '/Compare' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Subtract' : Unused code path elimination + * Block '/Switch' : Unused code path elimination + * Block '/t_start_delay_private ' : Unused code path elimination + * Block '/Relational Operator' : Unused code path elimination * Block '/Data Type Duplicate' : Unused code path elimination * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Compare' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Compare' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Compare' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Multiport Switch' : Unused code path elimination - * Block '/Multiport Switch3' : Unused code path elimination - * Block '/Multiport Switch4' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Constant9' : Unused code path elimination - * Block '/Compare' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Compare' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Compare' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Multiport Switch' : Unused code path elimination - * Block '/Multiport Switch3' : Unused code path elimination - * Block '/Multiport Switch4' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination + * Block '/LowerRelop1' : Unused code path elimination + * Block '/Switch' : Unused code path elimination + * Block '/Switch2' : Unused code path elimination + * Block '/UpperRelop' : Unused code path elimination + * Block '/Switch' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/из 0.01 в 0.1 градус Цельсия' : Unused code path elimination + * Block '/из сек в мс' : Unused code path elimination + * Block '/ After start control system works X sec' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Constant1' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Data Type Conversion' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Divide' : Unused code path elimination + * Block '/Product' : Unused code path elimination + * Block '/Delay Input1' : Unused code path elimination + * Block '/FixPt Relational Operator' : Unused code path elimination + * Block '/Compare' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Subtract' : Unused code path elimination + * Block '/Switch' : Unused code path elimination + * Block '/t_start_delay_private ' : Unused code path elimination + * Block '/Relational Operator' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/LowerRelop1' : Unused code path elimination + * Block '/Switch' : Unused code path elimination + * Block '/Switch2' : Unused code path elimination + * Block '/UpperRelop' : Unused code path elimination + * Block '/Switch' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/из 0.01 в 0.1' : Unused code path elimination + * Block '/из сек в мс' : Unused code path elimination + * Block '/Gain' : Unused code path elimination + * Block '/Gain1' : Unused code path elimination + * Block '/Gain2' : Unused code path elimination + * Block '/Gain3' : Unused code path elimination + * Block '/Gain4' : Unused code path elimination + * Block '/Gain5' : Unused code path elimination + * Block '/Gain6' : Unused code path elimination + * Block '/Gain7' : Unused code path elimination + * Block '/Gain8' : Unused code path elimination + * Block '/LVL для t окр. среды' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination * Block '/Data Type Duplicate' : Unused code path elimination * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Saturation2' : Unused code path elimination - * Block '/Saturation3' : Unused code path elimination - * Block '/Data Type Conversion' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Gain3' : Unused code path elimination - * Block '/Gain4' : Unused code path elimination - * Block '/Constant3' : Unused code path elimination - * Block '/Equal3' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination - * Block '/Display4' : Unused code path elimination - * Block '/Display5' : Unused code path elimination - * Block '/Display6' : Unused code path elimination - * Block '/Display7' : Unused code path elimination - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion6' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion6' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion3' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion3' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion26' : Eliminate redundant data type conversion - * Block '/Data Type Conversion27' : Eliminate redundant data type conversion - * Block '/Data Type Conversion28' : Eliminate redundant data type conversion - * Block '/Data Type Conversion30' : Eliminate redundant data type conversion - * Block '/Data Type Conversion31' : Eliminate redundant data type conversion - * Block '/Data Type Conversion34' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Display11' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display13' : Unused code path elimination + * Block '/Display14' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Vtg_RL_correct display' : Unused code path elimination + * Block '/Vtg_RR_correct display' : Unused code path elimination + * Block '/SET водителя' : Unused code path elimination + * Block '/SET левого заднего пссажира' : Unused code path elimination + * Block '/SET пассажира' : Unused code path elimination + * Block '/SET правого заднего пссажира' : Unused code path elimination + * Block '/t внутри авто - сзади слева' : Unused code path elimination + * Block '/t внутри авто - сзади справа' : Unused code path elimination + * Block '/t внутри авто - спереди слева' : Unused code path elimination + * Block '/t внутри авто - спереди справа' : Unused code path elimination + * Block '/t окр. среды' : Unused code path elimination + * Block '/Датчик солнца слева' : Unused code path elimination + * Block '/Датчик солнца справа' : Unused code path elimination + * Block '/Constant1' : Unused code path elimination + * Block '/Data Type Conversion' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Gain' : Unused code path elimination + * Block '/Gain1' : Unused code path elimination + * Block '/Gain2' : Unused code path elimination + * Block '/t окруж. среды.' : Unused code path elimination + * Block '/t охл. жидк.' : Unused code path elimination + * Block '/Время в мс' : Unused code path elimination + * Block '/Новая t окр. среды' : Unused code path elimination + * Block '/Скорость авто' : Unused code path elimination + * Block '/AMB (C * 10)' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/lvl' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/ABM from read' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/ABM from read' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display10' : Unused code path elimination + * Block '/Display11' : Unused code path elimination + * Block '/Display12' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/1-D Lookup Table' : Unused code path elimination + * Block '/Constant1' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/ABM from read' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Display8' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Logical Operator' : Unused code path elimination + * Block '/Compare' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Constant3' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Constant9' : Unused code path elimination + * Block '/Compare' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Compare' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Compare' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Multiport Switch' : Unused code path elimination + * Block '/Multiport Switch3' : Unused code path elimination + * Block '/Multiport Switch4' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Compare' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Compare' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Compare' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Multiport Switch' : Unused code path elimination + * Block '/Multiport Switch3' : Unused code path elimination + * Block '/Multiport Switch4' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Compare' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Compare' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Compare' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Multiport Switch' : Unused code path elimination + * Block '/Multiport Switch3' : Unused code path elimination + * Block '/Multiport Switch4' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Compare' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Compare' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Compare' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Multiport Switch' : Unused code path elimination + * Block '/Multiport Switch3' : Unused code path elimination + * Block '/Multiport Switch4' : Unused code path elimination + * Block '/Delay Input2' : Unused code path elimination + * Block '/Difference Inputs1' : Unused code path elimination + * Block '/Difference Inputs2' : Unused code path elimination + * Block '/FixPt Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/LowerRelop1' : Unused code path elimination + * Block '/Switch' : Unused code path elimination + * Block '/Switch2' : Unused code path elimination + * Block '/UpperRelop' : Unused code path elimination + * Block '/Zero-Order Hold' : Unused code path elimination + * Block '/delta fall limit' : Unused code path elimination + * Block '/delta rise limit' : Unused code path elimination + * Block '/sample time' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Compare' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Compare' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Compare' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Multiport Switch' : Unused code path elimination + * Block '/Multiport Switch3' : Unused code path elimination + * Block '/Multiport Switch4' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Compare' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Compare' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Compare' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Multiport Switch' : Unused code path elimination + * Block '/Multiport Switch3' : Unused code path elimination + * Block '/Multiport Switch4' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Compare' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Compare' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Compare' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Multiport Switch' : Unused code path elimination + * Block '/Multiport Switch3' : Unused code path elimination + * Block '/Multiport Switch4' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Saturation2' : Unused code path elimination + * Block '/Saturation3' : Unused code path elimination + * Block '/Data Type Conversion' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Gain3' : Unused code path elimination + * Block '/Gain4' : Unused code path elimination + * Block '/Constant3' : Unused code path elimination + * Block '/Equal3' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : Unused code path elimination + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Abs' : Eliminated since data is unsigned + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion3' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion3' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion26' : Eliminate redundant data type conversion + * Block '/Data Type Conversion27' : Eliminate redundant data type conversion + * Block '/Data Type Conversion28' : Eliminate redundant data type conversion + * Block '/Data Type Conversion30' : Eliminate redundant data type conversion + * Block '/Data Type Conversion31' : Eliminate redundant data type conversion + * Block '/Data Type Conversion34' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion */ /*- @@ -2386,1508 +2747,2121 @@ extern RT_MODEL *const rtM; * '' : 'HVAC_model/13,1,3,15 Valve control' * '' : 'HVAC_model/13,1,3,16 Partial REC auto rec?' * '' : 'HVAC_model/13,1,3,6 Individual foots' - * '' : 'HVAC_model/13.1.3.3 Dtg model' - * '' : 'HVAC_model/A//C Control' - * '' : 'HVAC_model/ACP' - * '' : 'HVAC_model/AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual' - * '' : 'HVAC_model/CAN INPUT' - * '' : 'HVAC_model/CAN OUTPUT' - * '' : 'HVAC_model/Compare To Constant' - * '' : 'HVAC_model/Compare To Constant1' - * '' : 'HVAC_model/Compare To Constant2' - * '' : 'HVAC_model/Compare To Constant3' - * '' : 'HVAC_model/IndexMode' - * '' : 'HVAC_model/LIN' - * '' : 'HVAC_model/MATLAB Function' - * '' : 'HVAC_model/MATLAB Function1' - * '' : 'HVAC_model/PID DUCT' - * '' : 'HVAC_model/PWN' - * '' : 'HVAC_model/Power' - * '' : 'HVAC_model/Subsystem' - * '' : 'HVAC_model/Synchronization (SYNC)' - * '' : 'HVAC_model/Synchronization stateflow chart' - * '' : 'HVAC_model/Valves auto or manual' - * '' : 'HVAC_model/dbg CAN' - * '' : 'HVAC_model/debug stateflow chart' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Convert_g_assAMB_LV_UP' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Log Ambient Lv' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem1' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem5' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem1/Convert_g_assAMB_LV_DN_1' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem1/Convert_g_assAMB_LV_UP_2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem2/Convert_g_assAMB_LV_DN_2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem2/Convert_g_assAMB_LV_UP_3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem3/Convert_g_assAMB_LV_DN_3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem3/Convert_g_assAMB_LV_UP_4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem4/Convert_g_assAMB_LV_DN_4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem4/Convert_g_assAMB_LV_UP_5' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem5/Convert_g_assAMB_LV_DN_5' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/Modes for levels' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/Начальные положения заслонок left' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/Начальные положения заслонок right' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/VENT+' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Left' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Right' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/Saturation Dynamic3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/X_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/g_aucFLOW_AF_FOOT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/X_LEFT/get_tg_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/Saturation Dynamic4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/X_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/X_RIGHT/g_aucFLOW_AF_BLR_AF_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/X_RIGHT/get_vtg_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Left/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Left/g_assFLOW_AF_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Left/g_aucFLOW_AF_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Left/g_aucFLOW_AF_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Right/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Right/g_assFLOW_AF_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Right/g_aucFLOW_AF_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Right/g_aucFLOW_AF_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Left' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Right' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/Saturation Dynamic3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/X_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/g_aucFLOW_AFSM_FOOT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/g_aucFLOW_AFSM_FOOT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/X_LEFT/g_assFLOW_AFSM_TEMP_TGT_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/X_LEFT/get_tg_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/Saturation Dynamic4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/g_aucFLOW_AFSM_FOOT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_AFSM_TEMP_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Left/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Left/g_assFLOW_AFSM_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Left/g_aucFLOW_AFSM_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Left/g_aucFLOW_AF_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Right/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Right/g_assFLOW_AF_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Right/g_aucFLOW_AF_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Right/g_aucFLOW_AF_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/Saturation Dynamic3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/X_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_PLUS_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX1' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN1' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/X_LEFT/get_tg_FLL_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/Saturation Dynamic4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/X_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_PLUS_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_BI_TEMP_TGT_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left/g_assFLOW_BI_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left/g_aucFLOW_BI_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left/g_aucFLOW_BI_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left/g_aucFLOW_BI_VENT_VALVE_MIN' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right/g_assFLOW_BI_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right/g_aucFLOW_BI_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right/g_aucFLOW_BI_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right/g_aucFLOW_BI_VENT_VALVE_MIN' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/Saturation Dynamic3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/X_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_PLUS_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX1' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN1' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/X_LEFT/get_tg_FLL_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/Saturation Dynamic4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/X_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_PLUS_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_BI2_TEMP_TGT_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left/g_assFLOW_BI_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left/g_aucFLOW_BI_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left/g_aucFLOW_BI_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left/g_aucFLOW_BI_VENT_VALVE_MIN' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right/g_assFLOW_BI_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right/g_aucFLOW_BI_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right/g_aucFLOW_BI_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right/g_aucFLOW_BI_VENT_VALVE_MIN' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/VENT+' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Left' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Right' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/Saturation Dynamic3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/X_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/g_aucFLOW_AF_FOOT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/X_LEFT/get_tg_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/Saturation Dynamic4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/X_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/X_RIGHT/g_aucFLOW_AF_BLR_AF_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/X_RIGHT/get_vtg_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Left/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Left/g_assFLOW_AF_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Left/g_aucFLOW_AF_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Left/g_aucFLOW_AF_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Right/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Right/g_assFLOW_AF_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Right/g_aucFLOW_AF_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Right/g_aucFLOW_AF_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Left' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Right' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/Saturation Dynamic3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/X_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/g_aucFLOW_AFSM_FOOT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/g_aucFLOW_AFSM_FOOT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/X_LEFT/g_assFLOW_AFSM_TEMP_TGT_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/X_LEFT/get_tg_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/Saturation Dynamic4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/g_aucFLOW_AFSM_FOOT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_AFSM_TEMP_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Left/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Left/g_assFLOW_AFSM_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Left/g_aucFLOW_AFSM_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Left/g_aucFLOW_AF_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Right/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Right/g_assFLOW_AF_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Right/g_aucFLOW_AF_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Right/g_aucFLOW_AF_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/Saturation Dynamic3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/X_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_PLUS_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX1' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN1' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/X_LEFT/get_tg_FLL_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/Saturation Dynamic4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/X_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_PLUS_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_BI_TEMP_TGT_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left/g_assFLOW_BI_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left/g_aucFLOW_BI_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left/g_aucFLOW_BI_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left/g_aucFLOW_BI_VENT_VALVE_MIN' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right/g_assFLOW_BI_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right/g_aucFLOW_BI_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right/g_aucFLOW_BI_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right/g_aucFLOW_BI_VENT_VALVE_MIN' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/Saturation Dynamic3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/X_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_PLUS_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX1' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN1' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/X_LEFT/get_tg_FLL_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/Saturation Dynamic4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/X_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_PLUS_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_BI2_TEMP_TGT_RIGHT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left/g_assFLOW_BI_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left/g_aucFLOW_BI_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left/g_aucFLOW_BI_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left/g_aucFLOW_BI_VENT_VALVE_MIN' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right/Saturation Dynamic' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right/g_assFLOW_BI_AMB_TGT' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right/g_aucFLOW_BI_VENT_PLUS' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right/g_aucFLOW_BI_VENT_VALVE_MAX' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right/g_aucFLOW_BI_VENT_VALVE_MIN' - * '' : 'HVAC_model/13,1,3,16 Partial REC auto rec?/Chart' - * '' : 'HVAC_model/13,1,3,16 Partial REC auto rec?/Spd_OSA_Trigger' - * '' : 'HVAC_model/13,1,3,6 Individual foots/FL' - * '' : 'HVAC_model/13,1,3,6 Individual foots/FR' - * '' : 'HVAC_model/13,1,3,6 Individual foots/FL/Valve and blower' - * '' : 'HVAC_model/13,1,3,6 Individual foots/FL/Valve and blower/If Action Subsystem' - * '' : 'HVAC_model/13,1,3,6 Individual foots/FL/Valve and blower/If Action Subsystem1' - * '' : 'HVAC_model/13,1,3,6 Individual foots/FL/Valve and blower/If Action Subsystem2' - * '' : 'HVAC_model/13,1,3,6 Individual foots/FL/Valve and blower/If Action Subsystem/If Action Subsystem' - * '' : 'HVAC_model/13,1,3,6 Individual foots/FL/Valve and blower/If Action Subsystem/If Action Subsystem1' - * '' : 'HVAC_model/13,1,3,6 Individual foots/FL/Valve and blower/If Action Subsystem/If Action Subsystem2' - * '' : 'HVAC_model/13,1,3,6 Individual foots/FL/Valve and blower/If Action Subsystem1/If Action Subsystem' - * '' : 'HVAC_model/13,1,3,6 Individual foots/FL/Valve and blower/If Action Subsystem1/If Action Subsystem1' - * '' : 'HVAC_model/13,1,3,6 Individual foots/FL/Valve and blower/If Action Subsystem1/If Action Subsystem2' - * '' : 'HVAC_model/13,1,3,6 Individual foots/FL/Valve and blower/If Action Subsystem2/If Action Subsystem' - * '' : 'HVAC_model/13,1,3,6 Individual foots/FL/Valve and blower/If Action Subsystem2/If Action Subsystem1' - * '' : 'HVAC_model/13,1,3,6 Individual foots/FL/Valve and blower/If Action Subsystem2/If Action Subsystem2' - * '' : 'HVAC_model/13,1,3,6 Individual foots/FR/Valve and blower' - * '' : 'HVAC_model/13,1,3,6 Individual foots/FR/Valve and blower/If Action Subsystem' - * '' : 'HVAC_model/13,1,3,6 Individual foots/FR/Valve and blower/If Action Subsystem1' - * '' : 'HVAC_model/13,1,3,6 Individual foots/FR/Valve and blower/If Action Subsystem2' - * '' : 'HVAC_model/13,1,3,6 Individual foots/FR/Valve and blower/If Action Subsystem/If Action Subsystem' - * '' : 'HVAC_model/13,1,3,6 Individual foots/FR/Valve and blower/If Action Subsystem/If Action Subsystem1' - * '' : 'HVAC_model/13,1,3,6 Individual foots/FR/Valve and blower/If Action Subsystem/If Action Subsystem2' - * '' : 'HVAC_model/13,1,3,6 Individual foots/FR/Valve and blower/If Action Subsystem1/If Action Subsystem' - * '' : 'HVAC_model/13,1,3,6 Individual foots/FR/Valve and blower/If Action Subsystem1/If Action Subsystem1' - * '' : 'HVAC_model/13,1,3,6 Individual foots/FR/Valve and blower/If Action Subsystem1/If Action Subsystem2' - * '' : 'HVAC_model/13,1,3,6 Individual foots/FR/Valve and blower/If Action Subsystem2/If Action Subsystem' - * '' : 'HVAC_model/13,1,3,6 Individual foots/FR/Valve and blower/If Action Subsystem2/If Action Subsystem1' - * '' : 'HVAC_model/13,1,3,6 Individual foots/FR/Valve and blower/If Action Subsystem2/If Action Subsystem2' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)' - * '' : 'HVAC_model/13.1.3.3 Dtg model/Individual foot' - * '' : 'HVAC_model/13.1.3.3 Dtg model/Individual foot1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/Saturation' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLL' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLU' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRL' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRU' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RL' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RR' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.5 FLL_tg_incar' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.6 FLL_tg_amb' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.7 FLL_tg_sun' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/MAX' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/MIN' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/Saturation Dynamic' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.5 FLL_tg_incar/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.5 FLL_tg_incar/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.6 FLL_tg_amb/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.6 FLL_tg_amb/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.7 FLL_tg_sun/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.7 FLL_tg_sun/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.5 FLU_tg_incar' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.6 FLU_tg_amb' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.7 FLU_tg_sun' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/MAX' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/MIN' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/Saturation Dynamic' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.5 FLU_tg_incar/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.5 FLU_tg_incar/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.6 FLU_tg_amb/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.6 FLU_tg_amb/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.7 FLU_tg_sun/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.7 FLU_tg_sun/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.5 FRL_tg_incar' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.6 FRL_tg_amb' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.7 FRL_tg_sun' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/MAX' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/MIN' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/Saturation Dynamic' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.5 FRL_tg_incar/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.5 FRL_tg_incar/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.6 FRL_tg_amb/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.6 FRL_tg_amb/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.7 FRL_tg_sun/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.7 FRL_tg_sun/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.5 RL_tg_incar' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.6 R_tg_amb' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.7 RL_tg_sun1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/MAX' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/MIN' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/Saturation Dynamic' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.5 RL_tg_incar/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.5 RL_tg_incar/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.6 R_tg_amb/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.6 R_tg_amb/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.7 RL_tg_sun1/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.7 RL_tg_sun1/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.5 RR_tg_incar' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.6 RR_tg_amb1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.7 RR_tg_sun1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/MAX' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/MIN' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/Saturation Dynamic' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.5 RR_tg_incar/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.5 RR_tg_incar/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.6 RR_tg_amb1/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.6 RR_tg_amb1/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.7 RR_tg_sun1/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.7 RR_tg_sun1/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.5 FRU_tg_incar' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.6 FRU_tg_amb' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.7 FRU_tg_sun' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/MAX' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/MIN' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/Saturation Dynamic1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.5 FRU_tg_incar/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.5 FRU_tg_incar/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.6 FRU_tg_amb/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.6 FRU_tg_amb/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.7 FRU_tg_sun/X' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.7 FRU_tg_sun/Y' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLL/Compare To Constant' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLL/Compare To Constant1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLL/Compare To Constant2' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLL/If Action Subsystem' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLL/If Action Subsystem1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLU/Compare To Constant' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLU/Compare To Constant1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLU/Compare To Constant2' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLU/If Action Subsystem' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLU/If Action Subsystem1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRL/Compare To Constant' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRL/Compare To Constant1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRL/Compare To Constant2' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRL/If Action Subsystem' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRL/If Action Subsystem1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRU/Compare To Constant' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRU/Compare To Constant1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRU/Compare To Constant2' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRU/If Action Subsystem' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRU/If Action Subsystem1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RL/Compare To Constant' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RL/Compare To Constant1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RL/Compare To Constant2' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RL/If Action Subsystem' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RL/If Action Subsystem1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RR/Compare To Constant' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RR/Compare To Constant1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RR/Compare To Constant2' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RR/If Action Subsystem' - * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RR/If Action Subsystem1' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/RealTime_Timer' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/Saturation Dynamic' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/correction max' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/correction rate' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/correction_start_time' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/is_ending_with_5' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/RealTime_Timer/Detect Rise Positive' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/RealTime_Timer/Detect Rise Positive/Positive' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/RealTime_Timer' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/Saturation Dynamic' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/correction max' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/correction rate' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/correction_start_time' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/is_ending_with_5' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/RealTime_Timer/Detect Rise Positive' - * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/RealTime_Timer/Detect Rise Positive/Positive' - * '' : 'HVAC_model/ACP/EvapF' - * '' : 'HVAC_model/ACP/EvapR' - * '' : 'HVAC_model/ACP/PRINT BTS5120_2EKA_ShutoffValvePowerTXV1' - * '' : 'HVAC_model/ACP/PRINT BTS5120_2EKA_ShutoffValvePowerTXV2' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ChannelPTCPower1' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ChannelPTCPower2' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_FrontIncarMotor' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_RearIncarMotor' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ReservePowerSupply' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ShutOFFValveFront' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ShutOFFValveRear' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_TwoWayValve' - * '' : 'HVAC_model/ACP/PRINT IGN_ANS' - * '' : 'HVAC_model/ACP/PRINT PBATT_CHECK' - * '' : 'HVAC_model/ACP/PRINT Pressure_DIAG' - * '' : 'HVAC_model/ACP/PRINT Reserve_Sensor_Duct_Temp_1' - * '' : 'HVAC_model/ACP/PRINT Reserve_Sensor_Duct_Temp_2' - * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct5' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct6' - * '' : 'HVAC_model/ACP/PRINT VN7008AJ_DIAG_FrontLINActuatorPowerDriverAB' - * '' : 'HVAC_model/ACP/PRINT VN7008AJ_DIAG_RearLINActuatorPowerDriverC' - * '' : 'HVAC_model/ACP/PRINT VN7008AJ_FrontLINActuatorPowerDriverAB' - * '' : 'HVAC_model/ACP/PRINT VN7008AJ_RearLINActuatorPowerDriverC' - * '' : 'HVAC_model/ACP/Rear_Duct' - * '' : 'HVAC_model/ACP/Write' - * '' : 'HVAC_model/ACP/Write1' - * '' : 'HVAC_model/ACP/Write2' - * '' : 'HVAC_model/ACP/Write3' - * '' : 'HVAC_model/ACP/Write4' - * '' : 'HVAC_model/ACP/filter incar' - * '' : 'HVAC_model/ACP/incar sensors' - * '' : 'HVAC_model/ACP/incar to dtg' - * '' : 'HVAC_model/ACP/EvapF/Compare To Constant' - * '' : 'HVAC_model/ACP/EvapF/Compare To Constant1' - * '' : 'HVAC_model/ACP/EvapF/Compare To Constant2' - * '' : 'HVAC_model/ACP/EvapF/RealTime_Timer' - * '' : 'HVAC_model/ACP/EvapF/UDS ERROR' - * '' : 'HVAC_model/ACP/EvapF/Write ERROR' - * '' : 'HVAC_model/ACP/EvapF/Write Eva_F' - * '' : 'HVAC_model/ACP/EvapR/Compare To Constant' - * '' : 'HVAC_model/ACP/EvapR/Compare To Constant1' - * '' : 'HVAC_model/ACP/EvapR/Compare To Constant2' - * '' : 'HVAC_model/ACP/EvapR/RealTime_Timer' - * '' : 'HVAC_model/ACP/EvapR/UDS ERROR' - * '' : 'HVAC_model/ACP/EvapR/Write ERROR' - * '' : 'HVAC_model/ACP/EvapR/Write Eva_F' - * '' : 'HVAC_model/ACP/PRINT BTS5120_2EKA_ShutoffValvePowerTXV1/Write' - * '' : 'HVAC_model/ACP/PRINT BTS5120_2EKA_ShutoffValvePowerTXV2/Write' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ChannelPTCPower1/Write' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ChannelPTCPower2/Write' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_FrontIncarMotor/Write' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_RearIncarMotor/Write' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ReservePowerSupply/Write' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ShutOFFValveFront/Write' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ShutOFFValveRear/Write' - * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_TwoWayValve/Write' - * '' : 'HVAC_model/ACP/PRINT IGN_ANS/Write' - * '' : 'HVAC_model/ACP/PRINT PBATT_CHECK/Write' - * '' : 'HVAC_model/ACP/PRINT Pressure_DIAG/Write' - * '' : 'HVAC_model/ACP/PRINT Reserve_Sensor_Duct_Temp_1/Write' - * '' : 'HVAC_model/ACP/PRINT Reserve_Sensor_Duct_Temp_2/Write' - * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Compare To Constant' - * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Compare To Constant1' - * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Compare To Constant2' - * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/RealTime_Timer' - * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/UDS ERROR' - * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Write' - * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Write ERROR' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant1' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant10' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant11' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant12' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant13' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant14' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant15' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant16' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant17' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant18' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant2' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant3' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant4' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant5' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant6' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant7' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant8' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant9' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/RealTime_Timer1' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/RealTime_Timer2' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/RealTime_Timer3' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/RealTime_Timer4' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/RealTime_Timer5' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/RealTime_Timer6' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/UDS ERROR1' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/UDS ERROR2' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/UDS ERROR3' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/UDS ERROR4' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/UDS ERROR5' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/UDS ERROR6' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write 1' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write 2' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write 3' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write 4' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write 5' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write 6' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write ERROR1' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write ERROR2' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write ERROR3' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write ERROR4' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write ERROR5' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write ERROR6' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct5/Write' - * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct6/Write' - * '' : 'HVAC_model/ACP/PRINT VN7008AJ_DIAG_FrontLINActuatorPowerDriverAB/Write' - * '' : 'HVAC_model/ACP/PRINT VN7008AJ_DIAG_RearLINActuatorPowerDriverC/Write' - * '' : 'HVAC_model/ACP/PRINT VN7008AJ_FrontLINActuatorPowerDriverAB/Write' - * '' : 'HVAC_model/ACP/PRINT VN7008AJ_RearLINActuatorPowerDriverC/Write' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant1' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant10' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant11' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant2' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant3' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant4' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant5' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant6' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant7' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant8' - * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant9' - * '' : 'HVAC_model/ACP/Rear_Duct/RealTime_Timer' - * '' : 'HVAC_model/ACP/Rear_Duct/RealTime_Timer1' - * '' : 'HVAC_model/ACP/Rear_Duct/RealTime_Timer2' - * '' : 'HVAC_model/ACP/Rear_Duct/RealTime_Timer3' - * '' : 'HVAC_model/ACP/Rear_Duct/UDS ERROR' - * '' : 'HVAC_model/ACP/Rear_Duct/UDS ERROR1' - * '' : 'HVAC_model/ACP/Rear_Duct/UDS ERROR2' - * '' : 'HVAC_model/ACP/Rear_Duct/UDS ERROR3' - * '' : 'HVAC_model/ACP/Rear_Duct/Write ' - * '' : 'HVAC_model/ACP/Rear_Duct/Write 1' - * '' : 'HVAC_model/ACP/Rear_Duct/Write 2' - * '' : 'HVAC_model/ACP/Rear_Duct/Write 3' - * '' : 'HVAC_model/ACP/Rear_Duct/Write ERROR' - * '' : 'HVAC_model/ACP/Rear_Duct/Write ERROR1' - * '' : 'HVAC_model/ACP/Rear_Duct/Write ERROR2' - * '' : 'HVAC_model/ACP/Rear_Duct/Write ERROR3' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Инициализация FL' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Almost equal' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Calculate delta time' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура опускается' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура поднимается' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура опускается/включен ускоренный режим' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура опускается/обычный режим' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура опускается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим/обычное понижение темп.' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура опускается/обычный режим/AMBRATE_FALLING_DIFF[7]' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура опускается/обычный режим/включаем ускоренный режим' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура опускается/обычный режим/обычный режим повышения' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура опускается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура опускается/обычный режим/обычный режим повышения/обычное повышение темп.' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура поднимается/включен ускоренный режим' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура поднимается/обычный режим' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура поднимается/включен ускоренный режим/g_ausINCARRATE_RISING_DIFF_F[8]' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим/обычное повышение темп.' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура поднимается/обычный режим/INCARRATE_RISING_DIFF_F[7]' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура поднимается/обычный режим/включаем ускоренный режим' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура поднимается/обычный режим/обычный режим повышения' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура поднимается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' - * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура поднимается/обычный режим/обычный режим повышения/обычное повышение темп.' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Инициализация FR' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Almost equal' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Calculate delta time' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура опускается' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура поднимается' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура опускается/включен ускоренный режим' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура опускается/обычный режим' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура опускается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим/обычное понижение темп.' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура опускается/обычный режим/AMBRATE_FALLING_DIFF[7]' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура опускается/обычный режим/включаем ускоренный режим' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура опускается/обычный режим/обычный режим повышения' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура опускается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура опускается/обычный режим/обычный режим повышения/обычное повышение темп.' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура поднимается/включен ускоренный режим' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура поднимается/обычный режим' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура поднимается/включен ускоренный режим/g_ausINCARRATE_RISING_DIFF_F[8]' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим/обычное повышение темп.' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура поднимается/обычный режим/INCARRATE_RISING_DIFF_F[7]' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура поднимается/обычный режим/включаем ускоренный режим' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура поднимается/обычный режим/обычный режим повышения' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура поднимается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' - * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура поднимается/обычный режим/обычный режим повышения/обычное повышение темп.' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Инициализация RL' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Almost equal' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Calculate delta time' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура опускается' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура поднимается' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура опускается/включен ускоренный режим' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура опускается/обычный режим' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура опускается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим/обычное понижение темп.' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура опускается/обычный режим/AMBRATE_FALLING_DIFF[7]' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура опускается/обычный режим/включаем ускоренный режим' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура опускается/обычный режим/обычный режим повышения' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура опускается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура опускается/обычный режим/обычный режим повышения/обычное повышение темп.' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура поднимается/включен ускоренный режим' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура поднимается/обычный режим' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура поднимается/включен ускоренный режим/g_ausINCARRATE_RISING_DIFF_R[8]' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим/обычное повышение темп.' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура поднимается/обычный режим/INCARRATE_RISING_DIFF_R[7]' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура поднимается/обычный режим/включаем ускоренный режим' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура поднимается/обычный режим/обычный режим повышения' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура поднимается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' - * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура поднимается/обычный режим/обычный режим повышения/обычное повышение темп.' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Инициализация RR' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Almost equal' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Calculate delta time' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура опускается' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура поднимается' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура опускается/включен ускоренный режим' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура опускается/обычный режим' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура опускается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим/обычное понижение темп.' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура опускается/обычный режим/AMBRATE_FALLING_DIFF[7]' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура опускается/обычный режим/включаем ускоренный режим' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура опускается/обычный режим/обычный режим повышения' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура опускается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура опускается/обычный режим/обычный режим повышения/обычное повышение темп.' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура поднимается/включен ускоренный режим' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура поднимается/обычный режим' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура поднимается/включен ускоренный режим/g_ausINCARRATE_RISING_DIFF_R[8]' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим/обычное повышение темп.' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура поднимается/обычный режим/INCARRATE_RISING_DIFF_R[7]' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура поднимается/обычный режим/включаем ускоренный режим' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура поднимается/обычный режим/обычный режим повышения' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура поднимается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' - * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура поднимается/обычный режим/обычный режим повышения/обычное повышение темп.' - * '' : 'HVAC_model/ACP/incar sensors/incar FL' - * '' : 'HVAC_model/ACP/incar sensors/incar FR' - * '' : 'HVAC_model/ACP/incar sensors/incar RL' - * '' : 'HVAC_model/ACP/incar sensors/incar RR' - * '' : 'HVAC_model/ACP/incar sensors/process error F' - * '' : 'HVAC_model/ACP/incar sensors/process error R' - * '' : 'HVAC_model/ACP/incar sensors/incar FL/Compare To Constant' - * '' : 'HVAC_model/ACP/incar sensors/incar FL/Compare To Constant1' - * '' : 'HVAC_model/ACP/incar sensors/incar FL/Compare To Constant2' - * '' : 'HVAC_model/ACP/incar sensors/incar FL/RealTime_Timer' - * '' : 'HVAC_model/ACP/incar sensors/incar FL/UDS ERROR' - * '' : 'HVAC_model/ACP/incar sensors/incar FL/Write ERROR' - * '' : 'HVAC_model/ACP/incar sensors/incar FR/Compare To Constant6' - * '' : 'HVAC_model/ACP/incar sensors/incar FR/Compare To Constant7' - * '' : 'HVAC_model/ACP/incar sensors/incar FR/Compare To Constant8' - * '' : 'HVAC_model/ACP/incar sensors/incar FR/RealTime_Timer2' - * '' : 'HVAC_model/ACP/incar sensors/incar FR/UDS ERROR2' - * '' : 'HVAC_model/ACP/incar sensors/incar FR/Write ERROR2' - * '' : 'HVAC_model/ACP/incar sensors/incar RL/Compare To Constant3' - * '' : 'HVAC_model/ACP/incar sensors/incar RL/Compare To Constant4' - * '' : 'HVAC_model/ACP/incar sensors/incar RL/Compare To Constant5' - * '' : 'HVAC_model/ACP/incar sensors/incar RL/RealTime_Timer1' - * '' : 'HVAC_model/ACP/incar sensors/incar RL/UDS ERROR1' - * '' : 'HVAC_model/ACP/incar sensors/incar RL/Write ERROR1' - * '' : 'HVAC_model/ACP/incar sensors/incar RR/Compare To Constant10' - * '' : 'HVAC_model/ACP/incar sensors/incar RR/Compare To Constant11' - * '' : 'HVAC_model/ACP/incar sensors/incar RR/Compare To Constant9' - * '' : 'HVAC_model/ACP/incar sensors/incar RR/RealTime_Timer3' - * '' : 'HVAC_model/ACP/incar sensors/incar RR/UDS ERROR3' - * '' : 'HVAC_model/ACP/incar sensors/incar RR/Write ERROR3' - * '' : 'HVAC_model/ACP/incar sensors/process error F/Write IncarFL' - * '' : 'HVAC_model/ACP/incar sensors/process error F/Write IncarFR' - * '' : 'HVAC_model/ACP/incar sensors/process error R/Write IncarRL' - * '' : 'HVAC_model/ACP/incar sensors/process error R/Write IncarRR' - * '' : 'HVAC_model/AUTO/Zone_Climate_Logic_Auto_FL1' - * '' : 'HVAC_model/AUTO/Zone_Climate_Logic_Auto_FL2' - * '' : 'HVAC_model/AUTO/Zone_Climate_Logic_Auto_FL3' - * '' : 'HVAC_model/AUTO/Zone_Climate_Logic_Auto_FL4' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Individual foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Individual foot1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control FL' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control FR' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control RL' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control RR' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Left AF - manual directions' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Right AF - manual directions' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Left AF - manual directions/AF for Bi Level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Left AF - manual directions/AF for Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Left AF - manual directions/AF for Foor + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Left AF - manual directions/AF for Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Left AF - manual directions/AF for Hi_Level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Left AF - manual directions/AF for Tri-Level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Left AF - manual directions/AF for Vent mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Right AF - manual directions/AF for Bi Level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Right AF - manual directions/AF for Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Right AF - manual directions/AF for Foor + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Right AF - manual directions/AF for Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Right AF - manual directions/AF for Hi_Level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Right AF - manual directions/AF for Tri-Level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Right AF - manual directions/AF for Vent mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM/Rear Left AF - manual directions' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM/Rear Right AF - manual directions' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM/Rear Left AF - manual directions/AF for Bi Level R' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM/Rear Left AF - manual directions/AF for Foot R' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM/Rear Left AF - manual directions/AF for Vent mode R' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM/Rear Right AF - manual directions/AF for Bi Level R' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM/Rear Right AF - manual directions/AF for Foot R' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM/Rear Right AF - manual directions/AF for Vent mode R' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/13,1,3,11 _5 AUTO mode AF_FL' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/13,1,3,11 _5 AUTO mode AF_FR' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/13,1,3,11 _5 AUTO mode AF_RL' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/13,1,3,11 _5 AUTO mode AF_RR' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/13,1,3,11 _5 AUTO mode AF_FL/func g_ascAUTO_STEP_AF_F' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/13,1,3,11 _5 AUTO mode AF_FR/func g_ascAUTO_STEP_AF_F' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/13,1,3,11 _5 AUTO mode AF_RL/func g_ascAUTO_STEP_AF_F' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/13,1,3,11 _5 AUTO mode AF_RR/func g_ascAUTO_STEP_AF_F' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.5 Vtg_FL_incar' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.6 Vtg_FX_amb' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.7 Vtg_FX_sun' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/MAX1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/MIN1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/Saturation Dynamic' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.5 Vtg_FL_incar/X' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.5 Vtg_FL_incar/Y' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.6 Vtg_FX_amb/X' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.6 Vtg_FX_amb/Y' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.7 Vtg_FX_sun/X' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.7 Vtg_FX_sun/Y' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.5 Vtg_FR_incar' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.6 Vtg_FX_amb' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.7 Vtg_FR_sun' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/MAX1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/MIN1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/Saturation Dynamic' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.5 Vtg_FR_incar/X' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.5 Vtg_FR_incar/Y' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.6 Vtg_FX_amb/X' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.6 Vtg_FX_amb/Y' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.7 Vtg_FR_sun/X' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.7 Vtg_FR_sun/Y' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left/RealTime_Timer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left/Saturation Dynamic' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left/correction max' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left/correction rate' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left/correction_start_time' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left/is_ending_with_5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left/RealTime_Timer/Detect Rise Positive' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left/RealTime_Timer/Detect Rise Positive/Positive' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right/RealTime_Timer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right/Saturation Dynamic' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right/correction max' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right/correction rate' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right/correction_start_time' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right/is_ending_with_5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right/RealTime_Timer/Detect Rise Positive' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right/RealTime_Timer/Detect Rise Positive/Positive' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.5 Vtg_RL_incar' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.6 Vtg_RX_amb' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.7 Vtg_RX_sun' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/MAX' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/MIN' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/Saturation Dynamic' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.5 Vtg_RL_incar/X' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.5 Vtg_RL_incar/Y' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.6 Vtg_RX_amb/X' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.6 Vtg_RX_amb/Y' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.7 Vtg_RX_sun/X' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.7 Vtg_RX_sun/Y' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.5 Vtg_RR_incar' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.6 Vtg_RX_amb' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.7 Vtg_RX_sun' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/MAX' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/MIN' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/Saturation Dynamic' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.5 Vtg_RR_incar/X' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.5 Vtg_RR_incar/Y' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.6 Vtg_RX_amb/X' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.6 Vtg_RX_amb/Y' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.7 Vtg_RX_sun/X' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.7 Vtg_RX_sun/Y' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control FL/Compare To Constant' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control FL/Compare To Constant1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control FL/Compare To Constant2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control FR/Compare To Constant' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control FR/Compare To Constant1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control FR/Compare To Constant2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control RL/Compare To Constant' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control RL/Compare To Constant1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control RL/Compare To Constant2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control RR/Compare To Constant' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control RR/Compare To Constant1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control RR/Compare To Constant2' - * '' : 'HVAC_model/CAN INPUT/AC_Max_Active' - * '' : 'HVAC_model/CAN INPUT/Compare To Constant' - * '' : 'HVAC_model/CAN INPUT/Compare To Constant1' - * '' : 'HVAC_model/CAN INPUT/Compare To Constant2' - * '' : 'HVAC_model/CAN INPUT/Compare To Constant3' - * '' : 'HVAC_model/CAN INPUT/Compare To Constant4' - * '' : 'HVAC_model/CAN INPUT/Compare To Constant5' - * '' : 'HVAC_model/CAN INPUT/Compare To Constant7' - * '' : 'HVAC_model/CAN INPUT/Defrost_Active' - * '' : 'HVAC_model/CAN INPUT/Detect Increase' - * '' : 'HVAC_model/CAN INPUT/Detect Increase1' - * '' : 'HVAC_model/CAN INPUT/Detect Increase2' - * '' : 'HVAC_model/CAN INPUT/Detect Increase3' - * '' : 'HVAC_model/CAN INPUT/Detect Increase4' - * '' : 'HVAC_model/CAN INPUT/Detect Increase5' - * '' : 'HVAC_model/CAN INPUT/Detect Increase7' - * '' : 'HVAC_model/CAN INPUT/Full_Rec_Active' - * '' : 'HVAC_model/CAN INPUT/Subsystem' - * '' : 'HVAC_model/CAN INPUT/Subsystem1' - * '' : 'HVAC_model/CAN INPUT/Subsystem10' - * '' : 'HVAC_model/CAN INPUT/Subsystem11' - * '' : 'HVAC_model/CAN INPUT/Subsystem12' - * '' : 'HVAC_model/CAN INPUT/Subsystem13' - * '' : 'HVAC_model/CAN INPUT/Subsystem14' - * '' : 'HVAC_model/CAN INPUT/Subsystem15' - * '' : 'HVAC_model/CAN INPUT/Subsystem16' - * '' : 'HVAC_model/CAN INPUT/Subsystem17' - * '' : 'HVAC_model/CAN INPUT/Subsystem18' - * '' : 'HVAC_model/CAN INPUT/Subsystem19' - * '' : 'HVAC_model/CAN INPUT/Subsystem2' - * '' : 'HVAC_model/CAN INPUT/Subsystem20' - * '' : 'HVAC_model/CAN INPUT/Subsystem21' - * '' : 'HVAC_model/CAN INPUT/Subsystem22' - * '' : 'HVAC_model/CAN INPUT/Subsystem23' - * '' : 'HVAC_model/CAN INPUT/Subsystem24' - * '' : 'HVAC_model/CAN INPUT/Subsystem25' - * '' : 'HVAC_model/CAN INPUT/Subsystem26' - * '' : 'HVAC_model/CAN INPUT/Subsystem27' - * '' : 'HVAC_model/CAN INPUT/Subsystem28' - * '' : 'HVAC_model/CAN INPUT/Subsystem29' - * '' : 'HVAC_model/CAN INPUT/Subsystem3' - * '' : 'HVAC_model/CAN INPUT/Subsystem30' - * '' : 'HVAC_model/CAN INPUT/Subsystem31' - * '' : 'HVAC_model/CAN INPUT/Subsystem32' - * '' : 'HVAC_model/CAN INPUT/Subsystem33' - * '' : 'HVAC_model/CAN INPUT/Subsystem34' - * '' : 'HVAC_model/CAN INPUT/Subsystem35' - * '' : 'HVAC_model/CAN INPUT/Subsystem36' - * '' : 'HVAC_model/CAN INPUT/Subsystem37' - * '' : 'HVAC_model/CAN INPUT/Subsystem38' - * '' : 'HVAC_model/CAN INPUT/Subsystem39' - * '' : 'HVAC_model/CAN INPUT/Subsystem4' - * '' : 'HVAC_model/CAN INPUT/Subsystem40' - * '' : 'HVAC_model/CAN INPUT/Subsystem41' - * '' : 'HVAC_model/CAN INPUT/Subsystem42' - * '' : 'HVAC_model/CAN INPUT/Subsystem43' - * '' : 'HVAC_model/CAN INPUT/Subsystem44' - * '' : 'HVAC_model/CAN INPUT/Subsystem45' - * '' : 'HVAC_model/CAN INPUT/Subsystem46' - * '' : 'HVAC_model/CAN INPUT/Subsystem47' - * '' : 'HVAC_model/CAN INPUT/Subsystem48' - * '' : 'HVAC_model/CAN INPUT/Subsystem49' - * '' : 'HVAC_model/CAN INPUT/Subsystem5' - * '' : 'HVAC_model/CAN INPUT/Subsystem50' - * '' : 'HVAC_model/CAN INPUT/Subsystem6' - * '' : 'HVAC_model/CAN INPUT/Subsystem62' - * '' : 'HVAC_model/CAN INPUT/Subsystem63' - * '' : 'HVAC_model/CAN INPUT/Subsystem64' - * '' : 'HVAC_model/CAN INPUT/Subsystem7' - * '' : 'HVAC_model/CAN INPUT/Subsystem8' - * '' : 'HVAC_model/CAN INPUT/Subsystem9' - * '' : 'HVAC_model/CAN INPUT/if action' - * '' : 'HVAC_model/CAN INPUT/if action1' - * '' : 'HVAC_model/CAN INPUT/if action2' - * '' : 'HVAC_model/CAN INPUT/if action4' - * '' : 'HVAC_model/CAN INPUT/tempToggleFL' - * '' : 'HVAC_model/CAN INPUT/tempToggleFR' - * '' : 'HVAC_model/CAN INPUT/tempToggleRL' - * '' : 'HVAC_model/CAN INPUT/tempToggleRR' - * '' : 'HVAC_model/CAN INPUT/Subsystem1/If Action Subsystem' - * '' : 'HVAC_model/CAN INPUT/Subsystem2/LO HI mode' - * '' : 'HVAC_model/CAN INPUT/Subsystem2/LO HI mode/HI mode' - * '' : 'HVAC_model/CAN INPUT/Subsystem2/LO HI mode/LO mode' - * '' : 'HVAC_model/CAN INPUT/Subsystem2/LO HI mode/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/Subsystem24/full sync action' - * '' : 'HVAC_model/CAN INPUT/Subsystem24/sync front action' - * '' : 'HVAC_model/CAN INPUT/Subsystem24/sync off action' - * '' : 'HVAC_model/CAN INPUT/Subsystem3/LO HI mode' - * '' : 'HVAC_model/CAN INPUT/Subsystem3/LO HI mode/HI mode' - * '' : 'HVAC_model/CAN INPUT/Subsystem3/LO HI mode/LO mode' - * '' : 'HVAC_model/CAN INPUT/Subsystem3/LO HI mode/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/Subsystem44/sync off rear action' - * '' : 'HVAC_model/CAN INPUT/Subsystem44/sync rear action' - * '' : 'HVAC_model/CAN INPUT/Subsystem44/sync off rear action/logger' - * '' : 'HVAC_model/CAN INPUT/Subsystem44/sync rear action/logger' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Инициализация температуры' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Calculate delta time' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Coolant temp threshold' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Almost equal' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим/обычное понижение темп.' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим/AMBRATE_FALLING_DIFF[7]' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим/включаем ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим/обычный режим повышения' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим/обычный режим повышения/обычное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим/обычное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим/AMBRATE_RISING_DIFF[7]' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим/включаем ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим/обычный режим повышения' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим/обычный режим повышения/обычное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Almost equal' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим/обычное понижение темп.' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим/AMBRATE_FALLING_DIFF[7]' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим/включаем ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим/обычный режим повышения' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим/обычный режим повышения/обычное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим/обычное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим/AMBRATE_RISING_DIFF[7]' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим/включаем ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим/обычный режим повышения' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим/обычный режим повышения/обычное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно/Almost equal' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно/Если температура опускается' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно/Если температура поднимается' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно/Если температура опускается/обычное понижение темп.' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно/Если температура поднимается/границы' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Almost equal' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим/обычное понижение темп.' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим/AMBRATE_FALLING_DIFF[7]' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим/включаем ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим/обычный режим повышения' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим/обычный режим повышения/обычное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим/обычное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим/AMBRATE_RISING_DIFF[7]' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим/включаем ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим/обычный режим повышения' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим/обычный режим повышения/обычное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/Subsystem5/LO HI mode' - * '' : 'HVAC_model/CAN INPUT/Subsystem5/LO HI mode/HI mode' - * '' : 'HVAC_model/CAN INPUT/Subsystem5/LO HI mode/LO mode' - * '' : 'HVAC_model/CAN INPUT/Subsystem5/LO HI mode/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/Subsystem6/LO HI mode' - * '' : 'HVAC_model/CAN INPUT/Subsystem6/LO HI mode/HI mode' - * '' : 'HVAC_model/CAN INPUT/Subsystem6/LO HI mode/LO mode' - * '' : 'HVAC_model/CAN INPUT/Subsystem6/LO HI mode/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/if action/sync front action1' - * '' : 'HVAC_model/CAN INPUT/if action/sync front action3' - * '' : 'HVAC_model/CAN INPUT/if action1/sync front action1' - * '' : 'HVAC_model/CAN INPUT/if action1/sync front action3' - * '' : 'HVAC_model/CAN INPUT/if action2/sync front action1' - * '' : 'HVAC_model/CAN INPUT/if action2/sync front action3' - * '' : 'HVAC_model/CAN INPUT/if action4/sync front action1' - * '' : 'HVAC_model/CAN INPUT/if action4/sync front action3' - * '' : 'HVAC_model/CAN INPUT/tempToggleFL/Compare To Constant3' - * '' : 'HVAC_model/CAN INPUT/tempToggleFL/Detect Increase3' - * '' : 'HVAC_model/CAN INPUT/tempToggleFL/If Action Subsystem' - * '' : 'HVAC_model/CAN INPUT/tempToggleFL/If Action Subsystem/temp down' - * '' : 'HVAC_model/CAN INPUT/tempToggleFL/If Action Subsystem/temp up' - * '' : 'HVAC_model/CAN INPUT/tempToggleFL/If Action Subsystem/temp down/LO HI mode R' - * '' : 'HVAC_model/CAN INPUT/tempToggleFL/If Action Subsystem/temp down/LO HI mode R/HI mode' - * '' : 'HVAC_model/CAN INPUT/tempToggleFL/If Action Subsystem/temp down/LO HI mode R/LO mode' - * '' : 'HVAC_model/CAN INPUT/tempToggleFL/If Action Subsystem/temp down/LO HI mode R/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/tempToggleFL/If Action Subsystem/temp up/LO HI mode R' - * '' : 'HVAC_model/CAN INPUT/tempToggleFL/If Action Subsystem/temp up/LO HI mode R/HI mode' - * '' : 'HVAC_model/CAN INPUT/tempToggleFL/If Action Subsystem/temp up/LO HI mode R/LO mode' - * '' : 'HVAC_model/CAN INPUT/tempToggleFL/If Action Subsystem/temp up/LO HI mode R/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/tempToggleFR/Compare To Constant3' - * '' : 'HVAC_model/CAN INPUT/tempToggleFR/Detect Increase3' - * '' : 'HVAC_model/CAN INPUT/tempToggleFR/If Action Subsystem' - * '' : 'HVAC_model/CAN INPUT/tempToggleFR/If Action Subsystem/temp down' - * '' : 'HVAC_model/CAN INPUT/tempToggleFR/If Action Subsystem/temp up' - * '' : 'HVAC_model/CAN INPUT/tempToggleFR/If Action Subsystem/temp down/LO HI mode R' - * '' : 'HVAC_model/CAN INPUT/tempToggleFR/If Action Subsystem/temp down/LO HI mode R/HI mode' - * '' : 'HVAC_model/CAN INPUT/tempToggleFR/If Action Subsystem/temp down/LO HI mode R/LO mode' - * '' : 'HVAC_model/CAN INPUT/tempToggleFR/If Action Subsystem/temp down/LO HI mode R/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/tempToggleFR/If Action Subsystem/temp up/LO HI mode R' - * '' : 'HVAC_model/CAN INPUT/tempToggleFR/If Action Subsystem/temp up/LO HI mode R/HI mode' - * '' : 'HVAC_model/CAN INPUT/tempToggleFR/If Action Subsystem/temp up/LO HI mode R/LO mode' - * '' : 'HVAC_model/CAN INPUT/tempToggleFR/If Action Subsystem/temp up/LO HI mode R/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/tempToggleRL/Compare To Constant3' - * '' : 'HVAC_model/CAN INPUT/tempToggleRL/Detect Increase3' - * '' : 'HVAC_model/CAN INPUT/tempToggleRL/If Action Subsystem' - * '' : 'HVAC_model/CAN INPUT/tempToggleRL/If Action Subsystem/temp down' - * '' : 'HVAC_model/CAN INPUT/tempToggleRL/If Action Subsystem/temp up' - * '' : 'HVAC_model/CAN INPUT/tempToggleRL/If Action Subsystem/temp down/LO HI mode R' - * '' : 'HVAC_model/CAN INPUT/tempToggleRL/If Action Subsystem/temp down/LO HI mode R/HI mode' - * '' : 'HVAC_model/CAN INPUT/tempToggleRL/If Action Subsystem/temp down/LO HI mode R/LO mode' - * '' : 'HVAC_model/CAN INPUT/tempToggleRL/If Action Subsystem/temp down/LO HI mode R/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/tempToggleRL/If Action Subsystem/temp up/LO HI mode R' - * '' : 'HVAC_model/CAN INPUT/tempToggleRL/If Action Subsystem/temp up/LO HI mode R/HI mode' - * '' : 'HVAC_model/CAN INPUT/tempToggleRL/If Action Subsystem/temp up/LO HI mode R/LO mode' - * '' : 'HVAC_model/CAN INPUT/tempToggleRL/If Action Subsystem/temp up/LO HI mode R/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/tempToggleRR/Compare To Constant3' - * '' : 'HVAC_model/CAN INPUT/tempToggleRR/Detect Increase3' - * '' : 'HVAC_model/CAN INPUT/tempToggleRR/If Action Subsystem' - * '' : 'HVAC_model/CAN INPUT/tempToggleRR/If Action Subsystem/temp down' - * '' : 'HVAC_model/CAN INPUT/tempToggleRR/If Action Subsystem/temp up' - * '' : 'HVAC_model/CAN INPUT/tempToggleRR/If Action Subsystem/temp down/LO HI mode R' - * '' : 'HVAC_model/CAN INPUT/tempToggleRR/If Action Subsystem/temp down/LO HI mode R/HI mode' - * '' : 'HVAC_model/CAN INPUT/tempToggleRR/If Action Subsystem/temp down/LO HI mode R/LO mode' - * '' : 'HVAC_model/CAN INPUT/tempToggleRR/If Action Subsystem/temp down/LO HI mode R/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/tempToggleRR/If Action Subsystem/temp up/LO HI mode R' - * '' : 'HVAC_model/CAN INPUT/tempToggleRR/If Action Subsystem/temp up/LO HI mode R/HI mode' - * '' : 'HVAC_model/CAN INPUT/tempToggleRR/If Action Subsystem/temp up/LO HI mode R/LO mode' - * '' : 'HVAC_model/CAN INPUT/tempToggleRR/If Action Subsystem/temp up/LO HI mode R/not LO or HI' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem1' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem2' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0' - * '' : 'HVAC_model/LIN/CHANEL1' - * '' : 'HVAC_model/LIN/CHANEL2' - * '' : 'HVAC_model/LIN/CHANEL3' - * '' : 'HVAC_model/LIN/CHANEL4' - * '' : 'HVAC_model/LIN/Chart' - * '' : 'HVAC_model/LIN/CHANEL0/Actuator_Ch0_Command_Model' - * '' : 'HVAC_model/LIN/CHANEL0/COM = 0' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min' - * '' : 'HVAC_model/LIN/CHANEL0/Homing' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min' - * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode' - * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode' - * '' : 'HVAC_model/LIN/CHANEL0/steps to percents' - * '' : 'HVAC_model/LIN/CHANEL0/COM = 0/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Count step actuator' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem4' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/Compare To Constant1' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/Subsystem' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/CAN ERROR' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/Subsystem' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/UDS ERROR' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/CAN ERROR/Write ERROR' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2/Compare To Constant3' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2/Compare To Constant4' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/MATLAB Function' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position/percents to steps' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1/UDS ERROR' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR/Write ERROR' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem4/Send position' - * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem4/Send position/percents to steps' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min/If Action Subsystem/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Actuator_Ch1_Command_Model' - * '' : 'HVAC_model/LIN/CHANEL1/COM = 0' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min' - * '' : 'HVAC_model/LIN/CHANEL1/Homing' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min' - * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode' - * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode' - * '' : 'HVAC_model/LIN/CHANEL1/stepr to percents' - * '' : 'HVAC_model/LIN/CHANEL1/COM = 0/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Count step actuator' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/Compare To Constant1' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/Subsystem' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/CAN ERROR' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/Subsystem' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/UDS ERROR' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/CAN ERROR/Write ERROR' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2/Compare To Constant3' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2/Compare To Constant4' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/MATLAB Function' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position/percents to steps' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1/UDS ERROR' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR/Write ERROR' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4/Send position' - * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4/Send position/percents to steps' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min/If Action Subsystem/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL2/Actuator_Ch1_Command_Model' - * '' : 'HVAC_model/LIN/CHANEL2/COM = 0' - * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Max' - * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Min' - * '' : 'HVAC_model/LIN/CHANEL2/Homing' - * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max' - * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min' - * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max' - * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min' - * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode' - * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode' - * '' : 'HVAC_model/LIN/CHANEL2/stepr to percents' - * '' : 'HVAC_model/LIN/CHANEL2/COM = 0/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Min/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Min/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Count step actuator' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/Compare To Constant1' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/Subsystem' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/CAN ERROR' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/Compare To Constant' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/Subsystem' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/UDS ERROR' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/CAN ERROR/Write ERROR' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2/Compare To Constant3' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2/Compare To Constant4' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/MATLAB Function' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position/percents to steps' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1/UDS ERROR' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR/Write ERROR' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4/MAX POSITION' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4/Send position' - * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4/Send position/percents to steps' - * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min/If Action Subsystem' - * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min/If Action Subsystem/Write' - * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode/If Action Subsystem2/Write' - * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode/If Action Subsystem2' - * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode/If Action Subsystem3' - * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode/If Action Subsystem2/Write' - * '' : 'HVAC_model/PID DUCT/Subsystem1' - * '' : 'HVAC_model/PID DUCT/Subsystem2' - * '' : 'HVAC_model/PID DUCT/Subsystem3' - * '' : 'HVAC_model/PID DUCT/Subsystem4' - * '' : 'HVAC_model/PID DUCT/Subsystem5' - * '' : 'HVAC_model/PID DUCT/Subsystem6' - * '' : 'HVAC_model/PID DUCT/Subsystem1/Compare To Zero1' - * '' : 'HVAC_model/PID DUCT/Subsystem1/Compare To Zero2' - * '' : 'HVAC_model/PID DUCT/Subsystem1/Compare To Zero3' - * '' : 'HVAC_model/PID DUCT/Subsystem1/Saturation Dynamic' - * '' : 'HVAC_model/PID DUCT/Subsystem2/Compare To Zero1' - * '' : 'HVAC_model/PID DUCT/Subsystem2/Compare To Zero2' - * '' : 'HVAC_model/PID DUCT/Subsystem2/Compare To Zero3' - * '' : 'HVAC_model/PID DUCT/Subsystem2/Saturation Dynamic' - * '' : 'HVAC_model/PID DUCT/Subsystem3/Compare To Zero1' - * '' : 'HVAC_model/PID DUCT/Subsystem3/Compare To Zero2' - * '' : 'HVAC_model/PID DUCT/Subsystem3/Compare To Zero3' - * '' : 'HVAC_model/PID DUCT/Subsystem3/Saturation Dynamic' - * '' : 'HVAC_model/PID DUCT/Subsystem4/Compare To Zero1' - * '' : 'HVAC_model/PID DUCT/Subsystem4/Compare To Zero2' - * '' : 'HVAC_model/PID DUCT/Subsystem4/Compare To Zero3' - * '' : 'HVAC_model/PID DUCT/Subsystem4/Saturation Dynamic' - * '' : 'HVAC_model/PID DUCT/Subsystem5/Compare To Zero1' - * '' : 'HVAC_model/PID DUCT/Subsystem5/Compare To Zero2' - * '' : 'HVAC_model/PID DUCT/Subsystem5/Compare To Zero3' - * '' : 'HVAC_model/PID DUCT/Subsystem5/Saturation Dynamic' - * '' : 'HVAC_model/PID DUCT/Subsystem6/Compare To Zero1' - * '' : 'HVAC_model/PID DUCT/Subsystem6/Compare To Zero2' - * '' : 'HVAC_model/PID DUCT/Subsystem6/Compare To Zero3' - * '' : 'HVAC_model/PID DUCT/Subsystem6/Saturation Dynamic' - * '' : 'HVAC_model/PWN/Write' - * '' : 'HVAC_model/PWN/Write1' - * '' : 'HVAC_model/PWN/Write2' - * '' : 'HVAC_model/PWN/Write3' - * '' : 'HVAC_model/Power/Compare To Zero' - * '' : 'HVAC_model/Power/Compare To Zero1' - * '' : 'HVAC_model/Power/Compare To Zero2' - * '' : 'HVAC_model/Power/Subsystem' - * '' : 'HVAC_model/Power/Subsystem2' - * '' : 'HVAC_model/Subsystem/Compare To Constant1' - * '' : 'HVAC_model/Subsystem/MATLAB Function' - * '' : 'HVAC_model/Subsystem/MATLAB Function1' - * '' : 'HVAC_model/Subsystem/Subsystem4' - * '' : 'HVAC_model/Subsystem/Subsystem4/Compare To Zero1' - * '' : 'HVAC_model/Subsystem/Subsystem4/Compare To Zero2' - * '' : 'HVAC_model/Subsystem/Subsystem4/Compare To Zero3' - * '' : 'HVAC_model/Subsystem/Subsystem4/Saturation Dynamic' - * '' : 'HVAC_model/Subsystem/Subsystem4/Saturation Dynamic3' - * '' : 'HVAC_model/Synchronization (SYNC)/all zone sync' - * '' : 'HVAC_model/Synchronization (SYNC)/front sync' - * '' : 'HVAC_model/Synchronization (SYNC)/rear sync' - * '' : 'HVAC_model/Valves auto or manual/Individual foot' - * '' : 'HVAC_model/Valves auto or manual/Individual foot1' - * '' : 'HVAC_model/Valves auto or manual/if start control FL' - * '' : 'HVAC_model/Valves auto or manual/if start control FR' - * '' : 'HVAC_model/Valves auto or manual/if start control RL' - * '' : 'HVAC_model/Valves auto or manual/if start control RR' - * '' : 'HVAC_model/Valves auto or manual/join left and right front' - * '' : 'HVAC_model/Valves auto or manual/join left and right rear' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode ' - * '' : 'HVAC_model/Valves auto or manual/if start control FL/Compare To Constant' - * '' : 'HVAC_model/Valves auto or manual/if start control FL/Compare To Constant1' - * '' : 'HVAC_model/Valves auto or manual/if start control FL/Compare To Constant2' - * '' : 'HVAC_model/Valves auto or manual/if start control FL/Compare To Constant3' - * '' : 'HVAC_model/Valves auto or manual/if start control FL/If Action Subsystem' - * '' : 'HVAC_model/Valves auto or manual/if start control FL/If Action Subsystem1' - * '' : 'HVAC_model/Valves auto or manual/if start control FL/If Action Subsystem/valves for mode' - * '' : 'HVAC_model/Valves auto or manual/if start control FR/Compare To Constant' - * '' : 'HVAC_model/Valves auto or manual/if start control FR/Compare To Constant1' - * '' : 'HVAC_model/Valves auto or manual/if start control FR/Compare To Constant2' - * '' : 'HVAC_model/Valves auto or manual/if start control FR/Compare To Constant3' - * '' : 'HVAC_model/Valves auto or manual/if start control FR/If Action Subsystem' - * '' : 'HVAC_model/Valves auto or manual/if start control FR/If Action Subsystem1' - * '' : 'HVAC_model/Valves auto or manual/if start control FR/If Action Subsystem/valves for mode' - * '' : 'HVAC_model/Valves auto or manual/if start control RL/Compare To Constant' - * '' : 'HVAC_model/Valves auto or manual/if start control RL/Compare To Constant1' - * '' : 'HVAC_model/Valves auto or manual/if start control RL/Compare To Constant2' - * '' : 'HVAC_model/Valves auto or manual/if start control RL/Compare To Constant3' - * '' : 'HVAC_model/Valves auto or manual/if start control RL/If Action Subsystem' - * '' : 'HVAC_model/Valves auto or manual/if start control RL/If Action Subsystem1' - * '' : 'HVAC_model/Valves auto or manual/if start control RL/If Action Subsystem/valves_rear_left' - * '' : 'HVAC_model/Valves auto or manual/if start control RR/Compare To Constant' - * '' : 'HVAC_model/Valves auto or manual/if start control RR/Compare To Constant1' - * '' : 'HVAC_model/Valves auto or manual/if start control RR/Compare To Constant2' - * '' : 'HVAC_model/Valves auto or manual/if start control RR/Compare To Constant3' - * '' : 'HVAC_model/Valves auto or manual/if start control RR/If Action Subsystem' - * '' : 'HVAC_model/Valves auto or manual/if start control RR/If Action Subsystem1' - * '' : 'HVAC_model/Valves auto or manual/if start control RR/If Action Subsystem/valves_rear_right' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/front' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/front/MODE_for_set_and_lvl' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/front/MODE_for_set_and_lvl1' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/front/valves_front_left' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/front/valves_front_right' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/MODE_by_duct_tg_R_for_LVL' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/duct_tg увеличивается RL' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/duct_tg увеличивается RR' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/duct_tg уменьшается RL' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/duct_tg уменьшается RR' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/valves_rear_left' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/valves_rear_right' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/duct_tg увеличивается RL/increase' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/duct_tg увеличивается RR/increase' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/duct_tg уменьшается RL/decrease' - * '' : 'HVAC_model/Valves auto or manual/valves in auto mode/rear/duct_tg уменьшается RR/decrease' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Rear zone valves' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Bi Level' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Def' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Foot' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Foot + Def' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Hi_Level' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Tri-Level' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Vent mode' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Bi Level' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Def' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Foot' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Foot + Def' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Hi_Level' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Tri-Level' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Vent mode' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Rear zone valves/Rear valves left - manual directions' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Rear zone valves/Rear valves right - manual directions' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Rear zone valves/Rear valves left - manual directions/AF for Bi Level' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Rear zone valves/Rear valves left - manual directions/AF for Foot' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Rear zone valves/Rear valves left - manual directions/valves for Vent mode' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Rear zone valves/Rear valves right - manual directions/AF for Bi Level' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Rear zone valves/Rear valves right - manual directions/AF for Foot' - * '' : 'HVAC_model/Valves auto or manual/valves in manual mode /Rear zone valves/Rear valves right - manual directions/valves for Vent mode' - * '' : 'HVAC_model/dbg CAN/0 to dbg' - * '' : 'HVAC_model/dbg CAN/ACP (duct sensors) to dbg' - * '' : 'HVAC_model/dbg CAN/CCU_IO to dbg' - * '' : 'HVAC_model/dbg CAN/DRS to dbg' - * '' : 'HVAC_model/dbg CAN/DRS to dbg1' - * '' : 'HVAC_model/dbg CAN/LIN_AirQS to dbg' - * '' : 'HVAC_model/dbg CAN/LIN_AirQS to dbg1' - * '' : 'HVAC_model/dbg CAN/Logic_Acl to dbg' - * '' : 'HVAC_model/dbg CAN/Logic_Rec to dbg' - * '' : 'HVAC_model/dbg CAN/Logic_State to dbg' - * '' : 'HVAC_model/dbg CAN/Logic_Valve to dbg' - * '' : 'HVAC_model/dbg CAN/actuators to dbg' - * '' : 'HVAC_model/dbg CAN/ambient to dbg' - * '' : 'HVAC_model/dbg CAN/autoAF dbg' - * '' : 'HVAC_model/dbg CAN/autoduct dbg' - * '' : 'HVAC_model/dbg CAN/blower to dbg' - * '' : 'HVAC_model/dbg CAN/sen_eva (evaporator) to dbg' - * '' : 'HVAC_model/dbg CAN/CCU_IO to dbg/Subsystem' - * '' : 'HVAC_model/dbg CAN/CCU_IO to dbg/Subsystem1' - * '' : 'HVAC_model/dbg CAN/CCU_IO to dbg/Subsystem2' - * '' : 'HVAC_model/dbg CAN/CCU_IO to dbg/Subsystem3' + * '' : 'HVAC_model/13,1,3,7 Start control' + * '' : 'HVAC_model/13.1.3.3 Dtg model' + * '' : 'HVAC_model/A//C Control' + * '' : 'HVAC_model/ACP' + * '' : 'HVAC_model/ACmax' + * '' : 'HVAC_model/AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual' + * '' : 'HVAC_model/CAN INPUT' + * '' : 'HVAC_model/CAN OUTPUT' + * '' : 'HVAC_model/Chart' + * '' : 'HVAC_model/Compare To Constant' + * '' : 'HVAC_model/Compare To Constant1' + * '' : 'HVAC_model/Compare To Constant2' + * '' : 'HVAC_model/Compare To Constant3' + * '' : 'HVAC_model/DRS' + * '' : 'HVAC_model/IndexMode' + * '' : 'HVAC_model/LIN' + * '' : 'HVAC_model/MATLAB Function1' + * '' : 'HVAC_model/PID Compressor' + * '' : 'HVAC_model/PID DUCT' + * '' : 'HVAC_model/PWN' + * '' : 'HVAC_model/Power' + * '' : 'HVAC_model/Synchronization (SYNC)' + * '' : 'HVAC_model/Synchronization stateflow chart' + * '' : 'HVAC_model/Valves auto or manual (заслонки)' + * '' : 'HVAC_model/dbg CAN' + * '' : 'HVAC_model/debug stateflow chart' + * '' : 'HVAC_model/external fan' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Convert_g_assAMB_LV_UP' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Log Ambient Lv' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem1' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem5' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem1/Convert_g_assAMB_LV_DN_1' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem1/Convert_g_assAMB_LV_UP_2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem2/Convert_g_assAMB_LV_DN_2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem2/Convert_g_assAMB_LV_UP_3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem3/Convert_g_assAMB_LV_DN_3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem3/Convert_g_assAMB_LV_UP_4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem4/Convert_g_assAMB_LV_DN_4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem4/Convert_g_assAMB_LV_UP_5' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Switch Case Action Subsystem5/Convert_g_assAMB_LV_DN_5' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/Modes for levels' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/Начальные положения заслонок left' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/Начальные положения заслонок right' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/VENT+' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Left' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Right' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/Saturation Dynamic3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/X_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/g_aucFLOW_AF_FOOT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FLF (Front Left Foot)/X_LEFT/get_tg_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/Saturation Dynamic4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/X_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/X_RIGHT/g_aucFLOW_AF_BLR_AF_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/FRF (Front Right Foot)/X_RIGHT/get_vtg_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Left/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Left/g_assFLOW_AF_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Left/g_aucFLOW_AF_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Left/g_aucFLOW_AF_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Right/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Right/g_assFLOW_AF_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Right/g_aucFLOW_AF_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot/Front Right/g_aucFLOW_AF_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Left' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Right' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/Saturation Dynamic3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/X_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/g_aucFLOW_AFSM_FOOT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/g_aucFLOW_AFSM_FOOT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/X_LEFT/g_assFLOW_AFSM_TEMP_TGT_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FLF (Front Left Foot)/X_LEFT/get_tg_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/Saturation Dynamic4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/g_aucFLOW_AFSM_FOOT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_AFSM_TEMP_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Left/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Left/g_assFLOW_AFSM_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Left/g_aucFLOW_AFSM_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Left/g_aucFLOW_AF_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Right/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Right/g_assFLOW_AF_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Right/g_aucFLOW_AF_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Afoot_Summer/Front Right/g_aucFLOW_AF_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/Saturation Dynamic3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/X_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_PLUS_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX1' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN1' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FLF (Front Left Foot)/X_LEFT/get_tg_FLL_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/Saturation Dynamic4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/X_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_PLUS_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_BI_TEMP_TGT_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left/g_assFLOW_BI_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left/g_aucFLOW_BI_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left/g_aucFLOW_BI_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Left/g_aucFLOW_BI_VENT_VALVE_MIN' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right/g_assFLOW_BI_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right/g_aucFLOW_BI_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right/g_aucFLOW_BI_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel/Front Right/g_aucFLOW_BI_VENT_VALVE_MIN' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/Saturation Dynamic3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/X_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_PLUS_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX1' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN1' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FLF (Front Left Foot)/X_LEFT/get_tg_FLL_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/Saturation Dynamic4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/X_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_PLUS_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_BI2_TEMP_TGT_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left/g_assFLOW_BI_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left/g_aucFLOW_BI_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left/g_aucFLOW_BI_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Left/g_aucFLOW_BI_VENT_VALVE_MIN' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right/g_assFLOW_BI_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right/g_aucFLOW_BI_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right/g_aucFLOW_BI_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_left/Bilevel2/Front Right/g_aucFLOW_BI_VENT_VALVE_MIN' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/VENT+' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Left' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Right' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/Saturation Dynamic3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/X_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/g_aucFLOW_AF_FOOT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FLF (Front Left Foot)/X_LEFT/get_tg_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/Saturation Dynamic4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/X_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/X_RIGHT/g_aucFLOW_AF_BLR_AF_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/FRF (Front Right Foot)/X_RIGHT/get_vtg_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Left/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Left/g_assFLOW_AF_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Left/g_aucFLOW_AF_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Left/g_aucFLOW_AF_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Right/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Right/g_assFLOW_AF_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Right/g_aucFLOW_AF_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot/Front Right/g_aucFLOW_AF_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Left' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Right' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/Saturation Dynamic3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/X_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/g_aucFLOW_AFSM_FOOT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/g_aucFLOW_AFSM_FOOT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/X_LEFT/g_assFLOW_AFSM_TEMP_TGT_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FLF (Front Left Foot)/X_LEFT/get_tg_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/Saturation Dynamic4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/g_aucFLOW_AFSM_FOOT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/g_aucFLOW_AF_FOOT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_AFSM_TEMP_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Left/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Left/g_assFLOW_AFSM_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Left/g_aucFLOW_AFSM_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Left/g_aucFLOW_AF_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Right/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Right/g_assFLOW_AF_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Right/g_aucFLOW_AF_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Afoot_Summer/Front Right/g_aucFLOW_AF_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/Saturation Dynamic3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/X_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_PLUS_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX1' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN1' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FLF (Front Left Foot)/X_LEFT/get_tg_FLL_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/Saturation Dynamic4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/X_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_PLUS_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_BI_TEMP_TGT_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left/g_assFLOW_BI_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left/g_aucFLOW_BI_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left/g_aucFLOW_BI_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Left/g_aucFLOW_BI_VENT_VALVE_MIN' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right/g_assFLOW_BI_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right/g_aucFLOW_BI_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right/g_aucFLOW_BI_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel/Front Right/g_aucFLOW_BI_VENT_VALVE_MIN' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/Saturation Dynamic3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/X_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_PLUS_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX1' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN1' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/X_LEFT/g_assFLOW_BI2_TEMP_TGT_LEFT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FLF (Front Left Foot)/X_LEFT/get_tg_FLL_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/Saturation Dynamic4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/X_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_PLUS_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MAX2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/g_aucFLOW_BI_FOOT_VALVE_MIN2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/X_RIGHT/g_assFLOW_BI2_TEMP_TGT_RIGHT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/FRF (Front Right Foot)/X_RIGHT/get_tg_FLL_for_LVL' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left/g_assFLOW_BI_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left/g_aucFLOW_BI_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left/g_aucFLOW_BI_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Left/g_aucFLOW_BI_VENT_VALVE_MIN' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right/Saturation Dynamic' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right/g_assFLOW_BI_AMB_TGT' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right/g_aucFLOW_BI_VENT_PLUS' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right/g_aucFLOW_BI_VENT_VALVE_MAX' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13.1.3.2 Mode/set_valves_right/Bilevel2/Front Right/g_aucFLOW_BI_VENT_VALVE_MIN' + * '' : 'HVAC_model/13,1,3,16 Partial REC auto rec?/13,1,3,14 air quality' + * '' : 'HVAC_model/13,1,3,16 Partial REC auto rec?/Partial REC' + * '' : 'HVAC_model/13,1,3,16 Partial REC auto rec?/Spd_OSA_Trigger' + * '' : 'HVAC_model/13,1,3,6 Individual foots/FL' + * '' : 'HVAC_model/13,1,3,6 Individual foots/FR' + * '' : 'HVAC_model/13,1,3,6 Individual foots/FL/Valve and blower' + * '' : 'HVAC_model/13,1,3,6 Individual foots/FL/Valve and blower/If Action Subsystem' + * '' : 'HVAC_model/13,1,3,6 Individual foots/FL/Valve and blower/If Action Subsystem1' + * '' : 'HVAC_model/13,1,3,6 Individual foots/FL/Valve and blower/If Action Subsystem2' + * '' : 'HVAC_model/13,1,3,6 Individual foots/FL/Valve and blower/If Action Subsystem/If Action Subsystem' + * '' : 'HVAC_model/13,1,3,6 Individual foots/FL/Valve and blower/If Action Subsystem/If Action Subsystem1' + * '' : 'HVAC_model/13,1,3,6 Individual foots/FL/Valve and blower/If Action Subsystem/If Action Subsystem2' + * '' : 'HVAC_model/13,1,3,6 Individual foots/FL/Valve and blower/If Action Subsystem1/If Action Subsystem' + * '' : 'HVAC_model/13,1,3,6 Individual foots/FL/Valve and blower/If Action Subsystem1/If Action Subsystem1' + * '' : 'HVAC_model/13,1,3,6 Individual foots/FL/Valve and blower/If Action Subsystem1/If Action Subsystem2' + * '' : 'HVAC_model/13,1,3,6 Individual foots/FL/Valve and blower/If Action Subsystem2/If Action Subsystem' + * '' : 'HVAC_model/13,1,3,6 Individual foots/FL/Valve and blower/If Action Subsystem2/If Action Subsystem1' + * '' : 'HVAC_model/13,1,3,6 Individual foots/FL/Valve and blower/If Action Subsystem2/If Action Subsystem2' + * '' : 'HVAC_model/13,1,3,6 Individual foots/FR/Valve and blower' + * '' : 'HVAC_model/13,1,3,6 Individual foots/FR/Valve and blower/If Action Subsystem' + * '' : 'HVAC_model/13,1,3,6 Individual foots/FR/Valve and blower/If Action Subsystem1' + * '' : 'HVAC_model/13,1,3,6 Individual foots/FR/Valve and blower/If Action Subsystem2' + * '' : 'HVAC_model/13,1,3,6 Individual foots/FR/Valve and blower/If Action Subsystem/If Action Subsystem' + * '' : 'HVAC_model/13,1,3,6 Individual foots/FR/Valve and blower/If Action Subsystem/If Action Subsystem1' + * '' : 'HVAC_model/13,1,3,6 Individual foots/FR/Valve and blower/If Action Subsystem/If Action Subsystem2' + * '' : 'HVAC_model/13,1,3,6 Individual foots/FR/Valve and blower/If Action Subsystem1/If Action Subsystem' + * '' : 'HVAC_model/13,1,3,6 Individual foots/FR/Valve and blower/If Action Subsystem1/If Action Subsystem1' + * '' : 'HVAC_model/13,1,3,6 Individual foots/FR/Valve and blower/If Action Subsystem1/If Action Subsystem2' + * '' : 'HVAC_model/13,1,3,6 Individual foots/FR/Valve and blower/If Action Subsystem2/If Action Subsystem' + * '' : 'HVAC_model/13,1,3,6 Individual foots/FR/Valve and blower/If Action Subsystem2/If Action Subsystem1' + * '' : 'HVAC_model/13,1,3,6 Individual foots/FR/Valve and blower/If Action Subsystem2/If Action Subsystem2' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear' + * '' : 'HVAC_model/13,1,3,7 Start control/count from 0 to 3' + * '' : 'HVAC_model/13,1,3,7 Start control/count from 0 to 3 rear' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step -1 F (Entry Condition)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 0 F' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 3 F' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step -1 F (Entry Condition)/Level 0' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step -1 F (Entry Condition)/Level 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step -1 F (Entry Condition)/Level 2' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step -1 F (Entry Condition)/Level 3' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step -1 F (Entry Condition)/Level 4' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step -1 F (Entry Condition)/Level 5' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step -1 F (Entry Condition)/Level 0/g_assSTART_ENTER_INCAR' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step -1 F (Entry Condition)/Level 0/g_ausSTART_ENTER_SETTEMP' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step -1 F (Entry Condition)/Level 1/g_assSTART_ENTER_INCAR' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step -1 F (Entry Condition)/Level 1/g_ausSTART_ENTER_SETTEMP' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step -1 F (Entry Condition)/Level 3/g_assSTART_ENTER_COOLANT ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step -1 F (Entry Condition)/Level 4/g_assSTART_ENTER_COOLANT ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step -1 F (Entry Condition)/Level 5/g_assSTART_ENTER_COOLANT ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 0 F/Level 0' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 0 F/Level 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 0 F/Level 2' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 0 F/Level 3' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 0 F/Level 4' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 0 F/Level 5' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 0 F/Level 3/g_assSTART_COOLANT_STEP0_TO_1 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 0 F/Level 3/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 0 F/Level 3/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 0 F/Level 4/g_assSTART_COOLANT_STEP0_TO_1 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 0 F/Level 4/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 0 F/Level 4/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 0 F/Level 5/g_assSTART_COOLANT_STEP0_TO_1 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 0 F/Level 5/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 0 F/Level 5/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 0' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 2' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 3' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 4' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 5' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 0/3 way valve status' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 0/Dtg_FrontLower_X' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 0/Dtg_FrontUpper_X' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 0/Incar temp goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 0/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 0/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 0/blower FR' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 0/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 0/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 0/mode FR step 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 0/window heating' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 1/3 way valve status' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 1/Dtg_FrontLower_X' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 1/Dtg_FrontUpper_X' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 1/Incar temp goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 1/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 1/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 1/blower FR' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 1/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 1/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 1/mode FR step 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 1/window heating' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 3/3 way valve status' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 3/Dtg_FrontLower_X' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 3/Dtg_FrontUpper_X' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 3/Incar temp goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 3/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 3/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 3/blower в зависимости от ECT' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 3/g_assSTART_COOLANT_TO_STEP2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 3/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 3/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 3/mode FR step 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 3/window heating' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 3/blower в зависимости от ECT/ECT min max' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 3/blower в зависимости от ECT/blower min max' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 4/3 way valve status' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 4/Dtg_FrontLower_X' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 4/Dtg_FrontUpper_X' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 4/Incar temp goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 4/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 4/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 4/blower в зависимости от ECT' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 4/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 4/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 4/mode FR step 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 4/window heating' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 4/blower в зависимости от ECT/ECT min max' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 4/blower в зависимости от ECT/blower min max' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 5/3 way valve status' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 5/Dtg_FrontLower_X' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 5/Dtg_FrontUpper_X' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 5/Incar temp goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 5/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 5/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 5/blower в зависимости от ECT' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 5/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 5/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 5/mode FR step 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 5/window heating' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 5/blower в зависимости от ECT/ECT min max' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 1 F/Level 5/blower в зависимости от ECT/blower min max' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 2' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/3 way valve status' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/DTG F Lower, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/DTG F Upper, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/Time goto from step 2 to step 3 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/blower, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/mode, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/window heating' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/DTG F Lower, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/DTG F Lower, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/DTG F Lower, стремящийся к AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/DTG F Lower, стремящийся к AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/DTG F Lower, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/DTG F Upper, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/DTG F Upper, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/DTG F Upper, стремящийся к AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/DTG F Upper, стремящийся к AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/DTG F Upper, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/blower, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/blower, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/blower, стремящийся к AUTO/blower step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/blower, стремящийся к AUTO/blower time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/blower, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/mode, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/mode, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/mode, стремящийся к AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/mode, стремящийся к AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 0/mode, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/3 way valve status' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/DTG F Lower, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/DTG F Upper, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/Time goto from step 2 to step 3 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/blower, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/mode, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/window heating' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/DTG F Lower, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/DTG F Lower, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/DTG F Lower, стремящийся к AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/DTG F Lower, стремящийся к AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/DTG F Lower, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/DTG F Upper, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/DTG F Upper, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/DTG F Upper, стремящийся к AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/DTG F Upper, стремящийся к AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/DTG F Upper, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/blower, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/blower, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/blower, стремящийся к AUTO/blower step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/blower, стремящийся к AUTO/blower time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/blower, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/mode, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/mode, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/mode, стремящийся к AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/mode, стремящийся к AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 1/mode, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/3 way valve status' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/DTG F Lower, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/DTG F Upper, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/Time goto from step 2 to step 3 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/autodemist (autodefog)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/blower, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/mode, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/window heating' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/DTG F Lower, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/DTG F Lower, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/DTG F Lower, стремящийся к AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/DTG F Lower, стремящийся к AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/DTG F Lower, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/DTG F Upper, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/DTG F Upper, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/DTG F Upper, стремящийся к AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/DTG F Upper, стремящийся к AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/DTG F Upper, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/blower, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/blower, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/blower, стремящийся к AUTO/blower step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/blower, стремящийся к AUTO/blower time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/blower, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/mode, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/mode, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/mode, стремящийся к AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/mode, стремящийся к AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 3/mode, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/3 way valve status' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/DTG F Lower, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/DTG F Upper, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/Time goto from step 2 to step 3 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/autodemist (autodefog)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/blower, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/mode, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/window heating' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/DTG F Lower, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/DTG F Lower, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/DTG F Lower, стремящийся к AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/DTG F Lower, стремящийся к AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/DTG F Lower, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/DTG F Upper, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/DTG F Upper, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/DTG F Upper, стремящийся к AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/DTG F Upper, стремящийся к AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/DTG F Upper, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/blower, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/blower, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/blower, стремящийся к AUTO/blower step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/blower, стремящийся к AUTO/blower time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/blower, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/mode, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/mode, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/mode, стремящийся к AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/mode, стремящийся к AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 4/mode, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/3 way valve status' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/DTG F Lower, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/DTG F Upper, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/Time goto from step 2 to step 3 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/autodemist (autodefog)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/blower, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/mode, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/window heating' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/DTG F Lower, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/DTG F Lower, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/DTG F Lower, стремящийся к AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/DTG F Lower, стремящийся к AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/DTG F Lower, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/DTG F Upper, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/DTG F Upper, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/DTG F Upper, стремящийся к AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/DTG F Upper, стремящийся к AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/DTG F Upper, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/blower, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/blower, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/blower, стремящийся к AUTO/blower step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/blower, стремящийся к AUTO/blower time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/blower, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/mode, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/mode, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/mode, стремящийся к AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/mode, стремящийся к AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Front/Step 2 F/Level 5/mode, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 3 R' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 0' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 2' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 3' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 4' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 5' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 0/g_assSTART_ENTER_INCAR' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 0/g_ausSTART_ENTER_SETTEMP' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 1/g_assSTART_ENTER_INCAR' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 1/g_ausSTART_ENTER_SETTEMP' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 2/g_assSTART_ENTER_INCAR' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 2/g_ausSTART_ENTER_SETTEMP' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 3/g_assSTART_ENTER_COOLANT ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 3/g_assSTART_ENTER_INCAR' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 3/g_ausSTART_ENTER_SETTEMP' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 4/g_assSTART_ENTER_COOLANT ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 4/g_assSTART_ENTER_INCAR' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 5/g_assSTART_ENTER_COOLANT ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step -1 R (Entry Condition)/Level 5/g_assSTART_ENTER_INCAR' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 0' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 2' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 3' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 4' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 5' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 2/g_assSTART_COOLANT_STEP0_TO_1 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 2/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 2/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 3/g_assSTART_COOLANT_STEP0_TO_1 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 3/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 3/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 4/g_assSTART_COOLANT_STEP0_TO_1 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 4/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 4/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 5/g_assSTART_COOLANT_STEP0_TO_1 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 5/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 0 R/Level 5/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 0' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 2' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 3' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 4' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 5' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 0/2 way valve' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 0/Dtg_rear' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 0/Incar temp goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 0/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 0/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 0/blower rear' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 0/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 0/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 0/mode rear step 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 1/2 way valve' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 1/Dtg_rear' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 1/Incar temp goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 1/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 1/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 1/blower rear' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 1/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 1/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 1/mode rear step 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 2/2 way valve' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 2/Dtg_rear' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 2/Incar temp goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 2/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 2/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 2/blower в зависимости от ECT' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 2/g_assSTART_COOLANT_TO_STEP2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 2/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 2/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 2/mode rear step 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 2/blower в зависимости от ECT/ECT min max' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 2/blower в зависимости от ECT/blower start finish' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 3/2 way valve' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 3/Dtg_rear' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 3/Incar temp goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 3/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 3/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 3/blower в зависимости от ECT' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 3/g_assSTART_COOLANT_TO_STEP2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 3/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 3/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 3/mode rear step 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 3/blower в зависимости от ECT/ECT min max' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 3/blower в зависимости от ECT/blower start finish' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 4/2 way valve' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 4/Dtg_rear' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 4/Incar temp goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 4/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 4/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 4/blower в зависимости от ECT' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 4/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 4/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 4/mode rear step 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 4/blower в зависимости от ECT/ECT min max' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 4/blower в зависимости от ECT/blower start finish' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 5/2 way valve' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 5/Dtg_rear' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 5/Incar temp goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 5/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 5/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 5/blower в зависимости от ECT' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 5/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 5/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 5/mode rear step 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 5/blower в зависимости от ECT/ECT min max' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 1 R/Level 5/blower в зависимости от ECT/blower start finish' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/2 way valve' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/DTG Rear, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/blower, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/mode, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/DTG Rear, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/DTG Rear, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/DTG Rear, стремящийся к AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/DTG Rear, стремящийся к AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/DTG Rear, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/blower, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/blower, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/blower, стремящийся к AUTO/blower step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/blower, стремящийся к AUTO/blower time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/blower, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/mode, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/mode, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/mode, стремящийся к AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/mode, стремящийся к AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 0/mode, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/2 way valve' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/DTG Rear, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/blower, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/mode, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/DTG Rear, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/DTG Rear, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/DTG Rear, стремящийся к AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/DTG Rear, стремящийся к AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/DTG Rear, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/blower, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/blower, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/blower, стремящийся к AUTO/blower step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/blower, стремящийся к AUTO/blower time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/blower, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/mode, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/mode, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/mode, стремящийся к AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/mode, стремящийся к AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 1/mode, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/2 way valve' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/DTG Rear, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/blower, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/mode, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/DTG Rear, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/DTG Rear, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/DTG Rear, стремящийся к AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/DTG Rear, стремящийся к AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/DTG Rear, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/blower, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/blower, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/blower, стремящийся к AUTO/blower step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/blower, стремящийся к AUTO/blower time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/blower, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/mode, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/mode, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/mode, стремящийся к AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/mode, стремящийся к AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 2/mode, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/2 way valve' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/DTG Rear, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/blower, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/mode, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/DTG Rear, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/DTG Rear, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/DTG Rear, стремящийся к AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/DTG Rear, стремящийся к AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/DTG Rear, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/blower, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/blower, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/blower, стремящийся к AUTO/blower step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/blower, стремящийся к AUTO/blower time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/blower, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/mode, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/mode, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/mode, стремящийся к AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/mode, стремящийся к AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 3/mode, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/2 way valve' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/DTG Rear, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/blower, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/mode, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/DTG Rear, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/DTG Rear, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/DTG Rear, стремящийся к AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/DTG Rear, стремящийся к AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/DTG Rear, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/blower, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/blower, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/blower, стремящийся к AUTO/blower step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/blower, стремящийся к AUTO/blower time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/blower, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/mode, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/mode, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/mode, стремящийся к AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/mode, стремящийся к AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 4/mode, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/2 way valve' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/DTG Rear, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/MATLAB Function1' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/Time goto from step 1 to step 2 ' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/blower, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/incar filter down' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/incar filter up' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/mode, стремящийся к AUTO' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/DTG Rear, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/DTG Rear, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/DTG Rear, стремящийся к AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/DTG Rear, стремящийся к AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/DTG Rear, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/blower, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/blower, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/blower, стремящийся к AUTO/blower step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/blower, стремящийся к AUTO/blower time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/blower, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/mode, стремящийся к AUTO/Almost equal' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/mode, стремящийся к AUTO/Calculate delta time' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/mode, стремящийся к AUTO/step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/mode, стремящийся к AUTO/time for step' + * '' : 'HVAC_model/13,1,3,7 Start control/Start Control Rear/Step 2 R/Level 5/mode, стремящийся к AUTO/знак для изменения (+//-)' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FL' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FLL' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FR' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FRL' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode RL' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode RR' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)' + * '' : 'HVAC_model/13.1.3.3 Dtg model/Individual foot' + * '' : 'HVAC_model/13.1.3.3 Dtg model/Individual foot1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/Saturation Front lower' + * '' : 'HVAC_model/13.1.3.3 Dtg model/Saturation Front lower1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/Saturation Front upper' + * '' : 'HVAC_model/13.1.3.3 Dtg model/Saturation Front upper1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLL' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLU' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRL' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRU' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RL' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RR' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.5 FLL_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.6 FLL_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.7 FLL_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/MAX' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/MIN' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.5 FLL_tg_incar/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.5 FLL_tg_incar/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.6 FLL_tg_amb/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.6 FLL_tg_amb/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.7 FLL_tg_sun/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLL_tg_correct (Front Left Lower (Legs))/2.7 FLL_tg_sun/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.5 FLU_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.6 FLU_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.7 FLU_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/MAX' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/MIN' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.5 FLU_tg_incar/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.5 FLU_tg_incar/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.6 FLU_tg_amb/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.6 FLU_tg_amb/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.7 FLU_tg_sun/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FLU_tg_correct (Front Left)/2.7 FLU_tg_sun/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.5 FRL_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.6 FRL_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.7 FRL_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/MAX' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/MIN' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.5 FRL_tg_incar/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.5 FRL_tg_incar/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.6 FRL_tg_amb/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.6 FRL_tg_amb/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.7 FRL_tg_sun/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ FRL_tg_correct (Front Right Lower (Legs))/2.7 FRL_tg_sun/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.5 RL_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.6 R_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.7 RL_tg_sun1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/MAX' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/MIN' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.5 RL_tg_incar/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.5 RL_tg_incar/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.6 R_tg_amb/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.6 R_tg_amb/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.7 RL_tg_sun1/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RL_tg_correct (Rear Left)/2.7 RL_tg_sun1/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.5 RR_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.6 RR_tg_amb1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.7 RR_tg_sun1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/MAX' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/MIN' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.5 RR_tg_incar/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.5 RR_tg_incar/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.6 RR_tg_amb1/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.6 RR_tg_amb1/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.7 RR_tg_sun1/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/ RR_tg_correct (Rear Right)/2.7 RR_tg_sun1/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FL/коррекция для авто режима' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FL/коррекция для авто режима/func g_assAUTO_STEP_DUCT_TG_U' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FLL/коррекция для авто режима' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FLL/коррекция для авто режима/func g_assAUTO_STEP_DUCT_TG_L' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FR/коррекция для авто режима' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FR/коррекция для авто режима/func g_assAUTO_STEP_DUCT_TG_U' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FRL/коррекция для авто режима' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode FRL/коррекция для авто режима/func g_assAUTO_STEP_DUCT_TG_L' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode RL/коррекция для авто режима' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode RL/коррекция для авто режима/func g_assAUTO_STEP_DUCT_TG_R' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode RR/коррекция для авто режима' + * '' : 'HVAC_model/13.1.3.3 Dtg model/13,1,3,11 _5 AUTO mode RR/коррекция для авто режима/func g_assAUTO_STEP_DUCT_TG_R' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.5 FRU_tg_incar' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.6 FRU_tg_amb' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.7 FRU_tg_sun' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/MAX' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/MIN' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/Saturation Dynamic1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.5 FRU_tg_incar/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.5 FRU_tg_incar/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.6 FRU_tg_amb/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.6 FRU_tg_amb/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.7 FRU_tg_sun/X' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)/2.7 FRU_tg_sun/Y' + * '' : 'HVAC_model/13.1.3.3 Dtg model/Saturation Front lower/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/Saturation Front lower1/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/Saturation Front upper/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/Saturation Front upper1/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLL/Compare To Constant' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLL/Compare To Constant1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLL/Compare To Constant2' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLL/If Action Subsystem' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLL/If Action Subsystem1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLU/Compare To Constant' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLU/Compare To Constant1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLU/Compare To Constant2' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLU/If Action Subsystem' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FLU/If Action Subsystem1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRL/Compare To Constant' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRL/Compare To Constant1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRL/Compare To Constant2' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRL/If Action Subsystem' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRL/If Action Subsystem1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRU/Compare To Constant' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRU/Compare To Constant1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRU/Compare To Constant2' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRU/If Action Subsystem' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - FRU/If Action Subsystem1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RL/Compare To Constant' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RL/Compare To Constant1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RL/Compare To Constant2' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RL/If Action Subsystem' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RL/If Action Subsystem1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RR/Compare To Constant' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RR/Compare To Constant1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RR/Compare To Constant2' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RR/If Action Subsystem' + * '' : 'HVAC_model/13.1.3.3 Dtg model/if StartControl - RR/If Action Subsystem1' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/RealTime_Timer' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/correction max' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/correction rate' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/correction_start_time' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/is_ending_with_5' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/RealTime_Timer/Detect Rise Positive' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_left/RealTime_Timer/Detect Rise Positive/Positive' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/RealTime_Timer' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/Saturation Dynamic' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/correction max' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/correction rate' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/correction_start_time' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/is_ending_with_5' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/RealTime_Timer/Detect Rise Positive' + * '' : 'HVAC_model/13.1.3.3 Dtg model/wait_correction_right/RealTime_Timer/Detect Rise Positive/Positive' + * '' : 'HVAC_model/ACP/EvapF' + * '' : 'HVAC_model/ACP/EvapR' + * '' : 'HVAC_model/ACP/PRINT BTS5120_2EKA_ShutoffValvePowerTXV1' + * '' : 'HVAC_model/ACP/PRINT BTS5120_2EKA_ShutoffValvePowerTXV2' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ChannelPTCPower1' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ChannelPTCPower2' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_FrontIncarMotor' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_RearIncarMotor' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ReservePowerSupply' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ShutOFFValveFront' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ShutOFFValveRear' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_TwoWayValve' + * '' : 'HVAC_model/ACP/PRINT IGN_ANS' + * '' : 'HVAC_model/ACP/PRINT PBATT_CHECK' + * '' : 'HVAC_model/ACP/PRINT Pressure_DIAG' + * '' : 'HVAC_model/ACP/PRINT Reserve_Sensor_Duct_Temp_1' + * '' : 'HVAC_model/ACP/PRINT Reserve_Sensor_Duct_Temp_2' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct5' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct6' + * '' : 'HVAC_model/ACP/PRINT VN7008AJ_DIAG_FrontLINActuatorPowerDriverAB' + * '' : 'HVAC_model/ACP/PRINT VN7008AJ_DIAG_RearLINActuatorPowerDriverC' + * '' : 'HVAC_model/ACP/PRINT VN7008AJ_FrontLINActuatorPowerDriverAB' + * '' : 'HVAC_model/ACP/PRINT VN7008AJ_RearLINActuatorPowerDriverC' + * '' : 'HVAC_model/ACP/Rear_Duct' + * '' : 'HVAC_model/ACP/Write' + * '' : 'HVAC_model/ACP/Write1' + * '' : 'HVAC_model/ACP/Write2' + * '' : 'HVAC_model/ACP/Write3' + * '' : 'HVAC_model/ACP/Write4' + * '' : 'HVAC_model/ACP/filter incar' + * '' : 'HVAC_model/ACP/incar sensors' + * '' : 'HVAC_model/ACP/incar to dtg' + * '' : 'HVAC_model/ACP/EvapF/Compare To Constant' + * '' : 'HVAC_model/ACP/EvapF/Compare To Constant1' + * '' : 'HVAC_model/ACP/EvapF/Compare To Constant2' + * '' : 'HVAC_model/ACP/EvapF/RealTime_Timer' + * '' : 'HVAC_model/ACP/EvapF/UDS ERROR' + * '' : 'HVAC_model/ACP/EvapF/Write ERROR' + * '' : 'HVAC_model/ACP/EvapF/Write Eva_F' + * '' : 'HVAC_model/ACP/EvapR/Compare To Constant' + * '' : 'HVAC_model/ACP/EvapR/Compare To Constant1' + * '' : 'HVAC_model/ACP/EvapR/Compare To Constant2' + * '' : 'HVAC_model/ACP/EvapR/RealTime_Timer' + * '' : 'HVAC_model/ACP/EvapR/UDS ERROR' + * '' : 'HVAC_model/ACP/EvapR/Write ERROR' + * '' : 'HVAC_model/ACP/EvapR/Write Eva_F' + * '' : 'HVAC_model/ACP/PRINT BTS5120_2EKA_ShutoffValvePowerTXV1/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5120_2EKA_ShutoffValvePowerTXV2/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ChannelPTCPower1/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ChannelPTCPower2/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_FrontIncarMotor/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_RearIncarMotor/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ReservePowerSupply/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ShutOFFValveFront/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_ShutOFFValveRear/Write' + * '' : 'HVAC_model/ACP/PRINT BTS5180_2EKA_TwoWayValve/Write' + * '' : 'HVAC_model/ACP/PRINT IGN_ANS/Write' + * '' : 'HVAC_model/ACP/PRINT PBATT_CHECK/Write' + * '' : 'HVAC_model/ACP/PRINT Pressure_DIAG/Write' + * '' : 'HVAC_model/ACP/PRINT Reserve_Sensor_Duct_Temp_1/Write' + * '' : 'HVAC_model/ACP/PRINT Reserve_Sensor_Duct_Temp_2/Write' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Compare To Constant' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Compare To Constant1' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Compare To Constant2' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/RealTime_Timer' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/UDS ERROR' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Write' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Write ERROR' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant1' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant10' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant11' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant12' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant13' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant14' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant15' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant16' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant17' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant18' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant2' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant3' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant4' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant5' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant6' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant7' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant8' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Compare To Constant9' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/RealTime_Timer1' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/RealTime_Timer2' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/RealTime_Timer3' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/RealTime_Timer4' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/RealTime_Timer5' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/RealTime_Timer6' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/UDS ERROR1' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/UDS ERROR2' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/UDS ERROR3' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/UDS ERROR4' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/UDS ERROR5' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/UDS ERROR6' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write 1' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write 2' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write 3' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write 4' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write 5' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write 6' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write ERROR1' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write ERROR2' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write ERROR3' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write ERROR4' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write ERROR5' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct1/Write ERROR6' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct5/Write' + * '' : 'HVAC_model/ACP/PRINT Sensor_Front_Duct6/Write' + * '' : 'HVAC_model/ACP/PRINT VN7008AJ_DIAG_FrontLINActuatorPowerDriverAB/Write' + * '' : 'HVAC_model/ACP/PRINT VN7008AJ_DIAG_RearLINActuatorPowerDriverC/Write' + * '' : 'HVAC_model/ACP/PRINT VN7008AJ_FrontLINActuatorPowerDriverAB/Write' + * '' : 'HVAC_model/ACP/PRINT VN7008AJ_RearLINActuatorPowerDriverC/Write' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant1' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant10' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant11' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant2' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant3' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant4' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant5' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant6' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant7' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant8' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant9' + * '' : 'HVAC_model/ACP/Rear_Duct/RealTime_Timer' + * '' : 'HVAC_model/ACP/Rear_Duct/RealTime_Timer1' + * '' : 'HVAC_model/ACP/Rear_Duct/RealTime_Timer2' + * '' : 'HVAC_model/ACP/Rear_Duct/RealTime_Timer3' + * '' : 'HVAC_model/ACP/Rear_Duct/UDS ERROR' + * '' : 'HVAC_model/ACP/Rear_Duct/UDS ERROR1' + * '' : 'HVAC_model/ACP/Rear_Duct/UDS ERROR2' + * '' : 'HVAC_model/ACP/Rear_Duct/UDS ERROR3' + * '' : 'HVAC_model/ACP/Rear_Duct/Write ' + * '' : 'HVAC_model/ACP/Rear_Duct/Write 1' + * '' : 'HVAC_model/ACP/Rear_Duct/Write 2' + * '' : 'HVAC_model/ACP/Rear_Duct/Write 3' + * '' : 'HVAC_model/ACP/Rear_Duct/Write ERROR' + * '' : 'HVAC_model/ACP/Rear_Duct/Write ERROR1' + * '' : 'HVAC_model/ACP/Rear_Duct/Write ERROR2' + * '' : 'HVAC_model/ACP/Rear_Duct/Write ERROR3' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Инициализация FL' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Almost equal' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Calculate delta time' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура опускается' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура поднимается' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура опускается/включен ускоренный режим' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура опускается/обычный режим' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура опускается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим/обычное понижение темп.' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура опускается/обычный режим/AMBRATE_FALLING_DIFF[7]' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура опускается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура опускается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура опускается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура опускается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура поднимается/включен ускоренный режим' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура поднимается/обычный режим' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура поднимается/включен ускоренный режим/g_ausINCARRATE_RISING_DIFF_F[8]' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим/обычное повышение темп.' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура поднимается/обычный режим/INCARRATE_RISING_DIFF_F[7]' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура поднимается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура поднимается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура поднимается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/ACP/filter incar/filter incar FL/Фильтрация FL температуры/Если температура поднимается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Инициализация FR' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Almost equal' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Calculate delta time' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура опускается' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура поднимается' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура опускается/включен ускоренный режим' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура опускается/обычный режим' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура опускается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим/обычное понижение темп.' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура опускается/обычный режим/AMBRATE_FALLING_DIFF[7]' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура опускается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура опускается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура опускается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура опускается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура поднимается/включен ускоренный режим' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура поднимается/обычный режим' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура поднимается/включен ускоренный режим/g_ausINCARRATE_RISING_DIFF_F[8]' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим/обычное повышение темп.' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура поднимается/обычный режим/INCARRATE_RISING_DIFF_F[7]' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура поднимается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура поднимается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура поднимается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/ACP/filter incar/filter incar FR/Фильтрация FR температуры/Если температура поднимается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Инициализация RL' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Almost equal' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Calculate delta time' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура опускается' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура поднимается' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура опускается/включен ускоренный режим' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура опускается/обычный режим' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура опускается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим/обычное понижение темп.' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура опускается/обычный режим/AMBRATE_FALLING_DIFF[7]' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура опускается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура опускается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура опускается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура опускается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура поднимается/включен ускоренный режим' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура поднимается/обычный режим' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура поднимается/включен ускоренный режим/g_ausINCARRATE_RISING_DIFF_R[8]' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим/обычное повышение темп.' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура поднимается/обычный режим/INCARRATE_RISING_DIFF_R[7]' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура поднимается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура поднимается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура поднимается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/ACP/filter incar/filter incar RL/Фильтрация RL температуры/Если температура поднимается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Инициализация RR' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Almost equal' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Calculate delta time' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура опускается' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура поднимается' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура опускается/включен ускоренный режим' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура опускается/обычный режим' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура опускается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим/обычное понижение темп.' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура опускается/обычный режим/AMBRATE_FALLING_DIFF[7]' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура опускается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура опускается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура опускается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура опускается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура поднимается/включен ускоренный режим' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура поднимается/обычный режим' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура поднимается/включен ускоренный режим/g_ausINCARRATE_RISING_DIFF_R[8]' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим/обычное повышение темп.' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура поднимается/обычный режим/INCARRATE_RISING_DIFF_R[7]' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура поднимается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура поднимается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура поднимается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/ACP/filter incar/filter incar RR/Фильтрация RR температуры/Если температура поднимается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/ACP/incar sensors/incar FL' + * '' : 'HVAC_model/ACP/incar sensors/incar FR' + * '' : 'HVAC_model/ACP/incar sensors/incar RL' + * '' : 'HVAC_model/ACP/incar sensors/incar RR' + * '' : 'HVAC_model/ACP/incar sensors/process error F' + * '' : 'HVAC_model/ACP/incar sensors/process error R' + * '' : 'HVAC_model/ACP/incar sensors/incar FL/Compare To Constant' + * '' : 'HVAC_model/ACP/incar sensors/incar FL/Compare To Constant1' + * '' : 'HVAC_model/ACP/incar sensors/incar FL/Compare To Constant2' + * '' : 'HVAC_model/ACP/incar sensors/incar FL/RealTime_Timer' + * '' : 'HVAC_model/ACP/incar sensors/incar FL/UDS ERROR' + * '' : 'HVAC_model/ACP/incar sensors/incar FL/Write ERROR' + * '' : 'HVAC_model/ACP/incar sensors/incar FR/Compare To Constant6' + * '' : 'HVAC_model/ACP/incar sensors/incar FR/Compare To Constant7' + * '' : 'HVAC_model/ACP/incar sensors/incar FR/Compare To Constant8' + * '' : 'HVAC_model/ACP/incar sensors/incar FR/RealTime_Timer2' + * '' : 'HVAC_model/ACP/incar sensors/incar FR/UDS ERROR2' + * '' : 'HVAC_model/ACP/incar sensors/incar FR/Write ERROR2' + * '' : 'HVAC_model/ACP/incar sensors/incar RL/Compare To Constant3' + * '' : 'HVAC_model/ACP/incar sensors/incar RL/Compare To Constant4' + * '' : 'HVAC_model/ACP/incar sensors/incar RL/Compare To Constant5' + * '' : 'HVAC_model/ACP/incar sensors/incar RL/RealTime_Timer1' + * '' : 'HVAC_model/ACP/incar sensors/incar RL/UDS ERROR1' + * '' : 'HVAC_model/ACP/incar sensors/incar RL/Write ERROR1' + * '' : 'HVAC_model/ACP/incar sensors/incar RR/Compare To Constant10' + * '' : 'HVAC_model/ACP/incar sensors/incar RR/Compare To Constant11' + * '' : 'HVAC_model/ACP/incar sensors/incar RR/Compare To Constant9' + * '' : 'HVAC_model/ACP/incar sensors/incar RR/RealTime_Timer3' + * '' : 'HVAC_model/ACP/incar sensors/incar RR/UDS ERROR3' + * '' : 'HVAC_model/ACP/incar sensors/incar RR/Write ERROR3' + * '' : 'HVAC_model/ACP/incar sensors/process error F/Write IncarFL' + * '' : 'HVAC_model/ACP/incar sensors/process error F/Write IncarFR' + * '' : 'HVAC_model/ACP/incar sensors/process error R/Write IncarRL' + * '' : 'HVAC_model/ACP/incar sensors/process error R/Write IncarRR' + * '' : 'HVAC_model/AUTO/Determine directions FL' + * '' : 'HVAC_model/AUTO/Determine directions FR' + * '' : 'HVAC_model/AUTO/Determine directions RL' + * '' : 'HVAC_model/AUTO/Determine directions RR' + * '' : 'HVAC_model/AUTO/Zone_Climate_Logic_Auto_FL1' + * '' : 'HVAC_model/AUTO/Zone_Climate_Logic_Auto_FL2' + * '' : 'HVAC_model/AUTO/Zone_Climate_Logic_Auto_FL3' + * '' : 'HVAC_model/AUTO/Zone_Climate_Logic_Auto_FL4' + * '' : 'HVAC_model/AUTO/засечь переход из авто в ручной' + * '' : 'HVAC_model/AUTO/засечь переход из авто в ручной1' + * '' : 'HVAC_model/AUTO/засечь переход из авто в ручной2' + * '' : 'HVAC_model/AUTO/засечь переход из авто в ручной3' + * '' : 'HVAC_model/AUTO/Determine directions FL/direction for front index mode' + * '' : 'HVAC_model/AUTO/Determine directions FR/direction for front index mode' + * '' : 'HVAC_model/AUTO/Determine directions RL/direction for REAR index mode' + * '' : 'HVAC_model/AUTO/Determine directions RR/direction for REAR index mode1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Individual foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Individual foot1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control FL' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control FR' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control RL' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control RR' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Left AF - manual directions' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Right AF - manual directions' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Left AF - manual directions/AF for Bi Level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Left AF - manual directions/AF for Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Left AF - manual directions/AF for Foor + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Left AF - manual directions/AF for Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Left AF - manual directions/AF for Hi_Level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Left AF - manual directions/AF for Tri-Level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Left AF - manual directions/AF for Vent mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Right AF - manual directions/AF for Bi Level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Right AF - manual directions/AF for Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Right AF - manual directions/AF for Foor + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Right AF - manual directions/AF for Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Right AF - manual directions/AF for Hi_Level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Right AF - manual directions/AF for Tri-Level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Front zone PWM/Front Right AF - manual directions/AF for Vent mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM/Rear Left AF - manual directions' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM/Rear Right AF - manual directions' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM/Rear Left AF - manual directions/AF for Bi Level R' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM/Rear Left AF - manual directions/AF for Foot R' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM/Rear Left AF - manual directions/AF for Vent mode R' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM/Rear Right AF - manual directions/AF for Bi Level R' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM/Rear Right AF - manual directions/AF for Foot R' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower (PWM) in manual mode/Rear zone PWM/Rear Right AF - manual directions/AF for Vent mode R' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/13,1,3,11 _5 AUTO mode AF_FL' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/13,1,3,11 _5 AUTO mode AF_FR' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/13,1,3,11 _5 AUTO mode AF_RL' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/13,1,3,11 _5 AUTO mode AF_RR' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/13,1,3,11 _5 AUTO mode AF_FL/func g_ascAUTO_STEP_AF_F' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/13,1,3,11 _5 AUTO mode AF_FR/func g_ascAUTO_STEP_AF_F' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/13,1,3,11 _5 AUTO mode AF_RL/func g_ascAUTO_STEP_AF_F' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/13,1,3,11 _5 AUTO mode AF_RR/func g_ascAUTO_STEP_AF_F' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.5 Vtg_FL_incar' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.6 Vtg_FX_amb' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.7 Vtg_FX_sun' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/MAX1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/MIN1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/Saturation Dynamic' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.5 Vtg_FL_incar/X' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.5 Vtg_FL_incar/Y' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.6 Vtg_FX_amb/X' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.6 Vtg_FX_amb/Y' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.7 Vtg_FX_sun/X' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FL_correct (Front Left)/2.7 Vtg_FX_sun/Y' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.5 Vtg_FR_incar' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.6 Vtg_FX_amb' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.7 Vtg_FR_sun' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/MAX1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/MIN1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/Saturation Dynamic' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.5 Vtg_FR_incar/X' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.5 Vtg_FR_incar/Y' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.6 Vtg_FX_amb/X' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.6 Vtg_FX_amb/Y' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.7 Vtg_FR_sun/X' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/Calc Vtg_FR_correct (Front Right)/2.7 Vtg_FR_sun/Y' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left/RealTime_Timer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left/Saturation Dynamic' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left/correction max' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left/correction rate' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left/correction_start_time' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left/is_ending_with_5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left/RealTime_Timer/Detect Rise Positive' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_left/RealTime_Timer/Detect Rise Positive/Positive' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right/RealTime_Timer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right/Saturation Dynamic' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right/correction max' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right/correction rate' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right/correction_start_time' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right/is_ending_with_5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right/RealTime_Timer/Detect Rise Positive' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Front/wait_correction_right/RealTime_Timer/Detect Rise Positive/Positive' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.5 Vtg_RL_incar' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.6 Vtg_RX_amb' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.7 Vtg_RX_sun' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/MAX' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/MIN' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/Saturation Dynamic' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.5 Vtg_RL_incar/X' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.5 Vtg_RL_incar/Y' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.6 Vtg_RX_amb/X' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.6 Vtg_RX_amb/Y' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.7 Vtg_RX_sun/X' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RL_correct (Rear Left)/2.7 Vtg_RX_sun/Y' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.5 Vtg_RR_incar' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.6 Vtg_RX_amb' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.7 Vtg_RX_sun' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/MAX' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/MIN' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/Saturation Dynamic' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.5 Vtg_RR_incar/X' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.5 Vtg_RR_incar/Y' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.6 Vtg_RX_amb/X' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.6 Vtg_RX_amb/Y' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.7 Vtg_RX_sun/X' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Blower speed (auto mode)/Rear/Calc Vtg_RR_correct (Rear Right)1/2.7 Vtg_RX_sun/Y' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control FL/Compare To Constant' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control FL/Compare To Constant1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control FL/Compare To Constant2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control FR/Compare To Constant' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control FR/Compare To Constant1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control FR/Compare To Constant2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control RL/Compare To Constant' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control RL/Compare To Constant1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control RL/Compare To Constant2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control RR/Compare To Constant' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control RR/Compare To Constant1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/if start control RR/Compare To Constant2' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem45' + * '' : 'HVAC_model/CAN INPUT/Subsystem46' + * '' : 'HVAC_model/CAN INPUT/Subsystem47' + * '' : 'HVAC_model/CAN INPUT/Subsystem48' + * '' : 'HVAC_model/CAN INPUT/Subsystem49' + * '' : 'HVAC_model/CAN INPUT/Subsystem50' + * '' : 'HVAC_model/CAN INPUT/Subsystem53' + * '' : 'HVAC_model/CAN INPUT/Subsystem62' + * '' : 'HVAC_model/CAN INPUT/Subsystem63' + * '' : 'HVAC_model/CAN INPUT/Subsystem64' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem2' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem3' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem5' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem6' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem2/LO HI mode' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem2/LO HI mode/HI mode' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem2/LO HI mode/LO mode' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem2/LO HI mode/not LO or HI' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem3/LO HI mode' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem3/LO HI mode/HI mode' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem3/LO HI mode/LO mode' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem3/LO HI mode/not LO or HI' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem5/LO HI mode' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem5/LO HI mode/HI mode' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem5/LO HI mode/LO mode' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem5/LO HI mode/not LO or HI' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem6/LO HI mode' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem6/LO HI mode/HI mode' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem6/LO HI mode/LO mode' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode/Subsystem6/LO HI mode/not LO or HI' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Инициализация температуры' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Calculate delta time' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Coolant temp threshold' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Almost equal' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим/обычное понижение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим/AMBRATE_FALLING_DIFF[7]' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим/обычное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим/AMBRATE_RISING_DIFF[7]' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Almost equal' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим/обычное понижение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим/AMBRATE_FALLING_DIFF[7]' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим/обычное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим/AMBRATE_RISING_DIFF[7]' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно/Almost equal' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно/Если температура опускается' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно/Если температура поднимается' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно/Если температура опускается/обычное понижение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно/Если температура поднимается/границы' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Almost equal' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим/обычное понижение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим/AMBRATE_FALLING_DIFF[7]' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим/обычное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим/AMBRATE_RISING_DIFF[7]' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem45/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/AC_Max_Active' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Compare To Constant' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Compare To Constant1' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Compare To Constant2' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Compare To Constant3' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Compare To Constant4' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Compare To Constant5' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Compare To Constant7' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Defrost_Active' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Detect Increase' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Detect Increase1' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Detect Increase2' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Detect Increase3' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Detect Increase4' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Detect Increase5' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Detect Increase7' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Full_Rec_Active' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem1' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem10' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem11' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem12' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem13' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem14' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem15' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem16' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem17' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem18' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem19' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem2' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem20' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem21' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem22' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem23' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem24' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem25' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem26' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem27' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem28' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem29' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem3' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem30' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem31' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem32' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem33' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem34' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem35' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem36' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem37' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem38' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem39' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem4' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem40' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem41' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem42' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem43' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem44' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem5' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem51' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem52' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem6' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem7' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem8' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem9' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/if action' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/if action1' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/if action2' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/if action4' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleFL' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleFR' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleRL' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleRR' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem1/If Action Subsystem' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem2/LO HI mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem2/LO HI mode/HI mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem2/LO HI mode/LO mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem2/LO HI mode/not LO or HI' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem24/full sync action' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem24/sync front action' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem24/sync off action' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem3/LO HI mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem3/LO HI mode/HI mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem3/LO HI mode/LO mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem3/LO HI mode/not LO or HI' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem44/sync off rear action' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem44/sync rear action' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem44/sync off rear action/logger' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem44/sync rear action/logger' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem5/LO HI mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem5/LO HI mode/HI mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem5/LO HI mode/LO mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem5/LO HI mode/not LO or HI' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem6/LO HI mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem6/LO HI mode/HI mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem6/LO HI mode/LO mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/Subsystem6/LO HI mode/not LO or HI' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/if action/sync front action1' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/if action/sync front action3' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/if action1/sync front action1' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/if action1/sync front action3' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/if action2/sync front action1' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/if action2/sync front action3' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/if action4/sync front action1' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/if action4/sync front action3' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleFL/Compare To Constant3' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleFL/Detect Increase3' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleFL/If Action Subsystem' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleFL/If Action Subsystem/temp down' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleFL/If Action Subsystem/temp up' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleFL/If Action Subsystem/temp down/LO HI mode R' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleFL/If Action Subsystem/temp down/LO HI mode R/HI mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleFL/If Action Subsystem/temp down/LO HI mode R/LO mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleFL/If Action Subsystem/temp down/LO HI mode R/not LO or HI' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleFL/If Action Subsystem/temp up/LO HI mode R' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleFL/If Action Subsystem/temp up/LO HI mode R/HI mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleFL/If Action Subsystem/temp up/LO HI mode R/LO mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleFL/If Action Subsystem/temp up/LO HI mode R/not LO or HI' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleFR/Compare To Constant3' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleFR/Detect Increase3' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleFR/If Action Subsystem' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleFR/If Action Subsystem/temp down' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleFR/If Action Subsystem/temp up' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleFR/If Action Subsystem/temp down/LO HI mode R' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleFR/If Action Subsystem/temp down/LO HI mode R/HI mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleFR/If Action Subsystem/temp down/LO HI mode R/LO mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleFR/If Action Subsystem/temp down/LO HI mode R/not LO or HI' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleFR/If Action Subsystem/temp up/LO HI mode R' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleFR/If Action Subsystem/temp up/LO HI mode R/HI mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleFR/If Action Subsystem/temp up/LO HI mode R/LO mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleFR/If Action Subsystem/temp up/LO HI mode R/not LO or HI' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleRL/Compare To Constant3' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleRL/Detect Increase3' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleRL/If Action Subsystem' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleRL/If Action Subsystem/temp down' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleRL/If Action Subsystem/temp up' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleRL/If Action Subsystem/temp down/LO HI mode R' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleRL/If Action Subsystem/temp down/LO HI mode R/HI mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleRL/If Action Subsystem/temp down/LO HI mode R/LO mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleRL/If Action Subsystem/temp down/LO HI mode R/not LO or HI' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleRL/If Action Subsystem/temp up/LO HI mode R' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleRL/If Action Subsystem/temp up/LO HI mode R/HI mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleRL/If Action Subsystem/temp up/LO HI mode R/LO mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleRL/If Action Subsystem/temp up/LO HI mode R/not LO or HI' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleRR/Compare To Constant3' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleRR/Detect Increase3' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleRR/If Action Subsystem' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleRR/If Action Subsystem/temp down' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleRR/If Action Subsystem/temp up' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleRR/If Action Subsystem/temp down/LO HI mode R' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleRR/If Action Subsystem/temp down/LO HI mode R/HI mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleRR/If Action Subsystem/temp down/LO HI mode R/LO mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleRR/If Action Subsystem/temp down/LO HI mode R/not LO or HI' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleRR/If Action Subsystem/temp up/LO HI mode R' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleRR/If Action Subsystem/temp up/LO HI mode R/HI mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleRR/If Action Subsystem/temp up/LO HI mode R/LO mode' + * '' : 'HVAC_model/CAN INPUT/Subsystem53/tempToggleRR/If Action Subsystem/temp up/LO HI mode R/not LO or HI' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem1' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem2' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0' + * '' : 'HVAC_model/LIN/CHANEL1' + * '' : 'HVAC_model/LIN/CHANEL2' + * '' : 'HVAC_model/LIN/CHANEL3' + * '' : 'HVAC_model/LIN/CHANEL4' + * '' : 'HVAC_model/LIN/Chart' + * '' : 'HVAC_model/LIN/CHANEL0/Actuator_Ch0_Command_Model' + * '' : 'HVAC_model/LIN/CHANEL0/COM = 0' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min' + * '' : 'HVAC_model/LIN/CHANEL0/Homing' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min' + * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode' + * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode' + * '' : 'HVAC_model/LIN/CHANEL0/steps to percents' + * '' : 'HVAC_model/LIN/CHANEL0/COM = 0/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Check Stall Min/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Count step actuator' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem4' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/Compare To Constant1' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem/Subsystem' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/CAN ERROR' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/Subsystem' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/UDS ERROR' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/CAN ERROR/Write ERROR' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2/Compare To Constant3' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2/Compare To Constant4' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem2/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/MATLAB Function' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position/percents to steps' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1/UDS ERROR' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR/Write ERROR' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem4/Send position' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem4/Send position/percents to steps' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Initial CPOS Min/If Action Subsystem/Write' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Move to position Min/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Normal Mode/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL0/Stop Mode/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL1/Actuator_Ch1_Command_Model' + * '' : 'HVAC_model/LIN/CHANEL1/COM = 0' + * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max' + * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min' + * '' : 'HVAC_model/LIN/CHANEL1/Homing' + * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max' + * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min' + * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max' + * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min' + * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode' + * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode' + * '' : 'HVAC_model/LIN/CHANEL1/stepr to percents' + * '' : 'HVAC_model/LIN/CHANEL1/COM = 0/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Check Stall Min/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Count step actuator' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/Compare To Constant1' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem/Subsystem' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/CAN ERROR' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/Subsystem' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/UDS ERROR' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/CAN ERROR/Write ERROR' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2/Compare To Constant3' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2/Compare To Constant4' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem2/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/MATLAB Function' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position/percents to steps' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1/UDS ERROR' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR/Write ERROR' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4/Send position' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4/Send position/percents to steps' + * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Initial CPOS Min/If Action Subsystem/Write' + * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Move to position Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Move to position Min/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Normal Mode/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL1/Stop Mode/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Actuator_Ch1_Command_Model' + * '' : 'HVAC_model/LIN/CHANEL2/COM = 0' + * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Max' + * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Min' + * '' : 'HVAC_model/LIN/CHANEL2/Homing' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min' + * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode' + * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode' + * '' : 'HVAC_model/LIN/CHANEL2/stepr to percents' + * '' : 'HVAC_model/LIN/CHANEL2/COM = 0/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Min/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Check Stall Min/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Count step actuator' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/Compare To Constant1' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem/Subsystem' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/CAN ERROR' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/Compare To Constant' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/Subsystem' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/UDS ERROR' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/CAN ERROR/Write ERROR' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2/Compare To Constant3' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2/Compare To Constant4' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem2/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/MATLAB Function' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position/percents to steps' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1/UDS ERROR' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem1/CAN ERROR/Write ERROR' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4/MAX POSITION' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4/Send position' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4/Send position/percents to steps' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min/If Action Subsystem' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Initial CPOS Min/If Action Subsystem/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Max/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Move to position Min/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Normal Mode/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode/If Action Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode/If Action Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL2/Stop Mode/If Action Subsystem2/Write' + * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive' + * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive1' + * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive2' + * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive3' + * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive4' + * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive5' + * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive6' + * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive7' + * '' : 'HVAC_model/LIN/CHANEL4/Subsystem' + * '' : 'HVAC_model/LIN/CHANEL4/Subsystem1' + * '' : 'HVAC_model/LIN/CHANEL4/Subsystem2' + * '' : 'HVAC_model/LIN/CHANEL4/Subsystem3' + * '' : 'HVAC_model/LIN/CHANEL4/Subsystem4' + * '' : 'HVAC_model/LIN/CHANEL4/Subsystem5' + * '' : 'HVAC_model/LIN/CHANEL4/Subsystem6' + * '' : 'HVAC_model/LIN/CHANEL4/Subsystem7' + * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive/Positive' + * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive1/Positive' + * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive2/Positive' + * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive3/Positive' + * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive4/Positive' + * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive5/Positive' + * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive6/Positive' + * '' : 'HVAC_model/LIN/CHANEL4/Detect Rise Positive7/Positive' + * '' : 'HVAC_model/PID Compressor/Compare To Constant1' + * '' : 'HVAC_model/PID Compressor/MATLAB Function' + * '' : 'HVAC_model/PID Compressor/MATLAB Function1' + * '' : 'HVAC_model/PID Compressor/Subsystem4' + * '' : 'HVAC_model/PID Compressor/Subsystem4/Compare To Zero1' + * '' : 'HVAC_model/PID Compressor/Subsystem4/Compare To Zero2' + * '' : 'HVAC_model/PID Compressor/Subsystem4/Compare To Zero3' + * '' : 'HVAC_model/PID Compressor/Subsystem4/Saturation Dynamic' + * '' : 'HVAC_model/PID Compressor/Subsystem4/Saturation Dynamic3' + * '' : 'HVAC_model/PID DUCT/Subsystem1' + * '' : 'HVAC_model/PID DUCT/Subsystem2' + * '' : 'HVAC_model/PID DUCT/Subsystem3' + * '' : 'HVAC_model/PID DUCT/Subsystem4' + * '' : 'HVAC_model/PID DUCT/Subsystem5' + * '' : 'HVAC_model/PID DUCT/Subsystem6' + * '' : 'HVAC_model/PID DUCT/Subsystem1/Compare To Zero1' + * '' : 'HVAC_model/PID DUCT/Subsystem1/Compare To Zero2' + * '' : 'HVAC_model/PID DUCT/Subsystem1/Compare To Zero3' + * '' : 'HVAC_model/PID DUCT/Subsystem1/Saturation Dynamic' + * '' : 'HVAC_model/PID DUCT/Subsystem2/Compare To Zero1' + * '' : 'HVAC_model/PID DUCT/Subsystem2/Compare To Zero2' + * '' : 'HVAC_model/PID DUCT/Subsystem2/Compare To Zero3' + * '' : 'HVAC_model/PID DUCT/Subsystem2/Saturation Dynamic' + * '' : 'HVAC_model/PID DUCT/Subsystem3/Compare To Zero1' + * '' : 'HVAC_model/PID DUCT/Subsystem3/Compare To Zero2' + * '' : 'HVAC_model/PID DUCT/Subsystem3/Compare To Zero3' + * '' : 'HVAC_model/PID DUCT/Subsystem3/Rate Limiter Dynamic' + * '' : 'HVAC_model/PID DUCT/Subsystem3/Saturation Dynamic' + * '' : 'HVAC_model/PID DUCT/Subsystem3/Rate Limiter Dynamic/Saturation Dynamic' + * '' : 'HVAC_model/PID DUCT/Subsystem4/Compare To Zero1' + * '' : 'HVAC_model/PID DUCT/Subsystem4/Compare To Zero2' + * '' : 'HVAC_model/PID DUCT/Subsystem4/Compare To Zero3' + * '' : 'HVAC_model/PID DUCT/Subsystem4/Saturation Dynamic' + * '' : 'HVAC_model/PID DUCT/Subsystem5/Compare To Zero1' + * '' : 'HVAC_model/PID DUCT/Subsystem5/Compare To Zero2' + * '' : 'HVAC_model/PID DUCT/Subsystem5/Compare To Zero3' + * '' : 'HVAC_model/PID DUCT/Subsystem5/Saturation Dynamic' + * '' : 'HVAC_model/PID DUCT/Subsystem6/Compare To Zero1' + * '' : 'HVAC_model/PID DUCT/Subsystem6/Compare To Zero2' + * '' : 'HVAC_model/PID DUCT/Subsystem6/Compare To Zero3' + * '' : 'HVAC_model/PID DUCT/Subsystem6/Saturation Dynamic' + * '' : 'HVAC_model/PWN/Write' + * '' : 'HVAC_model/PWN/Write1' + * '' : 'HVAC_model/PWN/Write2' + * '' : 'HVAC_model/PWN/Write3' + * '' : 'HVAC_model/Power/Compare To Zero' + * '' : 'HVAC_model/Power/Compare To Zero1' + * '' : 'HVAC_model/Power/Compare To Zero2' + * '' : 'HVAC_model/Power/Subsystem' + * '' : 'HVAC_model/Power/Subsystem2' + * '' : 'HVAC_model/Synchronization (SYNC)/all zone sync' + * '' : 'HVAC_model/Synchronization (SYNC)/front sync' + * '' : 'HVAC_model/Synchronization (SYNC)/rear sync' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/Individual foot' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/Individual foot1' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/if start control FL' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/if start control FR' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/if start control RL' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/if start control RR' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/join left and right front' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/join left and right rear' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in auto mode' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in manual mode ' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/if start control FL/Compare To Constant' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/if start control FL/Compare To Constant1' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/if start control FL/Compare To Constant2' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/if start control FL/Compare To Constant3' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/if start control FL/If Action Subsystem' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/if start control FL/If Action Subsystem1' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/if start control FL/If Action Subsystem/valves for mode' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/if start control FR/Compare To Constant' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/if start control FR/Compare To Constant1' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/if start control FR/Compare To Constant2' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/if start control FR/Compare To Constant3' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/if start control FR/If Action Subsystem' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/if start control FR/If Action Subsystem1' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/if start control FR/If Action Subsystem/valves for mode' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/if start control RL/Compare To Constant' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/if start control RL/Compare To Constant1' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/if start control RL/Compare To Constant2' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/if start control RL/Compare To Constant3' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/if start control RL/If Action Subsystem' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/if start control RL/If Action Subsystem1' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/if start control RL/If Action Subsystem/valves_rear_left' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/if start control RR/Compare To Constant' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/if start control RR/Compare To Constant1' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/if start control RR/Compare To Constant2' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/if start control RR/Compare To Constant3' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/if start control RR/If Action Subsystem' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/if start control RR/If Action Subsystem1' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/if start control RR/If Action Subsystem/valves_rear_right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in auto mode/front' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in auto mode/rear' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in auto mode/front/MODE_for_set_and_lvl' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in auto mode/front/MODE_for_set_and_lvl1' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in auto mode/front/valves_front_left' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in auto mode/front/valves_front_right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in auto mode/rear/MODE_by_duct_tg_R_for_LVL' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in auto mode/rear/duct_tg увеличивается RL' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in auto mode/rear/duct_tg увеличивается RR' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in auto mode/rear/duct_tg уменьшается RL' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in auto mode/rear/duct_tg уменьшается RR' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in auto mode/rear/valves_rear_left' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in auto mode/rear/valves_rear_right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in auto mode/rear/duct_tg увеличивается RL/increase' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in auto mode/rear/duct_tg увеличивается RR/increase' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in auto mode/rear/duct_tg уменьшается RL/decrease' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in auto mode/rear/duct_tg уменьшается RR/decrease' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in manual mode /Front zone valves' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in manual mode /Rear zone valves' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in manual mode /Front zone valves/Front Left Valves - manual directions' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in manual mode /Front zone valves/Front Right Valves - manual directions' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Bi Level' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Def' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Foot' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Foot + Def' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Hi_Level' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Tri-Level' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in manual mode /Front zone valves/Front Left Valves - manual directions/Valves for Vent mode' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Bi Level' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Def' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Foot' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Foot + Def' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Hi_Level' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Tri-Level' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in manual mode /Front zone valves/Front Right Valves - manual directions/Valves for Vent mode' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in manual mode /Rear zone valves/Rear valves left - manual directions' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in manual mode /Rear zone valves/Rear valves right - manual directions' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in manual mode /Rear zone valves/Rear valves left - manual directions/AF for Bi Level' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in manual mode /Rear zone valves/Rear valves left - manual directions/AF for Foot' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in manual mode /Rear zone valves/Rear valves left - manual directions/valves for Vent mode' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in manual mode /Rear zone valves/Rear valves right - manual directions/AF for Bi Level' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in manual mode /Rear zone valves/Rear valves right - manual directions/AF for Foot' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in manual mode /Rear zone valves/Rear valves right - manual directions/valves for Vent mode' + * '' : 'HVAC_model/dbg CAN/0 to dbg' + * '' : 'HVAC_model/dbg CAN/ACP (duct sensors) to dbg' + * '' : 'HVAC_model/dbg CAN/Auto_Valve_Plus to dbg' + * '' : 'HVAC_model/dbg CAN/CCU_IO to dbg' + * '' : 'HVAC_model/dbg CAN/DRS to dbg' + * '' : 'HVAC_model/dbg CAN/LIN_AirQS to dbg' + * '' : 'HVAC_model/dbg CAN/LIN_Aroma to dbg' + * '' : 'HVAC_model/dbg CAN/LIN_Ionizer to dbg' + * '' : 'HVAC_model/dbg CAN/Logic_Acl to dbg' + * '' : 'HVAC_model/dbg CAN/Logic_Rec to dbg' + * '' : 'HVAC_model/dbg CAN/Logic_State to dbg' + * '' : 'HVAC_model/dbg CAN/Logic_Valve to dbg' + * '' : 'HVAC_model/dbg CAN/actuators to dbg' + * '' : 'HVAC_model/dbg CAN/ambient to dbg' + * '' : 'HVAC_model/dbg CAN/autoAF dbg' + * '' : 'HVAC_model/dbg CAN/autoduct dbg' + * '' : 'HVAC_model/dbg CAN/blower to dbg' + * '' : 'HVAC_model/dbg CAN/sen_eva (evaporator) to dbg' + * '' : 'HVAC_model/dbg CAN/CCU_IO to dbg/Subsystem' + * '' : 'HVAC_model/dbg CAN/CCU_IO to dbg/Subsystem1' + * '' : 'HVAC_model/dbg CAN/CCU_IO to dbg/Subsystem2' + * '' : 'HVAC_model/dbg CAN/CCU_IO to dbg/Subsystem3' */ #endif /* HVAC_model_h_ */ diff --git a/HVAC_model_data.c b/HVAC_model_data.c index 57a4c22..887f198 100644 --- a/HVAC_model_data.c +++ b/HVAC_model_data.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'HVAC_model'. * - * Model version : 1.1397 + * Model version : 1.1446 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Fri Jul 17 14:49:32 2026 + * C/C++ source code generated on : Mon Jul 27 16:34:24 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -19,27 +19,27 @@ /* Invariant block signals (default storage) */ const ConstB rtConstB = { - /* Start of '/If Action Subsystem1' */ + /* Start of '/If Action Subsystem1' */ { - { 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '/Data Type Conversion' */ + { 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '/Data Type Conversion' */ } , - /* End of '/If Action Subsystem1' */ + /* End of '/If Action Subsystem1' */ - /* Start of '/If Action Subsystem1' */ + /* Start of '/If Action Subsystem1' */ { - { 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '/Data Type Conversion' */ + { 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '/Data Type Conversion' */ } , - /* End of '/If Action Subsystem1' */ + /* End of '/If Action Subsystem1' */ - /* Start of '/If Action Subsystem1' */ + /* Start of '/If Action Subsystem1' */ { - { 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '/Data Type Conversion' */ + { 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '/Data Type Conversion' */ } - /* End of '/If Action Subsystem1' */ + /* End of '/If Action Subsystem1' */ }; /* Constant parameters (default storage) */ @@ -92,8 +92,8 @@ const ConstP rtConstP = { /* Pooled Parameter (Expression: [850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 836 818 800 784 769 754 740 727 714 702 691 680 670 659 650 640 631 622 614 606 598 590 583 575 568 561 555 548 542 536 530 524 518 512 507 501 496 491 486 481 476 471 466 462 457 453 448 444 440 436 431 427 423 420 416 412 408 405 401 397 394 390 387 384 380 377 374 370 367 364 361 358 355 352 349 346 343 340 338 335 332 329 327 324 321 319 316 314 311 309 306 304 301 299 297 294 292 289 287 285 283 280 278 276 274 272 269 267 265 263 261 259 257 255 253 251 249 247 245 243 241 239 237 235 234 232 230 228 226 224 223 221 219 217 216 214 212 210 209 207 205 204 202 200 199 197 195 194 192 191 189 187 186 184 183 181 180 178 177 175 174 172 171 169 168 166 165 163 162 161 159 158 156 155 153 152 151 149 148 147 145 144 143 141 140 139 137 136 135 133 132 131 129 128 127 126 124 123 122 121 119 118 117 116 115 113 112 111 110 109 107 106 105 104 103 101 100 99 98 97 96 95 93 92 91 90 89 88 87 86 84 83 82 81 80 79 78 77 76 75 74 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 29 28 27 26 25 24 23 22 21 20 19 18 17 17 16 15 14 13 12 11 10 9 8 8 7 6 5 4 3 2 1 0 0 0 -1 -2 -3 -4 -5 -5 -6 -7 -8 -9 -10 -11 -11 -12 -13 -14 -15 -16 -17 -17 -18 -19 -20 -21 -22 -22 -23 -24 -25 -26 -27 -27 -28 -29 -30 -31 -31 -32 -33 -34 -35 -36 -36 -37 -38 -39 -40 -40 -41 -42 -43 -44 -44 -45 -46 -47 -47 -48 -49 -50 -51 -51 -52 -53 -54 -55 -55 -56 -57 -58 -58 -59 -60 -61 -62 -62 -63 -64 -65 -65 -66 -67 -68 -68 -69 -70 -71 -71 -72 -73 -74 -74 -75 -76 -77 -77 -78 -79 -80 -80 -81 -82 -83 -83 -84 -85 -86 -86 -87 -88 -89 -89 -90 -91 -92 -92 -93 -94 -95 -95 -96 -97 -97 -98 -99 -100 -100 -101 -102 -103 -103 -104 -105 -105 -106 -107 -108 -108 -109 -110 -111 -111 -112 -113 -113 -114 -115 -116 -116 -117 -118 -118 -119 -120 -121 -121 -122 -123 -123 -124 -125 -126 -126 -127 -128 -128 -129 -130 -131 -131 -132 -133 -133 -134 -135 -136 -136 -137 -138 -138 -139 -140 -140 -141 -142 -143 -143 -144 -145 -145 -146 -147 -148 -148 -149 -150 -150 -151 -152 -152 -153 -154 -155 -155 -156 -157 -157 -158 -159 -159 -160 -161 -162 -162 -163 -164 -164 -165 -166 -166 -167 -168 -169 -169 -170 -171 -171 -172 -173 -173 -174 -175 -176 -176 -177 -178 -178 -179 -180 -180 -181 -182 -183 -183 -184 -185 -185 -186 -187 -187 -188 -189 -189 -190 -191 -192 -192 -193 -194 -194 -195 -196 -196 -197 -198 -199 -199 -200 -201 -201 -202 -203 -204 -204 -205 -206 -206 -207 -208 -208 -209 -210 -211 -211 -212 -213 -213 -214 -215 -216 -216 -217 -218 -218 -219 -220 -221 -221 -222 -223 -223 -224 -225 -226 -226 -227 -228 -228 -229 -230 -231 -231 -232 -233 -233 -234 -235 -236 -236 -237 -238 -238 -239 -240 -241 -241 -242 -243 -244 -244 -245 -246 -246 -247 -248 -249 -249 -250 -251 -252 -252 -253 -254 -255 -255 -256 -257 -257 -258 -259 -260 -260 -261 -262 -263 -263 -264 -265 -266 -266 -267 -268 -269 -269 -270 -271 -272 -272 -273 -274 -275 -275 -276 -277 -278 -279 -279 -280 -281 -282 -282 -283 -284 -285 -285 -286 -287 -288 -289 -289 -290 -291 -292 -292 -293 -294 -295 -296 -296 -297 -298 -299 -300 -300 -301 -302 -303 -304 -304 -305 -306 -307 -308 -308 -309 -310 -311 -312 -313 -313 -314 -315 -316 -317 -318 -318 -319 -320 -321 -322 -323 -323 -324 -325 -326 -327 -328 -329 -329 -330 -331 -332 -333 -334 -335 -335 -336 -337 -338 -339 -340 -341 -342 -342 -343 -344 -345 -346 -347 -348 -349 -350 -351 -351 -352 -353 -354 -355 -356 -357 -358 -359 -360 -361 -362 -363 -364 -364 -365 -366 -367 -368 -369 -370 -371 -372 -373 -374 -375 -376 -377 -378 -379 -380 -381 -382 -383 -384 -385 -386 -387 -388 -389 -390 -391 -392 -393 -394 -395 -396 -398 -399 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 ]) * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table' + * '/1-D Lookup Table' + * '/1-D Lookup Table' */ { 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 836.0, 818.0, 800.0, 784.0, 769.0, @@ -200,7 +200,7 @@ const ConstP rtConstP = { -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0 }, /* Expression: [zeros(1, 85), linspace(0.268534, 390.3364, 1024-85)] - * Referenced by: '/1-D Lookup Table' + * Referenced by: '/1-D Lookup Table' */ { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, @@ -507,10 +507,10 @@ const ConstP rtConstP = { /* Pooled Parameter (Expression: Incar_Temp_Table) * Referenced by: - * '/1-D Lookup Table2' - * '/1-D Lookup Table4' - * '/1-D Lookup Table1' - * '/1-D Lookup Table3' + * '/1-D Lookup Table2' + * '/1-D Lookup Table4' + * '/1-D Lookup Table1' + * '/1-D Lookup Table3' */ { 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 837.0, 816.0, 797.0, 780.0, 763.0, 748.0, 733.0, @@ -618,111 +618,111 @@ const ConstP rtConstP = { /* Pooled Parameter (Expression: [17 18 19 20 21 22 23 24 25 26 27 28 29]) * Referenced by: - * '/Выбор режима Left' - * '/Выбор режима Right' + * '/Выбор режима Left' + * '/Выбор режима Right' */ { 5U, 12U }, /* Pooled Parameter (Expression: [170:10:290]) * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' */ { 170, 180, 190, 200, 210, 220, 230, 240, 250, 260, 270, 280, 290 }, /* Pooled Parameter (Expression: [5, 4, 3, 2, 1, 0]) * Referenced by: - * '/1-D Lookup Table' - * '/Get LVL for temp' + * '/1-D Lookup Table' + * '/Get LVL for temp' */ { 5, 4, 3, 2, 1, 0 }, /* Computed Parameter: GetLVLfortemp_bp01Data - * Referenced by: '/Get LVL for temp' + * Referenced by: '/Get LVL for temp' */ { -1000, -50, -10, 5, 20, 65 }, /* Pooled Parameter (Expression: [0;1;2;3;4;5]) * Referenced by: - * '/Выбор режима Left' - * '/Выбор режима Right' + * '/Выбор режима Left' + * '/Выбор режима Right' */ { 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29 }, /* Pooled Parameter (Expression: [850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 848 845 841 838 834 831 827 824 821 818 814 811 808 805 802 799 796 793 790 787 784 781 778 775 772 769 767 764 761 758 756 753 750 748 745 742 740 737 735 732 730 727 725 722 720 717 715 713 710 708 706 703 701 699 696 694 692 690 688 685 683 681 679 677 675 673 670 668 666 664 662 660 658 656 654 652 650 648 646 644 642 640 638 637 635 633 631 629 627 625 624 622 620 618 616 614 613 611 609 607 606 604 602 600 599 597 595 594 592 590 589 587 585 584 582 580 579 577 576 574 572 571 569 568 566 564 563 561 560 558 557 555 554 552 551 549 548 546 545 543 542 540 539 537 536 534 533 532 530 529 527 526 524 523 522 520 519 517 516 515 513 512 511 509 508 507 505 504 503 501 500 499 497 496 495 493 492 491 489 488 487 485 484 483 482 480 479 478 477 475 474 473 472 470 469 468 467 465 464 463 462 460 459 458 457 456 454 453 452 451 450 448 447 446 445 444 442 441 440 439 438 437 435 434 433 432 431 430 429 427 426 425 424 423 422 421 420 418 417 416 415 414 413 412 411 410 408 407 406 405 404 403 402 401 400 399 398 396 395 394 393 392 391 390 389 388 387 386 385 384 383 382 381 380 378 377 376 375 374 373 372 371 370 369 368 367 366 365 364 363 362 361 360 359 358 357 356 355 354 353 352 351 350 349 348 347 346 345 344 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 327 326 325 324 324 323 322 321 320 319 318 317 316 315 314 313 312 311 310 309 308 307 306 305 305 304 303 302 301 300 299 298 297 296 295 294 293 292 291 291 290 289 288 287 286 285 284 283 282 281 280 279 279 278 277 276 275 274 273 272 271 270 269 268 268 267 266 265 264 263 262 261 260 259 259 258 257 256 255 254 253 252 251 250 250 249 248 247 246 245 244 243 242 241 241 240 239 238 237 236 235 234 233 233 232 231 230 229 228 227 226 225 224 224 223 222 221 220 219 218 217 217 216 215 214 213 212 211 210 209 209 208 207 206 205 204 203 202 201 201 200 199 198 197 196 195 194 194 193 192 191 190 189 188 187 186 186 185 184 183 182 181 180 179 179 178 177 176 175 174 173 172 171 171 170 169 168 167 166 165 164 163 163 162 161 160 159 158 157 156 155 155 154 153 152 151 150 149 148 147 147 146 145 144 143 142 141 140 139 139 138 137 136 135 134 133 132 131 130 130 129 128 127 126 125 124 123 122 121 121 120 119 118 117 116 115 114 113 112 112 111 110 109 108 107 106 105 104 103 102 101 101 100 99 98 97 96 95 94 93 92 91 90 89 88 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 3 2 1 0 0 -1 -2 -3 -4 -5 -6 -7 -9 -10 -11 -12 -13 -14 -15 -16 -17 -19 -20 -21 -22 -23 -24 -25 -26 -28 -29 -30 -31 -32 -33 -34 -36 -37 -38 -39 -40 -42 -43 -44 -45 -46 -47 -49 -50 -51 -52 -54 -55 -56 -57 -58 -60 -61 -62 -63 -65 -66 -67 -68 -70 -71 -72 -74 -75 -76 -77 -79 -80 -81 -83 -84 -85 -87 -88 -89 -91 -92 -93 -95 -96 -98 -99 -100 -102 -103 -105 -106 -108 -109 -110 -112 -113 -115 -116 -118 -119 -121 -122 -124 -125 -127 -128 -130 -131 -133 -134 -136 -138 -139 -141 -142 -144 -146 -147 -149 -151 -152 -154 -156 -157 -159 -161 -162 -164 -166 -168 -169 -171 -173 -175 -177 -179 -180 -182 -184 -186 -188 -190 -192 -194 -196 -198 -200 -202 -204 -206 -208 -210 -212 -214 -216 -218 -221 -223 -225 -227 -229 -232 -234 -236 -239 -241 -243 -246 -248 -251 -253 -256 -258 -261 -264 -266 -269 -272 -275 -277 -280 -283 -286 -289 -292 -295 -298 -301 -304 -308 -311 -314 -318 -321 -325 -328 -332 -336 -339 -343 -347 -351 -355 -359 -364 -368 -373 -377 -382 -387 -392 -397 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400]) * Referenced by: - * '/1-D Lookup Table7' - * '/1-D Lookup Table4' + * '/1-D Lookup Table7' + * '/1-D Lookup Table4' */ { 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, @@ -796,8 +796,8 @@ const ConstP rtConstP = { /* Pooled Parameter (Expression: [0:4:4095]) * Referenced by: - * '/1-D Lookup Table7' - * '/1-D Lookup Table4' + * '/1-D Lookup Table7' + * '/1-D Lookup Table4' */ { 0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, @@ -877,83 +877,83 @@ const ConstP rtConstP = { 4052, 4056, 4060, 4064, 4068, 4072, 4076, 4080, 4084, 4088, 4092 }, /* Computed Parameter: DataStoreMemory13_InitialValue - * Referenced by: '/Data Store Memory13' + * Referenced by: '/Data Store Memory13' */ { 1050, 1250, 1175, 1195, 1315, 1300, 1485, 1440, 1195 }, /* Computed Parameter: DataStoreMemory13_InitialValue_i - * Referenced by: '/Data Store Memory13' + * Referenced by: '/Data Store Memory13' */ { 1225, 1320, 1270, 1540, 1480, 1175, 0, 0, 0 }, /* Computed Parameter: DataStoreMemory13_InitialValue_l - * Referenced by: '/Data Store Memory13' + * Referenced by: '/Data Store Memory13' */ { 3075, 3075, 1605, 1840, 1650, 1635, 1820, 1650, 0 }, /* Pooled Parameter (Expression: [170:10:290]) * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' - * '/1-D Lookup Table10' - * '/1-D Lookup Table11' - * '/1-D Lookup Table6' - * '/1-D Lookup Table7' - * '/1-D Lookup Table8' - * '/1-D Lookup Table9' - * '/1-D Lookup Table10' - * '/1-D Lookup Table11' - * '/1-D Lookup Table6' - * '/1-D Lookup Table7' - * '/1-D Lookup Table8' - * '/1-D Lookup Table9' - * '/1-D Lookup Table10' - * '/1-D Lookup Table11' - * '/1-D Lookup Table6' - * '/1-D Lookup Table7' - * '/1-D Lookup Table8' - * '/1-D Lookup Table9' - * '/1-D Lookup Table1' - * '/1-D Lookup Table12' - * '/1-D Lookup Table2' - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + * '/1-D Lookup Table10' + * '/1-D Lookup Table11' + * '/1-D Lookup Table6' + * '/1-D Lookup Table7' + * '/1-D Lookup Table8' + * '/1-D Lookup Table9' + * '/1-D Lookup Table10' + * '/1-D Lookup Table11' + * '/1-D Lookup Table6' + * '/1-D Lookup Table7' + * '/1-D Lookup Table8' + * '/1-D Lookup Table9' + * '/1-D Lookup Table10' + * '/1-D Lookup Table11' + * '/1-D Lookup Table6' + * '/1-D Lookup Table7' + * '/1-D Lookup Table8' + * '/1-D Lookup Table9' + * '/1-D Lookup Table1' + * '/1-D Lookup Table12' + * '/1-D Lookup Table2' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' */ { 170U, 180U, 190U, 200U, 210U, 220U, 230U, 240U, 250U, 260U, 270U, 280U, 290U }, /* Pooled Parameter (Expression: [0:4:4092]) * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table' - * '/1-D Lookup Table' - * '/1-D Lookup Table2' - * '/1-D Lookup Table4' - * '/1-D Lookup Table1' - * '/1-D Lookup Table3' + * '/1-D Lookup Table' + * '/1-D Lookup Table' + * '/1-D Lookup Table' + * '/1-D Lookup Table2' + * '/1-D Lookup Table4' + * '/1-D Lookup Table1' + * '/1-D Lookup Table3' */ { 0U, 4U, 8U, 12U, 16U, 20U, 24U, 28U, 32U, 36U, 40U, 44U, 48U, 52U, 56U, 60U, 64U, 68U, 72U, 76U, 80U, 84U, 88U, 92U, 96U, 100U, 104U, 108U, 112U, 116U, @@ -1047,87 +1047,103 @@ const ConstP rtConstP = { 4080U, 4084U, 4088U, 4092U }, /* Computed Parameter: uDLookupTable1_bp01Data - * Referenced by: '/1-D Lookup Table1' + * Referenced by: '/1-D Lookup Table1' */ { 10U, 50U }, /* Computed Parameter: ACT1_Value - * Referenced by: '/ACT1' + * Referenced by: '/ACT1' */ { 1050U, 1250U, 1175U, 1195U, 1315U, 1300U, 1485U, 1440U, 1195U }, /* Computed Parameter: ACT1_Value_c - * Referenced by: '/ACT1' + * Referenced by: '/ACT1' */ { 1225U, 1320U, 1270U, 1540U, 1480U, 1175U }, /* Computed Parameter: ACT1_Value_m - * Referenced by: '/ACT1' + * Referenced by: '/ACT1' */ { 3075U, 3075U, 1605U, 1840U, 1650U, 1635U, 1820U, 1650U }, + /* Pooled Parameter (Expression: [1:7]) + * Referenced by: + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' + */ + { 1U, 2U, 3U, 4U, 5U, 6U, 7U }, + + /* Pooled Parameter (Expression: [0:7]) + * Referenced by: + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + */ + { 0U, 1U, 2U, 3U, 4U, 5U, 6U, 7U }, + /* Pooled Parameter (Expression: [10:10:110]) * Referenced by: - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table' - * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table' + * '/1-D Lookup Table1' * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table' + * '/1-D Lookup Table' + * '/1-D Lookup Table2' + * '/1-D Lookup Table1' * '/1-D Lookup Table2' - * '/1-D Lookup Table1' + * '/1-D Lookup Table' + * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table' * '/1-D Lookup Table2' - * '/1-D Lookup Table' - * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table' + * '/1-D Lookup Table1' * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table' + * '/1-D Lookup Table' + * '/1-D Lookup Table2' + * '/1-D Lookup Table1' * '/1-D Lookup Table2' + * '/1-D Lookup Table' + * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table' + * '/1-D Lookup Table2' */ { 10U, 20U, 30U, 40U, 50U, 60U, 70U, 80U, 90U, 100U, 110U }, /* Pooled Parameter (Expression: [1 2 3 4 5 6 7 8 9]) * Referenced by: - * '/Constant3' - * '/Constant5' - * '/Constant5' - * '/Constant5' - * '/Constant5' - * '/Constant5' - * '/Constant5' + * '/Constant3' + * '/Constant5' + * '/Constant5' + * '/Constant5' + * '/Constant5' + * '/Constant5' + * '/Constant5' */ { 1U, 2U, 3U, 4U, 5U, 6U, 7U, 8U, 9U }, /* Computed Parameter: Constant3_Value - * Referenced by: '/Constant3' + * Referenced by: '/Constant3' */ { 1U, 2U, 3U, 4U, 5U, 6U }, /* Computed Parameter: Constant3_Value_d - * Referenced by: '/Constant3' + * Referenced by: '/Constant3' */ { 1U, 2U, 3U, 4U, 5U, 6U, 7U, 8U }, /* Pooled Parameter (Expression: ) * Referenced by: - * '/Выбор режима Left' - * '/Выбор режима Right' + * '/Выбор режима Left' + * '/Выбор режима Right' */ { 0U, 1U, 2U, 3U, 4U, 5U }, /* Pooled Parameter (Expression: [0:6]) * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table' + * '/1-D Lookup Table' + * '/1-D Lookup Table' */ { 0U, 1U, 2U, 3U, 4U, 5U, 6U } }; diff --git a/HVAC_model_private.h b/HVAC_model_private.h index 7cf158a..0fe7a9b 100644 --- a/HVAC_model_private.h +++ b/HVAC_model_private.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'HVAC_model'. * - * Model version : 1.1397 + * Model version : 1.1446 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Fri Jul 17 14:49:32 2026 + * C/C++ source code generated on : Mon Jul 27 16:34:24 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -78,6 +78,10 @@ extern int8_t look1_iu8lu64n56ts8Ds16_binlcs(uint8_t u0, const uint8_t bp0[], const int8_t table[], uint32_t maxIndex); extern int16_t look1_iu8lu64n48ts16Ds32_binlcs(uint8_t u0, const uint8_t bp0[], const int16_t table[], uint32_t maxIndex); +extern int16_t look1_is16lu64n32tu16Ds32Is16_binlcs(int16_t u0, const int16_t + bp0[], const uint16_t table[], uint32_t maxIndex); +extern uint32_t binsearch_u32s16(int16_t u_5, const int16_t bp[], uint32_t + startIndex, uint32_t maxIndex); extern int16_t look1_is16lu64n32Ds32_binlcs(int16_t u0, const int16_t bp0[], const int16_t table[], uint32_t maxIndex); extern int16_t look1_is16lu64n32tu8Ds16Is16_binlcs(int16_t u0, const int16_t @@ -99,12 +103,12 @@ extern int16_t look1_iu16bs16lu64n32ts16Ds32_binlcs(uint16_t u0, const int16_t bp0[], const int16_t table[], uint32_t maxIndex); extern double look1_bs16ts16DdId_binlc(double u0, const int16_t bp0[], const int16_t table[], uint32_t maxIndex); +extern uint8_t look1_iu8lu64n56_binlcse(uint8_t u0, const uint8_t bp0[], const + uint8_t table[], uint32_t maxIndex); extern double look1_iu16td_binlc(uint16_t u0, const uint16_t bp0[], const double table[], uint32_t maxIndex); -extern uint32_t plook_u32s16_bincka(int16_t u_2, const int16_t bp[], uint32_t +extern uint32_t plook_u32s16_bincka(int16_t u_6, const int16_t bp[], uint32_t maxIndex); -extern uint32_t binsearch_u32s16(int16_t u_3, const int16_t bp[], uint32_t - startIndex, uint32_t maxIndex); extern int32_t div_nzp_s32_round(int32_t numerator, int32_t denominator); extern void get_tg_FLL_for_LVL(uint8_t rtu_ambient_Lvl, uint8_t rtu_set_tmp, int16_t *rty_vals); @@ -142,6 +146,136 @@ extern void IfActionSubsystem_n(uint8_t rtu_In1, int8_t *rty_Out1, int16_t *rty_Out2); extern void IfActionSubsystem2_c(uint8_t rtu_In1, int8_t *rty_Out1, int16_t *rty_Out2); +extern void g_assSTART_ENTER_INCAR_n(uint8_t rtu_LVL, int16_t *rty_out); +extern void Level2(int8_t *rty_step); +extern void g_assSTART_ENTER_COOLANT_m(uint8_t rtu_LVL, int16_t *rty_out); +extern void Level4(int8_t *rty_step1, const uint8_t *rtd_CCU_MODE_FL, const + int16_t *rtd_ECT, const uint8_t *rtd_LEVEL, const uint8_t + *rtd_LO_HI_MODE_FL); +extern void Level0(int8_t *rty_step); +extern void incarfilterdown(uint8_t rtu_LVL, uint8_t *rty_out); +extern void incarfilterup(uint8_t rtu_LVL, uint8_t *rty_out); +extern void g_assSTART_COOLANT_STEP0_TO_1_c(uint8_t rtu_LVL, int16_t *rty_out); +extern void uwayvalvestatus(uint8_t rtu_LVL, uint8_t *rty_out); +extern void Dtg_FrontLower_X(uint8_t rtu_LVL, uint8_t *rty_out); +extern void Dtg_FrontUpper_X(uint8_t rtu_LVL, uint8_t *rty_out); +extern void Incartempgotofromstep1tostep2(uint8_t rtu_LVL, int16_t *rty_out); +extern void MATLABFunction1_Init(DW_MATLABFunction1 *localDW); +extern void MATLABFunction1(uint32_t rtu_t_now, uint16_t rtu_time_delta, bool + *rty_timer_out, DW_MATLABFunction1 *localDW); +extern void blowerFR(uint8_t rtu_LVL, uint16_t *rty_out); +extern void modeFRstep1(uint8_t rtu_LVL, uint8_t *rty_out); +extern void windowheating(uint8_t rtu_LVL, uint8_t *rty_out); +extern void MATLABFunction1_a_Init(DW_MATLABFunction1_f *localDW); +extern void MATLABFunction1_j(uint32_t rtu_t_now, uint32_t rtu_time_delta, bool * + rty_timer_out, DW_MATLABFunction1_f *localDW); +extern void Timegotofromstep1tostep2(uint8_t rtu_LVL, int16_t *rty_out); +extern void ECTminmax(uint8_t rtu_LVL, int16_t rty_out[2]); +extern void blowerminmax(uint8_t rtu_LVL, uint16_t rty_out[2]); +extern void uwayvalvestatus_m(uint8_t rtu_LVL, uint8_t *rty_out); +extern void timeforstep(uint8_t rtu_LVL, uint8_t *rty_out); +extern void timeforstep_d(uint8_t rtu_LVL, uint8_t *rty_out); +extern void Timegotofromstep2tostep3(uint8_t rtu_LVL, int16_t *rty_out); +extern void blowerstep(uint8_t rtu_LVL, uint16_t *rty_out); +extern void blowertimeforstep(uint8_t rtu_LVL, uint16_t *rty_out); +extern void step_g(uint8_t rtu_LVL, uint8_t *rty_out); +extern void timeforstep_f(uint8_t rtu_LVL, uint8_t *rty_out); +extern void windowheating_o(uint8_t rtu_LVL, uint8_t *rty_out); +extern void autodemistautodefog(uint8_t rtu_LVL, uint8_t *rty_out); +extern void Level3_Init(DW_Level3 *localDW); +extern void Level3(int8_t *rty_step, uint8_t *rtd_Autodefog, uint8_t + *rtd_Blower_FL, uint8_t *rtd_Blower_FR, const uint8_t + *rtd_Blower_logic_FL, const uint8_t *rtd_CCU_MODE_FL, + uint16_t *rtd_Dtg_FLL, uint16_t *rtd_Dtg_FLR, uint16_t + *rtd_Dtg_FUL, uint16_t *rtd_Dtg_FUR, const int16_t + *rtd_Dtg_logic_FLL, const int16_t *rtd_Dtg_logic_FUL, uint8_t + *rtd_El_window_heating, const bool *rtd_HI_logic_on, uint8_t * + rtd_Incar_filter_down_value, uint8_t + *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, const + uint8_t *rtd_LO_HI_MODE_FL, uint8_t *rtd_Mode_FL, uint8_t + *rtd_Mode_FR, const uint8_t *rtd_Mode_logic_FL, double + *rtd_Recirculation, uint8_t *rtd_Valve_3_way, const uint32_t * + rtd_t_now, DW_Level3 *localDW); +extern void Step3F(int8_t *rty_step, int8_t *rtd_start_control_finished_front); +extern void g_ausSTART_ENTER_SETTEMP_i(uint8_t rtu_LVL, int16_t *rty_out); +extern void g_assSTART_ENTER_INCAR_f(uint8_t rtu_LVL, int16_t *rty_out); +extern void g_assSTART_ENTER_COOLANT_m1(uint8_t rtu_LVL, int16_t *rty_out); +extern void Level4_j(int8_t *rty_step1, const uint8_t *rtd_CCU_MODE_RR, const + int16_t *rtd_ECT, const int16_t *rtd_Incar_RR, const + uint8_t *rtd_LEVEL, const uint8_t *rtd_LO_HI_MODE_RR); +extern void incarfilterdown_m(uint8_t rtu_LVL, uint8_t *rty_out); +extern void incarfilterup_j(uint8_t rtu_LVL, uint8_t *rty_out); +extern void g_assSTART_COOLANT_STEP0_TO_1_j(uint8_t rtu_LVL, int16_t *rty_out); +extern void Level4_h(int8_t *rty_step1, uint8_t *rtd_Blower_RL, uint8_t + *rtd_Blower_RR, const uint8_t *rtd_CCU_MODE_RR, uint16_t + *rtd_Dtg_RL, uint16_t *rtd_Dtg_RR, const int16_t *rtd_ECT, + uint8_t *rtd_Incar_filter_down_value, uint8_t + *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, const + uint8_t *rtd_LO_HI_MODE_RR, uint8_t *rtd_Mode_RL, uint8_t + *rtd_Mode_RR, uint8_t *rtd_Valve_2_way, uint8_t + *rtd_Valve_3_way); +extern void uwayvalve(uint8_t rtu_LVL, uint8_t *rty_out); +extern void Dtg_rear(uint8_t rtu_LVL, uint8_t *rty_out); +extern void Incartempgotofromstep1tostep2_m(uint8_t rtu_LVL, int16_t *rty_out); +extern void Timegotofromstep1tostep2_n(uint8_t rtu_LVL, int16_t *rty_out); +extern void moderearstep1(uint8_t rtu_LVL, uint8_t *rty_out); +extern void Level0_c_Init(DW_Level0_h *localDW); +extern void Level0_g(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t + *rtd_Blower_RR, const uint8_t *rtd_CCU_MODE_RR, uint16_t + *rtd_Dtg_RL, uint16_t *rtd_Dtg_RR, const int16_t + *rtd_Incar_RR, uint8_t *rtd_Incar_filter_down_value, + uint8_t *rtd_Incar_filter_up_value, const uint8_t + *rtd_LEVEL, const uint8_t *rtd_LO_HI_MODE_RR, uint8_t + *rtd_Mode_RL, uint8_t *rtd_Mode_RR, double + *rtd_Recirculation, uint8_t *rtd_Valve_2_way, const + uint32_t *rtd_t_now, DW_Level0_h *localDW); +extern void blowerstartfinish(uint8_t rtu_LVL, uint16_t rty_out[2]); +extern void ECTminmax_j(uint8_t rtu_LVL, int16_t rty_out[2]); +extern void Level4_b_Init(DW_Level4_h *localDW); +extern void Level4_m(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t + *rtd_Blower_RR, const uint8_t *rtd_CCU_MODE_RR, uint16_t + *rtd_Dtg_RL, uint16_t *rtd_Dtg_RR, const int16_t *rtd_ECT, + const int16_t *rtd_Incar_RR, uint8_t + *rtd_Incar_filter_down_value, uint8_t + *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, const + uint8_t *rtd_LO_HI_MODE_RR, uint8_t *rtd_Mode_RL, uint8_t + *rtd_Mode_RR, double *rtd_Recirculation, uint8_t + *rtd_Valve_2_way, const uint32_t *rtd_t_now, DW_Level4_h + *localDW); +extern void timeforstep_k(uint8_t rtu_LVL, uint8_t *rty_out); +extern void blowerstep_c(uint8_t rtu_LVL, uint16_t *rty_out); +extern void blowertimeforstep_k(uint8_t rtu_LVL, uint16_t *rty_out); +extern void step_a(uint8_t rtu_LVL, uint8_t *rty_out); +extern void timeforstep_dm(uint8_t rtu_LVL, uint8_t *rty_out); +extern void Level0_h_Init(DW_Level0_hr *localDW); +extern void Level0_a(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t + *rtd_Blower_RR, const uint16_t *rtd_Blower_logic_RR, const + uint8_t *rtd_CCU_MODE_FL, uint16_t *rtd_Dtg_RL, uint16_t + *rtd_Dtg_RR, const int16_t *rtd_Dtg_logic_RR, uint8_t + *rtd_Incar_filter_down_value, uint8_t + *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, const + uint8_t *rtd_LO_HI_MODE_FL, uint8_t *rtd_Mode_RL, uint8_t + *rtd_Mode_RR, const uint8_t *rtd_Mode_logic_RR, double + *rtd_Recirculation, uint8_t *rtd_Valve_2_way, const + uint32_t *rtd_t_now, DW_Level0_hr *localDW); +extern void Level2_j_Init(DW_Level2_j *localDW); +extern void Level2_f(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t + *rtd_Blower_RR, const uint16_t *rtd_Blower_logic_RR, const + uint8_t *rtd_CCU_MODE_FL, uint16_t *rtd_Dtg_RL, uint16_t + *rtd_Dtg_RR, const int16_t *rtd_Dtg_logic_RR, const bool + *rtd_HI_logic_on, uint8_t *rtd_Incar_filter_down_value, + uint8_t *rtd_Incar_filter_up_value, const uint8_t + *rtd_LEVEL, const uint8_t *rtd_LO_HI_MODE_FL, uint8_t + *rtd_Mode_RL, uint8_t *rtd_Mode_RR, const uint8_t + *rtd_Mode_logic_RR, double *rtd_Recirculation, uint8_t + *rtd_Valve_2_way, const uint32_t *rtd_t_now, DW_Level2_j + *localDW); +extern void funcg_assAUTO_STEP_DUCT_TG_U(uint8_t rtu_LVL, double rtu_AF_STEP, + int16_t *rty_y); +extern void funcg_assAUTO_STEP_DUCT_TG_L(uint8_t rtu_LVL, double rtu_AF_STEP, + int16_t *rty_y); +extern void funcg_assAUTO_STEP_DUCT_TG_R(uint8_t rtu_LVL, double rtu_AF_STEP, + int16_t *rty_y); extern void correctionrate(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y); extern void is_ending_with_5(uint16_t rtu_SET, bool *rty_is_ending_with_5); extern void u(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_FALLING_F); @@ -175,13 +309,8 @@ extern void g_ausINCARRATE_RISING_DIFF_R8(uint16_t extern void INCARRATE_RISING_DIFF_R7(uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_R); extern void u_b3(uint8_t rtu_lvl, uint16_t *rty_out); -extern void Zone_Climate_Logic_Auto_FL1_Init(uint8_t *rty_out_def, uint8_t - *rty_out_face, uint8_t *rty_out_foot, uint8_t *rty_out_auto, double - *rty_out_ac, DW_Zone_Climate_Logic_Auto_FL1 *localDW); -extern void Zone_Climate_Logic_Auto_FL1(uint8_t rtu_btn_def, uint8_t - rtu_btn_face, uint8_t rtu_btn_foot, uint8_t rtu_btn_auto, uint8_t rtu_btn_ac, - uint8_t *rty_out_def, uint8_t *rty_out_face, uint8_t *rty_out_foot, uint8_t - *rty_out_auto, double *rty_out_ac, DW_Zone_Climate_Logic_Auto_FL1 *localDW); +extern void directionforfrontindexmode(uint8_t rtu_index_mode, double rty_Y[4]); +extern void directionforREARindexmode(uint16_t rtu_index_mode, double rty_Y[4]); extern void Zone_Climate_Logic_Auto_FL2_Init(uint8_t *rty_out_def, uint8_t *rty_out_face, uint8_t *rty_out_foot, uint8_t *rty_out_auto, double *rty_out_ac, DW_Zone_Climate_Logic_Auto_FL2 *localDW); @@ -198,7 +327,7 @@ extern void AFforTriLevel(uint8_t rtu_blower_speed, uint16_t *rty_out); extern void AFforVentmode(uint8_t rtu_blower_speed, uint16_t *rty_out); extern void RearLeftAFmanualdirections(bool rtu_Enable, uint8_t rtu_blowerspeed, uint8_t rtu_faceison, uint8_t rtu_footison, uint16_t *rty_AFout); -extern void funcg_ascAUTO_STEP_AF_F(int8_t rtu_AF_STEP, int8_t *rty_y); +extern void funcg_ascAUTO_STEP_AF_F(double rtu_AF_STEP, int8_t *rty_y); extern void u_m2(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_FALLING); extern void u_kb(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_out, const double *rtd_AMB_store, double *rtd_KEEP_FALLING_UNTIL_LIMIT); @@ -231,12 +360,12 @@ extern void increase(int16_t rtu_duct_tg, const uint16_t rtu_mode_array[7], uint16_t *rty_y); extern void decrease(int16_t rtu_duct_tg, const uint16_t rtu_mode_array[7], uint16_t *rty_y); -extern void valves_rear_left_d(uint16_t rtu_MODE, uint16_t rty_get_valves[6]); +extern void valves_rear_left_h(uint16_t rtu_MODE, uint16_t rty_get_valves[6]); extern void ValvesforBiLevel(uint16_t rty_out[9]); extern void ValvesforFootDef(uint16_t rty_out[9]); extern void ValvesforHi_Level(uint16_t rty_out[9]); extern void ValvesforTriLevel(uint16_t rty_out[9]); -extern void AFforBiLevel_a(uint16_t rty_out[6]); +extern void AFforBiLevel_b(uint16_t rty_out[6]); extern void valvesforVentmode(uint16_t rty_out[6]); #endif /* HVAC_model_private_h_ */ diff --git a/HVAC_model_types.h b/HVAC_model_types.h index 1a218fd..4f9ea9b 100644 --- a/HVAC_model_types.h +++ b/HVAC_model_types.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'HVAC_model'. * - * Model version : 1.1397 + * Model version : 1.1446 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Fri Jul 17 14:49:32 2026 + * C/C++ source code generated on : Mon Jul 27 16:34:24 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -637,18 +637,50 @@ typedef struct { #endif +#ifndef DEFINED_TYPEDEF_FOR_CmdCAN_CCU_STAT1_WakeUp_Bus_ +#define DEFINED_TYPEDEF_FOR_CmdCAN_CCU_STAT1_WakeUp_Bus_ + +typedef struct { + uint8_t CCU_ModeFL_Stat; + uint8_t CCU_ModeFR_Stat; + uint8_t CCU_ModeRL_Stat; + uint8_t CCU_ModeRR_Stat; + uint8_t CCU_AutoModeFL_Stat; + uint8_t CCU_AutoModeFR_Stat; + uint8_t CCU_AirDirectionRL_Face_Stat; + uint8_t CCU_AirDirectionRL_Foot_Stat; + uint8_t CCU_AutoModeRL_Stat; + uint8_t CCU_AutoModeRR_Stat; + uint8_t CCU_AirDirectionRR_Face_Stat; + uint8_t CCU_AirDirectionRR_Foot_Stat; + uint8_t CCU_AirDirectionFL_Def_Stat; + uint8_t CCU_AirDirectionFL_Face_Stat; + uint8_t CCU_AirDirectionFL_Foot_Stat; + uint8_t CCU_AirDirectionFR_Def_Stat; + uint8_t CCU_AirDirectionFR_Face_Stat; + uint8_t CCU_AirDirectionFR_Foot_Stat; + uint8_t CCU_Recirculation_Stat; + uint8_t CCU_BlowerSpeedFL_Stat; + uint8_t CCU_TargetTempFL_Stat_ro; + uint8_t CCU_BlowerSpeedFR_Stat; + uint8_t CCU_TargetTempFR_Stat_ro; + uint8_t CCU_BlowerSpeedRL_Stat; + uint8_t CCU_TargetTempRR_Stat_ro; + uint8_t CCU_BlowerSpeedRR_Stat; + uint8_t CCU_TargetTempRL_Stat_ro; +} CmdCAN_CCU_STAT1_WakeUp_Bus; + +#endif + #ifndef DEFINED_TYPEDEF_FOR_LIN5_SENSON_ADR_Stat_Bus_ #define DEFINED_TYPEDEF_FOR_LIN5_SENSON_ADR_Stat_Bus_ typedef struct { - uint8_t DRS_DL_Stat; - uint8_t DRS_DR_Stat; - uint8_t DRS_FPL_Stat; - uint8_t DRS_FPR_Stat; - uint8_t DRS_RLB_Stat; - uint8_t DRS_RRB_Stat; - uint8_t DRS_FCL_Stat; - uint8_t DRS_FCR_Stat; + uint8_t in_COUNT[8]; + uint8_t in_error_connect[8]; + uint8_t LinRespErr_Stat[8]; + uint8_t Err_Stat[8]; + uint8_t Error_Connect; } LIN5_SENSON_ADR_Stat_Bus; #endif @@ -903,6 +935,143 @@ typedef struct { #endif +#ifndef DEFINED_TYPEDEF_FOR_CCUCAN_OCURR_MSG_Bus_ +#define DEFINED_TYPEDEF_FOR_CCUCAN_OCURR_MSG_Bus_ + +typedef struct { + uint8_t OCURR_OccupantWeight_Stat; + uint8_t OCURR_SeatOccupied_Stat; + uint8_t OCURR_SensorError_Stat; + uint8_t OCURR_MSG_RC; + uint8_t OCURR_MSG_CS; +} CCUCAN_OCURR_MSG_Bus; + +#endif + +#ifndef DEFINED_TYPEDEF_FOR_LIN4_ERROR_Bus_ +#define DEFINED_TYPEDEF_FOR_LIN4_ERROR_Bus_ + +typedef struct { + uint8_t in_error_connect[7]; + uint8_t Error_Connect; +} LIN4_ERROR_Bus; + +#endif + +#ifndef DEFINED_TYPEDEF_FOR_CmdCAN_CCU_STAT3_Bus_ +#define DEFINED_TYPEDEF_FOR_CmdCAN_CCU_STAT3_Bus_ + +typedef struct { + uint8_t CCU_AromaCartridgeCapacity_Stat_ro; + uint8_t CCU_AromaCartridgeFlavor_Stat; + uint8_t CCU_AromaFaultReason_Stat; + uint8_t CCU_RLfootBlowDis_Stat; + uint8_t CCU_RRfootBlowDis_Stat; + uint8_t CCU_RestMode2_Stat; +} CmdCAN_CCU_STAT3_Bus; + +#endif + +#ifndef DEFINED_TYPEDEF_FOR_dbg_LIN_Ionizer_Stat_t_Bus_ +#define DEFINED_TYPEDEF_FOR_dbg_LIN_Ionizer_Stat_t_Bus_ + +typedef struct { + uint8_t LIN_Ionizer_Err_Stat; + uint8_t LIN_Ionizer_LinRespErr; + uint8_t LIN_Ionizer_Ionization; +} dbg_LIN_Ionizer_Stat_t_Bus; + +#endif + +#ifndef DEFINED_TYPEDEF_FOR_dbg_LIN_Aroma_Stat_t_Bus_ +#define DEFINED_TYPEDEF_FOR_dbg_LIN_Aroma_Stat_t_Bus_ + +typedef struct { + uint8_t LIN_AromaLinRespErr_Stat; + uint8_t LIN_Aroma_1CartridgeSw; + uint8_t LIN_Aroma_2CartridgeSw; + uint8_t LIN_Aroma_3CartridgeSw; + uint8_t LIN_Aroma_Error_Stat; + uint8_t LIN_Aroma_Intens; + uint8_t LIN_Aroma_CartridgeSel; + uint8_t LIN_Aroma_1CartridgeFlavor; + uint8_t LIN_Aroma_2CartridgeFlavor; + uint8_t LIN_Aroma_3CartridgeFlavor; + uint8_t LIN_Aroma_1CartridgeCapacity; + uint8_t LIN_Aroma_2CartridgeCapacity; + uint8_t LIN_Aroma_3CartridgeCapacity; +} dbg_LIN_Aroma_Stat_t_Bus; + +#endif + +#ifndef DEFINED_TYPEDEF_FOR_CmdCAN_CCU_STAT2_WakeUp_Bus_ +#define DEFINED_TYPEDEF_FOR_CmdCAN_CCU_STAT2_WakeUp_Bus_ + +typedef struct { + uint8_t CCU_AromaCartridgeSw_Stat; + uint8_t CCU_FrontZoneSync_Stat; + uint8_t CCU_RearZoneSync_Stat; + uint8_t CCU_AllZoneSync_Stat; + uint8_t CCU_ACfront_Stat; + uint8_t CCU_ACrear_Stat; + uint8_t CCU_ACmaxF_Stat; + uint8_t CCU_ACmaxR_Stat; + uint8_t CCU_Defrost_Stat; + uint8_t CCU_Ionization_Stat; + uint8_t CCU_FootTempCorFL_Stat; + uint8_t CCU_FootTempCorFR_Stat; + uint8_t CCU_AromaIntens_Stat; + uint8_t CCU_FootTempCorRL_Stat; + uint8_t CCU_FootTempCorRR_Stat; + uint8_t CCU_DeflectorSwDL_Stat; + uint8_t CCU_DeflectorSwDR_Stat; + uint8_t CCU_DeflectorSwFPL_Stat; + uint8_t CCU_DeflectorSwFPR_Stat; + uint8_t CCU_DeflectorSwFCL_Stat; + uint8_t CCU_DeflectorSwFCR_Stat; + uint8_t CCU_DeflectorSwRLB_Stat; + uint8_t CCU_DeflectorSwRRB_Stat; +} CmdCAN_CCU_STAT2_WakeUp_Bus; + +#endif + +#ifndef DEFINED_TYPEDEF_FOR_CmdCAN_CCU_STAT3_WakeUp_Bus_ +#define DEFINED_TYPEDEF_FOR_CmdCAN_CCU_STAT3_WakeUp_Bus_ + +typedef struct { + uint8_t CCU_AromaCartridgeCapacity_Stat_ro; + uint8_t CCU_AromaCartridgeFlavor_Stat; + uint8_t CCU_AromaFaultReason_Stat; + uint8_t CCU_RLfootBlowDis_Stat; + uint8_t CCU_RRfootBlowDis_Stat; + uint8_t CCU_RestMode2_Stat; +} CmdCAN_CCU_STAT3_WakeUp_Bus; + +#endif + +#ifndef DEFINED_TYPEDEF_FOR_CCU_Msg1_WakeUp_Bus_ +#define DEFINED_TYPEDEF_FOR_CCU_Msg1_WakeUp_Bus_ + +typedef struct { + uint8_t CCU_MirrorHeating_Req; + uint8_t CCU_RecirculationLed_Cmd; + uint8_t CCU_DefrostLed_Req; + uint8_t CCU_SideWindowHeating_Req; + uint8_t CCU_RearWindowHeating_Req; + uint8_t CCU_FrontWindowHeating_Req; + uint8_t CCU_EmergAirCleaning_Stat; + uint8_t CCU_FireExtinguishSys_Stat; + uint8_t CCU_FLAutoPsngrLed_Cmd; + uint8_t CCU_FRAutoPsngrLed_Cmd; + uint8_t CCU_RLAutoPsngrLed_Cmd; + uint8_t CCU_RRAutoPsngrLed_Cmd; + uint8_t CCU_AC_MaxLed_Cmd; + uint8_t CCU_MSG1_RC; + uint8_t CCU_MSG1_CS; +} CCU_Msg1_WakeUp_Bus; + +#endif + #ifndef DEFINED_TYPEDEF_FOR_CmdBusADCData_ #define DEFINED_TYPEDEF_FOR_CmdBusADCData_ diff --git a/Model_Task.c b/Model_Task.c index 0428826..7702e62 100644 --- a/Model_Task.c +++ b/Model_Task.c @@ -7,6 +7,7 @@ #include "HVAC_model.h" #include "memory.h" #include "SystemDelayInterface.h" +#include "fc7xxx_driver_smc.h" #define LOG_SIGN "ModelTask" #define LOGGER env->logger @@ -75,8 +76,8 @@ void ModelTask_Init( env->canUds = canUds; - env->adc0Task = adc0Task; - env->adc1Task = adc1Task; + env->adc0Task = adc0Task; + env->adc1Task = adc1Task; env->canSpamReceiver = canSpamReceiver; env->canSpamTransmitter = canSpamTransmitter; @@ -275,18 +276,34 @@ static bool setActuatorBusy(tModelTask *env) { return false; } +__attribute__((section(".nchache_save_data"))) volatile CCU_Stat1_t CCU_STAT1_MODEL_SAVE; +__attribute__((section(".nchache_save_data"))) volatile CCU_Stat2_t CCU_STAT2_MODEL_SAVE; +__attribute__((section(".nchache_save_data"))) volatile CCU_Stat3_t CCU_STAT3_MODEL_SAVE; +__attribute__((section(".nchache_save_data"))) volatile CCU_Msg1_t CCU_MSG1_MODEL_SAVE; + +#define SLEEP_TIME 3000 + static _Noreturn void ModelTask_Thread(tModelTask *env) { - bool TwoWayValve_EN; - bool EN_BATTChiller; - bool Incar_Motor_Front_EN ; - bool Incar_Motor_Rear_EN; - bool ShutOffFront_EN; - bool ShutOffRear_EN ; - bool PtcRelayDriver1_EN; - bool PtcRelayDriver2_EN; + + memset((void *) &CCU_STAT1_MODEL_SAVE, 0, sizeof(env->ccu_candb_tx.CCU_Stat1)); + memset((void *) &CCU_STAT2_MODEL_SAVE, 0, sizeof(env->ccu_candb_tx.CCU_Stat2)); + memset((void *) &CCU_STAT3_MODEL_SAVE, 0, sizeof(env->ccu_candb_tx.CCU_Stat3)); + memset((void *) &CCU_MSG1_MODEL_SAVE, 0, sizeof(env->ccu_candb_tx.CCU_Msg1)); for (;;) { + if (GPIO_ReadPins((uint8_t) PORT_E, PORT_PIN_16)) { + if (env->sleep_time == 0) { + env->sleep_time = SystemGetMs() + SLEEP_TIME; + } + } else { + env->sleep_time = 0; + } + + if ((env->sleep_time > 0) && (env->sleep_time < SystemGetMs())) { + SMC_SetSystemMode(SMC_MODE_STANBY_3); + } + if (osMutexAcquire(env->access, 1000) == osOK) { //LoggerFormatError(LOGGER, LOG_SIGN, "Step END = %d", SystemGetMs()) @@ -296,14 +313,17 @@ static _Noreturn void ModelTask_Thread(tModelTask *env) { getCmdBusADCData(env->adc0Task, &rtDW.ADC_Data_Model); - getCmdBusADC2Data(env->adc1Task, (CmdBusADC2Data *)&rtDW.ADC_Data_Model.VN7008AJ_DIAG_FrontLINActuatorPowerDriverAB); + getCmdBusADC2Data(env->adc1Task, + (CmdBusADC2Data *) &rtDW.ADC_Data_Model.VN7008AJ_DIAG_FrontLINActuatorPowerDriverAB); //начало--------------------------------------------------PWM----------------------------------------------------------- PWM_Get.pwmPercentFront = env->pwms->pwmFrontCaptureIO.getPwm(env->pwms->pwmFrontCaptureIO.env); PWM_Get.pwmPercentRear = env->pwms->pwmRearCaptureIO.getPwm(env->pwms->pwmRearCaptureIO.env); - PWM_Get.pwmPercentFrontReserved = env->pwms->pwmFrontCaptureIO.getPwm(env->pwms->pwmFrontReservedCaptureIO.env); - PWM_Get.pwmPercentRearReserved = env->pwms->pwmRearCaptureIO.getPwm(env->pwms->pwmRearReservedCaptureIO.env); + PWM_Get.pwmPercentFrontReserved = env->pwms->pwmFrontCaptureIO.getPwm( + env->pwms->pwmFrontReservedCaptureIO.env); + PWM_Get.pwmPercentRearReserved = env->pwms->pwmRearCaptureIO.getPwm( + env->pwms->pwmRearReservedCaptureIO.env); model_Status_Pwm_For_Model_input.Pwm_Front = PWM_Get.pwmPercentFront * 10; model_Status_Pwm_For_Model_input.Pwm_Rear = PWM_Get.pwmPercentRear * 10; @@ -320,11 +340,14 @@ static _Noreturn void ModelTask_Thread(tModelTask *env) { model_Status_EMS_For_Model_input.EMS_Chiller_Req = rtDW.CCUCAN_EMS_HVC_REQ_MSG_MODEL.EMS_eCompChiller_Req; //конец--------------------------------------------------CAN------------------------------------------------------------ + Lin4_Output_Get_From_Model(env->lin4TaskSensor); Lin5_Output_Get_From_Model(env->lin5TaskSensor); HVAC_model_step(); + Lin5_Input_Set_From_Model(env->lin5TaskSensor); + CanUdsOutput_Get_Model(env->canUds); setActuatorBusy(env); @@ -336,109 +359,121 @@ static _Noreturn void ModelTask_Thread(tModelTask *env) { // Контроль напряжения Р±РѕСЂС‚-сети (1 - Р’РљР›) GpioPinSet(&env->gpios->power.PBATT_CK_EN, rtY.PowerEnable_Model.PBATT_CK_EN); - TwoWayValve_EN = rtY.PowerEnable_Model.TwoWayValve_EN; - EN_BATTChiller = rtY.PowerEnable_Model.EN_BATTChiller; - Incar_Motor_Front_EN = rtY.PowerEnable_Model.Incar_Motor_Front_EN; - Incar_Motor_Rear_EN = rtY.PowerEnable_Model.Incar_Motor_Rear_EN; - ShutOffFront_EN = rtY.PowerEnable_Model.ShutOffFront_EN; - ShutOffRear_EN = rtY.PowerEnable_Model.ShutOffRear_EN; - PtcRelayDriver1_EN = rtY.PowerEnable_Model.PtcRelayDriver1_EN; - PtcRelayDriver2_EN = rtY.PowerEnable_Model.PtcRelayDriver2_EN; + env->TwoWayValve_EN = rtY.PowerEnable_Model.TwoWayValve_EN; + env->EN_BATTChiller = rtY.PowerEnable_Model.EN_BATTChiller; + env->Incar_Motor_Front_EN = rtY.PowerEnable_Model.Incar_Motor_Front_EN; + env->Incar_Motor_Rear_EN = rtY.PowerEnable_Model.Incar_Motor_Rear_EN; + env->ShutOffFront_EN = rtY.PowerEnable_Model.ShutOffFront_EN; + env->ShutOffRear_EN = rtY.PowerEnable_Model.ShutOffRear_EN; + env->PtcRelayDriver1_EN = rtY.PowerEnable_Model.PtcRelayDriver1_EN; + env->PtcRelayDriver2_EN = rtY.PowerEnable_Model.PtcRelayDriver2_EN; if (model_Status_Set_For_Model_output.IO == 1) { if (model_Status_IO_For_Model_output._2_Way_Valve == 0) { - TwoWayValve_EN = false; + env->TwoWayValve_EN = false; } else { - TwoWayValve_EN = true; + env->TwoWayValve_EN = true; } if (model_Status_IO_For_Model_output.IncarMotor_Front == 0) { - Incar_Motor_Front_EN = false; + env->Incar_Motor_Front_EN = false; } else { - Incar_Motor_Front_EN = true; + env->Incar_Motor_Front_EN = true; } if (model_Status_IO_For_Model_output.IncarMotor_Rear == 0) { - Incar_Motor_Rear_EN = false; + env->Incar_Motor_Rear_EN = false; } else { - Incar_Motor_Rear_EN = true; + env->Incar_Motor_Rear_EN = true; } if (model_Status_IO_For_Model_output.ShutOff_Chiller == 0) { - EN_BATTChiller = false; + env->EN_BATTChiller = false; } else { - EN_BATTChiller = true; + env->EN_BATTChiller = true; } if (model_Status_IO_For_Model_output.ShutOff_Front == 0) { - ShutOffFront_EN =false; + env->ShutOffFront_EN = false; } else { - ShutOffFront_EN = true; + env->ShutOffFront_EN = true; } if (model_Status_IO_For_Model_output.IncarMotor_Rear == 0) { - ShutOffRear_EN = false; + env->ShutOffRear_EN = false; } else { - ShutOffRear_EN = true; + env->ShutOffRear_EN = true; } if (model_Status_IO_For_Model_output.PTC_1 == 0) { - PtcRelayDriver1_EN = false; + env->PtcRelayDriver1_EN = false; } else { - PtcRelayDriver1_EN = true; + env->PtcRelayDriver1_EN = true; } if (model_Status_IO_For_Model_output.PTC_2 == 0) { - PtcRelayDriver2_EN = false; + env->PtcRelayDriver2_EN = false; } else { - PtcRelayDriver2_EN = true; + env->PtcRelayDriver2_EN = true; } } else { - GpioPinSet(&env->gpios->power.BTS5180_2EKA_TwoWayValveAndReservePowerSupply.TwoWayValve_EN,TwoWayValve_EN); + GpioPinSet(&env->gpios->power.BTS5180_2EKA_TwoWayValveAndReservePowerSupply.TwoWayValve_EN, + env->TwoWayValve_EN); GpioPinSet(&env->gpios->power.BTS5180_2EKA_TwoWayValveAndReservePowerSupply.TwoWayValve_EN_Diag, true); - GpioPinSet(&env->gpios->power.BTS5180_2EKA_TwoWayValveAndReservePowerSupply.ReservePower_EN,rtY.PowerEnable_Model.ReservePower_EN); + GpioPinSet(&env->gpios->power.BTS5180_2EKA_TwoWayValveAndReservePowerSupply.ReservePower_EN, + rtY.PowerEnable_Model.ReservePower_EN); - GpioPinSet(&env->gpios->power.BTS4175SGAXUMA1_ShutOFFValveBatteryChiller.EN_BATTChiller,EN_BATTChiller); + GpioPinSet(&env->gpios->power.BTS4175SGAXUMA1_ShutOFFValveBatteryChiller.EN_BATTChiller, + env->EN_BATTChiller); - GpioPinSet(&env->gpios->power.BTS5180_2EKA_FrontRearIncarMotor.Incar_Motor_Front_EN,Incar_Motor_Front_EN); + GpioPinSet(&env->gpios->power.BTS5180_2EKA_FrontRearIncarMotor.Incar_Motor_Front_EN, + env->Incar_Motor_Front_EN); GpioPinSet(&env->gpios->power.BTS5180_2EKA_FrontRearIncarMotor.Incar_EN_Diag, true); - GpioPinSet(&env->gpios->power.BTS5180_2EKA_FrontRearIncarMotor.Incar_Motor_Rear_EN,Incar_Motor_Rear_EN); + GpioPinSet(&env->gpios->power.BTS5180_2EKA_FrontRearIncarMotor.Incar_Motor_Rear_EN, + env->Incar_Motor_Rear_EN); - GpioPinSet(&env->gpios->power.BTS5180_2EKA_ShutOFFValveFrontRear.ShutOffFront_EN,ShutOffFront_EN); + GpioPinSet(&env->gpios->power.BTS5180_2EKA_ShutOFFValveFrontRear.ShutOffFront_EN, env->ShutOffFront_EN); GpioPinSet(&env->gpios->power.BTS5180_2EKA_ShutOFFValveFrontRear.ShutOff_EN_Diag, true); - GpioPinSet(&env->gpios->power.BTS5180_2EKA_ShutOFFValveFrontRear.ShutOffRear_EN,ShutOffRear_EN); + GpioPinSet(&env->gpios->power.BTS5180_2EKA_ShutOFFValveFrontRear.ShutOffRear_EN, env->ShutOffRear_EN); - GpioPinSet(&env->gpios->power.BTS5180_2EKA_2xChannelPTCPower.PtcRelayDriver1_EN,PtcRelayDriver1_EN); + GpioPinSet(&env->gpios->power.BTS5180_2EKA_2xChannelPTCPower.PtcRelayDriver1_EN, + env->PtcRelayDriver1_EN); GpioPinSet(&env->gpios->power.BTS5180_2EKA_2xChannelPTCPower.PtcRelayDriver_EN_Diag, true); - GpioPinSet(&env->gpios->power.BTS5180_2EKA_2xChannelPTCPower.PtcRelayDriver2_EN,PtcRelayDriver2_EN); + GpioPinSet(&env->gpios->power.BTS5180_2EKA_2xChannelPTCPower.PtcRelayDriver2_EN, + env->PtcRelayDriver2_EN); } - model_Status_IO_For_Model_input._2_Way_Valve = TwoWayValve_EN; - model_Status_IO_For_Model_input.IncarMotor_Front = Incar_Motor_Front_EN; - model_Status_IO_For_Model_input.IncarMotor_Rear = Incar_Motor_Rear_EN; - model_Status_IO_For_Model_input.ShutOff_Chiller = EN_BATTChiller; - model_Status_IO_For_Model_input.ShutOff_Front = ShutOffFront_EN; - model_Status_IO_For_Model_input.ShutOff_Rear = ShutOffRear_EN; - model_Status_IO_For_Model_input.PTC_1 = PtcRelayDriver1_EN; - model_Status_IO_For_Model_input.PTC_2 = PtcRelayDriver2_EN; + model_Status_IO_For_Model_input._2_Way_Valve = env->TwoWayValve_EN; + model_Status_IO_For_Model_input.IncarMotor_Front = env->Incar_Motor_Front_EN; + model_Status_IO_For_Model_input.IncarMotor_Rear = env->Incar_Motor_Rear_EN; + model_Status_IO_For_Model_input.ShutOff_Chiller = env->EN_BATTChiller; + model_Status_IO_For_Model_input.ShutOff_Front = env->ShutOffFront_EN; + model_Status_IO_For_Model_input.ShutOff_Rear = env->ShutOffRear_EN; + model_Status_IO_For_Model_input.PTC_1 = env->PtcRelayDriver1_EN; + model_Status_IO_For_Model_input.PTC_2 = env->PtcRelayDriver2_EN; // GpioPinSet(&env->gpios->power.BTS4175SGAXUMA1_ReservePowerOutput.EN_ReservePower, rtY.PowerEnable_Model.EN_ReservePower); - GpioPinSet(&env->gpios->power.BTS4175SGAXUMA1_PowerReserve.EN_PowerReserve, rtY.PowerEnable_Model.EN_PowerReserve); + GpioPinSet(&env->gpios->power.BTS4175SGAXUMA1_PowerReserve.EN_PowerReserve, + rtY.PowerEnable_Model.EN_PowerReserve); - GpioPinSet(&env->gpios->power.VN7008AJ_FrontLINActuatorPowerDriverAB.LIN_ActPower_AB, rtY.PowerEnable_Model.LIN_ActPower_AB); + GpioPinSet(&env->gpios->power.VN7008AJ_FrontLINActuatorPowerDriverAB.LIN_ActPower_AB, + rtY.PowerEnable_Model.LIN_ActPower_AB); GpioPinSet(&env->gpios->power.VN7008AJ_FrontLINActuatorPowerDriverAB.EN_CurrentSensing_AB, true); - GpioPinSet(&env->gpios->power.VN7008AJ_RearLINActuatorPowerDriverC.LIN_ActPower_C, rtY.PowerEnable_Model.LIN_ActPower_C); + GpioPinSet(&env->gpios->power.VN7008AJ_RearLINActuatorPowerDriverC.LIN_ActPower_C, + rtY.PowerEnable_Model.LIN_ActPower_C); GpioPinSet(&env->gpios->power.VN7008AJ_RearLINActuatorPowerDriverC.EN_CurrentSensing_C, true); - GpioPinSet(&env->gpios->power.BTS5120_2EKA_ShutoffValvePowerTXV.ShutOffTXV1_EN, rtY.PowerEnable_Model.ShutOffTXV1_EN); + GpioPinSet(&env->gpios->power.BTS5120_2EKA_ShutoffValvePowerTXV.ShutOffTXV1_EN, + rtY.PowerEnable_Model.ShutOffTXV1_EN); GpioPinSet(&env->gpios->power.BTS5120_2EKA_ShutoffValvePowerTXV.ShutOffTXV_EN_Diag, true); - GpioPinSet(&env->gpios->power.BTS5120_2EKA_ShutoffValvePowerTXV.ShutOffTXV2_EN, rtY.PowerEnable_Model.ShutOffTXV2_EN); + GpioPinSet(&env->gpios->power.BTS5120_2EKA_ShutoffValvePowerTXV.ShutOffTXV2_EN, + rtY.PowerEnable_Model.ShutOffTXV2_EN); //конец--------------------------------------------------GPIO----------------------------------------------------------- @@ -451,20 +486,30 @@ static _Noreturn void ModelTask_Thread(tModelTask *env) { env->pwms->pwmFrontIo.setActivePercent(env->pwms->pwmFrontIo.env, rtY.PWM_Get_f.pwmPercentFront); env->pwms->pwmRearIo.setActivePercent(env->pwms->pwmRearIo.env, rtY.PWM_Get_f.pwmPercentRear); - env->pwms->pwmFrontReservedIo.setActivePercent(env->pwms->pwmFrontReservedIo.env, rtY.PWM_Get_f.pwmPercentFrontReserved); - env->pwms->pwmRearReservedIo.setActivePercent(env->pwms->pwmRearReservedIo.env, rtY.PWM_Get_f.pwmPercentRearReserved); + env->pwms->pwmFrontReservedIo.setActivePercent(env->pwms->pwmFrontReservedIo.env, + rtY.PWM_Get_f.pwmPercentFrontReserved); + env->pwms->pwmRearReservedIo.setActivePercent(env->pwms->pwmRearReservedIo.env, + rtY.PWM_Get_f.pwmPercentRearReserved); //конец--------------------------------------------------PWM------------------------------------------------------------ +//начало-------------------------------------------------SlEEP---------------------------------------------------------- + + memcpy((void *) &CCU_STAT1_MODEL_SAVE, &rtY.CCU_Stat1_model, sizeof(env->ccu_candb_tx.CCU_Stat1)); + memcpy((void *) &CCU_STAT2_MODEL_SAVE, &rtY.CCU_Stat2_model, sizeof(env->ccu_candb_tx.CCU_Stat2)); + memcpy((void *) &CCU_MSG1_MODEL_SAVE, &rtY.CCU_Msg1_model, sizeof(env->ccu_candb_tx.CCU_Msg1)); + +//конец--------------------------------------------------SLEEP---------------------------------------------------------- + //начало--------------------------------------------------CAN----------------------------------------------------------- memcpy(&env->ccu_candb_tx.CCU_Errors, &rtY.CCU_Errors_model, sizeof(env->ccu_candb_tx.CCU_Errors)); memcpy(&env->ccu_candb_tx.CCU_Stat1, &rtY.CCU_Stat1_model, sizeof(env->ccu_candb_tx.CCU_Stat1)); memcpy(&env->ccu_candb_tx.CCU_Stat2, &rtY.CCU_Stat2_model, sizeof(env->ccu_candb_tx.CCU_Stat2)); - memcpy(&env->ccu_candb_tx.CCU_HVC_Req_Msg, &rtY.CCUCAN_HVC_REQ_MSG_MODEL, sizeof(env->ccu_candb_tx.CCU_HVC_Req_Msg)); + memcpy(&env->ccu_candb_tx.CCU_HVC_Req_Msg, &rtY.CCUCAN_HVC_REQ_MSG_MODEL, + sizeof(env->ccu_candb_tx.CCU_HVC_Req_Msg)); memcpy(&env->ccu_candb_tx.CCU_Msg3, &rtY.CCU_Msg3_model, sizeof(env->ccu_candb_tx.CCU_Msg3)); memcpy(&env->ccu_candb_tx.CCU_Msg1, &rtY.CCU_Msg1_model, sizeof(env->ccu_candb_tx.CCU_Msg1)); - if (model_Status_Set_For_Model_output.eComp == 1) { env->ccu_candb_tx.CCU_HVC_Req_Msg.CCU_eCompSpeedReq_Val_ro = model_Status_eComp_For_Model_output.Pwm_Front; @@ -494,7 +539,6 @@ static _Noreturn void ModelTask_Thread(tModelTask *env) { model_Status_eComp_For_Model_input.eComp_Statue_Request = env->ccu_candb_tx.CCU_HVC_Req_Msg.CCU_eCompReq_Stat; - if (model_Status_Set_For_Model_output.External == 1) { env->ccu_candb_tx.CCU_Msg3.CCU_FAN_Req = model_Status_External_For_Model_output.CoolingFan / 10; } @@ -507,25 +551,39 @@ static _Noreturn void ModelTask_Thread(tModelTask *env) { memcpy(&env->ccu_candb_dbg_tx.dbg_Act0, &rtY.dbgCAN_dbg_Act0_model, sizeof(env->ccu_candb_dbg_tx.dbg_Act0)); memcpy(&env->ccu_candb_dbg_tx.dbg_Act1, &rtY.dbgCAN_dbg_Act1_model, sizeof(env->ccu_candb_dbg_tx.dbg_Act1)); memcpy(&env->ccu_candb_dbg_tx.dbg_Act2, &rtY.dbgCAN_dbg_Act2_model, sizeof(env->ccu_candb_dbg_tx.dbg_Act2)); - memcpy(&env->ccu_candb_dbg_tx.dbg_Sen_Duct, &rtY.dbgCAN_dbg_Sen_Duct_model, sizeof(env->ccu_candb_dbg_tx.dbg_Sen_Duct)); - memcpy(&env->ccu_candb_dbg_tx.dbg_Sen_Eva, &rtY.dbgCAN_dbg_Sen_Eva_model, sizeof(env->ccu_candb_dbg_tx.dbg_Sen_Eva)); - memcpy(&env->ccu_candb_dbg_tx.dbg_Logic_Blower, &rtY.dbgCAN_dbg_Logic_Blower_model, sizeof(env->ccu_candb_dbg_tx.dbg_Logic_Blower)); - memcpy(&env->ccu_candb_dbg_tx.dbg_Sen_Amb, &rtY.dbgCAN_dbg_Sen_Amb_model, sizeof(env->ccu_candb_dbg_tx.dbg_Sen_Amb)); - memcpy(&env->ccu_candb_dbg_tx.dbg_Sen_Incar, &rtY.dbgCAN_dbg_Sen_Incar_model, sizeof(env->ccu_candb_dbg_tx.dbg_Sen_Incar)); - memcpy(&env->ccu_candb_dbg_tx.dbg_Sen_0, &rtY.dbgCAN_dbg_Sen_0_model, sizeof(env->ccu_candb_dbg_tx.dbg_Sen_0)); - memcpy(&env->ccu_candb_dbg_tx.dbg_Logic_Ac, &rtY.dbg_Logic_Ac_model, sizeof(env->ccu_candb_dbg_tx.dbg_Logic_Ac)); - memcpy(&env->ccu_candb_dbg_tx.dbg_CCU_IO, &rtY.dbgCAN_CCU_IO_model, sizeof(env->ccu_candb_dbg_tx.dbg_CCU_IO)); - memcpy(&env->ccu_candb_dbg_tx.dbg_Logic_Rec, &rtY.dbgCAN_Logic_Rec_model, sizeof(env->ccu_candb_dbg_tx.dbg_Logic_Rec)); - memcpy(&env->ccu_candb_dbg_tx.dbg_Logic_State, &rtY.dbgCAN_Logic_State_model, sizeof(env->ccu_candb_dbg_tx.dbg_Logic_State)); + memcpy(&env->ccu_candb_dbg_tx.dbg_Sen_Duct, &rtY.dbgCAN_dbg_Sen_Duct_model, + sizeof(env->ccu_candb_dbg_tx.dbg_Sen_Duct)); + memcpy(&env->ccu_candb_dbg_tx.dbg_Sen_Eva, &rtY.dbgCAN_dbg_Sen_Eva_model, + sizeof(env->ccu_candb_dbg_tx.dbg_Sen_Eva)); + memcpy(&env->ccu_candb_dbg_tx.dbg_Logic_Blower, &rtY.dbgCAN_dbg_Logic_Blower_model, + sizeof(env->ccu_candb_dbg_tx.dbg_Logic_Blower)); + memcpy(&env->ccu_candb_dbg_tx.dbg_Sen_Amb, &rtY.dbgCAN_dbg_Sen_Amb_model, + sizeof(env->ccu_candb_dbg_tx.dbg_Sen_Amb)); + memcpy(&env->ccu_candb_dbg_tx.dbg_Sen_Incar, &rtY.dbgCAN_dbg_Sen_Incar_model, + sizeof(env->ccu_candb_dbg_tx.dbg_Sen_Incar)); + memcpy(&env->ccu_candb_dbg_tx.dbg_Sen_0, &rtY.dbgCAN_dbg_Sen_0_model, + sizeof(env->ccu_candb_dbg_tx.dbg_Sen_0)); + memcpy(&env->ccu_candb_dbg_tx.dbg_Logic_Ac, &rtY.dbg_Logic_Ac_model, + sizeof(env->ccu_candb_dbg_tx.dbg_Logic_Ac)); + memcpy(&env->ccu_candb_dbg_tx.dbg_CCU_IO, &rtY.dbgCAN_CCU_IO_model, + sizeof(env->ccu_candb_dbg_tx.dbg_CCU_IO)); + memcpy(&env->ccu_candb_dbg_tx.dbg_Logic_Rec, &rtY.dbgCAN_Logic_Rec_model, + sizeof(env->ccu_candb_dbg_tx.dbg_Logic_Rec)); + memcpy(&env->ccu_candb_dbg_tx.dbg_Logic_State, &rtY.dbgCAN_Logic_State_model, + sizeof(env->ccu_candb_dbg_tx.dbg_Logic_State)); - memcpy(&env->ccu_candb_dbg_tx.dbg_Auto_AF, &rtY.dbgCAN_Auto_AF_model, sizeof(env->ccu_candb_dbg_tx.dbg_Auto_AF)); - memcpy(&env->ccu_candb_dbg_tx.dbg_Auto_Duct, &rtY.dbgCAN_Auto_Duct_model, sizeof(env->ccu_candb_dbg_tx.dbg_Auto_Duct)); + memcpy(&env->ccu_candb_dbg_tx.dbg_Auto_AF, &rtY.dbgCAN_Auto_AF_model, + sizeof(env->ccu_candb_dbg_tx.dbg_Auto_AF)); + memcpy(&env->ccu_candb_dbg_tx.dbg_Auto_Duct, &rtY.dbgCAN_Auto_Duct_model, + sizeof(env->ccu_candb_dbg_tx.dbg_Auto_Duct)); - memcpy(&env->ccu_candb_dbg_tx.dbg_Logic_Valve, &rtY.dbg_Logic_Valve_model, sizeof(env->ccu_candb_dbg_tx.dbg_Logic_Valve)); + memcpy(&env->ccu_candb_dbg_tx.dbg_Logic_Valve, &rtY.dbg_Logic_Valve_model, + sizeof(env->ccu_candb_dbg_tx.dbg_Logic_Valve)); //конец--------------------------------------------------CAN------------------------------------------------------------ memcpy(&env->ccu_candb_dbg_tx.dbg_Drs, &rtY.dbg_Drs_t_model, sizeof(env->ccu_candb_dbg_tx.dbg_Drs)); - memcpy(&env->ccu_candb_dbg_tx.dbg_LIN_AirQS_Stat, &rtY.dbg_LIN_AirQS_Stat_t_model, sizeof(env->ccu_candb_dbg_tx.dbg_Logic_Valve)); + memcpy(&env->ccu_candb_dbg_tx.dbg_LIN_AirQS_Stat, &rtY.dbg_LIN_AirQS_Stat_t_model, + sizeof(env->ccu_candb_dbg_tx.dbg_Logic_Valve)); Lin4_Input_Set_From_Model(env->lin4TaskSensor); diff --git a/Model_Task.h b/Model_Task.h index 5c5a575..3ba232e 100644 --- a/Model_Task.h +++ b/Model_Task.h @@ -58,6 +58,19 @@ typedef struct { ActuatorCmdBus triggerActuatorCmdBus_2; ActuatorCmdBus triggerActuatorCmdBus_3; + + bool TwoWayValve_EN; + bool EN_BATTChiller; + bool Incar_Motor_Front_EN ; + bool Incar_Motor_Rear_EN; + bool ShutOffFront_EN; + bool ShutOffRear_EN ; + bool PtcRelayDriver1_EN; + bool PtcRelayDriver2_EN; + + + uint32_t sleep_time; + bool isRunning; struct {