From 0261dd54eb14f1230b66e49b889ac2945391db72 Mon Sep 17 00:00:00 2001 From: cfif Date: Mon, 9 Nov 2026 14:41:25 +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=BE=D0=B2=D1=8B=D0=B5=20DTC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MODULES/HVAC_M7_ADC_TASKS/AdcTasks.c | 5 + MODULES/HVAC_M7_MODEL/HVAC_model.c | 65521 ++++++++++-------- MODULES/HVAC_M7_MODEL/HVAC_model.h | 12398 ++-- MODULES/HVAC_M7_MODEL/HVAC_model_data.c | 517 +- MODULES/HVAC_M7_MODEL/HVAC_model_private.h | 83 +- MODULES/HVAC_M7_MODEL/HVAC_model_types.h | 159 +- MODULES/HVAC_M7_MODEL/Model_Task.c | 3 +- MODULES/HVAC_M7_StatusData/DiagnosticTask.c | 58 +- MODULES/HVAC_M7_StatusData/DiagnosticTask.h | 1 + 9 files changed, 41627 insertions(+), 37118 deletions(-) diff --git a/MODULES/HVAC_M7_ADC_TASKS/AdcTasks.c b/MODULES/HVAC_M7_ADC_TASKS/AdcTasks.c index f1f4139..690f4ff 100644 --- a/MODULES/HVAC_M7_ADC_TASKS/AdcTasks.c +++ b/MODULES/HVAC_M7_ADC_TASKS/AdcTasks.c @@ -590,6 +590,11 @@ static _Noreturn void Adc0_Thread(tAdc0Task *env) { 20000); ANALOG_SENSOR(env, "Sensor_Evap_Temp", rtDW.ADC_Data_Model.Sensor_Evap_Temp, TABLE_DUCT, 20000); + volatile float Rear_Evap = rtDW.ADC_Data_Model.Sensor_Rear_Evap_Temp * 5.0f / 4095.0f; + volatile float Front_Evap = rtDW.ADC_Data_Model.Sensor_Evap_Temp * 5.0f / 4095.0f; + + + LoggerErrorStatic(LOGGER, LOG_SIGN, "======================================================================"); ANALOG_SENSOR(env, "Sensor_Rear_Duct1 (dbg_Sen_Duct_RL_Fb)", rtDW.ADC_Data_Model.Sensor_Rear_Duct1, diff --git a/MODULES/HVAC_M7_MODEL/HVAC_model.c b/MODULES/HVAC_M7_MODEL/HVAC_model.c index 2ae7b48..1f2b895 100644 --- a/MODULES/HVAC_M7_MODEL/HVAC_model.c +++ b/MODULES/HVAC_M7_MODEL/HVAC_model.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'HVAC_model'. * - * Model version : 1.1879 + * Model version : 1.1964 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Wed Oct 28 12:18:29 2026 + * C/C++ source code generated on : Mon Nov 9 11:17:15 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -53,7 +53,7 @@ #define IN_Wait_2W ((uint8_t)2U) #define IN_Wait_3W ((uint8_t)2U) -/* Named constants for Chart: '/Partial REC' */ +/* Named constants for Chart: '/Partial REC Summer' */ #define IN_COND_1 ((uint8_t)1U) #define IN_COND_2 ((uint8_t)2U) #define IN_COND_3 ((uint8_t)3U) @@ -82,21 +82,21 @@ #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: '/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: '/Operation mode' */ +/* Named constants for Chart: '/Operation mode' */ #define IN_FULL ((uint8_t)1U) #define IN_OFF ((uint8_t)2U) #define IN_REDUCED ((uint8_t)3U) #define IN_REMOTE_START ((uint8_t)4U) -/* Named constants for Chart: '/Synchronization stateflow chart' */ +/* Named constants for Chart: '/Synchronization stateflow chart' */ #define IN_FRONT_ONLY ((uint8_t)1U) #define IN_FULL_SYNC ((uint8_t)2U) #define IN_NO_SYNC ((uint8_t)3U) @@ -303,6 +303,49 @@ static void E_COMP_MANAGER(bool *Enable_Comp_PID, const int16_t *Eva_F_tg, const static double find_index(int16_t delta); static bool isequal(const CmdCAN_FIU_CCU1_Bus varargin_1, const CmdCAN_FIU_CCU1_Bus varargin_2); +static void save_FIU_CCU(const captured_var_5 *CCU_STAT2_model_in, captured_var * + FIU_ACfrontOFF_Req, captured_var *FIU_ACrearOFF_Req, const captured_var_4 + *CCU_STAT1_model_in, captured_var *FIU_Recirculation_Req, captured_var + *FIU_CCmodeFL_Req, captured_var *FIU_CCautoModeFL_Req, captured_var + *FIU_BlowerSpeedFL_Req, captured_var *FIU_AirDirectionFL_Face_Req, + captured_var *FIU_AirDirectionFL_Foot_Req, captured_var + *FIU_AirDirectionFL_Def_Req, captured_var *FIU_FootTempCorFL_Req, captured_var + *FIU_CCmodeFR_Req, captured_var *FIU_CCautoModeFR_Req, captured_var + *FIU_BlowerSpeedFR_Req, captured_var *FIU_AirDirectionFR_Face_Req, + captured_var *FIU_AirDirectionFR_Foot_Req, captured_var + *FIU_AirDirectionFR_Def_Req, captured_var *FIU_FootTempCorFR_Req, captured_var + *FIU_CCmodeRL_Req, captured_var *FIU_CCautoModeRL_Req, captured_var + *FIU_BlowerSpeedRL_Req, captured_var *FIU_AirDirectionRL_Face_Req, + captured_var *FIU_AirDirectionRL_Foot_Req, captured_var *FIU_FootTempCorRL_Req, + captured_var *FIU_CCmodeRR_Req, captured_var *FIU_CCautoModeRR_Req, + captured_var *FIU_BlowerSpeedRR_Req, captured_var *FIU_AirDirectionRR_Face_Req, + captured_var *FIU_AirDirectionRR_Foot_Req); +static void set_FIU_CCU(const captured_var *active_condition_reg, const + captured_var *CONDITION_1_SUMMER, captured_var_3 *FIU_CCU1_model_out, const + captured_var *b_g_ucRESTS_BLRSTEP, captured_var_2 *FIU_CCU2_model_out, const + captured_var_1 *b_g_aucRESTS_MODE, const captured_var *CONDITION_2_WINTER, + const captured_var *b_g_ucRESTW_BLRSTEP, const captured_var_1 + *b_g_aucRESTW_MODE); +static void load_FIU_CCU(captured_var_3 *FIU_CCU1_model_out, const captured_var * + FIU_ACfrontOFF_Req, captured_var_2 *FIU_CCU2_model_out, const captured_var + *FIU_ACrearOFF_Req, const captured_var *FIU_Recirculation_Req, const + captured_var *FIU_CCmodeFL_Req, const captured_var *FIU_BlowerSpeedFL_Req, + const captured_var *FIU_AirDirectionFL_Face_Req, const captured_var + *FIU_AirDirectionFL_Foot_Req, const captured_var *FIU_AirDirectionFL_Def_Req, + const captured_var *FIU_FootTempCorFL_Req, const captured_var + *FIU_CCautoModeFL_Req, const captured_var *FIU_CCmodeFR_Req, const + captured_var *FIU_BlowerSpeedFR_Req, const captured_var + *FIU_AirDirectionFR_Face_Req, const captured_var *FIU_AirDirectionFR_Foot_Req, + const captured_var *FIU_AirDirectionFR_Def_Req, const captured_var + *FIU_FootTempCorFR_Req, const captured_var *FIU_CCautoModeFR_Req, const + captured_var *FIU_CCmodeRL_Req, const captured_var *FIU_BlowerSpeedRL_Req, + const captured_var *FIU_AirDirectionRL_Face_Req, const captured_var + *FIU_AirDirectionRL_Foot_Req, const captured_var *FIU_FootTempCorRL_Req, const + captured_var *FIU_CCautoModeRL_Req, const captured_var *FIU_CCmodeRR_Req, + const captured_var *FIU_BlowerSpeedRR_Req, const captured_var + *FIU_AirDirectionRR_Face_Req, const captured_var *FIU_AirDirectionRR_Foot_Req, + const captured_var *FIU_FootTempCorRR_Req, const captured_var + *FIU_CCautoModeRR_Req); static void enter_atomic_REAR_ONLY(void); static void enter_atomic_FRONT_ONLY(void); static void enter_atomic_FULL_SYNC(void); @@ -503,7 +546,7 @@ int16_t look1_is16lu64n32tu16Ds32Is16_binlcs(int16_t u0, const int16_t bp0[], 32) + (int16_t)yL_0d0); } -uint32_t binsearch_u32s16(int16_t u_8, const int16_t bp[], uint32_t startIndex, +uint32_t binsearch_u32s16(int16_t u_a, const int16_t bp[], uint32_t startIndex, uint32_t maxIndex) { uint32_t bpIdx; @@ -515,7 +558,7 @@ uint32_t binsearch_u32s16(int16_t u_8, const int16_t bp[], uint32_t startIndex, bpIndex = 0U; iRght = maxIndex; while (iRght - bpIndex > 1U) { - if (u_8 < bp[bpIdx]) { + if (u_a < bp[bpIdx]) { iRght = bpIdx; } else { bpIndex = bpIdx; @@ -1270,6 +1313,287 @@ int16_t look2_bs16ts16Dddd_binlc(double u0, double u1, const int16_t bp0[], (double)uCast) * frac) + uCast); } +int16_t look2_is16lu64n32tu16Ds32Is16ds32_binlcs(int16_t u0, int16_t u1, const + int16_t bp0[], const int16_t bp1[], const uint16_t table[], const uint32_t + maxIndex[], uint32_t stride) +{ + uint64_t fractions[2]; + uint64_t frac; + uint32_t bpIndices[2]; + uint32_t bpIdx; + uint32_t iLeft; + uint32_t iRght; + int16_t bpLeftVar; + uint16_t yL_0d0; + + /* Column-major Lookup 2-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[0U]]) { + /* Binary Search */ + bpIdx = maxIndex[0U] >> 1U; + iLeft = 0U; + iRght = maxIndex[0U]; + 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) << 32) / (uint32_t)(bp0[iLeft + + 1U] - bpLeftVar); + } else { + iLeft = maxIndex[0U] - 1U; + frac = 4294967296ULL; + } + + fractions[0U] = frac; + bpIndices[0U] = iLeft; + + /* 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 (u1 <= bp1[0U]) { + iLeft = 0U; + frac = 0ULL; + } else if (u1 < bp1[maxIndex[1U]]) { + /* Binary Search */ + bpIdx = maxIndex[1U] >> 1U; + iLeft = 0U; + iRght = maxIndex[1U]; + while (iRght - iLeft > 1U) { + if (u1 < bp1[bpIdx]) { + iRght = bpIdx; + } else { + iLeft = bpIdx; + } + + bpIdx = (iRght + iLeft) >> 1U; + } + + bpLeftVar = bp1[iLeft]; + frac = ((uint64_t)(uint32_t)(u1 - bpLeftVar) << 32) / (uint32_t)(bp1[iLeft + + 1U] - bpLeftVar); + } else { + iLeft = maxIndex[1U] - 1U; + frac = 4294967296ULL; + } + + /* Column-major Interpolation 2-D + Interpolation method: 'Linear point-slope' + Use last breakpoint for index at or above upper limit: 'off' + Rounding mode: 'simplest' + Overflow mode: 'wrapping' + */ + bpIdx = iLeft * stride + bpIndices[0U]; + yL_0d0 = table[bpIdx]; + bpLeftVar = (int16_t)((int16_t)(((table[bpIdx + 1U] - yL_0d0) * (int64_t) + fractions[0U]) >> 32) + (int16_t)yL_0d0); + bpIdx += stride; + yL_0d0 = table[bpIdx]; + return (int16_t)((int16_t)((((int16_t)((int16_t)(((table[bpIdx + 1U] - yL_0d0) + * (int64_t)fractions[0U]) >> 32) + (int16_t)yL_0d0) - bpLeftVar) * (int64_t) + frac) >> 32) + bpLeftVar); +} + +int16_t look2_is16tdIs16dd_binlc(int16_t u0, int16_t u1, const int16_t bp0[], + const int16_t bp1[], const double table[], const uint32_t maxIndex[], uint32_t + stride) +{ + double fractions[2]; + double frac; + double yL_0d0; + uint32_t bpIndices[2]; + uint32_t bpIdx; + uint32_t iLeft; + uint32_t iRght; + int16_t bpLeftVar; + + /* Column-major Lookup 2-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' + */ + /* 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' + */ + if (u0 <= bp0[0U]) { + iLeft = 0U; + frac = 0.0; + } else if (u0 < bp0[maxIndex[0U]]) { + /* Binary Search */ + bpIdx = maxIndex[0U] >> 1U; + iLeft = 0U; + iRght = maxIndex[0U]; + while (iRght - iLeft > 1U) { + if (u0 < bp0[bpIdx]) { + iRght = bpIdx; + } else { + iLeft = bpIdx; + } + + bpIdx = (iRght + iLeft) >> 1U; + } + + bpLeftVar = bp0[iLeft]; + frac = (double)(uint32_t)(u0 - bpLeftVar) / (double)(uint32_t)(bp0[iLeft + + 1U] - bpLeftVar); + } else { + iLeft = maxIndex[0U] - 1U; + frac = 1.0; + } + + fractions[0U] = frac; + bpIndices[0U] = iLeft; + + /* 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' + */ + if (u1 <= bp1[0U]) { + iLeft = 0U; + frac = 0.0; + } else if (u1 < bp1[maxIndex[1U]]) { + /* Binary Search */ + bpIdx = maxIndex[1U] >> 1U; + iLeft = 0U; + iRght = maxIndex[1U]; + while (iRght - iLeft > 1U) { + if (u1 < bp1[bpIdx]) { + iRght = bpIdx; + } else { + iLeft = bpIdx; + } + + bpIdx = (iRght + iLeft) >> 1U; + } + + bpLeftVar = bp1[iLeft]; + frac = (double)(uint32_t)(u1 - bpLeftVar) / (double)(uint32_t)(bp1[iLeft + + 1U] - bpLeftVar); + } else { + iLeft = maxIndex[1U] - 1U; + frac = 1.0; + } + + /* Column-major Interpolation 2-D + Interpolation method: 'Linear point-slope' + Use last breakpoint for index at or above upper limit: 'off' + Overflow mode: 'wrapping' + */ + bpIdx = iLeft * stride + bpIndices[0U]; + yL_0d0 = table[bpIdx]; + bpLeftVar = (int16_t)((int16_t)((table[bpIdx + 1U] - yL_0d0) * fractions[0U]) + + (int16_t)yL_0d0); + bpIdx += stride; + yL_0d0 = table[bpIdx]; + return (int16_t)((int16_t)(((double)(int16_t)((int16_t)((table[bpIdx + 1U] - + yL_0d0) * fractions[0U]) + (int16_t)yL_0d0) - (double)bpLeftVar) * frac) + + bpLeftVar); +} + +uint16_t look1_iu16lu64n48ts16Ds32Iu16_binlcs(uint16_t u0, const uint16_t bp0[], + const int16_t table[], uint32_t maxIndex) +{ + uint64_t frac; + uint32_t iLeft; + int16_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; + } + + uint16_t bpLeftVar; + bpLeftVar = bp0[iLeft]; + frac = ((uint64_t)((uint32_t)u0 - bpLeftVar) << 48) / ((uint32_t)bp0[iLeft + + 1U] - bpLeftVar); + } else { + iLeft = maxIndex - 1U; + frac = 281474976710656ULL; + } + + /* 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 (uint16_t)((uint32_t)(uint16_t)(((table[iLeft + 1U] - yL_0d0) * + (int64_t)frac) >> 48) + (uint16_t)yL_0d0); +} + int16_t look1_iu16lu64n48Ds32Is16_binlcs(uint16_t u0, const uint16_t bp0[], const uint16_t table[], uint32_t maxIndex) { @@ -1691,7 +2015,7 @@ uint8_t look1_iu8lu64n56_binlcse(uint8_t u0, const uint8_t bp0[], const uint8_t return y; } -uint32_t plook_u32s16_bincka(int16_t u_9, const int16_t bp[], uint32_t maxIndex) +uint32_t plook_u32d_bincka(double u_d, const double bp[], uint32_t maxIndex) { uint32_t bpIndex; @@ -1702,58 +2026,10 @@ uint32_t plook_u32s16_bincka(int16_t u_9, 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_9 <= bp[0U]) { - bpIndex = 0U; - } else if (u_9 < bp[maxIndex]) { - bpIndex = binsearch_u32s16(u_9, bp, maxIndex >> 1U, maxIndex); - } else { - bpIndex = maxIndex; - } - - return bpIndex; -} - -uint32_t plook_u32d_bincka(double u_a, const double bp[], uint32_t maxIndex) -{ - uint32_t bpIndex; - - /* Prelookup - Index only - Index Search method: 'binary' - Extrapolation method: 'Clip' - Use previous index: 'off' - Use last breakpoint for index at or above upper limit: 'on' - Remove protection against out-of-range input in generated code: 'off' - */ - if (u_a <= bp[0U]) { - bpIndex = 0U; - } else if (u_a < bp[maxIndex]) { - bpIndex = binsearch_u32d(u_a, bp, maxIndex >> 1U, maxIndex); - } else { - bpIndex = maxIndex; - } - - return bpIndex; -} - -uint32_t plook_u32d_binckan(double u_d, const double bp[], uint32_t maxIndex) -{ - uint32_t bpIndex; - - /* Prelookup - Index only - Index Search method: 'binary' - Interpolation method: 'Use nearest' - Extrapolation method: 'Clip' - Use previous index: 'off' - Use last breakpoint for index at or above upper limit: 'on' - Remove protection against out-of-range input in generated code: 'off' - */ if (u_d <= bp[0U]) { bpIndex = 0U; } else if (u_d < bp[maxIndex]) { bpIndex = binsearch_u32d(u_d, bp, maxIndex >> 1U, maxIndex); - if ((bpIndex < maxIndex) && (bp[bpIndex + 1U] - u_d <= u_d - bp[bpIndex])) { - bpIndex++; - } } else { bpIndex = maxIndex; } @@ -1761,8 +2037,7 @@ uint32_t plook_u32d_binckan(double u_d, const double bp[], uint32_t maxIndex) return bpIndex; } -uint32_t plook_u32u16_binckan(uint16_t u_e, const uint16_t bp[], uint32_t - maxIndex) +uint32_t plook_u32d_binckan(double u_e, const double bp[], uint32_t maxIndex) { uint32_t bpIndex; @@ -1777,9 +2052,8 @@ uint32_t plook_u32u16_binckan(uint16_t u_e, const uint16_t bp[], uint32_t if (u_e <= bp[0U]) { bpIndex = 0U; } else if (u_e < bp[maxIndex]) { - bpIndex = binsearch_u32u16(u_e, bp, maxIndex >> 1U, maxIndex); - if ((bpIndex < maxIndex) && ((uint16_t)((uint32_t)bp[bpIndex + 1U] - u_e) <= - (uint16_t)((uint32_t)u_e - bp[bpIndex]))) { + bpIndex = binsearch_u32d(u_e, bp, maxIndex >> 1U, maxIndex); + if ((bpIndex < maxIndex) && (bp[bpIndex + 1U] - u_e <= u_e - bp[bpIndex])) { bpIndex++; } } else { @@ -1789,7 +2063,57 @@ uint32_t plook_u32u16_binckan(uint16_t u_e, const uint16_t bp[], uint32_t return bpIndex; } -uint32_t binsearch_u32d(double u_i, const double bp[], uint32_t startIndex, +uint32_t plook_u32s16_bincka(int16_t u_i, const int16_t bp[], uint32_t maxIndex) +{ + uint32_t bpIndex; + + /* Prelookup - Index only + Index Search method: 'binary' + Extrapolation method: 'Clip' + Use previous index: 'off' + Use last breakpoint for index at or above upper limit: 'on' + Remove protection against out-of-range input in generated code: 'off' + */ + if (u_i <= bp[0U]) { + bpIndex = 0U; + } else if (u_i < bp[maxIndex]) { + bpIndex = binsearch_u32s16(u_i, bp, maxIndex >> 1U, maxIndex); + } else { + bpIndex = maxIndex; + } + + return bpIndex; +} + +uint32_t plook_u32u16_binckan(uint16_t u_n, const uint16_t bp[], uint32_t + maxIndex) +{ + uint32_t bpIndex; + + /* Prelookup - Index only + Index Search method: 'binary' + Interpolation method: 'Use nearest' + Extrapolation method: 'Clip' + Use previous index: 'off' + Use last breakpoint for index at or above upper limit: 'on' + Remove protection against out-of-range input in generated code: 'off' + */ + if (u_n <= bp[0U]) { + bpIndex = 0U; + } else if (u_n < bp[maxIndex]) { + bpIndex = binsearch_u32u16(u_n, bp, maxIndex >> 1U, maxIndex); + if ((bpIndex < maxIndex) && ((uint16_t)((uint32_t)bp[bpIndex + 1U] - u_n) <= + (uint16_t)((uint32_t)u_n - bp[bpIndex]))) { + bpIndex++; + } + } else { + bpIndex = maxIndex; + } + + return bpIndex; +} + +uint32_t binsearch_u32d(double u_q, const double bp[], uint32_t startIndex, uint32_t maxIndex) { uint32_t bpIdx; @@ -1801,7 +2125,7 @@ uint32_t binsearch_u32d(double u_i, const double bp[], uint32_t startIndex, bpIndex = 0U; iRght = maxIndex; while (iRght - bpIndex > 1U) { - if (u_i < bp[bpIdx]) { + if (u_q < bp[bpIdx]) { iRght = bpIdx; } else { bpIndex = bpIdx; @@ -1813,7 +2137,7 @@ uint32_t binsearch_u32d(double u_i, const double bp[], uint32_t startIndex, return bpIndex; } -uint32_t binsearch_u32u16(uint16_t u_n, const uint16_t bp[], uint32_t startIndex, +uint32_t binsearch_u32u16(uint16_t u_r, const uint16_t bp[], uint32_t startIndex, uint32_t maxIndex) { uint32_t bpIdx; @@ -1825,7 +2149,7 @@ uint32_t binsearch_u32u16(uint16_t u_n, const uint16_t bp[], uint32_t startIndex bpIndex = 0U; iRght = maxIndex; while (iRght - bpIndex > 1U) { - if (u_n < bp[bpIdx]) { + if (u_r < bp[bpIdx]) { iRght = bpIdx; } else { bpIndex = bpIdx; @@ -1858,12 +2182,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) @@ -1908,12 +2232,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) @@ -1958,10 +2282,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) { @@ -1978,8 +2302,8 @@ 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) @@ -1992,7 +2316,7 @@ void Bilevel(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t uint16_t rtb_Switch2_a5_idx_0; uint16_t rtb_Switch2_a5_idx_1; uint16_t rtb_Switch2_cd_0; - int8_t rtb_X_l; + int8_t rtb_X; uint8_t rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MIN; uint8_t rtb_c_g_aucFLOW_BI_FOOT_VALVE_MAX; uint8_t rtb_c_g_aucFLOW_BI_FOOT_VALVE_MAX_n; @@ -2002,55 +2326,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_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_eg = (int16_t)(g_assFLOW_BI_TEMP_TGT[tmp_0 - 1] - rtb_u_eg); - /* Gain: '/Gain6' */ + /* Gain: '/Gain6' */ tmp_0 = 13107 * rtb_u_eg; - rtb_X_l = (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & + rtb_X = (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) { + if (rtb_X >= 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; + tmp_0 = g_aucFLOW_BI_FOOT_PLUS[tmp_0 - 1] * rtb_X * 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); @@ -2060,10 +2384,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); @@ -2073,14 +2397,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_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) { @@ -2092,26 +2416,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_eg = (int16_t)(g_assFLOW_BI_TEMP_TGT[tmp - 1] - rtb_u_eg); - /* Gain: '/Gain6' */ + /* Gain: '/Gain6' */ tmp_0 = 13107 * rtb_u_eg; - rtb_X_l = (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & + rtb_X = (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) { + if (rtb_X >= 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) { @@ -2123,19 +2447,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; + tmp_0 = g_aucFLOW_BI_FOOT_PLUS[tmp - 1] * rtb_X * 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); @@ -2150,10 +2474,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); @@ -2168,45 +2492,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_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_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_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_eg) >> 1) << 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); @@ -2216,10 +2540,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); @@ -2229,14 +2553,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_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) { @@ -2248,23 +2572,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_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_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) >> 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); @@ -2279,10 +2603,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); @@ -2297,175 +2621,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_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_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) @@ -2483,8 +2807,8 @@ 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) @@ -2497,7 +2821,7 @@ void Bilevel2(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t uint16_t rtb_Switch2_if1_idx_0; uint16_t rtb_Switch2_if1_idx_1; uint16_t rtb_Switch2_p4_0; - int8_t rtb_X_b; + int8_t rtb_X; uint8_t rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MAX; uint8_t rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MAX_l; uint8_t rtb_c_g_aucFLOW_BI2_FOOT_VALVE_MIN; @@ -2507,55 +2831,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_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_jo = (int16_t)(g_assFLOW_BI2_TEMP_TGT[tmp_0 - 1] - rtb_u_jo); - /* Gain: '/Gain6' */ + /* Gain: '/Gain6' */ tmp_0 = 13107 * rtb_u_jo; - rtb_X_b = (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & + rtb_X = (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) { + if (rtb_X >= 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; + tmp_0 = g_aucFLOW_BI2_FOOT_PLUS[tmp_0 - 1] * rtb_X * 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); @@ -2565,10 +2889,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); @@ -2578,14 +2902,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_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) { @@ -2597,26 +2921,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_jo = (int16_t)(g_assFLOW_BI2_TEMP_TGT[tmp - 1] - rtb_u_jo); - /* Gain: '/Gain6' */ + /* Gain: '/Gain6' */ tmp_0 = 13107 * rtb_u_jo; - rtb_X_b = (int8_t)(((((uint32_t)tmp_0 & 65536U) != 0U) && ((((uint32_t)tmp_0 & + rtb_X = (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) { + if (rtb_X >= 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) { @@ -2628,19 +2952,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; + tmp_0 = g_aucFLOW_BI2_FOOT_PLUS[tmp - 1] * rtb_X * 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); @@ -2655,10 +2979,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); @@ -2673,46 +2997,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_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_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_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_if1_idx_0 = (uint16_t)((uint16_t)((rty_Out1[0] - rtb_u_jo) >> 1) << 1); rtb_Switch2_if1_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); @@ -2722,10 +3046,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); @@ -2735,14 +3059,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_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) { @@ -2754,23 +3078,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_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_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); @@ -2785,10 +3109,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); @@ -2803,175 +3127,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_jo) >> 1) << 1); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Switch2_if1_idx_0 > rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX_k) { - /* Assignment: '/Присваивание в [1-2]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [1-2]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[0] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX_k; } else if (rtb_Switch2_if1_idx_0 < rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN_f) { - /* 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_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_if1_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_jo) >> 1) << 1); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Switch2_if1_idx_1 > rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX_k) { - /* Assignment: '/Присваивание в [1-2]' incorporates: - * SignalConversion generated from: '/Out1' + /* Assignment: '/Присваивание в [1-2]' incorporates: + * SignalConversion generated from: '/Out1' */ rty_Out1[1] = rtb_c_g_aucFLOW_BI2_VENT_VALVE_MAX_k; } else if (rtb_Switch2_if1_idx_1 < rtb_c_g_aucFLOW_BI2_VENT_VALVE_MIN_f) { - /* 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_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_if1_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) @@ -2989,12 +3313,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) { @@ -3011,8 +3335,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) @@ -3028,11 +3352,11 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t uint16_t rtb_Switch2_ar_idx_1; uint16_t rtb_Switch2_j_idx_0; uint16_t rtb_Switch2_j_idx_1; - int8_t rtb_X_c; + int8_t rtb_X; 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; */ @@ -3052,14 +3376,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) { @@ -3074,56 +3398,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) + rtb_X = (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) { + if (rtb_X >= 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; + i = g_aucFLOW_AF_FOOT_PLUS[i - 1] * rtb_X * 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; */ @@ -3143,16 +3467,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) { @@ -3164,28 +3488,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) + rtb_X = (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) { + if (rtb_X >= 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) { @@ -3197,62 +3521,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; + i = g_aucFLOW_AF_FOOT_PLUS[tmp_0 - 1] * rtb_X * 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) + rtb_X = (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) { + if (rtb_X >= 0) { rtb_Switch2_ar_idx_0 = rty_Out1[0]; rtb_Switch2_ar_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); + 1024U) >> 11) * rtb_X); 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); } - /* 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); @@ -3262,10 +3586,10 @@ 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; @@ -3275,30 +3599,30 @@ void Afoot(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint8_t rtb_Switch2_ar_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) + rtb_X = (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) { + if (rtb_X >= 0) { 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) { @@ -3310,20 +3634,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); + 1024U) >> 11) * rtb_X); 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); @@ -3338,80 +3662,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; - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ if (rtb_Switch2_j_idx_0 > rtb_c_g_aucFLOW_AF_VENT_VALVE_MAX_k) { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + /* 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_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; - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ if (rtb_Switch2_j_idx_1 > rtb_c_g_aucFLOW_AF_VENT_VALVE_MAX_k) { - /* Assignment: '/Присваивание в [3-4]' incorporates: - * SignalConversion generated from: '/Out1' + /* 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_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) @@ -3429,8 +3753,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) @@ -3444,75 +3768,75 @@ void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1[9], uint16_t rtb_Switch2_j1_idx_1; uint16_t rtb_Switch2_lt_idx_0; uint16_t rtb_Switch2_lt_idx_1; - int8_t rtb_X_m; + int8_t rtb_X; 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 & + rtb_X = (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) { + if (rtb_X >= 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; + tmp_0 = g_aucFLOW_AFSM_FOOT_PLUS[tmp_0 - 1] * rtb_X * 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) { @@ -3524,24 +3848,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 & + rtb_X = (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) { + if (rtb_X >= 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) { @@ -3553,22 +3877,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; + tmp_0 = g_aucFLOW_AFSM_FOOT_PLUS[tmp - 1] * rtb_X * 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); */ @@ -3577,46 +3901,46 @@ 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 & + rtb_X = (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) { + if (rtb_X >= 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); + + 1024U) >> 11) * rtb_X); rtb_Switch2_lt_idx_0 = (uint16_t)(rty_Out1[0] - rtb_deg_c); 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); @@ -3627,10 +3951,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; @@ -3640,30 +3964,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 & + rtb_X = (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) { + if (rtb_X >= 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) { @@ -3675,20 +3999,20 @@ 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); + 1024U) >> 11) * rtb_X); rtb_Switch2_j1_idx_0 = (uint16_t)((int16_t)rty_Out1[0] - rtb_deg_c); 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); @@ -3703,72 +4027,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) @@ -3791,8 +4115,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]) { @@ -3822,140 +4146,140 @@ void left(uint8_t rtu_idx, uint16_t rty_vals[9]) /* * Output and update for action system: - * '/Switch Case Action Subsystem' - * '/Switch Case Action Subsystem' + * '/Switch Case Action Subsystem' + * '/Switch Case Action Subsystem' */ void SwitchCaseActionSubsystem(uint8_t rtu_valveindex, int8_t *rty_valve, int16_t *rty_blower) { - /* Gain: '/Multiply' incorporates: - * Lookup_n-D: '/1-D Lookup Table2' + /* Gain: '/Multiply' incorporates: + * Lookup_n-D: '/1-D Lookup Table2' */ *rty_blower = (int16_t)-look1_iu8lu64n48ts16Ds32_binlcs(rtu_valveindex, - rtConstP.pooled137, &g_assFOOT_STEP_BLR_M3[0], 10U); + rtConstP.pooled139, &g_assFOOT_STEP_BLR_M3[0], 10U); - /* Gain: '/Multiply1' incorporates: - * Lookup_n-D: '/1-D Lookup Table1' + /* Gain: '/Multiply1' incorporates: + * Lookup_n-D: '/1-D Lookup Table1' */ *rty_valve = (int8_t)-look1_iu8lu64n56ts8Ds16_binlcs(rtu_valveindex, - rtConstP.pooled137, &g_ascFOOT_STEP_VALVE_M3[0], 10U); + rtConstP.pooled139, &g_ascFOOT_STEP_VALVE_M3[0], 10U); } /* * Output and update for action system: - * '/Switch Case Action Subsystem1' - * '/Switch Case Action Subsystem1' + * '/Switch Case Action Subsystem1' + * '/Switch Case Action Subsystem1' */ void SwitchCaseActionSubsystem1(uint8_t rtu_valveindex, int8_t *rty_valve, int16_t *rty_blower) { - /* Gain: '/Multiply' incorporates: - * Lookup_n-D: '/1-D Lookup Table2' + /* Gain: '/Multiply' incorporates: + * Lookup_n-D: '/1-D Lookup Table2' */ *rty_blower = (int16_t)-look1_iu8lu64n48ts16Ds32_binlcs(rtu_valveindex, - rtConstP.pooled137, &g_assFOOT_STEP_BLR_M2[0], 10U); + rtConstP.pooled139, &g_assFOOT_STEP_BLR_M2[0], 10U); - /* Gain: '/Multiply1' incorporates: - * Lookup_n-D: '/1-D Lookup Table1' + /* Gain: '/Multiply1' incorporates: + * Lookup_n-D: '/1-D Lookup Table1' */ *rty_valve = (int8_t)-look1_iu8lu64n56ts8Ds16_binlcs(rtu_valveindex, - rtConstP.pooled137, &g_ascFOOT_STEP_VALVE_M2[0], 10U); + rtConstP.pooled139, &g_ascFOOT_STEP_VALVE_M2[0], 10U); } /* * Output and update for action system: - * '/Switch Case Action Subsystem2' - * '/Switch Case Action Subsystem2' + * '/Switch Case Action Subsystem2' + * '/Switch Case Action Subsystem2' */ void SwitchCaseActionSubsystem2(uint8_t rtu_valveindex, int8_t *rty_valve, int16_t *rty_blower) { - /* Gain: '/Multiply' incorporates: - * Lookup_n-D: '/1-D Lookup Table2' + /* Gain: '/Multiply' incorporates: + * Lookup_n-D: '/1-D Lookup Table2' */ *rty_blower = (int16_t)-look1_iu8lu64n48ts16Ds32_binlcs(rtu_valveindex, - rtConstP.pooled137, &g_assFOOT_STEP_BLR_M1[0], 10U); + rtConstP.pooled139, &g_assFOOT_STEP_BLR_M1[0], 10U); - /* Gain: '/Multiply1' incorporates: - * Lookup_n-D: '/1-D Lookup Table1' + /* Gain: '/Multiply1' incorporates: + * Lookup_n-D: '/1-D Lookup Table1' */ *rty_valve = (int8_t)-look1_iu8lu64n56ts8Ds16_binlcs(rtu_valveindex, - rtConstP.pooled137, &g_ascFOOT_STEP_VALVE_M1[0], 10U); + rtConstP.pooled139, &g_ascFOOT_STEP_VALVE_M1[0], 10U); } /* * Output and update for action system: - * '/Switch Case Action Subsystem3' - * '/Switch Case Action Subsystem3' + * '/Switch Case Action Subsystem3' + * '/Switch Case Action Subsystem3' */ void SwitchCaseActionSubsystem3(int8_t *rty_valve, int16_t *rty_blower) { - /* SignalConversion generated from: '/valve' incorporates: - * Constant: '/Constant' + /* SignalConversion generated from: '/valve' incorporates: + * Constant: '/Constant' */ *rty_valve = 0; - /* SignalConversion generated from: '/blower' incorporates: - * Constant: '/Constant1' + /* SignalConversion generated from: '/blower' incorporates: + * Constant: '/Constant1' */ *rty_blower = 0; } /* * Output and update for action system: - * '/Switch Case Action Subsystem4' - * '/Switch Case Action Subsystem4' + * '/Switch Case Action Subsystem4' + * '/Switch Case Action Subsystem4' */ void SwitchCaseActionSubsystem4(uint8_t rtu_valveindex, int8_t *rty_valve, int16_t *rty_blower) { - /* Lookup_n-D: '/1-D Lookup Table1' */ - *rty_valve = look1_iu8lu64n56ts8Ds16_binlcs(rtu_valveindex, rtConstP.pooled137, + /* Lookup_n-D: '/1-D Lookup Table1' */ + *rty_valve = look1_iu8lu64n56ts8Ds16_binlcs(rtu_valveindex, rtConstP.pooled139, &g_ascFOOT_STEP_VALVE_P1[0], 10U); - /* Lookup_n-D: '/1-D Lookup Table2' */ + /* Lookup_n-D: '/1-D Lookup Table2' */ *rty_blower = look1_iu8lu64n48ts16Ds32_binlcs(rtu_valveindex, - rtConstP.pooled137, &g_assFOOT_STEP_BLR_P1[0], 10U); + rtConstP.pooled139, &g_assFOOT_STEP_BLR_P1[0], 10U); } /* * Output and update for action system: - * '/Switch Case Action Subsystem5' - * '/Switch Case Action Subsystem5' + * '/Switch Case Action Subsystem5' + * '/Switch Case Action Subsystem5' */ void SwitchCaseActionSubsystem5(uint8_t rtu_valveindex, int8_t *rty_valve, int16_t *rty_blower) { - /* Lookup_n-D: '/1-D Lookup Table1' */ - *rty_valve = look1_iu8lu64n56ts8Ds16_binlcs(rtu_valveindex, rtConstP.pooled137, + /* Lookup_n-D: '/1-D Lookup Table1' */ + *rty_valve = look1_iu8lu64n56ts8Ds16_binlcs(rtu_valveindex, rtConstP.pooled139, &g_ascFOOT_STEP_VALVE_P2[0], 10U); - /* Lookup_n-D: '/1-D Lookup Table2' */ + /* Lookup_n-D: '/1-D Lookup Table2' */ *rty_blower = look1_iu8lu64n48ts16Ds32_binlcs(rtu_valveindex, - rtConstP.pooled137, &g_assFOOT_STEP_BLR_P2[0], 10U); + rtConstP.pooled139, &g_assFOOT_STEP_BLR_P2[0], 10U); } /* * Output and update for action system: - * '/Switch Case Action Subsystem6' - * '/Switch Case Action Subsystem6' + * '/Switch Case Action Subsystem6' + * '/Switch Case Action Subsystem6' */ void SwitchCaseActionSubsystem6(uint8_t rtu_valveindex, int8_t *rty_valve, int16_t *rty_blower) { - /* Lookup_n-D: '/1-D Lookup Table1' */ - *rty_valve = look1_iu8lu64n56ts8Ds16_binlcs(rtu_valveindex, rtConstP.pooled137, + /* Lookup_n-D: '/1-D Lookup Table1' */ + *rty_valve = look1_iu8lu64n56ts8Ds16_binlcs(rtu_valveindex, rtConstP.pooled139, &g_ascFOOT_STEP_VALVE_P3[0], 10U); - /* Lookup_n-D: '/1-D Lookup Table2' */ + /* Lookup_n-D: '/1-D Lookup Table2' */ *rty_blower = look1_iu8lu64n48ts16Ds32_binlcs(rtu_valveindex, - rtConstP.pooled137, &g_assFOOT_STEP_BLR_P3[0], 10U); + rtConstP.pooled139, &g_assFOOT_STEP_BLR_P3[0], 10U); } /* * Output and update for atomic system: - * '/g_assSTART_ENTER_INCAR' - * '/g_assSTART_ENTER_INCAR' + * '/g_assSTART_ENTER_INCAR' + * '/g_assSTART_ENTER_INCAR' */ void g_assSTART_ENTER_INCAR_n(uint8_t rtu_LVL, int16_t *rty_out) { @@ -3972,22 +4296,22 @@ void g_assSTART_ENTER_INCAR_n(uint8_t rtu_LVL, int16_t *rty_out) /* * Output and update for action system: - * '/Level 2' * '/Level 2' + * '/Level 2' */ void Level2(int8_t *rty_step) { - /* SignalConversion generated from: '/step' incorporates: - * Constant: '/Constant' + /* 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 ' + * '/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) { @@ -4013,30 +4337,30 @@ void g_assSTART_ENTER_COOLANT_m(uint8_t rtu_LVL, int16_t *rty_out) /* * Output and update for action system: - * '/Level 4' - * '/Level 5' + * '/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' + /* 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' + /* 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)) { @@ -4045,37 +4369,37 @@ void Level4(int8_t *rty_step1, const uint8_t *rtd_CCU_MODE_FL, const int16_t *rty_step1 = -1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } /* * Output and update for action system: - * '/Level 0' - * '/Level 1' - * '/Level 2' - * '/Level 0' - * '/Level 1' + * '/Level 0' + * '/Level 1' + * '/Level 2' + * '/Level 0' + * '/Level 1' */ void Level0(int8_t *rty_step) { - /* SignalConversion generated from: '/step' incorporates: - * Constant: '/Constant' + /* 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' - * '/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) @@ -4093,16 +4417,16 @@ void incarfilterdown(uint8_t rtu_LVL, uint8_t *rty_out) /* * 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' - * '/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) @@ -4120,8 +4444,8 @@ void incarfilterup(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for atomic system: - * '/g_assSTART_COOLANT_STEP0_TO_1 ' - * '/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_c(uint8_t rtu_LVL, int16_t *rty_out) { @@ -4147,11 +4471,11 @@ void g_assSTART_COOLANT_STEP0_TO_1_c(uint8_t rtu_LVL, int16_t *rty_out) /* * 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' + * '/3 way valve status' + * '/3 way valve status' + * '/3 way valve status' */ void uwayvalvestatus(uint8_t rtu_LVL, uint8_t *rty_out) { @@ -4168,9 +4492,9 @@ void uwayvalvestatus(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for atomic system: - * '/Dtg_FrontLower_X' - * '/Dtg_FrontLower_X' * '/Dtg_FrontLower_X' + * '/Dtg_FrontLower_X' + * '/Dtg_FrontLower_X' */ void Dtg_FrontLower_X(uint8_t rtu_LVL, uint8_t *rty_out) { @@ -4187,9 +4511,9 @@ void Dtg_FrontLower_X(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for atomic system: - * '/Dtg_FrontUpper_X' - * '/Dtg_FrontUpper_X' * '/Dtg_FrontUpper_X' + * '/Dtg_FrontUpper_X' + * '/Dtg_FrontUpper_X' */ void Dtg_FrontUpper_X(uint8_t rtu_LVL, uint8_t *rty_out) { @@ -4206,11 +4530,11 @@ void Dtg_FrontUpper_X(uint8_t rtu_LVL, uint8_t *rty_out) /* * 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 ' + * '/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) { @@ -4227,16 +4551,16 @@ void Incartempgotofromstep1tostep2(uint8_t rtu_LVL, int16_t *rty_out) /* * 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' - * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' * ... */ void MATLABFunction1_Init(DW_MATLABFunction1 *localDW) @@ -4246,16 +4570,16 @@ void MATLABFunction1_Init(DW_MATLABFunction1 *localDW) /* * 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' - * '/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 @@ -4284,8 +4608,8 @@ void MATLABFunction1(uint32_t rtu_t_now, uint16_t rtu_time_delta, bool /* * Output and update for atomic system: - * '/blower FR' - * '/blower FR' + * '/blower FR' + * '/blower FR' */ void blowerFR(uint8_t rtu_LVL, uint16_t *rty_out) { @@ -4302,11 +4626,11 @@ void blowerFR(uint8_t rtu_LVL, uint16_t *rty_out) /* * 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' + * '/mode FR step 1' + * '/mode FR step 1' + * '/mode FR step 1' */ void modeFRstep1(uint8_t rtu_LVL, uint8_t *rty_out) { @@ -4323,11 +4647,11 @@ void modeFRstep1(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for atomic system: - * '/window heating' - * '/window heating' * '/window heating' * '/window heating' - * '/window heating' + * '/window heating' + * '/window heating' + * '/window heating' */ void windowheating(uint8_t rtu_LVL, uint8_t *rty_out) { @@ -4344,15 +4668,15 @@ void windowheating(uint8_t rtu_LVL, uint8_t *rty_out) /* * 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' * '/MATLAB Function1' - * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' + * '/MATLAB Function1' */ void MATLABFunction1_a_Init(DW_MATLABFunction1_f *localDW) { @@ -4361,15 +4685,15 @@ void MATLABFunction1_a_Init(DW_MATLABFunction1_f *localDW) /* * 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' * '/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) @@ -4397,10 +4721,10 @@ void MATLABFunction1_j(uint32_t rtu_t_now, uint32_t rtu_time_delta, bool /* * 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 ' */ void Timegotofromstep1tostep2(uint8_t rtu_LVL, int16_t *rty_out) { @@ -4423,9 +4747,9 @@ void Timegotofromstep1tostep2(uint8_t rtu_LVL, int16_t *rty_out) /* * Output and update for atomic system: - * '/ECT min max' - * '/ECT min max' - * '/ECT min max' + * '/ECT min max' + * '/ECT min max' + * '/ECT min max' */ void ECTminmax(uint8_t rtu_LVL, int16_t rty_out[2]) { @@ -4454,9 +4778,9 @@ void ECTminmax(uint8_t rtu_LVL, int16_t rty_out[2]) /* * Output and update for atomic system: - * '/blower min max' - * '/blower min max' - * '/blower min max' + * '/blower min max' + * '/blower min max' + * '/blower min max' */ void blowerminmax(uint8_t rtu_LVL, uint16_t rty_out[2]) { @@ -4476,11 +4800,11 @@ void blowerminmax(uint8_t rtu_LVL, uint16_t rty_out[2]) /* * 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' + * '/3 way valve status' + * '/3 way valve status' + * '/3 way valve status' */ void uwayvalvestatus_m(uint8_t rtu_LVL, uint8_t *rty_out) { @@ -4503,11 +4827,11 @@ void uwayvalvestatus_m(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for atomic system: - * '/time for step' - * '/time for step' - * '/time for step' - * '/time for step' - * '/time for step' + * '/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) { @@ -4530,11 +4854,11 @@ void timeforstep(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for atomic system: - * '/time for step' - * '/time for step' - * '/time for step' - * '/time for step' - * '/time for step' + * '/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) { @@ -4557,11 +4881,11 @@ void timeforstep_d(uint8_t rtu_LVL, uint8_t *rty_out) /* * 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 ' + * '/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) { @@ -4584,11 +4908,11 @@ void Timegotofromstep2tostep3(uint8_t rtu_LVL, int16_t *rty_out) /* * Output and update for atomic system: - * '/blower step' - * '/blower step' - * '/blower step' - * '/blower step' - * '/blower step' + * '/blower step' + * '/blower step' + * '/blower step' + * '/blower step' + * '/blower step' */ void blowerstep(uint8_t rtu_LVL, uint16_t *rty_out) { @@ -4605,11 +4929,11 @@ void blowerstep(uint8_t rtu_LVL, uint16_t *rty_out) /* * 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' + * '/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) { @@ -4632,11 +4956,11 @@ void blowertimeforstep(uint8_t rtu_LVL, uint16_t *rty_out) /* * Output and update for atomic system: - * '/step' - * '/step' - * '/step' - * '/step' - * '/step' + * '/step' + * '/step' + * '/step' + * '/step' + * '/step' */ void step_g(uint8_t rtu_LVL, uint8_t *rty_out) { @@ -4653,11 +4977,11 @@ void step_g(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for atomic system: - * '/time for step' - * '/time for step' - * '/time for step' - * '/time for step' - * '/time for step' + * '/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) { @@ -4680,10 +5004,10 @@ void timeforstep_f(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for atomic system: - * '/window heating' - * '/window heating' * '/window heating' - * '/window heating' + * '/window heating' + * '/window heating' + * '/window heating' */ void windowheating_o(uint8_t rtu_LVL, uint8_t *rty_out) { @@ -4706,9 +5030,9 @@ void windowheating_o(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for atomic system: - * '/autodemist (autodefog)' - * '/autodemist (autodefog)' - * '/autodemist (autodefog)' + * '/autodemist (autodefog)' + * '/autodemist (autodefog)' + * '/autodemist (autodefog)' */ void autodemistautodefog(uint8_t rtu_LVL, uint8_t *rty_out) { @@ -4725,19 +5049,19 @@ void autodemistautodefog(uint8_t rtu_LVL, uint8_t *rty_out) /* * System initialize for action system: - * '/Level 3' - * '/Level 4' + * '/Level 3' + * '/Level 4' */ void Level3_Init(DW_Level3 *localDW) { - /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ MATLABFunction1_a_Init(&localDW->sf_MATLABFunction1); } /* * Output and update for action system: - * '/Level 3' - * '/Level 4' + * '/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 @@ -4761,64 +5085,64 @@ void Level3(int8_t *rty_step, uint8_t *rtd_Autodefog, uint8_t *rtd_Blower_FL, uint8_t rtb_out_lwp; bool rtb_timer_out_k; - /* DataStoreWrite: '/Data Store Write8' incorporates: - * DataStoreRead: '/Data Store Read10' - * MATLAB Function: '/3 way valve status' + /* 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 (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtb_out_eim = (int16_t)((*rtd_Dtg_FLL - *rtd_Dtg_logic_FLL) >> 1); - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read9' + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read9' */ Dtg_FrontLower_X(*rtd_LEVEL, &rtb_out_i5m); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read9' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read9' */ timeforstep(*rtd_LEVEL, &rtb_out_lwp); - /* Abs: '/Abs' */ + /* Abs: '/Abs' */ if (rtb_out_eim < 0) { rtb_out_eim = (int16_t)-rtb_out_eim; } - /* 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' + /* 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_eim * 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' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ tmp = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ tmp = -1; } @@ -4828,66 +5152,66 @@ void Level3(int8_t *rty_step, uint8_t *rtd_Autodefog, uint8_t *rtd_Blower_FL, (double)tmp + (double)*rtd_Dtg_FLL); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write13' incorporates: - * DataStoreWrite: '/Data Store Write12' + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreWrite: '/Data Store Write12' */ *rtd_Dtg_FLL = *rtd_Dtg_FLR; - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtb_out_eim = (int16_t)((*rtd_Dtg_FUL - *rtd_Dtg_logic_FUL) >> 1); - /* Abs: '/Abs' */ + /* Abs: '/Abs' */ if (rtb_out_eim < 0) { rtb_out_eim = (int16_t)-rtb_out_eim; } - /* End of Abs: '/Abs' */ + /* End of Abs: '/Abs' */ - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' */ Dtg_FrontUpper_X(*rtd_LEVEL, &rtb_out_i5m); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' */ timeforstep_d(*rtd_LEVEL, &rtb_out_lwp); - /* 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' + /* 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_eim * 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' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ tmp = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ tmp = -1; } @@ -4897,76 +5221,76 @@ void Level3(int8_t *rty_step, uint8_t *rtd_Autodefog, uint8_t *rtd_Blower_FL, (double)tmp + (double)*rtd_Dtg_FUL); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write11' incorporates: - * DataStoreWrite: '/Data Store Write10' + /* 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' + /* 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' + /* 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)' + /* 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 (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtb_out_i5m = (uint8_t)(*rtd_Mode_FL - *rtd_Mode_logic_FL); - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' */ step_g(*rtd_LEVEL, &rtb_out_lwp); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' */ timeforstep_f(*rtd_LEVEL, &rtb_out_hic); - /* 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' + /* 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_i5m <= 0.01) { *rtd_Mode_FR = *rtd_Mode_logic_FL; } else { if (*rtd_Mode_FL <= *rtd_Mode_logic_FL) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ tmp = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ tmp = -1; } @@ -4976,60 +5300,60 @@ void Level3(int8_t *rty_step, uint8_t *rtd_Autodefog, uint8_t *rtd_Blower_FL, rtd_Mode_FL); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreWrite: '/Data Store Write2' */ *rtd_Mode_FL = *rtd_Mode_FR; - /* MATLAB Function: '/window heating' incorporates: - * DataStoreRead: '/Data Store Read6' + /* MATLAB Function: '/window heating' incorporates: + * DataStoreRead: '/Data Store Read6' */ windowheating_o(*rtd_LEVEL, &rtb_out_i5m); - /* DataStoreWrite: '/Data Store Write4' */ + /* DataStoreWrite: '/Data Store Write4' */ *rtd_El_window_heating = rtb_out_i5m; - /* MATLAB Function: '/blower step' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' */ blowerstep(*rtd_LEVEL, &rtb_out_h1s); - /* MATLAB Function: '/blower time for step' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower time for step' incorporates: + * DataStoreRead: '/Data Store Read7' */ blowertimeforstep(*rtd_LEVEL, &rtb_out_hi); - /* 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' + /* 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' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ tmp = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ tmp = -1; } @@ -5039,104 +5363,104 @@ void Level3(int8_t *rty_step, uint8_t *rtd_Autodefog, uint8_t *rtd_Blower_FL, rtd_Blower_FL; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write5' + /* 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' + /* 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' + /* 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' + /* MATLAB Function: '/Time goto from step 2 to step 3 ' incorporates: + * DataStoreRead: '/Data Store Read4' */ Timegotofromstep2tostep3(*rtd_LEVEL, &rtb_out_eim); - /* MATLAB Function: '/MATLAB Function1' incorporates: - * DataStoreRead: '/Data Store Read13' - * Gain: '/из сек в мс' + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read13' + * Gain: '/из сек в мс' */ MATLABFunction1_j(*rtd_t_now, (uint32_t)(1000 * rtb_out_eim), &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' + /* 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' + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' */ *rty_step = 3; } else { *rty_step = 2; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ localDW->UnitDelay_DSTATE = *rtd_t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ localDW->UnitDelay_DSTATE_c = *rtd_t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ localDW->UnitDelay_DSTATE_f = *rtd_t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* 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' + * '/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' + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/True' */ *rtd_start_control_finished_front = 1; - /* SignalConversion generated from: '/step' incorporates: - * Constant: '/Constant1' + /* 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' + * '/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) { @@ -5165,11 +5489,11 @@ void g_ausSTART_ENTER_SETTEMP_i(uint8_t rtu_LVL, int16_t *rty_out) /* * 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' + * '/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) { @@ -5192,9 +5516,9 @@ void g_assSTART_ENTER_INCAR_f(uint8_t rtu_LVL, int16_t *rty_out) /* * Output and update for atomic system: - * '/g_assSTART_ENTER_COOLANT ' - * '/g_assSTART_ENTER_COOLANT ' - * '/g_assSTART_ENTER_COOLANT ' + * '/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) { @@ -5211,8 +5535,8 @@ void g_assSTART_ENTER_COOLANT_m1(uint8_t rtu_LVL, int16_t *rty_out) /* * Output and update for action system: - * '/Level 4' - * '/Level 5' + * '/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, @@ -5221,30 +5545,30 @@ void Level4_j(int8_t *rty_step1, const uint8_t *rtd_CCU_MODE_RR, const int16_t int16_t rtb_out_eyp; int16_t rtb_out_mxz; - /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: - * DataStoreRead: '/Data Store Read4' + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: + * DataStoreRead: '/Data Store Read4' */ g_assSTART_ENTER_INCAR_f(*rtd_LEVEL, &rtb_out_mxz); - /* MATLAB Function: '/g_assSTART_ENTER_COOLANT ' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/g_assSTART_ENTER_COOLANT ' incorporates: + * DataStoreRead: '/Data Store Read3' */ g_assSTART_ENTER_COOLANT_m1(*rtd_LEVEL, &rtb_out_eyp); - /* 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' + /* 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_mxz) || (*rtd_ECT < rtb_out_eyp)) && (*rtd_CCU_MODE_RR == 1) && (*rtd_LO_HI_MODE_RR != 1)) { @@ -5253,15 +5577,15 @@ void Level4_j(int8_t *rty_step1, const uint8_t *rtd_CCU_MODE_RR, const int16_t *rty_step1 = -1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } /* * 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' */ void incarfilterdown_m(uint8_t rtu_LVL, uint8_t *rty_out) { @@ -5284,10 +5608,10 @@ void incarfilterdown_m(uint8_t rtu_LVL, uint8_t *rty_out) /* * 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' */ void incarfilterup_j(uint8_t rtu_LVL, uint8_t *rty_out) { @@ -5310,9 +5634,9 @@ void incarfilterup_j(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for atomic system: - * '/g_assSTART_COOLANT_STEP0_TO_1 ' - * '/g_assSTART_COOLANT_STEP0_TO_1 ' - * '/g_assSTART_COOLANT_STEP0_TO_1 ' + * '/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) { @@ -5329,8 +5653,8 @@ void g_assSTART_COOLANT_STEP0_TO_1_j(uint8_t rtu_LVL, int16_t *rty_out) /* * Output and update for action system: - * '/Level 4' - * '/Level 5' + * '/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 @@ -5342,72 +5666,72 @@ void Level4_h(int8_t *rty_step1, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, { int16_t rtb_out_f1h; - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ *rtd_Blower_RR = 10U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ *rtd_Blower_RL = 10U; - /* DataStoreWrite: '/Data Store Write10' incorporates: - * Constant: '/Constant4' + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/Constant4' */ *rtd_Dtg_RR = 800U; - /* DataStoreWrite: '/Data Store Write11' incorporates: - * Constant: '/Constant4' + /* 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' + /* 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' + /* 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' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Mode - foot' */ *rtd_Mode_RR = 60U; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Mode - foot' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Mode - foot' */ *rtd_Mode_RL = 60U; - /* DataStoreWrite: '/Data Store Write8' incorporates: - * Constant: '/Valve open' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * Constant: '/Valve open' */ *rtd_Valve_3_way = 1U; - /* DataStoreWrite: '/Data Store Write9' incorporates: - * Constant: '/Valve open' + /* 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' + /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' incorporates: + * DataStoreRead: '/Data Store Read3' */ g_assSTART_COOLANT_STEP0_TO_1_j(*rtd_LEVEL, &rtb_out_f1h); - /* 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' + /* 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; @@ -5415,21 +5739,21 @@ void Level4_h(int8_t *rty_step1, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, *rty_step1 = (int8_t)(*rtd_ECT > rtb_out_f1h); } - /* End of Switch: '/Switch1' */ + /* 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' + * '/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) @@ -5447,12 +5771,12 @@ void uwayvalve(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for atomic system: - * '/Dtg_rear' - * '/Dtg_rear' - * '/Dtg_rear' * '/Dtg_rear' * '/Dtg_rear' * '/Dtg_rear' + * '/Dtg_rear' + * '/Dtg_rear' + * '/Dtg_rear' */ void Dtg_rear(uint8_t rtu_LVL, uint8_t *rty_out) { @@ -5469,12 +5793,12 @@ void Dtg_rear(uint8_t rtu_LVL, uint8_t *rty_out) /* * 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 ' + * '/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) { @@ -5497,16 +5821,16 @@ void Incartempgotofromstep1tostep2_m(uint8_t rtu_LVL, int16_t *rty_out) /* * 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 ' + * '/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) @@ -5536,12 +5860,12 @@ void Timegotofromstep1tostep2_n(uint8_t rtu_LVL, int16_t *rty_out) /* * 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' + * '/mode rear step 1' + * '/mode rear step 1' + * '/mode rear step 1' */ void moderearstep1(uint8_t rtu_LVL, uint8_t *rty_out) { @@ -5564,19 +5888,19 @@ void moderearstep1(uint8_t rtu_LVL, uint8_t *rty_out) /* * System initialize for action system: - * '/Level 0' - * '/Level 1' + * '/Level 0' + * '/Level 1' */ void Level0_c_Init(DW_Level0_h *localDW) { - /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ MATLABFunction1_Init(&localDW->sf_MATLABFunction1); } /* * Output and update for action system: - * '/Level 0' - * '/Level 1' + * '/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 @@ -5593,37 +5917,37 @@ void Level0_g(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, uint8_t rtb_out_ipr; bool rtb_timer_out_b; - /* DataStoreWrite: '/Data Store Write9' incorporates: - * DataStoreRead: '/Data Store Read6' - * MATLAB Function: '/2 way valve' + /* 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' + /* 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' + /* 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' + /* MATLAB Function: '/mode rear step 1' incorporates: + * DataStoreRead: '/Data Store Read5' */ moderearstep1(*rtd_LEVEL, &rtb_out_ipr); - /* DataStoreWrite: '/Data Store Write2' */ + /* DataStoreWrite: '/Data Store Write2' */ *rtd_Mode_RR = rtb_out_ipr; - /* DataStoreWrite: '/Data Store Write3' */ + /* DataStoreWrite: '/Data Store Write3' */ *rtd_Mode_RL = rtb_out_ipr; - /* MATLAB Function: '/blower rear' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower rear' incorporates: + * DataStoreRead: '/Data Store Read7' */ /* : out = g_ausSTART_BLR_AF_STEP12_R(LVL + 1); */ tmp = (int32_t)(*rtd_LEVEL + 1U); @@ -5631,87 +5955,87 @@ void Level0_g(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, tmp = 255; } - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write5' - * MATLAB Function: '/blower rear' + /* 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' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' */ *rtd_Blower_RL = *rtd_Blower_RR; - /* MATLAB Function: '/Dtg_rear' incorporates: - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/Dtg_rear' incorporates: + * DataStoreRead: '/Data Store Read8' */ Dtg_rear(*rtd_LEVEL, &rtb_out_ipr); - /* Gain: '/Gain' incorporates: - * DataStoreWrite: '/Data Store Write10' + /* Gain: '/Gain' incorporates: + * DataStoreWrite: '/Data Store Write10' */ *rtd_Dtg_RR = (uint16_t)(10U * rtb_out_ipr); - /* DataStoreWrite: '/Data Store Write11' incorporates: - * DataStoreWrite: '/Data Store Write10' + /* 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' + /* 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' + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' */ Incartempgotofromstep1tostep2_m(*rtd_LEVEL, &rtb_out_gju); - /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: - * DataStoreRead: '/Data Store Read4' + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' */ Timegotofromstep1tostep2_n(*rtd_LEVEL, &rtb_out_pmc); - /* MATLAB Function: '/MATLAB Function1' incorporates: - * DataStoreRead: '/Data Store Read9' - * Gain: '/из сек в мс' + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read9' + * Gain: '/из сек в мс' */ MATLABFunction1(*rtd_t_now, (uint16_t)(1000 * rtb_out_pmc), &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' + /* 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_gju) || rtb_timer_out_b) { - /* Switch: '/Switch' incorporates: - * Constant: '/go to next step' + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' */ *rty_step = 2; } else { *rty_step = 1; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ } /* * Output and update for atomic system: - * '/blower start finish' - * '/blower start finish' - * '/blower start finish' - * '/blower start finish' + * '/blower start finish' + * '/blower start finish' + * '/blower start finish' + * '/blower start finish' */ void blowerstartfinish(uint8_t rtu_LVL, uint16_t rty_out[2]) { @@ -5742,9 +6066,9 @@ void blowerstartfinish(uint8_t rtu_LVL, uint16_t rty_out[2]) /* * Output and update for atomic system: - * '/ECT min max' - * '/ECT min max' - * '/ECT min max' + * '/ECT min max' + * '/ECT min max' + * '/ECT min max' */ void ECTminmax_j(uint8_t rtu_LVL, int16_t rty_out[2]) { @@ -5764,19 +6088,19 @@ void ECTminmax_j(uint8_t rtu_LVL, int16_t rty_out[2]) /* * System initialize for action system: - * '/Level 4' - * '/Level 5' + * '/Level 4' + * '/Level 5' */ void Level4_b_Init(DW_Level4_h *localDW) { - /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ MATLABFunction1_Init(&localDW->sf_MATLABFunction1); } /* * Output and update for action system: - * '/Level 4' - * '/Level 5' + * '/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 @@ -5789,139 +6113,139 @@ void Level4_m(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, { int16_t rtb_out_jmy[2]; int16_t rtb_out_c54; - int16_t rtb_out_mkd; + int16_t rtb_out_n1; uint16_t rtb_out_axk[2]; uint8_t rtb_out_kc5; bool rtb_timer_out_b; - /* DataStoreWrite: '/Data Store Write9' incorporates: - * DataStoreRead: '/Data Store Read6' - * MATLAB Function: '/2 way valve' + /* 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' + /* 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' + /* 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' + /* MATLAB Function: '/mode rear step 1' incorporates: + * DataStoreRead: '/Data Store Read5' */ moderearstep1(*rtd_LEVEL, &rtb_out_kc5); - /* DataStoreWrite: '/Data Store Write2' */ + /* DataStoreWrite: '/Data Store Write2' */ *rtd_Mode_RR = rtb_out_kc5; - /* DataStoreWrite: '/Data Store Write3' */ + /* DataStoreWrite: '/Data Store Write3' */ *rtd_Mode_RL = rtb_out_kc5; - /* MATLAB Function: '/blower start finish' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower start finish' incorporates: + * DataStoreRead: '/Data Store Read7' */ blowerstartfinish(*rtd_LEVEL, rtb_out_axk); - /* MATLAB Function: '/ECT min max' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/ECT min max' incorporates: + * DataStoreRead: '/Data Store Read7' */ ECTminmax_j(*rtd_LEVEL, rtb_out_jmy); - /* Lookup_n-D: '/blower для текущего ECT' incorporates: - * DataStoreRead: '/engine coolant temp' + /* Lookup_n-D: '/blower для текущего ECT' incorporates: + * DataStoreRead: '/engine coolant temp' */ rtb_out_c54 = look1_is16lu64n32tu16Ds32Is16_binlcs(*rtd_ECT, rtb_out_jmy, rtb_out_axk, 1U); - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write5' - * DataTypeConversion: '/Data Type Conversion1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write5' + * DataTypeConversion: '/Data Type Conversion1' */ *rtd_Blower_RR = (uint8_t)rtb_out_c54; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * DataStoreWrite: '/Data Store Write5' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' */ *rtd_Blower_RL = *rtd_Blower_RR; - /* MATLAB Function: '/Dtg_rear' incorporates: - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/Dtg_rear' incorporates: + * DataStoreRead: '/Data Store Read8' */ Dtg_rear(*rtd_LEVEL, &rtb_out_kc5); - /* Gain: '/Gain' incorporates: - * DataStoreWrite: '/Data Store Write10' + /* Gain: '/Gain' incorporates: + * DataStoreWrite: '/Data Store Write10' */ *rtd_Dtg_RR = (uint16_t)(10U * rtb_out_kc5); - /* DataStoreWrite: '/Data Store Write11' incorporates: - * DataStoreWrite: '/Data Store Write10' + /* 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' + /* 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' + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' */ - Incartempgotofromstep1tostep2_m(*rtd_LEVEL, &rtb_out_mkd); + Incartempgotofromstep1tostep2_m(*rtd_LEVEL, &rtb_out_n1); - /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: - * DataStoreRead: '/Data Store Read4' + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' */ Timegotofromstep1tostep2_n(*rtd_LEVEL, &rtb_out_c54); - /* MATLAB Function: '/MATLAB Function1' incorporates: - * DataStoreRead: '/Data Store Read9' - * Gain: '/из сек в мс' + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read9' + * Gain: '/из сек в мс' */ MATLABFunction1(*rtd_t_now, (uint16_t)(1000 * rtb_out_c54), &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' + /* 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_mkd) || rtb_timer_out_b) { - /* Switch: '/Switch' incorporates: - * Constant: '/go to next step' + } else if ((*rtd_Incar_RR > rtb_out_n1) || rtb_timer_out_b) { + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' */ *rty_step = 2; } else { *rty_step = 1; } - /* End of Switch: '/Switch1' */ + /* 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' + * '/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) { @@ -5944,12 +6268,12 @@ void timeforstep_k(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for atomic system: - * '/blower step' - * '/blower step' - * '/blower step' - * '/blower step' - * '/blower step' - * '/blower step' + * '/blower step' + * '/blower step' + * '/blower step' + * '/blower step' + * '/blower step' + * '/blower step' */ void blowerstep_c(uint8_t rtu_LVL, uint16_t *rty_out) { @@ -5966,12 +6290,12 @@ void blowerstep_c(uint8_t rtu_LVL, uint16_t *rty_out) /* * 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' + * '/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) { @@ -5994,12 +6318,12 @@ void blowertimeforstep_k(uint8_t rtu_LVL, uint16_t *rty_out) /* * Output and update for atomic system: - * '/step' - * '/step' - * '/step' - * '/step' - * '/step' - * '/step' + * '/step' + * '/step' + * '/step' + * '/step' + * '/step' + * '/step' */ void step_a(uint8_t rtu_LVL, uint8_t *rty_out) { @@ -6016,12 +6340,12 @@ void step_a(uint8_t rtu_LVL, uint8_t *rty_out) /* * Output and update for atomic system: - * '/time for step' - * '/time for step' - * '/time for step' - * '/time for step' - * '/time for step' - * '/time for step' + * '/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) { @@ -6044,19 +6368,19 @@ void timeforstep_dm(uint8_t rtu_LVL, uint8_t *rty_out) /* * System initialize for action system: - * '/Level 0' - * '/Level 1' + * '/Level 0' + * '/Level 1' */ void Level0_h_Init(DW_Level0_hr *localDW) { - /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ MATLABFunction1_Init(&localDW->sf_MATLABFunction1); } /* * Output and update for action system: - * '/Level 0' - * '/Level 1' + * '/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 @@ -6069,311 +6393,311 @@ void Level0_a(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, *rtd_Valve_2_way, const uint32_t *rtd_t_now, DW_Level0_hr *localDW) { int32_t tmp; - int16_t rtb_out_phm; - uint16_t rtb_out_e0t; - uint16_t rtb_out_i2; - uint8_t rtb_out_io; - uint8_t rtb_out_lyu; + int16_t rtb_out_ngn; + uint16_t rtb_out_ibo; + uint16_t rtb_out_kyy; + uint8_t rtb_out_hjj; + uint8_t rtb_out_jk; bool rtb_LogicalOperator1_e4; bool rtb_timer_out_p; - /* DataStoreWrite: '/Data Store Write9' incorporates: - * DataStoreRead: '/Data Store Read6' - * MATLAB Function: '/2 way valve' + /* 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 (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ - rtb_out_phm = (int16_t)((*rtd_Dtg_RR - *rtd_Dtg_logic_RR) >> 1); + rtb_out_ngn = (int16_t)((*rtd_Dtg_RR - *rtd_Dtg_logic_RR) >> 1); - /* Abs: '/Abs' */ - if (rtb_out_phm < 0) { - rtb_out_phm = (int16_t)-rtb_out_phm; + /* Abs: '/Abs' */ + if (rtb_out_ngn < 0) { + rtb_out_ngn = (int16_t)-rtb_out_ngn; } - /* End of Abs: '/Abs' */ + /* End of Abs: '/Abs' */ - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' */ - Dtg_rear(*rtd_LEVEL, &rtb_out_io); + Dtg_rear(*rtd_LEVEL, &rtb_out_jk); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' */ - timeforstep_k(*rtd_LEVEL, &rtb_out_lyu); + timeforstep_k(*rtd_LEVEL, &rtb_out_hjj); - /* 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' + /* 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_phm * 2.0 <= 0.01) { + if ((double)rtb_out_ngn * 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' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ tmp = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ tmp = -1; } - *rtd_Dtg_RR = (uint16_t)rt_roundd(10.0 * (double)rtb_out_io / (double) - rtb_out_lyu / 1000.0 * (double)(*rtd_t_now - localDW->UnitDelay_DSTATE) * + *rtd_Dtg_RR = (uint16_t)rt_roundd(10.0 * (double)rtb_out_jk / (double) + rtb_out_hjj / 1000.0 * (double)(*rtd_t_now - localDW->UnitDelay_DSTATE) * (double)tmp + (double)*rtd_Dtg_RR); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write11' incorporates: - * DataStoreWrite: '/Data Store Write10' + /* 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' + /* 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' + /* 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: + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + */ + rtb_out_jk = (uint8_t)(*rtd_Mode_RR - *rtd_Mode_logic_RR); + + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' + */ + rtb_timer_out_p = (rtb_out_jk <= 0.01); + + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + step_a(*rtd_LEVEL, &rtb_out_hjj); + + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + timeforstep_dm(*rtd_LEVEL, &rtb_out_jk); + + /* 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_hjj / (double)rtb_out_jk / 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_io = (uint8_t)(*rtd_Mode_RR - *rtd_Mode_logic_RR); + rtb_out_ibo = (uint16_t)(*rtd_Blower_RR - *rtd_Blower_logic_RR); - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' */ - rtb_timer_out_p = (rtb_out_io <= 0.01); + rtb_timer_out_p = (rtb_out_ibo <= 0.01); - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' */ - step_a(*rtd_LEVEL, &rtb_out_lyu); + blowerstep_c(*rtd_LEVEL, &rtb_out_kyy); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/blower time for step' incorporates: + * DataStoreRead: '/Data Store Read7' */ - timeforstep_dm(*rtd_LEVEL, &rtb_out_io); + blowertimeforstep_k(*rtd_LEVEL, &rtb_out_ibo); /* Switch: '/Switch' incorporates: * Constant: '/Constant' * DataStoreRead: '/Текущее значение blower ' * DataStoreRead: '/значение auto (в соответствии с логикой)' * DataStoreRead: '/текущее время в мс' - * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write5' * 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_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_lyu / (double)rtb_out_io / 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_e0t = (uint16_t)(*rtd_Blower_RR - *rtd_Blower_logic_RR); - - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' - */ - rtb_timer_out_p = (rtb_out_e0t <= 0.01); - - /* MATLAB Function: '/blower step' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - blowerstep_c(*rtd_LEVEL, &rtb_out_i2); - - /* MATLAB Function: '/blower time for step' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - blowertimeforstep_k(*rtd_LEVEL, &rtb_out_e0t); - - /* 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' + * 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' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ tmp = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ tmp = -1; } - *rtd_Blower_RR = (uint8_t)((double)rtb_out_i2 / (double)rtb_out_e0t / 1000.0 - * (double)(*rtd_t_now - localDW->UnitDelay_DSTATE_n) * (double)tmp + - (double)*rtd_Blower_RR); + *rtd_Blower_RR = (uint8_t)((double)rtb_out_kyy / (double)rtb_out_ibo / + 1000.0 * (double)(*rtd_t_now - localDW->UnitDelay_DSTATE_n) * (double)tmp + + (double)*rtd_Blower_RR); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write6' incorporates: - * DataStoreWrite: '/Data Store Write5' + /* 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' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' */ *rtd_Recirculation = 1.0; - /* RelationalOperator: '/Relational Operator2' incorporates: - * DataStoreRead: '/Data Store Read11' + /* 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' + /* 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' + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' */ - Timegotofromstep1tostep2_n(*rtd_LEVEL, &rtb_out_phm); + Timegotofromstep1tostep2_n(*rtd_LEVEL, &rtb_out_ngn); - /* MATLAB Function: '/MATLAB Function1' incorporates: - * DataStoreRead: '/Data Store Read3' - * Gain: '/из сек в мс' + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read3' + * Gain: '/из сек в мс' */ - MATLABFunction1(*rtd_t_now, (uint16_t)(1000 * rtb_out_phm), &rtb_timer_out_p, + MATLABFunction1(*rtd_t_now, (uint16_t)(1000 * rtb_out_ngn), &rtb_timer_out_p, &localDW->sf_MATLABFunction1); - /* Switch: '/Switch1' incorporates: - * Constant: '/exit algorithm' - * Constant: '/stay at step' - * Switch: '/Switch' + /* 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' + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' */ *rty_step = 3; } else { *rty_step = 2; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ localDW->UnitDelay_DSTATE = *rtd_t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ localDW->UnitDelay_DSTATE_k = *rtd_t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* 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' + * '/Level 2' + * '/Level 3' + * '/Level 4' + * '/Level 5' */ void Level2_j_Init(DW_Level2_j *localDW) { - /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + /* 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' + * '/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 @@ -6394,65 +6718,65 @@ void Level2_f(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, uint8_t rtb_out_n0g; bool rtb_RelationalOperator2_aen; - /* DataStoreWrite: '/Data Store Write9' incorporates: - * DataStoreRead: '/Data Store Read6' - * MATLAB Function: '/2 way valve' + /* 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 (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtb_out_k1 = (int16_t)((*rtd_Dtg_RR - *rtd_Dtg_logic_RR) >> 1); - /* Abs: '/Abs' */ + /* Abs: '/Abs' */ if (rtb_out_k1 < 0) { rtb_out_k1 = (int16_t)-rtb_out_k1; } - /* End of Abs: '/Abs' */ + /* End of Abs: '/Abs' */ - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read8' */ Dtg_rear(*rtd_LEVEL, &rtb_out_bn); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read8' */ timeforstep_k(*rtd_LEVEL, &rtb_out_n0g); - /* 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' + /* 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_k1 * 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' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ tmp = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ tmp = -1; } @@ -6462,73 +6786,73 @@ void Level2_f(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, (double)tmp + (double)*rtd_Dtg_RR); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write11' incorporates: - * DataStoreWrite: '/Data Store Write10' + /* 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' + /* 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' + /* 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 (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtb_out_bn = (uint8_t)(*rtd_Mode_RR - *rtd_Mode_logic_RR); - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' */ rtb_RelationalOperator2_aen = (rtb_out_bn <= 0.01); - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' */ step_a(*rtd_LEVEL, &rtb_out_n0g); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' */ timeforstep_dm(*rtd_LEVEL, &rtb_out_bn); - /* 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' + /* 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_aen) { *rtd_Mode_RR = *rtd_Mode_logic_RR; } else { if (*rtd_Mode_RR <= *rtd_Mode_logic_RR) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ tmp = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ tmp = -1; } @@ -6538,61 +6862,61 @@ void Level2_f(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, rtd_Mode_RR); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreWrite: '/Data Store Write2' */ *rtd_Mode_RL = *rtd_Mode_RR; - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtb_out_khn = (uint16_t)(*rtd_Blower_RR - *rtd_Blower_logic_RR); - /* RelationalOperator: '/Relational Operator' incorporates: - * Constant: '/epsilon' + /* RelationalOperator: '/Relational Operator' incorporates: + * Constant: '/epsilon' */ rtb_RelationalOperator2_aen = (rtb_out_khn <= 0.01); - /* MATLAB Function: '/blower step' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' */ blowerstep_c(*rtd_LEVEL, &rtb_out_mxv); - /* MATLAB Function: '/blower time for step' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower time for step' incorporates: + * DataStoreRead: '/Data Store Read7' */ blowertimeforstep_k(*rtd_LEVEL, &rtb_out_khn); - /* 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' + /* 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_aen) { *rtd_Blower_RR = (uint8_t)*rtd_Blower_logic_RR; } else { if (*rtd_Blower_RR <= *rtd_Blower_logic_RR) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ tmp = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ tmp = -1; } @@ -6602,75 +6926,75 @@ void Level2_f(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t *rtd_Blower_RR, + (double)*rtd_Blower_RR); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write6' incorporates: - * DataStoreWrite: '/Data Store Write5' + /* 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' + /* 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' + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' */ Timegotofromstep1tostep2_n(*rtd_LEVEL, &rtb_out_k1); - /* MATLAB Function: '/MATLAB Function1' incorporates: - * DataStoreRead: '/Data Store Read3' - * Gain: '/из сек в мс' + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read3' + * Gain: '/из сек в мс' */ MATLABFunction1(*rtd_t_now, (uint16_t)(1000 * rtb_out_k1), &rtb_RelationalOperator2_aen, &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' + /* 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_aen || (*rtd_HI_logic_on)) { - /* Switch: '/Switch' incorporates: - * Constant: '/go to next step' + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' */ *rty_step = 3; } else { *rty_step = 2; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ localDW->UnitDelay_DSTATE = *rtd_t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ localDW->UnitDelay_DSTATE_n = *rtd_t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* 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' + * '/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) @@ -6743,8 +7067,8 @@ void funcg_assAUTO_STEP_DUCT_TG_U(uint8_t rtu_LVL, double rtu_AF_STEP, int16_t /* * Output and update for atomic system: - * '/func g_assAUTO_STEP_DUCT_TG_L' - * '/func g_assAUTO_STEP_DUCT_TG_L' + * '/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) @@ -6817,8 +7141,8 @@ void funcg_assAUTO_STEP_DUCT_TG_L(uint8_t rtu_LVL, double rtu_AF_STEP, int16_t /* * Output and update for atomic system: - * '/func g_assAUTO_STEP_DUCT_TG_R' - * '/func g_assAUTO_STEP_DUCT_TG_R' + * '/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) @@ -6891,8 +7215,8 @@ void funcg_assAUTO_STEP_DUCT_TG_R(uint8_t rtu_LVL, double rtu_AF_STEP, int16_t /* * Output and update for atomic system: - * '/correction rate' - * '/correction rate' + * '/correction rate' + * '/correction rate' */ void correctionrate(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) { @@ -6926,10 +7250,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) { @@ -6940,8 +7264,85 @@ void is_ending_with_5(uint16_t rtu_SET, bool *rty_is_ending_with_5) /* * System initialize for atomic system: - * '/filter AC Pressure' - * '/filter AC Pressure' + * '/error timer' + * '/error timer' + * '/error timer' + * '/error timer' + * '/error timer1' + * '/error timer2' + * '/error timer3' + * '/error timer' + * '/error timer1' + * '/error timer2' + * ... + */ +void errortimer_Init(DW_errortimer *localDW) +{ + /* : t_start = uint32(0); */ + localDW->t_start = 0U; + + /* : active = false; */ + localDW->active = false; +} + +/* + * Output and update for atomic system: + * '/error timer' + * '/error timer' + * '/error timer' + * '/error timer' + * '/error timer1' + * '/error timer2' + * '/error timer3' + * '/error timer' + * '/error timer1' + * '/error timer2' + * ... + */ +void errortimer(bool rtu_error_state, uint32_t rtu_t_now, uint32_t *rty_timer_ms, + DW_errortimer *localDW) +{ + /* : if isempty(t_start) */ + /* : if ~error_state */ + if (!rtu_error_state) { + /* : t_start = uint32(0); */ + localDW->t_start = 0U; + + /* : active = false; */ + localDW->active = false; + + /* : timer_ms = uint32(0); */ + *rty_timer_ms = 0U; + } else { + uint32_t qY; + + /* : else */ + /* : if ~active */ + if (!localDW->active) { + /* : t_start = t_now; */ + localDW->t_start = rtu_t_now; + + /* : active = true; */ + localDW->active = true; + } + + /* : timer_ms = t_now - t_start; */ + /* 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_ms = qY; + } +} + +/* + * System initialize for atomic system: + * '/filter AC Pressure' + * '/filter AC Pressure' */ void filterACPressure_Init(DW_filterACPressure *localDW) { @@ -6950,8 +7351,8 @@ void filterACPressure_Init(DW_filterACPressure *localDW) /* * Output and update for atomic system: - * '/filter AC Pressure' - * '/filter AC Pressure' + * '/filter AC Pressure' + * '/filter AC Pressure' */ void filterACPressure(int16_t rtu_value_in, bool rtu_is_filter_active, uint32_t rtu_t_now, int16_t *rty_value_filtered, @@ -7004,16 +7405,16 @@ void filterACPressure(int16_t rtu_value_in, bool rtu_is_filter_active, uint32_t /* * System initialize for atomic system: - * '/is 3 sec after T15 passed' - * '/is 3 sec after T15 passed' - * '/is 3 sec after T15 passed' - * '/is 3 sec after T15 passed' - * '/is 3 sec after T15 passed' - * '/is 3 sec after T15 passed' - * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' * '/is 3 sec after T15 passed' * '/is 3 sec after T15 passed' - * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' * ... */ void is3secafterT15passed_Init(DW_is3secafterT15passed *localDW) @@ -7023,16 +7424,16 @@ void is3secafterT15passed_Init(DW_is3secafterT15passed *localDW) /* * Output and update for atomic system: - * '/is 3 sec after T15 passed' - * '/is 3 sec after T15 passed' - * '/is 3 sec after T15 passed' - * '/is 3 sec after T15 passed' - * '/is 3 sec after T15 passed' - * '/is 3 sec after T15 passed' - * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' * '/is 3 sec after T15 passed' * '/is 3 sec after T15 passed' - * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' + * '/is 3 sec after T15 passed' * ... */ void is3secafterT15passed(uint32_t rtu_t_now, uint8_t rtu_BCM_T15_stat, bool @@ -7070,12 +7471,12 @@ void is3secafterT15passed(uint32_t rtu_t_now, uint8_t rtu_BCM_T15_stat, bool /* * System initialize for atomic system: - * '/filter duct' - * '/filter duct' - * '/filter duct' - * '/filter duct' * '/filter duct' * '/filter duct' + * '/filter duct' + * '/filter duct' + * '/filter duct' + * '/filter duct' */ void filterduct_Init(DW_filterduct *localDW) { @@ -7084,12 +7485,12 @@ void filterduct_Init(DW_filterduct *localDW) /* * Output and update for atomic system: - * '/filter duct' - * '/filter duct' - * '/filter duct' - * '/filter duct' * '/filter duct' * '/filter duct' + * '/filter duct' + * '/filter duct' + * '/filter duct' + * '/filter duct' */ void filterduct(int16_t rtu_duct, bool rtu_is_filter_active, uint32_t rtu_t_now, int16_t *rty_duct_filtered, DW_filterduct *localDW) @@ -7141,10 +7542,10 @@ void filterduct(int16_t rtu_duct, bool rtu_is_filter_active, uint32_t rtu_t_now, /* * Output and update for atomic system: - * '/обычное понижение темп.' - * '/обычное повышение темп.' - * '/обычное понижение темп.' - * '/обычное повышение темп.' + * '/обычное понижение темп.' + * '/обычное повышение темп.' + * '/обычное понижение темп.' + * '/обычное повышение темп.' */ void u(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_FALLING_F) { @@ -7161,10 +7562,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) { @@ -7181,109 +7582,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) { @@ -7300,10 +7701,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) { @@ -7320,21 +7721,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) { @@ -7344,8 +7745,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) { @@ -7355,21 +7756,21 @@ 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 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) { @@ -7379,10 +7780,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) { @@ -7399,10 +7800,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) { @@ -7419,21 +7820,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) { @@ -7443,23 +7844,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) { @@ -7476,10 +7877,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) { @@ -7496,21 +7897,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) { @@ -7520,8 +7921,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) { @@ -7531,40 +7932,40 @@ 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); } /* * 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: - * '/AF AutoFoot' - * '/AF AutoFoot' - * '/AF AutoFoot' - * '/AF AutoFoot' - * '/AF AutoFoot' - * '/AF AutoFoot' - * '/AF AutoFoot' - * '/AF AutoFoot' - * '/AF AutoFoot' - * '/AF AutoFoot' + * '/AF AutoFoot' + * '/AF AutoFoot' + * '/AF AutoFoot' + * '/AF AutoFoot' + * '/AF AutoFoot' + * '/AF AutoFoot' + * '/AF AutoFoot' + * '/AF AutoFoot' + * '/AF AutoFoot' + * '/AF AutoFoot' * ... */ void AFAutoFoot(uint16_t rty_out[8]) @@ -7579,16 +7980,16 @@ void AFAutoFoot(uint16_t rty_out[8]) /* * Output and update for atomic system: - * '/AF AutoFoot summer' - * '/AF AutoFoot summer' - * '/AF AutoFoot summer' - * '/AF AutoFoot summer' - * '/AF AutoFoot summer' - * '/AF AutoFoot summer' - * '/AF AutoFoot summer' - * '/AF AutoFoot summer' - * '/AF AutoFoot summer' - * '/AF AutoFoot summer' + * '/AF AutoFoot summer' + * '/AF AutoFoot summer' + * '/AF AutoFoot summer' + * '/AF AutoFoot summer' + * '/AF AutoFoot summer' + * '/AF AutoFoot summer' + * '/AF AutoFoot summer' + * '/AF AutoFoot summer' + * '/AF AutoFoot summer' + * '/AF AutoFoot summer' * ... */ void AFAutoFootsummer(uint16_t rty_out[8]) @@ -7603,16 +8004,16 @@ void AFAutoFootsummer(uint16_t rty_out[8]) /* * Output and update for atomic system: - * '/AF Bi level' - * '/AF Bi level' - * '/AF Bi level' - * '/AF Bi level' - * '/AF Bi level' - * '/AF Bi level' - * '/AF Bi level' - * '/AF Bi level' - * '/AF Bi level' - * '/AF Bi level' + * '/AF Bi level' + * '/AF Bi level' + * '/AF Bi level' + * '/AF Bi level' + * '/AF Bi level' + * '/AF Bi level' + * '/AF Bi level' + * '/AF Bi level' + * '/AF Bi level' + * '/AF Bi level' * ... */ void AFBilevel(uint16_t rty_out[8]) @@ -7627,16 +8028,16 @@ void AFBilevel(uint16_t rty_out[8]) /* * Output and update for atomic system: - * '/AF Bi level 2' - * '/AF Bi level 2' - * '/AF Bi level 2' - * '/AF Bi level 2' - * '/AF Bi level 2' - * '/AF Bi level 2' - * '/AF Bi level 2' - * '/AF Bi level 2' - * '/AF Bi level 2' - * '/AF Bi level 2' + * '/AF Bi level 2' + * '/AF Bi level 2' + * '/AF Bi level 2' + * '/AF Bi level 2' + * '/AF Bi level 2' + * '/AF Bi level 2' + * '/AF Bi level 2' + * '/AF Bi level 2' + * '/AF Bi level 2' + * '/AF Bi level 2' * ... */ void AFBilevel2(uint16_t rty_out[8]) @@ -7651,16 +8052,16 @@ void AFBilevel2(uint16_t rty_out[8]) /* * Output and update for atomic system: - * '/AF Defrost' - * '/AF Defrost' - * '/AF Defrost' - * '/AF Defrost' - * '/AF Defrost' - * '/AF Defrost' - * '/AF Defrost' - * '/AF Defrost' - * '/AF Defrost' - * '/AF Defrost' + * '/AF Defrost' + * '/AF Defrost' + * '/AF Defrost' + * '/AF Defrost' + * '/AF Defrost' + * '/AF Defrost' + * '/AF Defrost' + * '/AF Defrost' + * '/AF Defrost' + * '/AF Defrost' * ... */ void AFDefrost(uint16_t rty_out[8]) @@ -7675,16 +8076,16 @@ void AFDefrost(uint16_t rty_out[8]) /* * Output and update for atomic system: - * '/AF Foot' - * '/AF Foot' - * '/AF Foot' - * '/AF Foot' - * '/AF Foot' - * '/AF Foot' - * '/AF Foot' - * '/AF Foot' - * '/AF Foot' - * '/AF Foot' + * '/AF Foot' + * '/AF Foot' + * '/AF Foot' + * '/AF Foot' + * '/AF Foot' + * '/AF Foot' + * '/AF Foot' + * '/AF Foot' + * '/AF Foot' + * '/AF Foot' * ... */ void AFFoot(uint16_t rty_out[8]) @@ -7699,16 +8100,16 @@ void AFFoot(uint16_t rty_out[8]) /* * Output and update for atomic system: - * '/AF Foot + Def' - * '/AF Foot + Def' - * '/AF Foot + Def' - * '/AF Foot + Def' - * '/AF Foot + Def' - * '/AF Foot + Def' - * '/AF Foot + Def' - * '/AF Foot + Def' - * '/AF Foot + Def' - * '/AF Foot + Def' + * '/AF Foot + Def' + * '/AF Foot + Def' + * '/AF Foot + Def' + * '/AF Foot + Def' + * '/AF Foot + Def' + * '/AF Foot + Def' + * '/AF Foot + Def' + * '/AF Foot + Def' + * '/AF Foot + Def' + * '/AF Foot + Def' * ... */ void AFFootDef(uint16_t rty_out[8]) @@ -7723,16 +8124,16 @@ void AFFootDef(uint16_t rty_out[8]) /* * Output and update for atomic system: - * '/AF Hi (def + vent)' - * '/AF Hi (def + vent)' - * '/AF Hi (def + vent)' - * '/AF Hi (def + vent)' - * '/AF Hi (def + vent)' - * '/AF Hi (def + vent)' - * '/AF Hi (def + vent)' - * '/AF Hi (def + vent)' - * '/AF Hi (def + vent)' - * '/AF Hi (def + vent)' + * '/AF Hi (def + vent)' + * '/AF Hi (def + vent)' + * '/AF Hi (def + vent)' + * '/AF Hi (def + vent)' + * '/AF Hi (def + vent)' + * '/AF Hi (def + vent)' + * '/AF Hi (def + vent)' + * '/AF Hi (def + vent)' + * '/AF Hi (def + vent)' + * '/AF Hi (def + vent)' * ... */ void AFHidefvent(uint16_t rty_out[8]) @@ -7747,16 +8148,16 @@ void AFHidefvent(uint16_t rty_out[8]) /* * Output and update for atomic system: - * '/AF Tri mode' - * '/AF Tri mode' - * '/AF Tri mode' - * '/AF Tri mode' - * '/AF Tri mode' - * '/AF Tri mode' - * '/AF Tri mode' - * '/AF Tri mode' - * '/AF Tri mode' - * '/AF Tri mode' + * '/AF Tri mode' + * '/AF Tri mode' + * '/AF Tri mode' + * '/AF Tri mode' + * '/AF Tri mode' + * '/AF Tri mode' + * '/AF Tri mode' + * '/AF Tri mode' + * '/AF Tri mode' + * '/AF Tri mode' * ... */ void AFTrimode(uint16_t rty_out[8]) @@ -7771,16 +8172,16 @@ void AFTrimode(uint16_t rty_out[8]) /* * Output and update for atomic system: - * '/AF VENT' - * '/AF VENT (fail safe)' - * '/AF VENT' - * '/AF VENT (fail safe)' - * '/AF VENT' - * '/AF VENT (fail safe)' - * '/AF VENT' - * '/AF VENT (fail safe)' - * '/AF VENT' - * '/AF VENT (fail safe)' + * '/AF VENT' + * '/AF VENT (fail safe)' + * '/AF VENT' + * '/AF VENT (fail safe)' + * '/AF VENT' + * '/AF VENT (fail safe)' + * '/AF VENT' + * '/AF VENT (fail safe)' + * '/AF VENT' + * '/AF VENT (fail safe)' * ... */ void AFVENT(uint16_t rty_out[8]) @@ -7795,10 +8196,10 @@ void AFVENT(uint16_t rty_out[8]) /* * Output and update for atomic system: - * '/closest speed' - * '/closest speed' - * '/closest speed' - * '/closest speed' + * '/closest speed' + * '/closest speed' + * '/closest speed' + * '/closest speed' */ void closestspeed(const uint16_t rtu_AF_for_speed[8], uint16_t rtu_AF_value, uint8_t *rty_idx) @@ -7835,8 +8236,8 @@ void closestspeed(const uint16_t rtu_AF_for_speed[8], uint16_t rtu_AF_value, /* * Output and update for atomic system: - * '/AF REAR Bi Level' - * '/AF REAR Bi Level' + * '/AF REAR Bi Level' + * '/AF REAR Bi Level' */ void AFREARBiLevel(uint16_t rty_out[8]) { @@ -7850,8 +8251,8 @@ void AFREARBiLevel(uint16_t rty_out[8]) /* * Output and update for atomic system: - * '/AF REAR Foot' - * '/AF REAR Foot' + * '/AF REAR Foot' + * '/AF REAR Foot' */ void AFREARFoot(uint16_t rty_out[8]) { @@ -7865,10 +8266,10 @@ void AFREARFoot(uint16_t rty_out[8]) /* * Output and update for atomic system: - * '/AF REAR VENT AUTO' - * '/AF REAR VENT AUTO1' - * '/AF REAR VENT AUTO' - * '/AF REAR VENT AUTO1' + * '/AF REAR VENT AUTO' + * '/AF REAR VENT AUTO1' + * '/AF REAR VENT AUTO' + * '/AF REAR VENT AUTO1' */ void AFREARVENTAUTO(uint16_t rty_out[8]) { @@ -7882,8 +8283,8 @@ void AFREARVENTAUTO(uint16_t rty_out[8]) /* * Output and update for atomic system: - * '/direction for REAR index mode' - * '/direction for REAR index mode1' + * '/direction for REAR index mode' + * '/direction for REAR index mode1' */ void directionforREARindexmode(uint16_t rtu_index_mode, double rty_Y[4]) { @@ -8390,8 +8791,8 @@ void Zone_Climate_Logic_Auto_RL(uint8_t rtu_btn_def, uint8_t rtu_btn_face, /* * 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) { @@ -8408,8 +8809,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) { @@ -8426,8 +8827,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) { @@ -8444,8 +8845,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) { @@ -8462,8 +8863,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) { @@ -8480,8 +8881,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) { @@ -8498,8 +8899,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) { @@ -8516,29 +8917,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)); */ @@ -8550,7 +8951,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; @@ -8560,7 +8961,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; @@ -8570,7 +8971,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; @@ -8580,29 +8981,151 @@ 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' + * '/correction rate' + * '/correction rate' */ -void funcg_ascAUTO_STEP_AF_F(double rtu_AF_STEP, int8_t *rty_y) +void correctionrate_a(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y) { - /* : y = g_ascAUTO_STEP_AF_F(AF_STEP); */ - *rty_y = g_ascAUTO_STEP_AF_F[(int32_t)rtu_AF_STEP - 1]; + int32_t i; + int32_t tmp_0; + int16_t tmp[42]; + + /* : 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]; */ + /* : y = correct_rate(LVL + 1, idivide(SET - 16 + 1, 2)); */ + for (i = 0; i < 7; i++) { + tmp[6 * i] = g_assCORRECT_AF_RATE_LV0[i]; + tmp[6 * i + 1] = g_assCORRECT_AF_RATE_LV1[i]; + tmp[6 * i + 2] = g_assCORRECT_AF_RATE_LV2[i]; + tmp[6 * i + 3] = g_assCORRECT_AF_RATE_LV3[i]; + tmp[6 * i + 4] = g_assCORRECT_AF_RATE_LV4[i]; + tmp[6 * i + 5] = g_assCORRECT_AF_RATE_LV5[i]; + } + + i = (int32_t)(rtu_LVL + 1U); + if (rtu_LVL + 1U > 255U) { + i = 255; + } + + tmp_0 = rtu_SET - 16; + if (rtu_SET - 16 < -32768) { + tmp_0 = -32768; + } + + *rty_y = tmp[(((int32_t)trunc(((double)tmp_0 + 1.0) / 2.0) - 1) * 6 + i) - 1]; } /* * Output and update for atomic system: - * '/param index for mode' * '/param index for mode' + * '/param index for mode' */ -void paramindexformode(uint8_t rtu_index_mode, double *rty_Y) +void paramindexformode(uint16_t rtu_index_mode, double *rty_Y) +{ + /* : switch index_mode */ + switch (rtu_index_mode) { + case 0U: + /* : case 0 */ + /* : Y = 1; */ + *rty_Y = 1.0; + break; + + case 120U: + /* : case 120 */ + /* : Y = 1; */ + *rty_Y = 1.0; + break; + + case 130U: + /* : case 130 */ + /* : Y = 2; */ + *rty_Y = 2.0; + break; + + case 140U: + /* : case 140 */ + /* : Y = 2; */ + *rty_Y = 2.0; + break; + + case 150U: + /* : case 150 */ + /* : Y = 1; */ + *rty_Y = 1.0; + break; + + case 160U: + /* : case 160 */ + /* : Y = 3; */ + *rty_Y = 3.0; + break; + + case 170U: + /* : case 170 */ + /* : Y = 1; */ + *rty_Y = 1.0; + break; + + case 180U: + /* : case 180 */ + /* : Y = 3; */ + *rty_Y = 3.0; + break; + + case 190U: + /* : case 190 */ + /* : Y = 1; */ + *rty_Y = 1.0; + break; + + case 200U: + /* : case 200 */ + /* : Y = 2; */ + *rty_Y = 2.0; + break; + + default: + /* : otherwise */ + /* : Y = 1; */ + *rty_Y = 1.0; + break; + } +} + +/* + * Output and update for atomic system: + * '/AF for speed' + * '/AF for speed' + * '/AF for speed' + * '/AF for speed' + * '/AF for speed' + * '/AF for speed' + * '/AF for speed' + * '/AF for speed' + * '/AF for speed' + * '/AF for speed' + * ... + */ +void AFforspeed(const uint16_t rtu_mode[8], double rtu_blower_speed, uint16_t + *rty_out) +{ + /* : out = mode(blower_speed + 1); */ + *rty_out = rtu_mode[(int32_t)(rtu_blower_speed + 1.0) - 1]; +} + +/* + * Output and update for atomic system: + * '/param index for mode' + * '/param index for mode' + */ +void paramindexformode_j(uint8_t rtu_index_mode, double *rty_Y) { /* : switch index_mode */ switch (rtu_index_mode) { @@ -8688,106 +9211,19 @@ void paramindexformode(uint8_t rtu_index_mode, double *rty_Y) /* * Output and update for atomic system: - * '/param index for mode' - * '/param index for mode' + * '/func g_ascAUTO_STEP_AF_F' + * '/func g_ascAUTO_STEP_AF_F' */ -void paramindexformode_h(uint16_t rtu_index_mode, double *rty_Y) +void funcg_ascAUTO_STEP_AF_F(uint8_t rtu_AF_STEP, int8_t *rty_y) { - /* : switch index_mode */ - switch (rtu_index_mode) { - case 0U: - /* : case 0 */ - /* : Y = 1; */ - *rty_Y = 1.0; - break; - - case 120U: - /* : case 120 */ - /* : Y = 1; */ - *rty_Y = 1.0; - break; - - case 130U: - /* : case 130 */ - /* : Y = 2; */ - *rty_Y = 2.0; - break; - - case 140U: - /* : case 140 */ - /* : Y = 2; */ - *rty_Y = 2.0; - break; - - case 150U: - /* : case 150 */ - /* : Y = 1; */ - *rty_Y = 1.0; - break; - - case 160U: - /* : case 160 */ - /* : Y = 3; */ - *rty_Y = 3.0; - break; - - case 170U: - /* : case 170 */ - /* : Y = 1; */ - *rty_Y = 1.0; - break; - - case 180U: - /* : case 180 */ - /* : Y = 3; */ - *rty_Y = 3.0; - break; - - case 190U: - /* : case 190 */ - /* : Y = 1; */ - *rty_Y = 1.0; - break; - - case 200U: - /* : case 200 */ - /* : Y = 2; */ - *rty_Y = 2.0; - break; - - default: - /* : otherwise */ - /* : Y = 1; */ - *rty_Y = 1.0; - break; - } -} - -/* - * Output and update for atomic system: - * '/AF for speed' - * '/AF for speed' - * '/AF for speed' - * '/AF for speed' - * '/AF for speed' - * '/AF for speed' - * '/AF for speed' - * '/AF for speed' - * '/AF for speed' - * '/AF for speed' - * ... - */ -void AFforspeed(const uint16_t rtu_mode[8], double rtu_blower_speed, uint16_t - *rty_out) -{ - /* : out = mode(blower_speed + 1); */ - *rty_out = rtu_mode[(int32_t)(rtu_blower_speed + 1.0) - 1]; + /* : y = g_ascAUTO_STEP_AF_F(AF_STEP); */ + *rty_y = g_ascAUTO_STEP_AF_F[rtu_AF_STEP - 1]; } /* * System initialize for atomic system: - * '/filter sensor' - * '/filter sensor' + * '/filter sensor' + * '/filter sensor' */ void filtersensor_Init(DW_filtersensor *localDW) { @@ -8796,8 +9232,8 @@ void filtersensor_Init(DW_filtersensor *localDW) /* * Output and update for atomic system: - * '/filter sensor' - * '/filter sensor' + * '/filter sensor' + * '/filter sensor' */ void filtersensor(double rtu_value_in, bool rtu_is_filter_active, uint32_t rtu_t_now, uint8_t rtu_level, double *rty_value_filtered, @@ -8846,14 +9282,156 @@ void filtersensor(double rtu_value_in, bool rtu_is_filter_active, uint32_t localDW->prev_time = rtu_t_now; } +/* + * System initialize for atomic system: + * '/MATLAB Function' + * '/MATLAB Function' + * '/MATLAB Function' + */ +void MATLABFunction_Init(DW_MATLABFunction *localDW) +{ + /* : isPressed = false; */ + localDW->isPressed = false; + + /* : direction = 0; */ + localDW->direction = 0.0; + + /* : pressStartMs = uint32(0); */ + localDW->pressStartMs = 0U; + + /* : baseTemp = uint16(0); */ + localDW->baseTemp = 0U; +} + /* * Output and update for atomic system: - * '/обычное понижение темп.' - * '/обычное повышение темп.' - * '/обычное понижение темп.' - * '/обычное повышение темп.' - * '/обычное понижение темп.' - * '/обычное повышение темп.' + * '/MATLAB Function' + * '/MATLAB Function' + * '/MATLAB Function' + */ +void MATLABFunction(uint8_t rtu_tempToggleInput, uint32_t rtu_t_now, uint16_t + rtu_current_temp, uint16_t *rty_tempAfterToggle, uint8_t + *rty_changed_FR_params, DW_MATLABFunction *localDW) +{ + double t; + + /* : TEMP_MIN = 160; */ + /* : TEMP_MAX = 300; */ + /* : if isempty(isPressed) */ + /* : tempAfterToggle = current_temp; */ + *rty_tempAfterToggle = rtu_current_temp; + + /* : changed_FR_params = uint8(0); */ + *rty_changed_FR_params = 0U; + + /* : switch tempToggleInput */ + switch (rtu_tempToggleInput) { + case 0U: + /* : case 0 */ + /* : isPressed = false; */ + localDW->isPressed = false; + + /* : direction = 0; */ + localDW->direction = 0.0; + break; + + case 1U: + /* : case 1 */ + /* : if ~isPressed */ + if (!localDW->isPressed) { + /* : changed_FR_params = uint8(1); */ + *rty_changed_FR_params = 1U; + + /* : isPressed = true; */ + localDW->isPressed = true; + + /* : direction = 1; */ + localDW->direction = 1.0; + + /* : pressStartMs = t_now; */ + localDW->pressStartMs = rtu_t_now; + + /* : baseTemp = uint16(min(TEMP_MAX, double(current_temp) + 5)); */ + localDW->baseTemp = (uint16_t)fmin(300.0, (double)rtu_current_temp + 5.0); + + /* : tempAfterToggle = baseTemp; */ + *rty_tempAfterToggle = localDW->baseTemp; + } + break; + + case 2U: + /* : case 2 */ + /* : if ~isPressed */ + if (!localDW->isPressed) { + /* : changed_FR_params = uint8(1); */ + *rty_changed_FR_params = 1U; + + /* : isPressed = true; */ + localDW->isPressed = true; + + /* : direction = -1; */ + localDW->direction = -1.0; + + /* : pressStartMs = t_now; */ + localDW->pressStartMs = rtu_t_now; + + /* : baseTemp = uint16(max(TEMP_MIN, double(current_temp) - 5)); */ + localDW->baseTemp = (uint16_t)fmax(160.0, (double)rtu_current_temp - 5.0); + + /* : tempAfterToggle = baseTemp; */ + *rty_tempAfterToggle = localDW->baseTemp; + } + break; + + case 3U: + case 4U: + /* : case {3, 4} */ + /* : if isPressed */ + if (localDW->isPressed) { + /* : changed_FR_params = uint8(1); */ + *rty_changed_FR_params = 1U; + + /* : elapsedMs = double(t_now) - double(pressStartMs); */ + /* : t = elapsedMs / 1000.0; */ + t = ((double)rtu_t_now - (double)localDW->pressStartMs) / 1000.0; + + /* : if t <= 1.5 */ + if (t <= 1.5) { + /* : deltaTemp = 0; */ + t = 0.0; + } else if (t <= 3.0) { + /* : elseif t <= 3.0 */ + /* : deltaTemp = 4.0 * (t - 1.5); */ + t = (t - 1.5) * 4.0; + } else if (t <= 4.0) { + /* : elseif t <= 4.0 */ + /* : deltaTemp = 6.0 + 8.0 * (t - 3.0); */ + t = (t - 3.0) * 8.0 + 6.0; + } else { + /* : else */ + /* : deltaTemp = 14.0; */ + t = 14.0; + } + + /* : deltaUnits = round(deltaTemp * 10.0); */ + /* : newTemp = double(baseTemp) + direction * deltaUnits; */ + /* : newTemp = min(TEMP_MAX, max(TEMP_MIN, newTemp)); */ + /* : tempAfterToggle = uint16(newTemp); */ + *rty_tempAfterToggle = (uint16_t)rt_roundd(fmin(300.0, fmax(160.0, + rt_roundd(t * 10.0) * localDW->direction + (double)localDW->baseTemp))); + } + break; + } +} + +/* + * Output and update for atomic system: + * '/обычное понижение темп.' + * '/обычное повышение темп.' + * '/обычное понижение темп.' + * '/обычное повышение темп.' + * '/обычное понижение темп.' + * '/обычное повышение темп.' */ void u_m2(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_FALLING) { @@ -8870,130 +9448,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) { @@ -9010,12 +9588,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) { @@ -9032,104 +9610,388 @@ 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 atomic system: - * '/MATLAB Function2' - * '/MATLAB Function5' + * '/REST is ON' + * '/REST is ON1' + * '/REST is ON' + */ +void RESTisON(uint8_t rtu_REST_mode, bool *rty_y) +{ + /* : MODE_ENTRY_STEP1 = uint8(1); */ + /* : MODE_ENTRY_STEP2 = uint8(2); */ + /* : MODE_ENTRY_STEP3 = uint8(3); */ + /* : MODE_ACTIVE_CONDITIONS1_SUMMER = uint8(10); */ + /* : MODE_ACTIVE_CONDITIONS2_WINTER = uint8(11); */ + /* : if REST_mode == MODE_ENTRY_STEP1 || REST_mode == MODE_ENTRY_STEP2 || REST_mode == MODE_ENTRY_STEP3 || REST_mode == MODE_ACTIVE_CONDITIONS1_SUMMER || REST_mode == MODE_ACTIVE_CONDITIONS2_WINTER */ + if ((rtu_REST_mode == 1) || (rtu_REST_mode == 2) || (rtu_REST_mode == 3) || + (rtu_REST_mode == 10) || (rtu_REST_mode == 11)) { + /* : y = true; */ + *rty_y = true; + } else { + /* : else */ + /* : y = false; */ + *rty_y = false; + } +} + +/* + * Output and update for atomic system: + * '/B-Pillar_ - % damper opening' + * '/B-Pillar_ - % damper opening' + */ +void BPillar_damperopening(const double rtu_valves[6], const uint16_t + rtu_valve_space[6], double rty_valve_space_b_pillar_L[11], double + rty_valve_space_center_L[11], double rty_valve_space_foot_L[11], double + rty_valve_space_b_pillar_R[11], double rty_valve_space_center_R[11], double + rty_valve_space_foot_R[11]) +{ + double b_pillar_all_perc[11]; + double g_aucVALVE_PERC_R_BIPILLAR_with0_tmp[11]; + double g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_0[11]; + double g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_1[11]; + double b_pillar_all_perc_0; + double g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_2; + int32_t i; + int32_t rtu_valve_space_0; + + /* : b_pillar_100 = double(valve_space(1)); */ + /* : g_aucVALVE_PERC_R_BIPILLAR_with0 = double([0, g_aucVALVE_PERC_R_BIPILLAR]) * 0.01; */ + g_aucVALVE_PERC_R_BIPILLAR_with0_tmp[0] = 0.0; + for (i = 0; i < 10; i++) { + g_aucVALVE_PERC_R_BIPILLAR_with0_tmp[i + 1] = (double) + g_aucVALVE_PERC_R_BIPILLAR[i] * 0.01; + } + + /* : b_pillar_all_perc = g_aucVALVE_PERC_R_BIPILLAR_with0 * b_pillar_100; */ + rtu_valve_space_0 = rtu_valve_space[0]; + + /* : valve_space_b_pillar_L = zeros(1, 11); */ + for (i = 0; i < 11; i++) { + b_pillar_all_perc[i] = g_aucVALVE_PERC_R_BIPILLAR_with0_tmp[i] * (double) + rtu_valve_space_0; + rty_valve_space_b_pillar_L[i] = 0.0; + } + + /* : for i = 1:10 */ + for (i = 0; i < 10; i++) { + /* : valve_space_b_pillar_L(i) = b_pillar_all_perc(i+1) + ((g_aucVALVE_PERC_R_BIPILLAR_with0(i+1) - valves(1)) / (g_aucVALVE_PERC_R_BIPILLAR_with0(i+1) - g_aucVALVE_PERC_R_BIPILLAR_with0(i))) * (b_pillar_all_perc(i) - b_pillar_all_perc(i+1)); */ + b_pillar_all_perc_0 = b_pillar_all_perc[i + 1]; + g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_2 = + g_aucVALVE_PERC_R_BIPILLAR_with0_tmp[i + 1]; + rty_valve_space_b_pillar_L[i] = (g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_2 - + rtu_valves[0]) / (g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_2 - + g_aucVALVE_PERC_R_BIPILLAR_with0_tmp[i]) * + (b_pillar_all_perc[i] - b_pillar_all_perc_0) + b_pillar_all_perc_0; + } + + /* : valve_space_b_pillar_L(1) = 0; */ + rty_valve_space_b_pillar_L[0] = 0.0; + + /* : valve_space_b_pillar_L(11) = b_pillar_100; */ + rty_valve_space_b_pillar_L[10] = rtu_valve_space[0]; + + /* : center_100 = double(valve_space(2)); */ + /* : g_aucVALVE_PERC_R_CENT_VENT_with0 = double([0, g_aucVALVE_PERC_R_CENT_VENT]) * 0.01; */ + g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_0[0] = 0.0; + for (i = 0; i < 10; i++) { + g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_0[i + 1] = (double) + g_aucVALVE_PERC_R_CENT_VENT[i] * 0.01; + } + + /* : center_all_perc = g_aucVALVE_PERC_R_CENT_VENT_with0 * center_100; */ + rtu_valve_space_0 = rtu_valve_space[1]; + + /* : valve_space_center_L = zeros(1, 11); */ + for (i = 0; i < 11; i++) { + b_pillar_all_perc[i] = g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_0[i] * (double) + rtu_valve_space_0; + rty_valve_space_center_L[i] = 0.0; + } + + /* : for i = 1:10 */ + for (i = 0; i < 10; i++) { + /* : valve_space_center_L(i) = center_all_perc(i+1) + ((g_aucVALVE_PERC_R_CENT_VENT_with0(i+1) - valves(2)) / (g_aucVALVE_PERC_R_CENT_VENT_with0(i+1) - g_aucVALVE_PERC_R_CENT_VENT_with0(i))) * (center_all_perc(i) - center_all_perc(i+1)); */ + b_pillar_all_perc_0 = b_pillar_all_perc[i + 1]; + g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_2 = + g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_0[i + 1]; + rty_valve_space_center_L[i] = (g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_2 - + rtu_valves[1]) / (g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_2 - + g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_0[i]) * + (b_pillar_all_perc[i] - b_pillar_all_perc_0) + b_pillar_all_perc_0; + } + + /* : valve_space_center_L(1) = 0; */ + rty_valve_space_center_L[0] = 0.0; + + /* : valve_space_center_L(11) = center_100; */ + rty_valve_space_center_L[10] = rtu_valve_space[1]; + + /* : foot_100 = double(valve_space(5)); */ + /* : g_aucVALVE_PERC_R_FOOT_with0 = double([0, g_aucVALVE_PERC_R_FOOT]) * 0.01; */ + g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_1[0] = 0.0; + for (i = 0; i < 10; i++) { + g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_1[i + 1] = (double) + g_aucVALVE_PERC_R_FOOT[i] * 0.01; + } + + /* : foot_all_perc = g_aucVALVE_PERC_R_FOOT_with0 * foot_100; */ + rtu_valve_space_0 = rtu_valve_space[4]; + + /* : valve_space_foot_L = zeros(1, 11); */ + for (i = 0; i < 11; i++) { + b_pillar_all_perc[i] = g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_1[i] * (double) + rtu_valve_space_0; + rty_valve_space_foot_L[i] = 0.0; + } + + /* : for i = 1:10 */ + for (i = 0; i < 10; i++) { + /* : valve_space_foot_L(i) = foot_all_perc(i+1) + ((g_aucVALVE_PERC_R_FOOT_with0(i+1) - valves(5)) / (g_aucVALVE_PERC_R_FOOT_with0(i+1) - g_aucVALVE_PERC_R_FOOT_with0(i))) * (foot_all_perc(i) - foot_all_perc(i+1)); */ + b_pillar_all_perc_0 = b_pillar_all_perc[i + 1]; + g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_2 = + g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_1[i + 1]; + rty_valve_space_foot_L[i] = (g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_2 - + rtu_valves[4]) / (g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_2 - + g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_1[i]) * + (b_pillar_all_perc[i] - b_pillar_all_perc_0) + b_pillar_all_perc_0; + } + + /* : valve_space_foot_L(1) = 0; */ + rty_valve_space_foot_L[0] = 0.0; + + /* : valve_space_foot_L(11) = foot_100; */ + rty_valve_space_foot_L[10] = rtu_valve_space[4]; + + /* : b_pillar_100 = double(valve_space(4)); */ + /* : g_aucVALVE_PERC_R_BIPILLAR_with0 = double([0, g_aucVALVE_PERC_R_BIPILLAR]) * 0.01; */ + /* : b_pillar_all_perc = g_aucVALVE_PERC_R_BIPILLAR_with0 * b_pillar_100; */ + rtu_valve_space_0 = rtu_valve_space[3]; + + /* : valve_space_b_pillar_R = zeros(1, 11); */ + for (i = 0; i < 11; i++) { + b_pillar_all_perc[i] = g_aucVALVE_PERC_R_BIPILLAR_with0_tmp[i] * (double) + rtu_valve_space_0; + rty_valve_space_b_pillar_R[i] = 0.0; + } + + /* : for i = 1:10 */ + for (i = 0; i < 10; i++) { + /* : valve_space_b_pillar_R(i) = b_pillar_all_perc(i+1) + ((g_aucVALVE_PERC_R_BIPILLAR_with0(i+1) - valves(4)) / (g_aucVALVE_PERC_R_BIPILLAR_with0(i+1) - g_aucVALVE_PERC_R_BIPILLAR_with0(i))) * (b_pillar_all_perc(i) - b_pillar_all_perc(i+1)); */ + b_pillar_all_perc_0 = b_pillar_all_perc[i + 1]; + g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_2 = + g_aucVALVE_PERC_R_BIPILLAR_with0_tmp[i + 1]; + rty_valve_space_b_pillar_R[i] = (g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_2 - + rtu_valves[3]) / (g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_2 - + g_aucVALVE_PERC_R_BIPILLAR_with0_tmp[i]) * + (b_pillar_all_perc[i] - b_pillar_all_perc_0) + b_pillar_all_perc_0; + } + + /* : valve_space_b_pillar_R(1) = 0; */ + rty_valve_space_b_pillar_R[0] = 0.0; + + /* : valve_space_b_pillar_R(11) = b_pillar_100; */ + rty_valve_space_b_pillar_R[10] = rtu_valve_space[3]; + + /* : center_100 = double(valve_space(3)); */ + /* : g_aucVALVE_PERC_R_CENT_VENT_with0 = double([0, g_aucVALVE_PERC_R_CENT_VENT]) * 0.01; */ + /* : center_all_perc = g_aucVALVE_PERC_R_CENT_VENT_with0 * center_100; */ + rtu_valve_space_0 = rtu_valve_space[2]; + + /* : valve_space_center_R = zeros(1, 11); */ + for (i = 0; i < 11; i++) { + b_pillar_all_perc[i] = g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_0[i] * (double) + rtu_valve_space_0; + rty_valve_space_center_R[i] = 0.0; + } + + /* : for i = 1:10 */ + for (i = 0; i < 10; i++) { + /* : valve_space_center_R(i) = center_all_perc(i+1) + ((g_aucVALVE_PERC_R_CENT_VENT_with0(i+1) - valves(3)) / (g_aucVALVE_PERC_R_CENT_VENT_with0(i+1) - g_aucVALVE_PERC_R_CENT_VENT_with0(i))) * (center_all_perc(i) - center_all_perc(i+1)); */ + b_pillar_all_perc_0 = b_pillar_all_perc[i + 1]; + g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_2 = + g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_0[i + 1]; + rty_valve_space_center_R[i] = (g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_2 - + rtu_valves[2]) / (g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_2 - + g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_0[i]) * + (b_pillar_all_perc[i] - b_pillar_all_perc_0) + b_pillar_all_perc_0; + } + + /* : valve_space_center_R(1) = 0; */ + rty_valve_space_center_R[0] = 0.0; + + /* : valve_space_center_R(11) = center_100; */ + rty_valve_space_center_R[10] = rtu_valve_space[2]; + + /* : foot_100 = double(valve_space(6)); */ + /* : g_aucVALVE_PERC_R_FOOT_with0 = double([0, g_aucVALVE_PERC_R_FOOT]) * 0.01; */ + /* : foot_all_perc = g_aucVALVE_PERC_R_FOOT_with0 * foot_100; */ + rtu_valve_space_0 = rtu_valve_space[5]; + + /* : valve_space_foot_R = zeros(1, 11); */ + for (i = 0; i < 11; i++) { + b_pillar_all_perc[i] = g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_1[i] * (double) + rtu_valve_space_0; + rty_valve_space_foot_R[i] = 0.0; + } + + /* : for i = 1:10 */ + for (i = 0; i < 10; i++) { + /* : valve_space_foot_R(i) = foot_all_perc(i+1) + ((g_aucVALVE_PERC_R_FOOT_with0(i+1) - valves(6)) / (g_aucVALVE_PERC_R_FOOT_with0(i+1) - g_aucVALVE_PERC_R_FOOT_with0(i))) * (foot_all_perc(i) - foot_all_perc(i+1)); */ + b_pillar_all_perc_0 = b_pillar_all_perc[i + 1]; + g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_2 = + g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_1[i + 1]; + rty_valve_space_foot_R[i] = (g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_2 - + rtu_valves[5]) / (g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_2 - + g_aucVALVE_PERC_R_BIPILLAR_with0_tmp_1[i]) * + (b_pillar_all_perc[i] - b_pillar_all_perc_0) + b_pillar_all_perc_0; + } + + /* : valve_space_foot_R(1) = 0; */ + rty_valve_space_foot_R[0] = 0.0; + + /* : valve_space_foot_R(11) = foot_100; */ + rty_valve_space_foot_R[10] = rtu_valve_space[5]; +} + +/* + * Output and update for atomic system: + * '/MATLAB Function' + * '/MATLAB Function' + */ +void MATLABFunction_j(const double rtu_valves[6], double + rtu_valve_space_b_pillar_L, double + rtu_valve_space_center_L, double rtu_valve_space_foot_L, + double rtu_valve_space_b_pillar_R, double + rtu_valve_space_center_R, double rtu_valve_space_foot_R, + double *rty_area_L, double *rty_area_R) +{ + /* : area_L = valves(1) * valve_space_b_pillar_L + valves(2) * valve_space_center_L + valves(5) * valve_space_foot_L; */ + *rty_area_L = (rtu_valves[0] * rtu_valve_space_b_pillar_L + rtu_valves[1] * + rtu_valve_space_center_L) + rtu_valves[4] * + rtu_valve_space_foot_L; + + /* : area_R = valves(3) * valve_space_center_R + valves(4) * valve_space_b_pillar_R + valves(6) * valve_space_foot_R; */ + *rty_area_R = (rtu_valves[2] * rtu_valve_space_center_R + rtu_valves[3] * + rtu_valve_space_b_pillar_R) + rtu_valves[5] * + rtu_valve_space_foot_R; +} + +/* + * Output and update for atomic system: + * '/MATLAB Function1' + * '/MATLAB Function1' + */ +void MATLABFunction1_b(double rty_y[6]) +{ + int32_t k; + + /* : y = ceil(round(u) / 10) * 10; */ + for (k = 0; k < 6; k++) { + rty_y[k] = ceil(rt_roundd(rty_y[k]) / 10.0) * 10.0; + } +} + +/* + * Output and update for atomic system: + * '/MATLAB Function2' + * '/MATLAB Function5' + * '/MATLAB Function2' + * '/MATLAB Function5' */ void MATLABFunction2(double rty_y[11]) { @@ -9144,8 +10006,10 @@ void MATLABFunction2(double rty_y[11]) /* * Output and update for atomic system: - * '/MATLAB Function3' - * '/MATLAB Function6' + * '/MATLAB Function3' + * '/MATLAB Function6' + * '/MATLAB Function3' + * '/MATLAB Function6' */ void MATLABFunction3(double rty_y[11]) { @@ -9160,8 +10024,10 @@ void MATLABFunction3(double rty_y[11]) /* * Output and update for atomic system: - * '/MATLAB Function4' - * '/MATLAB Function7' + * '/MATLAB Function4' + * '/MATLAB Function7' + * '/MATLAB Function4' + * '/MATLAB Function7' */ void MATLABFunction4(double rty_y[11]) { @@ -9176,8 +10042,523 @@ void MATLABFunction4(double rty_y[11]) /* * Output and update for atomic system: - * '/valves_rear' - * '/valves_rear1' + * '/AF умножили на коэфф' + * '/AF умножили на коэфф' + */ +void AF(double rtu_AF_L, double rtu_AF_R, double *rty_AF_left, double + *rty_AF_right) +{ + /* : if AF_L > AF_R */ + /* : PWM_ratio = 1 - ((7 - AF_coef)/(7 - 1)*(1 - 1)); */ + /* : AF_left = PWM_ratio * AF_L; */ + *rty_AF_left = rtu_AF_L; + + /* : AF_right = PWM_ratio * AF_R; */ + *rty_AF_right = rtu_AF_R; +} + +/* + * Output and update for atomic system: + * '/площадь сечения заслонок' + * '/площадь сечения заслонок' + * '/площадь сечения заслонок' + */ +void u_h4(uint16_t rty_valve_space[6]) +{ + uint32_t tmp; + uint32_t tmp_0; + uint32_t tmp_1; + + /* : valve_space = [g_ausVALVE_SPACE(4), g_ausVALVE_SPACE(5), g_ausVALVE_SPACE(5), g_ausVALVE_SPACE(4), g_ausVALVE_SPACE(6), g_ausVALVE_SPACE(6)] * 10; */ + tmp_1 = g_ausVALVE_SPACE[3] * 10U; + tmp_0 = tmp_1; + if (tmp_1 > 65535U) { + tmp_0 = 65535U; + } + + rty_valve_space[0] = (uint16_t)tmp_0; + tmp_0 = g_ausVALVE_SPACE[4] * 10U; + tmp = tmp_0; + if (tmp_0 > 65535U) { + tmp = 65535U; + tmp_0 = 65535U; + } + + rty_valve_space[1] = (uint16_t)tmp; + rty_valve_space[2] = (uint16_t)tmp_0; + if (tmp_1 > 65535U) { + tmp_1 = 65535U; + } + + rty_valve_space[3] = (uint16_t)tmp_1; + tmp_1 = g_ausVALVE_SPACE[5] * 10U; + tmp_0 = tmp_1; + if (tmp_1 > 65535U) { + tmp_0 = 65535U; + tmp_1 = 65535U; + } + + rty_valve_space[4] = (uint16_t)tmp_0; + rty_valve_space[5] = (uint16_t)tmp_1; +} + +/* + * Output and update for atomic system: + * '/пункт 21-23' + * '/пункт 21-23' + */ +void u123(double rty_valves_with_DRS[6], uint8_t rtu_DRS_side_L, uint8_t + rtu_DRS_side_R, uint8_t rtu_DRS_center_L, uint8_t rtu_DRS_center_R, + uint8_t rtu_mode_left, uint8_t rtu_mode_right) +{ + int32_t index_start_L; + int32_t param_index_L; + uint8_t center_percent_L; + uint8_t center_percent_R; + uint8_t side_percent_L; + uint8_t side_percent_R; + + /* : valves_with_DRS = valves; */ + /* : if (mode_left == 120) */ + if (rtu_mode_left == 120) { + /* : param_index_L = 1; */ + param_index_L = 0; + } else { + /* : else */ + /* : param_index_L = 2; */ + param_index_L = 1; + } + + /* : index_start_L = (param_index_L - 1) * 3 + 1; */ + index_start_L = param_index_L * 3 + 4; + + /* : if DRS_side_L == 0 */ + if (rtu_DRS_side_L == 0) { + /* : side_percent_L = uint8(0); */ + side_percent_L = 0U; + } else { + /* : else */ + /* : side_percent_L = g_aucREAR_SIDE_DRS_PERCENT_VALVE(index_start_L + 3 - DRS_side_L); */ + param_index_L = index_start_L - rtu_DRS_side_L; + if (param_index_L < 0) { + param_index_L = 0; + } + + side_percent_L = g_aucREAR_SIDE_DRS_PERCENT_VALVE[param_index_L - 1]; + } + + /* : if DRS_center_L == 0 */ + if (rtu_DRS_center_L == 0) { + /* : center_percent_L = uint8(0); */ + center_percent_L = 0U; + } else { + /* : else */ + /* : center_percent_L = g_aucREAR_CENT_DRS_PERCENT_VALVE(index_start_L + 3 - DRS_center_L); */ + param_index_L = index_start_L - rtu_DRS_center_L; + if (param_index_L < 0) { + param_index_L = 0; + } + + center_percent_L = g_aucREAR_CENT_DRS_PERCENT_VALVE[param_index_L - 1]; + } + + /* : if (mode_right == 120) */ + if (rtu_mode_right == 120) { + /* : param_index_R = 1; */ + param_index_L = 0; + } else { + /* : else */ + /* : param_index_R = 2; */ + param_index_L = 1; + } + + /* : index_start_R = (param_index_R - 1) * 3 + 1; */ + index_start_L = param_index_L * 3 + 4; + + /* : if DRS_side_R == 0 */ + if (rtu_DRS_side_R == 0) { + /* : side_percent_R = uint8(0); */ + side_percent_R = 0U; + } else { + /* : else */ + /* : side_percent_R = g_aucREAR_SIDE_DRS_PERCENT_VALVE(index_start_R + 3 - DRS_side_R); */ + param_index_L = index_start_L - rtu_DRS_side_R; + if (param_index_L < 0) { + param_index_L = 0; + } + + side_percent_R = g_aucREAR_SIDE_DRS_PERCENT_VALVE[param_index_L - 1]; + } + + /* : if DRS_center_R == 0 */ + if (rtu_DRS_center_R == 0) { + /* : center_percent_R = uint8(0); */ + center_percent_R = 0U; + } else { + /* : else */ + /* : center_percent_R = g_aucREAR_CENT_DRS_PERCENT_VALVE(index_start_R + 3 - DRS_center_R); */ + param_index_L = index_start_L - rtu_DRS_center_R; + if (param_index_L < 0) { + param_index_L = 0; + } + + center_percent_R = g_aucREAR_CENT_DRS_PERCENT_VALVE[param_index_L - 1]; + } + + /* : valves_with_DRS(1) = valves_with_DRS(1) * double(side_percent_L) * 0.01; */ + rty_valves_with_DRS[0] = rty_valves_with_DRS[0] * (double)side_percent_L * + 0.01; + + /* : valves_with_DRS(2) = valves_with_DRS(2) * double(center_percent_L) * 0.01; */ + rty_valves_with_DRS[1] = rty_valves_with_DRS[1] * (double)center_percent_L * + 0.01; + + /* : valves_with_DRS(3) = valves_with_DRS(3) * double(center_percent_R) * 0.01; */ + rty_valves_with_DRS[2] = rty_valves_with_DRS[2] * (double)center_percent_R * + 0.01; + + /* : valves_with_DRS(4) = valves_with_DRS(4) * double(side_percent_R) * 0.01; */ + rty_valves_with_DRS[3] = rty_valves_with_DRS[3] * (double)side_percent_R * + 0.01; +} + +/* + * Output and update for atomic system: + * '/пункт 24' + * '/пункт 24 (DRS for AF)' + */ +void u4(uint16_t rtu_AF_L, uint16_t rtu_AF_R, uint8_t rtu_DRS_side_L, uint8_t + rtu_DRS_side_R, uint8_t rtu_DRS_center_L, uint8_t rtu_DRS_center_R, + uint8_t rtu_mode_left, uint8_t rtu_mode_right, double *rty_AF_with_DRS_L, + double *rty_AF_with_DRS_R) +{ + int32_t index_start_L; + int32_t param_index_L; + uint8_t center_percent_L; + uint8_t center_percent_R; + uint8_t side_percent_L; + uint8_t side_percent_R; + + /* : if (mode_left == 120) */ + if (rtu_mode_left == 120) { + /* : param_index_L = 1; */ + param_index_L = 0; + } else { + /* : else */ + /* : param_index_L = 2; */ + param_index_L = 1; + } + + /* : index_start_L = (param_index_L - 1) * 3 + 1; */ + index_start_L = param_index_L * 3 + 4; + + /* : if DRS_side_L == 0 */ + if (rtu_DRS_side_L == 0) { + /* : side_percent_L = uint8(0); */ + side_percent_L = 0U; + } else { + /* : else */ + /* : side_percent_L = g_aucREAR_SIDE_DRS_PERCENT_AF(index_start_L + 3 - DRS_side_L); */ + param_index_L = index_start_L - rtu_DRS_side_L; + if (param_index_L < 0) { + param_index_L = 0; + } + + side_percent_L = g_aucREAR_SIDE_DRS_PERCENT_AF[param_index_L - 1]; + } + + /* : if DRS_center_L == 0 */ + if (rtu_DRS_center_L == 0) { + /* : center_percent_L = uint8(0); */ + center_percent_L = 0U; + } else { + /* : else */ + /* : center_percent_L = g_aucREAR_CENT_DRS_PERCENT_AF(index_start_L + 3 - DRS_center_L); */ + param_index_L = index_start_L - rtu_DRS_center_L; + if (param_index_L < 0) { + param_index_L = 0; + } + + center_percent_L = g_aucREAR_CENT_DRS_PERCENT_AF[param_index_L - 1]; + } + + /* : if (mode_right == 120) */ + if (rtu_mode_right == 120) { + /* : param_index_R = 1; */ + param_index_L = 0; + } else { + /* : else */ + /* : param_index_R = 2; */ + param_index_L = 1; + } + + /* : index_start_R = (param_index_R - 1) * 3 + 1; */ + index_start_L = param_index_L * 3 + 4; + + /* : if DRS_side_R == 0 */ + if (rtu_DRS_side_R == 0) { + /* : side_percent_R = uint8(0); */ + side_percent_R = 0U; + } else { + /* : else */ + /* : side_percent_R = g_aucREAR_SIDE_DRS_PERCENT_AF(index_start_R + 3 - DRS_side_R); */ + param_index_L = index_start_L - rtu_DRS_side_R; + if (param_index_L < 0) { + param_index_L = 0; + } + + side_percent_R = g_aucREAR_SIDE_DRS_PERCENT_AF[param_index_L - 1]; + } + + /* : if DRS_center_R == 0 */ + if (rtu_DRS_center_R == 0) { + /* : center_percent_R = uint8(0); */ + center_percent_R = 0U; + } else { + /* : else */ + /* : center_percent_R = g_aucREAR_CENT_DRS_PERCENT_AF(index_start_R + 3 - DRS_center_R); */ + param_index_L = index_start_L - rtu_DRS_center_R; + if (param_index_L < 0) { + param_index_L = 0; + } + + center_percent_R = g_aucREAR_CENT_DRS_PERCENT_AF[param_index_L - 1]; + } + + /* : AF_with_DRS_L = double(side_percent_L + center_percent_L) / 2 * double(AF_L) * 0.01; */ + param_index_L = (int32_t)((uint32_t)side_percent_L + center_percent_L); + if ((uint32_t)param_index_L > 255U) { + param_index_L = 255; + } + + *rty_AF_with_DRS_L = (double)param_index_L / 2.0 * (double)rtu_AF_L * 0.01; + + /* : AF_with_DRS_R = double(side_percent_R + center_percent_R) / 2 * double(AF_R) * 0.01; */ + param_index_L = (int32_t)((uint32_t)side_percent_R + center_percent_R); + if ((uint32_t)param_index_L > 255U) { + param_index_L = 255; + } + + *rty_AF_with_DRS_R = (double)param_index_L / 2.0 * (double)rtu_AF_R * 0.01; +} + +/* + * Output and update for atomic system: + * '/пункт 25' + * '/пункт 25' + * '/пункт 25' + */ +void u5(const double rtu_valves[6], double rtu_opening_factor_L, double + rtu_opening_factor_R, double rty_valves_out[6]) +{ + int32_t i; + for (i = 0; i < 6; i++) { + rty_valves_out[i] = rtu_valves[i]; + } + + /* : valves(2) = max(valves(2), opening_factor_L); */ + rty_valves_out[1] = fmax(rtu_valves[1], rtu_opening_factor_L); + + /* : valves(3) = max(valves(3), opening_factor_R); */ + rty_valves_out[2] = fmax(rtu_valves[2], rtu_opening_factor_R); + + /* : valves_out = valves; */ +} + +/* + * Output and update for atomic system: + * '/пункты 18-20' + * '/пункты 18-20' + * '/пункты 18-20' + */ +void u820(double rtu_coef_17_L, double rtu_coef_17_R, double rtu_coef_15_L, + double rtu_coef_15_R, double rty_vector[6]) +{ + double tmp; + double tmp_0; + + /* : vector = [coef_17_L * coef_15_L, coef_17_L * coef_15_L, coef_17_R * coef_15_R, coef_17_R * coef_15_R, coef_17_L * coef_15_L, coef_17_R * coef_15_R]; */ + tmp = rtu_coef_17_L * rtu_coef_15_L; + rty_vector[0] = tmp; + rty_vector[1] = tmp; + tmp_0 = rtu_coef_17_R * rtu_coef_15_R; + rty_vector[2] = tmp_0; + rty_vector[3] = tmp_0; + rty_vector[4] = tmp; + rty_vector[5] = tmp_0; +} + +/* + * Output and update for atomic system: + * '/таблица D184-E190 (Step 7 Minimum damper opening factor)' + * '/таблица D184-E190 (Step 7 Minimum damper opening factor)' + */ +void D184E190Step7Minimumdamperopeningfactor(uint16_t rtu_AF_L, uint16_t + rtu_AF_R, double *rty_opening_factor_L, double *rty_opening_factor_R) +{ + double valve_pos_min_center_with_0[8]; + double min_damper_opening_factor_L[7]; + double min_damper_opening_factor_R[7]; + double min_damper_opening_factor_L_tmp; + double min_damper_opening_factor_L_tmp_0; + double valve_pos_min_center_with_0_0; + int32_t i; + uint8_t b; + static const uint8_t b_0[8] = { 0U, 20U, 40U, 80U, 100U, 120U, 140U, 160U }; + + /* : AF_vector = [0, 20, 40, 80, 100, 120, 140, 160]; */ + /* : valve_pos_min_center_with_0 = double([0, g_aucREAR_CEN_MIN_VALUE_BY_DRS_ZERO]) * 0.01; */ + valve_pos_min_center_with_0[0] = 0.0; + + /* : min_damper_opening_factor_L = zeros(1, 7); */ + /* : for i = 1:7 */ + /* : min_damper_opening_factor_R = zeros(1, 7); */ + /* : for i = 1:7 */ + for (i = 0; i < 7; i++) { + valve_pos_min_center_with_0_0 = (double) + g_aucREAR_CEN_MIN_VALUE_BY_DRS_ZERO[i] * 0.01; + valve_pos_min_center_with_0[i + 1] = valve_pos_min_center_with_0_0; + + /* : min_damper_opening_factor_L(i) = valve_pos_min_center_with_0(i+1) + ((AF_vector(i+1) - double(AF_L)) / (AF_vector(i+1) - AF_vector(i))) * (valve_pos_min_center_with_0(i) - valve_pos_min_center_with_0(i+1)); */ + b = b_0[i + 1]; + min_damper_opening_factor_L_tmp = b - b_0[i]; + min_damper_opening_factor_L_tmp_0 = valve_pos_min_center_with_0[i] - + valve_pos_min_center_with_0_0; + min_damper_opening_factor_L[i] = (double)(b - rtu_AF_L) / + min_damper_opening_factor_L_tmp * min_damper_opening_factor_L_tmp_0 + + valve_pos_min_center_with_0_0; + + /* : min_damper_opening_factor_R(i) = valve_pos_min_center_with_0(i+1) + ((AF_vector(i+1) - double(AF_R)) / (AF_vector(i+1) - AF_vector(i))) * (valve_pos_min_center_with_0(i) - valve_pos_min_center_with_0(i+1)); */ + min_damper_opening_factor_R[i] = (double)(b - rtu_AF_R) / + min_damper_opening_factor_L_tmp * min_damper_opening_factor_L_tmp_0 + + valve_pos_min_center_with_0_0; + } + + /* : if AF_L == 0 */ + if (rtu_AF_L == 0) { + /* : opening_factor_L = 0; */ + *rty_opening_factor_L = 0.0; + } else if (rtu_AF_L <= 20) { + /* : elseif AF_L <= AF_vector(2) */ + /* : opening_factor_L = min_damper_opening_factor_L(2); */ + *rty_opening_factor_L = min_damper_opening_factor_L[1]; + } else if (rtu_AF_L <= 40) { + /* : elseif AF_L <= AF_vector(3) */ + /* : opening_factor_L = min_damper_opening_factor_L(3); */ + *rty_opening_factor_L = min_damper_opening_factor_L[2]; + } else if (rtu_AF_L <= 80) { + /* : elseif AF_L <= AF_vector(4) */ + /* : opening_factor_L = min_damper_opening_factor_L(4); */ + *rty_opening_factor_L = min_damper_opening_factor_L[3]; + } else if (rtu_AF_L <= 100) { + /* : elseif AF_L <= AF_vector(5) */ + /* : opening_factor_L = min_damper_opening_factor_L(5); */ + *rty_opening_factor_L = min_damper_opening_factor_L[4]; + } else if (rtu_AF_L <= 120) { + /* : elseif AF_L <= AF_vector(6) */ + /* : opening_factor_L = min_damper_opening_factor_L(6); */ + *rty_opening_factor_L = min_damper_opening_factor_L[5]; + } else if (rtu_AF_L <= 140) { + /* : elseif AF_L <= AF_vector(7) */ + /* : opening_factor_L = min_damper_opening_factor_L(7); */ + *rty_opening_factor_L = min_damper_opening_factor_L[6]; + } else { + /* : else */ + /* : opening_factor_L = min_damper_opening_factor_L(7); */ + *rty_opening_factor_L = min_damper_opening_factor_L[6]; + } + + /* : if AF_R == 0 */ + if (rtu_AF_R == 0) { + /* : opening_factor_R = 0; */ + *rty_opening_factor_R = 0.0; + } else if (rtu_AF_R <= 20) { + /* : elseif AF_R <= AF_vector(2) */ + /* : opening_factor_R = min_damper_opening_factor_R(2); */ + *rty_opening_factor_R = min_damper_opening_factor_R[1]; + } else if (rtu_AF_R <= 40) { + /* : elseif AF_R <= AF_vector(3) */ + /* : opening_factor_R = min_damper_opening_factor_R(3); */ + *rty_opening_factor_R = min_damper_opening_factor_R[2]; + } else if (rtu_AF_R <= 80) { + /* : elseif AF_R <= AF_vector(4) */ + /* : opening_factor_R = min_damper_opening_factor_R(4); */ + *rty_opening_factor_R = min_damper_opening_factor_R[3]; + } else if (rtu_AF_R <= 100) { + /* : elseif AF_R <= AF_vector(5) */ + /* : opening_factor_R = min_damper_opening_factor_R(5); */ + *rty_opening_factor_R = min_damper_opening_factor_R[4]; + } else if (rtu_AF_R <= 120) { + /* : elseif AF_R <= AF_vector(6) */ + /* : opening_factor_R = min_damper_opening_factor_R(6); */ + *rty_opening_factor_R = min_damper_opening_factor_R[5]; + } else if (rtu_AF_R <= 140) { + /* : elseif AF_R <= AF_vector(7) */ + /* : opening_factor_R = min_damper_opening_factor_R(7); */ + *rty_opening_factor_R = min_damper_opening_factor_R[6]; + } else { + /* : else */ + /* : opening_factor_R = min_damper_opening_factor_R(7); */ + *rty_opening_factor_R = min_damper_opening_factor_R[6]; + } +} + +/* + * Output and update for atomic system: + * '/valves_front' + * '/valves_front1' + */ +void valves_front(uint8_t rtu_MODE, uint16_t rty_get_valves[9]) +{ + int32_t i; + int32_t x_0; + uint16_t tmp[99]; + uint8_t x; + + /* : modes_array = [ */ + /* : g_ausFLOW_FR_VE2VALVE; */ + /* : g_ausFLOW_FR_BIVALVE; */ + /* : g_ausFLOW_FR_BI2VALVE; */ + /* : g_ausFLOW_FR_AF2VALVE; */ + /* : g_ausFLOW_FR_AF2VALVE_SUMMER; */ + /* : g_ausFLOW_FR_FO2VALVE; */ + /* : g_ausFLOW_FR_FD2VALVE; */ + /* : g_ausFLOW_FR_DE2VALVE; */ + /* : g_ausFLOW_FR_TR2VALVE; */ + /* : g_ausFLOW_FR_HI2VALVE; */ + /* : g_ausFLOW_FR_BIVALVE_MANUAL */ + /* : ]; */ + /* : index = idivide(MODE, 10); */ + x = (uint8_t)trunc((double)rtu_MODE / 10.0); + + /* : index = min(max(index, 1), numel(modes_array)); */ + /* : get_valves = modes_array(index, :); */ + if (x < 1) { + x_0 = 1; + } else { + x_0 = x; + } + + for (i = 0; i < 9; i++) { + tmp[11 * i] = g_ausFLOW_FR_VE2VALVE[i]; + tmp[11 * i + 1] = g_ausFLOW_FR_BIVALVE[i]; + tmp[11 * i + 2] = g_ausFLOW_FR_BI2VALVE[i]; + tmp[11 * i + 3] = g_ausFLOW_FR_AF2VALVE[i]; + tmp[11 * i + 4] = g_ausFLOW_FR_AF2VALVE_SUMMER[i]; + tmp[11 * i + 5] = g_ausFLOW_FR_FO2VALVE[i]; + tmp[11 * i + 6] = g_ausFLOW_FR_FD2VALVE[i]; + tmp[11 * i + 7] = g_ausFLOW_FR_DE2VALVE[i]; + tmp[11 * i + 8] = g_ausFLOW_FR_TR2VALVE[i]; + tmp[11 * i + 9] = g_ausFLOW_FR_HI2VALVE[i]; + tmp[11 * i + 10] = g_ausFLOW_FR_BIVALVE_MANUAL[i]; + rty_get_valves[i] = tmp[(11 * i + x_0) - 1]; + } +} + +/* + * Output and update for atomic system: + * '/valves_rear' + * '/valves_rear1' */ void valves_rear(uint8_t rtu_MODE, uint16_t rty_get_valves[6]) { @@ -9232,56 +10613,56 @@ void valves_rear(uint8_t rtu_MODE, uint16_t rty_get_valves[6]) /* * Output and update for action system: - * '/If Action Subsystem2' - * '/If Action Subsystem5' + * '/If Action Subsystem2' + * '/If Action Subsystem5' */ void IfActionSubsystem2(int16_t *rty_Out1) { - /* SignalConversion generated from: '/Out1' incorporates: - * Constant: '/Constant' + /* SignalConversion generated from: '/Out1' incorporates: + * Constant: '/Constant' */ *rty_Out1 = 0; } /* * 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(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) +void MATLABFunction_g_Init(DW_MATLABFunction_e *localDW) { localDW->t_start_not_empty = false; localDW->cond_prev = 0.0; @@ -9289,12 +10670,12 @@ 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) +void MATLABFunction_h(double rtu_cond, uint32_t rtu_t_now, uint32_t *rty_dt, + DW_MATLABFunction_e *localDW) { /* : dt = uint32(0); */ /* : if isempty(t_start) */ @@ -9338,9 +10719,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(int8_t *rty_Output, uint8_t *rtd_CCU_ActuatorErrF_Stat_private, uint8_t rtd_COM_private[9], uint8_t @@ -9351,32 +10732,32 @@ void IfActionSubsystem1(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) { @@ -9391,121 +10772,44 @@ void IfActionSubsystem1(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: - * '/choose sensor FLL' - * '/choose sensor FRightLower' - */ -void choosesensorFLL(int16_t rtu_sensor_duct_foot1, int16_t - rtu_sensor_duct_foot2, bool rtu_duct_error_foot1, bool - rtu_duct_error_foot2, uint8_t rtu_algorithm_configuration, - uint16_t rtu_foot1_actuator_pos, uint16_t - rtu_foot2_actuator_pos, int16_t *rty_sensor, double - *rty_duct_select_index_dbg) -{ - /* : LIMOUSINE_ALGO = 1; */ - /* : if duct_error_foot1 || duct_error_foot2 */ - if (rtu_duct_error_foot1 || rtu_duct_error_foot2) { - /* : if duct_error_foot1 */ - if (rtu_duct_error_foot1) { - /* : sensor = sensor_duct_foot2; */ - *rty_sensor = rtu_sensor_duct_foot2; - - /* : duct_select_index_dbg = 1; */ - *rty_duct_select_index_dbg = 1.0; - } else { - /* : else */ - /* : sensor = sensor_duct_foot1; */ - *rty_sensor = rtu_sensor_duct_foot1; - - /* : duct_select_index_dbg = 0; */ - *rty_duct_select_index_dbg = 0.0; - } - - /* : else */ - /* : if algorithm_configuration == LIMOUSINE_ALGO */ - } else if (rtu_algorithm_configuration == 1) { - /* : if foot2_actuator_pos >= 30 */ - if (rtu_foot2_actuator_pos >= 30) { - /* : sensor = sensor_duct_foot2; */ - *rty_sensor = rtu_sensor_duct_foot2; - - /* : duct_select_index_dbg = 1; */ - *rty_duct_select_index_dbg = 1.0; - } else { - /* : else */ - /* : sensor = sensor_duct_foot1; */ - *rty_sensor = rtu_sensor_duct_foot1; - - /* : duct_select_index_dbg = 0; */ - *rty_duct_select_index_dbg = 0.0; - } - - /* : else */ - /* : if foot1_actuator_pos >= 20 */ - } else if (rtu_foot1_actuator_pos >= 20) { - /* : sensor = sensor_duct_foot1; */ - *rty_sensor = rtu_sensor_duct_foot1; - - /* : duct_select_index_dbg = 0; */ - *rty_duct_select_index_dbg = 0.0; - - /* : else */ - /* : if foot2_actuator_pos >= 30 */ - } else if (rtu_foot2_actuator_pos >= 30) { - /* : sensor = sensor_duct_foot2; */ - *rty_sensor = rtu_sensor_duct_foot2; - - /* : duct_select_index_dbg = 1; */ - *rty_duct_select_index_dbg = 1.0; - } else { - /* : else */ - /* : sensor = sensor_duct_foot1; */ - *rty_sensor = rtu_sensor_duct_foot1; - - /* : duct_select_index_dbg = 0; */ - *rty_duct_select_index_dbg = 0.0; - } -} - /* * System initialize for atomic system: - * '/MATLAB Function' - * '/MATLAB Function1' - * '/MATLAB Function2' - * '/MATLAB Function3' - * '/MATLAB Function4' - * '/MATLAB Function5' + * '/MATLAB Function' + * '/MATLAB Function1' + * '/MATLAB Function2' + * '/MATLAB Function3' + * '/MATLAB Function4' + * '/MATLAB Function5' */ void MATLABFunction_k_Init(DW_MATLABFunction_n *localDW) { @@ -9521,12 +10825,12 @@ void MATLABFunction_k_Init(DW_MATLABFunction_n *localDW) /* * Output and update for atomic system: - * '/MATLAB Function' - * '/MATLAB Function1' - * '/MATLAB Function2' - * '/MATLAB Function3' - * '/MATLAB Function4' - * '/MATLAB Function5' + * '/MATLAB Function' + * '/MATLAB Function1' + * '/MATLAB Function2' + * '/MATLAB Function3' + * '/MATLAB Function4' + * '/MATLAB Function5' */ void MATLABFunction_m(double rtu_setpoint, double rtu_input, double rtu_dt, double rtu_Kp, double rtu_Ki, double rtu_Kd, double @@ -9638,8 +10942,8 @@ void MATLABFunction_m(double rtu_setpoint, double rtu_input, double rtu_dt, /* * System initialize for atomic system: - * '/filter PWM front' - * '/filter PWM front1' + * '/filter PWM front' + * '/filter PWM rear' */ void filterPWMfront_Init(DW_filterPWMfront *localDW) { @@ -9648,8 +10952,8 @@ void filterPWMfront_Init(DW_filterPWMfront *localDW) /* * Output and update for atomic system: - * '/filter PWM front' - * '/filter PWM front1' + * '/filter PWM front' + * '/filter PWM rear' */ void filterPWMfront(uint8_t rtu_PWM_in, uint32_t rtu_dt_ms, uint8_t *rty_PWM_out, DW_filterPWMfront *localDW) @@ -9694,8 +10998,8 @@ void filterPWMfront(uint8_t rtu_PWM_in, uint32_t rtu_dt_ms, uint8_t *rty_PWM_out /* * 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) @@ -9736,8 +11040,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) @@ -9764,8 +11068,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) @@ -9792,8 +11096,8 @@ 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(uint16_t rtu_MODE, uint16_t rty_get_valves[6]) { @@ -9840,68 +11144,8 @@ void valves_rear_left(uint16_t rtu_MODE, uint16_t rty_get_valves[6]) /* * Output and update for atomic system: - * '/Valves for Bi Level' - * '/Valves for Bi Level' - */ -void ValvesforBiLevel(uint16_t rty_out[9]) -{ - int32_t i; - for (i = 0; i < 9; i++) { - rty_out[i] = g_ausFLOW_FR_BIVALVE_MANUAL[i]; - } - - /* : out = g_ausFLOW_FR_BIVALVE_MANUAL; */ -} - -/* - * Output and update for atomic system: - * '/Valves for Foot + Def' - * '/Valves for Foot + Def' - */ -void ValvesforFootDef(uint16_t rty_out[9]) -{ - int32_t i; - for (i = 0; i < 9; i++) { - rty_out[i] = g_ausFLOW_FR_FD2VALVE[i]; - } - - /* : out = g_ausFLOW_FR_FD2VALVE; */ -} - -/* - * Output and update for atomic system: - * '/Valves for Hi_Level' - * '/Valves for Hi_Level' - */ -void ValvesforHi_Level(uint16_t rty_out[9]) -{ - int32_t i; - for (i = 0; i < 9; i++) { - rty_out[i] = g_ausFLOW_FR_HI2VALVE[i]; - } - - /* : out = g_ausFLOW_FR_HI2VALVE; */ -} - -/* - * Output and update for atomic system: - * '/Valves for Tri-Level' - * '/Valves for Tri-Level' - */ -void ValvesforTriLevel(uint16_t rty_out[9]) -{ - int32_t i; - for (i = 0; i < 9; i++) { - rty_out[i] = g_ausFLOW_FR_TR2VALVE[i]; - } - - /* : out = g_ausFLOW_FR_TR2VALVE; */ -} - -/* - * Output and update for atomic system: - * '/AF for Bi Level' - * '/AF for Bi Level' + * '/AF for Bi Level' + * '/AF for Bi Level' */ void AFforBiLevel_i(uint16_t rty_out[6]) { @@ -9915,8 +11159,8 @@ void AFforBiLevel_i(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]) { @@ -9930,8 +11174,8 @@ void valvesforVentmode(uint16_t rty_out[6]) /* * Output and update for atomic system: - * '/MATLAB Function' - * '/MATLAB Function' + * '/MATLAB Function' + * '/MATLAB Function' */ void MATLABFunction_o(bool rtu_is_active, bool rtu_Txv_on, uint8_t *rty_winter_condition_state) @@ -10122,7 +11366,7 @@ static void E_COMP_MANAGER(bool *Enable_Comp_PID, const int16_t *Eva_F_tg, const } /* - * Function for Chart: '/Partial REC' + * Function for Chart: '/Partial REC Summer' * function idx = find_index(delta) */ static double find_index(int16_t delta) @@ -10146,7 +11390,7 @@ static double find_index(int16_t delta) return idx; } -/* Function for MATLAB Function: '/MATLAB Function1' */ +/* Function for MATLAB Function: '/MATLAB Function1' */ static bool isequal(const CmdCAN_FIU_CCU1_Bus varargin_1, const CmdCAN_FIU_CCU1_Bus varargin_2) { @@ -10274,7 +11518,987 @@ static bool isequal(const CmdCAN_FIU_CCU1_Bus varargin_1, const return p; } -/* Function for Chart: '/Synchronization stateflow chart' */ +/* + * Function for MATLAB Function: '/REST_Mode' + * function save_FIU_CCU() + */ +static void save_FIU_CCU(const captured_var_5 *CCU_STAT2_model_in, captured_var * + FIU_ACfrontOFF_Req, captured_var *FIU_ACrearOFF_Req, const captured_var_4 + *CCU_STAT1_model_in, captured_var *FIU_Recirculation_Req, captured_var + *FIU_CCmodeFL_Req, captured_var *FIU_CCautoModeFL_Req, captured_var + *FIU_BlowerSpeedFL_Req, captured_var *FIU_AirDirectionFL_Face_Req, + captured_var *FIU_AirDirectionFL_Foot_Req, captured_var + *FIU_AirDirectionFL_Def_Req, captured_var *FIU_FootTempCorFL_Req, captured_var + *FIU_CCmodeFR_Req, captured_var *FIU_CCautoModeFR_Req, captured_var + *FIU_BlowerSpeedFR_Req, captured_var *FIU_AirDirectionFR_Face_Req, + captured_var *FIU_AirDirectionFR_Foot_Req, captured_var + *FIU_AirDirectionFR_Def_Req, captured_var *FIU_FootTempCorFR_Req, captured_var + *FIU_CCmodeRL_Req, captured_var *FIU_CCautoModeRL_Req, captured_var + *FIU_BlowerSpeedRL_Req, captured_var *FIU_AirDirectionRL_Face_Req, + captured_var *FIU_AirDirectionRL_Foot_Req, captured_var *FIU_FootTempCorRL_Req, + captured_var *FIU_CCmodeRR_Req, captured_var *FIU_CCautoModeRR_Req, + captured_var *FIU_BlowerSpeedRR_Req, captured_var *FIU_AirDirectionRR_Face_Req, + captured_var *FIU_AirDirectionRR_Foot_Req) +{ + int32_t tmp; + + /* : if (CCU_STAT2_model_in.CCU_ACfront_Stat == 0) */ + if (CCU_STAT2_model_in->contents.CCU_ACfront_Stat == 0) { + /* : FIU_ACfrontOFF_Req = uint8(2); */ + FIU_ACfrontOFF_Req->contents = 2U; + } else { + /* : else */ + /* : FIU_ACfrontOFF_Req = uint8(1); */ + FIU_ACfrontOFF_Req->contents = 1U; + } + + /* : if (CCU_STAT2_model_in.CCU_ACrear_Stat == 0) */ + if (CCU_STAT2_model_in->contents.CCU_ACrear_Stat == 0) { + /* : FIU_ACrearOFF_Req = uint8(2); */ + FIU_ACrearOFF_Req->contents = 2U; + } else { + /* : else */ + /* : FIU_ACrearOFF_Req = uint8(1); */ + FIU_ACrearOFF_Req->contents = 1U; + } + + /* : if (CCU_STAT1_model_in.CCU_Recirculation_Stat == 0) */ + switch (CCU_STAT1_model_in->contents.CCU_Recirculation_Stat) { + case 0: + /* : FIU_Recirculation_Req = uint8(2); */ + FIU_Recirculation_Req->contents = 2U; + break; + + case 1: + /* : elseif (CCU_STAT1_model_in.CCU_Recirculation_Stat == 1) */ + /* : FIU_Recirculation_Req = uint8(1); */ + FIU_Recirculation_Req->contents = 1U; + break; + + default: + /* : else */ + /* : FIU_Recirculation_Req = uint8(3); */ + FIU_Recirculation_Req->contents = 3U; + break; + } + + /* : if (CCU_STAT1_model_in.CCU_ModeFL_Stat == 0) */ + if (CCU_STAT1_model_in->contents.CCU_ModeFL_Stat == 0) { + /* : FIU_CCmodeFL_Req = uint8(1); */ + FIU_CCmodeFL_Req->contents = 1U; + } else { + /* : else */ + /* : FIU_CCmodeFL_Req = uint8(2); */ + FIU_CCmodeFL_Req->contents = 2U; + } + + /* : FIU_CCautoModeFL_Req = CCU_STAT1_model_in.CCU_AutoModeFL_Stat; */ + FIU_CCautoModeFL_Req->contents = + CCU_STAT1_model_in->contents.CCU_AutoModeFL_Stat; + + /* : if (CCU_STAT1_model_in.CCU_BlowerSpeedFL_Stat == 0) */ + if (CCU_STAT1_model_in->contents.CCU_BlowerSpeedFL_Stat == 0) { + /* : FIU_BlowerSpeedFL_Req = uint8(8); */ + FIU_BlowerSpeedFL_Req->contents = 8U; + } else { + /* : else */ + /* : FIU_BlowerSpeedFL_Req = CCU_STAT1_model_in.CCU_BlowerSpeedFL_Stat; */ + FIU_BlowerSpeedFL_Req->contents = + CCU_STAT1_model_in->contents.CCU_BlowerSpeedFL_Stat; + } + + /* : if (CCU_STAT1_model_in.CCU_AirDirectionFL_Face_Stat == 0) */ + if (CCU_STAT1_model_in->contents.CCU_AirDirectionFL_Face_Stat == 0) { + /* : FIU_AirDirectionFL_Face_Req = uint8(2); */ + FIU_AirDirectionFL_Face_Req->contents = 2U; + } else { + /* : else */ + /* : FIU_AirDirectionFL_Face_Req = uint8(1); */ + FIU_AirDirectionFL_Face_Req->contents = 1U; + } + + /* : if (CCU_STAT1_model_in.CCU_AirDirectionFL_Foot_Stat == 0) */ + if (CCU_STAT1_model_in->contents.CCU_AirDirectionFL_Foot_Stat == 0) { + /* : FIU_AirDirectionFL_Foot_Req = uint8(2); */ + FIU_AirDirectionFL_Foot_Req->contents = 2U; + } else { + /* : else */ + /* : FIU_AirDirectionFL_Foot_Req = uint8(1); */ + FIU_AirDirectionFL_Foot_Req->contents = 1U; + } + + /* : if (CCU_STAT1_model_in.CCU_AirDirectionFL_Def_Stat == 0) */ + if (CCU_STAT1_model_in->contents.CCU_AirDirectionFL_Def_Stat == 0) { + /* : FIU_AirDirectionFL_Def_Req = uint8(2); */ + FIU_AirDirectionFL_Def_Req->contents = 2U; + } else { + /* : else */ + /* : FIU_AirDirectionFL_Def_Req = uint8(1); */ + FIU_AirDirectionFL_Def_Req->contents = 1U; + } + + /* : FIU_FootTempCorFL_Req = CCU_STAT2_model_in.CCU_FootTempCorFL_Stat + 1; */ + tmp = (int32_t)(CCU_STAT2_model_in->contents.CCU_FootTempCorFL_Stat + 1U); + if (CCU_STAT2_model_in->contents.CCU_FootTempCorFL_Stat + 1U > 255U) { + tmp = 255; + } + + FIU_FootTempCorFL_Req->contents = (uint8_t)tmp; + + /* : if (CCU_STAT1_model_in.CCU_ModeFR_Stat == 0) */ + if (CCU_STAT1_model_in->contents.CCU_ModeFR_Stat == 0) { + /* : FIU_CCmodeFR_Req = uint8(1); */ + FIU_CCmodeFR_Req->contents = 1U; + } else { + /* : else */ + /* : FIU_CCmodeFR_Req = uint8(2); */ + FIU_CCmodeFR_Req->contents = 2U; + } + + /* : FIU_CCautoModeFR_Req = CCU_STAT1_model_in.CCU_AutoModeFR_Stat; */ + FIU_CCautoModeFR_Req->contents = + CCU_STAT1_model_in->contents.CCU_AutoModeFR_Stat; + + /* : if (CCU_STAT1_model_in.CCU_BlowerSpeedFR_Stat == 0) */ + if (CCU_STAT1_model_in->contents.CCU_BlowerSpeedFR_Stat == 0) { + /* : FIU_BlowerSpeedFR_Req = uint8(8); */ + FIU_BlowerSpeedFR_Req->contents = 8U; + } else { + /* : else */ + /* : FIU_BlowerSpeedFR_Req = CCU_STAT1_model_in.CCU_BlowerSpeedFR_Stat; */ + FIU_BlowerSpeedFR_Req->contents = + CCU_STAT1_model_in->contents.CCU_BlowerSpeedFR_Stat; + } + + /* : if (CCU_STAT1_model_in.CCU_AirDirectionFR_Face_Stat == 0) */ + if (CCU_STAT1_model_in->contents.CCU_AirDirectionFR_Face_Stat == 0) { + /* : FIU_AirDirectionFR_Face_Req = uint8(2); */ + FIU_AirDirectionFR_Face_Req->contents = 2U; + } else { + /* : else */ + /* : FIU_AirDirectionFR_Face_Req = uint8(1); */ + FIU_AirDirectionFR_Face_Req->contents = 1U; + } + + /* : if (CCU_STAT1_model_in.CCU_AirDirectionFR_Foot_Stat == 0) */ + if (CCU_STAT1_model_in->contents.CCU_AirDirectionFR_Foot_Stat == 0) { + /* : FIU_AirDirectionFR_Foot_Req = uint8(2); */ + FIU_AirDirectionFR_Foot_Req->contents = 2U; + } else { + /* : else */ + /* : FIU_AirDirectionFR_Foot_Req = uint8(1); */ + FIU_AirDirectionFR_Foot_Req->contents = 1U; + } + + /* : if (CCU_STAT1_model_in.CCU_AirDirectionFR_Def_Stat == 0) */ + if (CCU_STAT1_model_in->contents.CCU_AirDirectionFR_Def_Stat == 0) { + /* : FIU_AirDirectionFR_Def_Req = uint8(2); */ + FIU_AirDirectionFR_Def_Req->contents = 2U; + } else { + /* : else */ + /* : FIU_AirDirectionFR_Def_Req = uint8(1); */ + FIU_AirDirectionFR_Def_Req->contents = 1U; + } + + /* : FIU_FootTempCorFR_Req = CCU_STAT2_model_in.CCU_FootTempCorFR_Stat + 1; */ + /* : if (CCU_STAT1_model_in.CCU_ModeRL_Stat == 0) */ + if (CCU_STAT1_model_in->contents.CCU_ModeRL_Stat == 0) { + /* : FIU_CCmodeRL_Req = uint8(1); */ + FIU_CCmodeRL_Req->contents = 1U; + } else { + /* : else */ + /* : FIU_CCmodeRL_Req = uint8(2); */ + FIU_CCmodeRL_Req->contents = 2U; + } + + /* : FIU_CCautoModeRL_Req = CCU_STAT1_model_in.CCU_AutoModeRL_Stat; */ + FIU_CCautoModeRL_Req->contents = + CCU_STAT1_model_in->contents.CCU_AutoModeRL_Stat; + + /* : if (CCU_STAT1_model_in.CCU_BlowerSpeedRL_Stat == 0) */ + if (CCU_STAT1_model_in->contents.CCU_BlowerSpeedRL_Stat == 0) { + /* : FIU_BlowerSpeedRL_Req = uint8(8); */ + FIU_BlowerSpeedRL_Req->contents = 8U; + } else { + /* : else */ + /* : FIU_BlowerSpeedRL_Req = CCU_STAT1_model_in.CCU_BlowerSpeedRL_Stat; */ + FIU_BlowerSpeedRL_Req->contents = + CCU_STAT1_model_in->contents.CCU_BlowerSpeedRL_Stat; + } + + /* : if (CCU_STAT1_model_in.CCU_AirDirectionRL_Face_Stat == 0) */ + if (CCU_STAT1_model_in->contents.CCU_AirDirectionRL_Face_Stat == 0) { + /* : FIU_AirDirectionRL_Face_Req = uint8(2); */ + FIU_AirDirectionRL_Face_Req->contents = 2U; + } else { + /* : else */ + /* : FIU_AirDirectionRL_Face_Req = uint8(1); */ + FIU_AirDirectionRL_Face_Req->contents = 1U; + } + + /* : if (CCU_STAT1_model_in.CCU_AirDirectionRL_Foot_Stat == 0) */ + if (CCU_STAT1_model_in->contents.CCU_AirDirectionRL_Foot_Stat == 0) { + /* : FIU_AirDirectionRL_Foot_Req = uint8(2); */ + FIU_AirDirectionRL_Foot_Req->contents = 2U; + } else { + /* : else */ + /* : FIU_AirDirectionRL_Foot_Req = uint8(1); */ + FIU_AirDirectionRL_Foot_Req->contents = 1U; + } + + /* : FIU_FootTempCorRL_Req = CCU_STAT2_model_in.CCU_FootTempCorFL_Stat + 1; */ + tmp = (int32_t)(CCU_STAT2_model_in->contents.CCU_FootTempCorFL_Stat + 1U); + if (CCU_STAT2_model_in->contents.CCU_FootTempCorFL_Stat + 1U > 255U) { + tmp = 255; + } + + FIU_FootTempCorRL_Req->contents = (uint8_t)tmp; + + /* : if (CCU_STAT1_model_in.CCU_ModeRR_Stat == 0) */ + if (CCU_STAT1_model_in->contents.CCU_ModeRR_Stat == 0) { + /* : FIU_CCmodeRR_Req = uint8(1); */ + FIU_CCmodeRR_Req->contents = 1U; + } else { + /* : else */ + /* : FIU_CCmodeRR_Req = uint8(2); */ + FIU_CCmodeRR_Req->contents = 2U; + } + + /* : FIU_CCautoModeRR_Req = CCU_STAT1_model_in.CCU_AutoModeRR_Stat; */ + FIU_CCautoModeRR_Req->contents = + CCU_STAT1_model_in->contents.CCU_AutoModeRR_Stat; + + /* : if (CCU_STAT1_model_in.CCU_BlowerSpeedRR_Stat == 0) */ + if (CCU_STAT1_model_in->contents.CCU_BlowerSpeedRR_Stat == 0) { + /* : FIU_BlowerSpeedRR_Req = uint8(8); */ + FIU_BlowerSpeedRR_Req->contents = 8U; + } else { + /* : else */ + /* : FIU_BlowerSpeedRR_Req = CCU_STAT1_model_in.CCU_BlowerSpeedRR_Stat; */ + FIU_BlowerSpeedRR_Req->contents = + CCU_STAT1_model_in->contents.CCU_BlowerSpeedRR_Stat; + } + + /* : if (CCU_STAT1_model_in.CCU_AirDirectionRR_Face_Stat == 0) */ + if (CCU_STAT1_model_in->contents.CCU_AirDirectionRR_Face_Stat == 0) { + /* : FIU_AirDirectionRR_Face_Req = uint8(2); */ + FIU_AirDirectionRR_Face_Req->contents = 2U; + } else { + /* : else */ + /* : FIU_AirDirectionRR_Face_Req = uint8(1); */ + FIU_AirDirectionRR_Face_Req->contents = 1U; + } + + /* : if (CCU_STAT1_model_in.CCU_AirDirectionRR_Foot_Stat == 0) */ + if (CCU_STAT1_model_in->contents.CCU_AirDirectionRR_Foot_Stat == 0) { + /* : FIU_AirDirectionRR_Foot_Req = uint8(2); */ + FIU_AirDirectionRR_Foot_Req->contents = 2U; + } else { + /* : else */ + /* : FIU_AirDirectionRR_Foot_Req = uint8(1); */ + FIU_AirDirectionRR_Foot_Req->contents = 1U; + } + + /* : FIU_FootTempCorFR_Req = CCU_STAT2_model_in.CCU_FootTempCorRR_Stat + 1; */ + tmp = (int32_t)(CCU_STAT2_model_in->contents.CCU_FootTempCorRR_Stat + 1U); + if (CCU_STAT2_model_in->contents.CCU_FootTempCorRR_Stat + 1U > 255U) { + tmp = 255; + } + + FIU_FootTempCorFR_Req->contents = (uint8_t)tmp; +} + +/* + * Function for MATLAB Function: '/REST_Mode' + * function set_FIU_CCU() + */ +static void set_FIU_CCU(const captured_var *active_condition_reg, const + captured_var *CONDITION_1_SUMMER, captured_var_3 *FIU_CCU1_model_out, const + captured_var *b_g_ucRESTS_BLRSTEP, captured_var_2 *FIU_CCU2_model_out, const + captured_var_1 *b_g_aucRESTS_MODE, const captured_var *CONDITION_2_WINTER, + const captured_var *b_g_ucRESTW_BLRSTEP, const captured_var_1 + *b_g_aucRESTW_MODE) +{ + /* : if active_condition_reg == CONDITION_1_SUMMER */ + if (active_condition_reg->contents == CONDITION_1_SUMMER->contents) { + /* : FIU_CCU1_model_out.FIU_BlowerSpeedFL_Req = uint8(g_ucRESTS_BLRSTEP); */ + FIU_CCU1_model_out->contents.FIU_BlowerSpeedFL_Req = + b_g_ucRESTS_BLRSTEP->contents; + + /* : FIU_CCU1_model_out.FIU_BlowerSpeedFR_Req = uint8(g_ucRESTS_BLRSTEP); */ + FIU_CCU1_model_out->contents.FIU_BlowerSpeedFR_Req = + b_g_ucRESTS_BLRSTEP->contents; + + /* : FIU_CCU2_model_out.FIU_BlowerSpeedRL_Req = uint8(g_ucRESTS_BLRSTEP); */ + FIU_CCU2_model_out->contents.FIU_BlowerSpeedRL_Req = + b_g_ucRESTS_BLRSTEP->contents; + + /* : FIU_CCU2_model_out.FIU_BlowerSpeedRR_Req = uint8(g_ucRESTS_BLRSTEP); */ + FIU_CCU2_model_out->contents.FIU_BlowerSpeedRR_Req = + b_g_ucRESTS_BLRSTEP->contents; + + /* : if g_aucRESTS_MODE(1) == 10 */ + if (b_g_aucRESTS_MODE->contents[0] == 10) { + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Def_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Def_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Face_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Face_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Foot_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Foot_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Def_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Def_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Face_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Face_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Foot_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Foot_Req = 2U; + } else if ((b_g_aucRESTS_MODE->contents[0] == 20) || + (b_g_aucRESTS_MODE->contents[0] == 30) || + (b_g_aucRESTS_MODE->contents[0] == 110)) { + /* : elseif g_aucRESTS_MODE(1) == 20 || g_aucRESTS_MODE(1) == 30 || g_aucRESTS_MODE(1) == 110 */ + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Def_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Def_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Face_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Face_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Foot_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Foot_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Def_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Def_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Face_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Face_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Foot_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Foot_Req = 1U; + } else if ((b_g_aucRESTS_MODE->contents[0] == 40) || + (b_g_aucRESTS_MODE->contents[0] == 50) || + (b_g_aucRESTS_MODE->contents[0] == 60)) { + /* : elseif g_aucRESTS_MODE(1) == 40 || g_aucRESTS_MODE(1) == 50 || g_aucRESTS_MODE(1) == 60 */ + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Def_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Def_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Face_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Face_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Foot_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Foot_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Def_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Def_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Face_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Face_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Foot_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Foot_Req = 1U; + } else { + switch (b_g_aucRESTS_MODE->contents[0]) { + case 70: + /* : elseif g_aucRESTS_MODE(1) == 70 */ + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Def_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Def_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Face_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Face_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Foot_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Foot_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Def_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Def_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Face_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Face_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Foot_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Foot_Req = 1U; + break; + + case 80: + /* : elseif g_aucRESTS_MODE(1) == 80 */ + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Def_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Def_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Face_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Face_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Foot_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Foot_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Def_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Def_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Face_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Face_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Foot_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Foot_Req = 2U; + break; + + case 90: + /* : elseif g_aucRESTS_MODE(1) == 90 */ + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Def_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Def_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Face_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Face_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Foot_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Foot_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Def_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Def_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Face_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Face_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Foot_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Foot_Req = 1U; + break; + + case 100: + /* : elseif g_aucRESTS_MODE(1) == 100 */ + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Def_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Def_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Face_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Face_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Foot_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Foot_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Def_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Def_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Face_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Face_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Foot_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Foot_Req = 2U; + break; + + default: + /* : else */ + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Def_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Def_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Face_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Face_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Foot_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Foot_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Def_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Def_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Face_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Face_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Foot_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Foot_Req = 1U; + break; + } + } + + /* : if g_aucRESTS_MODE(2) == 120 || g_aucRESTS_MODE(2) == 150 || g_aucRESTS_MODE(2) == 170 || g_aucRESTS_MODE(2) == 190 */ + if ((b_g_aucRESTS_MODE->contents[1] == 120) || (b_g_aucRESTS_MODE->contents + [1] == 150) || (b_g_aucRESTS_MODE->contents[1] == 170) || + (b_g_aucRESTS_MODE->contents[1] == 190)) { + /* : FIU_CCU2_model_out.FIU_AirDirectionRL_Def_Req = uint8(2); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRL_Def_Req = 2U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRL_Face_Req = uint8(1); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRL_Face_Req = 1U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRL_Foot_Req = uint8(2); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRL_Foot_Req = 2U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRR_Def_Req = uint8(2); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRR_Def_Req = 2U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRR_Face_Req = uint8(1); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRR_Face_Req = 1U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRR_Foot_Req = uint8(2); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRR_Foot_Req = 2U; + } else if ((b_g_aucRESTS_MODE->contents[1] == 130) || + (b_g_aucRESTS_MODE->contents[1] == 160) || + (b_g_aucRESTS_MODE->contents[1] == 180) || + (b_g_aucRESTS_MODE->contents[1] == 200)) { + /* : elseif g_aucRESTS_MODE(2) == 130 || g_aucRESTS_MODE(2) == 160 || g_aucRESTS_MODE(2) == 180 || g_aucRESTS_MODE(2) == 200 */ + /* : FIU_CCU2_model_out.FIU_AirDirectionRL_Def_Req = uint8(2); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRL_Def_Req = 2U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRL_Face_Req = uint8(1); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRL_Face_Req = 1U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRL_Foot_Req = uint8(1); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRL_Foot_Req = 1U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRR_Def_Req = uint8(2); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRR_Def_Req = 2U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRR_Face_Req = uint8(1); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRR_Face_Req = 1U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRR_Foot_Req = uint8(1); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRR_Foot_Req = 1U; + } else if (b_g_aucRESTS_MODE->contents[1] == 140) { + /* : elseif g_aucRESTS_MODE(2) == 140 */ + /* : FIU_CCU2_model_out.FIU_AirDirectionRL_Def_Req = uint8(2); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRL_Def_Req = 2U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRL_Face_Req = uint8(2); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRL_Face_Req = 2U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRL_Foot_Req = uint8(1); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRL_Foot_Req = 1U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRR_Def_Req = uint8(2); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRR_Def_Req = 2U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRR_Face_Req = uint8(2); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRR_Face_Req = 2U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRR_Foot_Req = uint8(1); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRR_Foot_Req = 1U; + } else { + /* : else */ + /* : FIU_CCU2_model_out.FIU_AirDirectionRL_Def_Req = uint8(2); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRL_Def_Req = 2U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRL_Face_Req = uint8(1); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRL_Face_Req = 1U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRL_Foot_Req = uint8(1); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRL_Foot_Req = 1U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRR_Def_Req = uint8(2); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRR_Def_Req = 2U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRR_Face_Req = uint8(1); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRR_Face_Req = 1U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRR_Foot_Req = uint8(1); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRR_Foot_Req = 1U; + } + } else if (active_condition_reg->contents == CONDITION_2_WINTER->contents) { + /* : elseif active_condition_reg == CONDITION_2_WINTER */ + /* : FIU_CCU1_model_out.FIU_BlowerSpeedFL_Req = uint8(g_ucRESTW_BLRSTEP); */ + FIU_CCU1_model_out->contents.FIU_BlowerSpeedFL_Req = + b_g_ucRESTW_BLRSTEP->contents; + + /* : FIU_CCU1_model_out.FIU_BlowerSpeedFR_Req = uint8(g_ucRESTW_BLRSTEP); */ + FIU_CCU1_model_out->contents.FIU_BlowerSpeedFR_Req = + b_g_ucRESTW_BLRSTEP->contents; + + /* : FIU_CCU2_model_out.FIU_BlowerSpeedRL_Req = uint8(g_ucRESTW_BLRSTEP); */ + FIU_CCU2_model_out->contents.FIU_BlowerSpeedRL_Req = + b_g_ucRESTW_BLRSTEP->contents; + + /* : FIU_CCU2_model_out.FIU_BlowerSpeedRR_Req = uint8(g_ucRESTW_BLRSTEP); */ + FIU_CCU2_model_out->contents.FIU_BlowerSpeedRR_Req = + b_g_ucRESTW_BLRSTEP->contents; + + /* : if g_aucRESTW_MODE(1) == 10 */ + if (b_g_aucRESTW_MODE->contents[0] == 10) { + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Def_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Def_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Face_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Face_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Foot_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Foot_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Def_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Def_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Face_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Face_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Foot_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Foot_Req = 2U; + } else if ((b_g_aucRESTW_MODE->contents[0] == 20) || + (b_g_aucRESTW_MODE->contents[0] == 30) || + (b_g_aucRESTW_MODE->contents[0] == 110)) { + /* : elseif g_aucRESTW_MODE(1) == 20 || g_aucRESTW_MODE(1) == 30 || g_aucRESTW_MODE(1) == 110 */ + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Def_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Def_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Face_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Face_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Foot_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Foot_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Def_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Def_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Face_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Face_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Foot_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Foot_Req = 1U; + } else if ((b_g_aucRESTW_MODE->contents[0] == 40) || + (b_g_aucRESTW_MODE->contents[0] == 50) || + (b_g_aucRESTW_MODE->contents[0] == 60)) { + /* : elseif g_aucRESTW_MODE(1) == 40 || g_aucRESTW_MODE(1) == 50 || g_aucRESTW_MODE(1) == 60 */ + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Def_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Def_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Face_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Face_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Foot_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Foot_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Def_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Def_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Face_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Face_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Foot_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Foot_Req = 1U; + } else { + switch (b_g_aucRESTW_MODE->contents[0]) { + case 70: + /* : elseif g_aucRESTW_MODE(1) == 70 */ + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Def_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Def_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Face_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Face_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Foot_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Foot_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Def_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Def_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Face_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Face_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Foot_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Foot_Req = 1U; + break; + + case 80: + /* : elseif g_aucRESTW_MODE(1) == 80 */ + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Def_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Def_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Face_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Face_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Foot_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Foot_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Def_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Def_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Face_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Face_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Foot_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Foot_Req = 2U; + break; + + case 90: + /* : elseif g_aucRESTW_MODE(1) == 90 */ + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Def_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Def_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Face_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Face_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Foot_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Foot_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Def_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Def_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Face_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Face_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Foot_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Foot_Req = 1U; + break; + + case 100: + /* : elseif g_aucRESTW_MODE(1) == 100 */ + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Def_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Def_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Face_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Face_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Foot_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Foot_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Def_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Def_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Face_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Face_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Foot_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Foot_Req = 2U; + break; + + default: + /* : else */ + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Def_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Def_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Face_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Face_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Foot_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Foot_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Def_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Def_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Face_Req = uint8(2); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Face_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Foot_Req = uint8(1); */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Foot_Req = 1U; + break; + } + } + + /* : if g_aucRESTW_MODE(2) == 120 || g_aucRESTW_MODE(2) == 150 || g_aucRESTW_MODE(2) == 170 || g_aucRESTW_MODE(2) == 190 */ + if ((b_g_aucRESTW_MODE->contents[1] == 120) || (b_g_aucRESTW_MODE->contents + [1] == 150) || (b_g_aucRESTW_MODE->contents[1] == 170) || + (b_g_aucRESTW_MODE->contents[1] == 190)) { + /* : FIU_CCU2_model_out.FIU_AirDirectionRL_Def_Req = uint8(2); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRL_Def_Req = 2U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRL_Face_Req = uint8(1); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRL_Face_Req = 1U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRL_Foot_Req = uint8(2); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRL_Foot_Req = 2U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRR_Def_Req = uint8(2); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRR_Def_Req = 2U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRR_Face_Req = uint8(1); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRR_Face_Req = 1U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRR_Foot_Req = uint8(2); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRR_Foot_Req = 2U; + } else if ((b_g_aucRESTW_MODE->contents[1] == 130) || + (b_g_aucRESTW_MODE->contents[1] == 160) || + (b_g_aucRESTW_MODE->contents[1] == 180) || + (b_g_aucRESTW_MODE->contents[1] == 200)) { + /* : elseif g_aucRESTW_MODE(2) == 130 || g_aucRESTW_MODE(2) == 160 || g_aucRESTW_MODE(2) == 180 || g_aucRESTW_MODE(2) == 200 */ + /* : FIU_CCU2_model_out.FIU_AirDirectionRL_Def_Req = uint8(2); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRL_Def_Req = 2U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRL_Face_Req = uint8(1); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRL_Face_Req = 1U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRL_Foot_Req = uint8(1); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRL_Foot_Req = 1U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRR_Def_Req = uint8(2); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRR_Def_Req = 2U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRR_Face_Req = uint8(1); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRR_Face_Req = 1U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRR_Foot_Req = uint8(1); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRR_Foot_Req = 1U; + } else if (b_g_aucRESTW_MODE->contents[1] == 140) { + /* : elseif g_aucRESTW_MODE(2) == 140 */ + /* : FIU_CCU2_model_out.FIU_AirDirectionRL_Def_Req = uint8(2); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRL_Def_Req = 2U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRL_Face_Req = uint8(2); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRL_Face_Req = 2U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRL_Foot_Req = uint8(1); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRL_Foot_Req = 1U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRR_Def_Req = uint8(2); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRR_Def_Req = 2U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRR_Face_Req = uint8(2); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRR_Face_Req = 2U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRR_Foot_Req = uint8(1); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRR_Foot_Req = 1U; + } else { + /* : else */ + /* : FIU_CCU2_model_out.FIU_AirDirectionRL_Def_Req = uint8(2); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRL_Def_Req = 2U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRL_Face_Req = uint8(1); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRL_Face_Req = 1U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRL_Foot_Req = uint8(1); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRL_Foot_Req = 1U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRR_Def_Req = uint8(2); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRR_Def_Req = 2U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRR_Face_Req = uint8(1); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRR_Face_Req = 1U; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRR_Foot_Req = uint8(1); */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRR_Foot_Req = 1U; + } + } +} + +/* + * Function for MATLAB Function: '/REST_Mode' + * function load_FIU_CCU() + */ +static void load_FIU_CCU(captured_var_3 *FIU_CCU1_model_out, const captured_var * + FIU_ACfrontOFF_Req, captured_var_2 *FIU_CCU2_model_out, const captured_var + *FIU_ACrearOFF_Req, const captured_var *FIU_Recirculation_Req, const + captured_var *FIU_CCmodeFL_Req, const captured_var *FIU_BlowerSpeedFL_Req, + const captured_var *FIU_AirDirectionFL_Face_Req, const captured_var + *FIU_AirDirectionFL_Foot_Req, const captured_var *FIU_AirDirectionFL_Def_Req, + const captured_var *FIU_FootTempCorFL_Req, const captured_var + *FIU_CCautoModeFL_Req, const captured_var *FIU_CCmodeFR_Req, const + captured_var *FIU_BlowerSpeedFR_Req, const captured_var + *FIU_AirDirectionFR_Face_Req, const captured_var *FIU_AirDirectionFR_Foot_Req, + const captured_var *FIU_AirDirectionFR_Def_Req, const captured_var + *FIU_FootTempCorFR_Req, const captured_var *FIU_CCautoModeFR_Req, const + captured_var *FIU_CCmodeRL_Req, const captured_var *FIU_BlowerSpeedRL_Req, + const captured_var *FIU_AirDirectionRL_Face_Req, const captured_var + *FIU_AirDirectionRL_Foot_Req, const captured_var *FIU_FootTempCorRL_Req, const + captured_var *FIU_CCautoModeRL_Req, const captured_var *FIU_CCmodeRR_Req, + const captured_var *FIU_BlowerSpeedRR_Req, const captured_var + *FIU_AirDirectionRR_Face_Req, const captured_var *FIU_AirDirectionRR_Foot_Req, + const captured_var *FIU_FootTempCorRR_Req, const captured_var + *FIU_CCautoModeRR_Req) +{ + /* : FIU_CCU1_model_out.FIU_ACfrontOFF_Req = FIU_ACfrontOFF_Req; */ + FIU_CCU1_model_out->contents.FIU_ACfrontOFF_Req = FIU_ACfrontOFF_Req->contents; + + /* : FIU_CCU2_model_out.FIU_ACrearOFF_Req = FIU_ACrearOFF_Req; */ + FIU_CCU2_model_out->contents.FIU_ACrearOFF_Req = FIU_ACrearOFF_Req->contents; + + /* : FIU_CCU1_model_out.FIU_Recirculation_Req = FIU_Recirculation_Req; */ + FIU_CCU1_model_out->contents.FIU_Recirculation_Req = + FIU_Recirculation_Req->contents; + + /* : FIU_CCU1_model_out.FIU_CCmodeFL_Req = FIU_CCmodeFL_Req; */ + FIU_CCU1_model_out->contents.FIU_CCmodeFL_Req = FIU_CCmodeFL_Req->contents; + + /* : FIU_CCU1_model_out.FIU_BlowerSpeedFL_Req = FIU_BlowerSpeedFL_Req; */ + FIU_CCU1_model_out->contents.FIU_BlowerSpeedFL_Req = + FIU_BlowerSpeedFL_Req->contents; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Face_Req = FIU_AirDirectionFL_Face_Req; */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Face_Req = + FIU_AirDirectionFL_Face_Req->contents; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Foot_Req = FIU_AirDirectionFL_Foot_Req; */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Foot_Req = + FIU_AirDirectionFL_Foot_Req->contents; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Def_Req = FIU_AirDirectionFL_Def_Req; */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFL_Def_Req = + FIU_AirDirectionFL_Def_Req->contents; + + /* : FIU_CCU1_model_out.FIU_FootTempCorFL_Req = FIU_FootTempCorFL_Req; */ + FIU_CCU1_model_out->contents.FIU_FootTempCorFL_Req = + FIU_FootTempCorFL_Req->contents; + + /* : FIU_CCU1_model_out.FIU_CCautoModeFL_Req = FIU_CCautoModeFL_Req; */ + FIU_CCU1_model_out->contents.FIU_CCautoModeFL_Req = + FIU_CCautoModeFL_Req->contents; + + /* : FIU_CCU1_model_out.FIU_CCmodeFR_Req = FIU_CCmodeFR_Req; */ + FIU_CCU1_model_out->contents.FIU_CCmodeFR_Req = FIU_CCmodeFR_Req->contents; + + /* : FIU_CCU1_model_out.FIU_BlowerSpeedFR_Req = FIU_BlowerSpeedFR_Req; */ + FIU_CCU1_model_out->contents.FIU_BlowerSpeedFR_Req = + FIU_BlowerSpeedFR_Req->contents; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Face_Req = FIU_AirDirectionFR_Face_Req; */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Face_Req = + FIU_AirDirectionFR_Face_Req->contents; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Foot_Req = FIU_AirDirectionFR_Foot_Req; */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Foot_Req = + FIU_AirDirectionFR_Foot_Req->contents; + + /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Def_Req = FIU_AirDirectionFR_Def_Req; */ + FIU_CCU1_model_out->contents.FIU_AirDirectionFR_Def_Req = + FIU_AirDirectionFR_Def_Req->contents; + + /* : FIU_CCU1_model_out.FIU_FootTempCorFR_Req = FIU_FootTempCorFR_Req; */ + FIU_CCU1_model_out->contents.FIU_FootTempCorFR_Req = + FIU_FootTempCorFR_Req->contents; + + /* : FIU_CCU1_model_out.FIU_CCautoModeFR_Req = FIU_CCautoModeFR_Req; */ + FIU_CCU1_model_out->contents.FIU_CCautoModeFR_Req = + FIU_CCautoModeFR_Req->contents; + + /* : FIU_CCU2_model_out.FIU_CCmodeRL_Req = FIU_CCmodeRL_Req; */ + FIU_CCU2_model_out->contents.FIU_CCmodeRL_Req = FIU_CCmodeRL_Req->contents; + + /* : FIU_CCU2_model_out.FIU_BlowerSpeedRL_Req = FIU_BlowerSpeedRL_Req; */ + FIU_CCU2_model_out->contents.FIU_BlowerSpeedRL_Req = + FIU_BlowerSpeedRL_Req->contents; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRL_Face_Req = FIU_AirDirectionRL_Face_Req; */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRL_Face_Req = + FIU_AirDirectionRL_Face_Req->contents; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRL_Foot_Req = FIU_AirDirectionRL_Foot_Req; */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRL_Foot_Req = + FIU_AirDirectionRL_Foot_Req->contents; + + /* : FIU_CCU2_model_out.FIU_FootTempCorRL_Req = FIU_FootTempCorRL_Req; */ + FIU_CCU2_model_out->contents.FIU_FootTempCorRL_Req = + FIU_FootTempCorRL_Req->contents; + + /* : FIU_CCU2_model_out.FIU_CCautoModeRL_Req = FIU_CCautoModeRL_Req; */ + FIU_CCU2_model_out->contents.FIU_CCautoModeRL_Req = + FIU_CCautoModeRL_Req->contents; + + /* : FIU_CCU2_model_out.FIU_CCmodeRR_Req = FIU_CCmodeRR_Req; */ + FIU_CCU2_model_out->contents.FIU_CCmodeRR_Req = FIU_CCmodeRR_Req->contents; + + /* : FIU_CCU2_model_out.FIU_BlowerSpeedRR_Req = FIU_BlowerSpeedRR_Req; */ + FIU_CCU2_model_out->contents.FIU_BlowerSpeedRR_Req = + FIU_BlowerSpeedRR_Req->contents; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRR_Face_Req = FIU_AirDirectionRR_Face_Req; */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRR_Face_Req = + FIU_AirDirectionRR_Face_Req->contents; + + /* : FIU_CCU2_model_out.FIU_AirDirectionRR_Foot_Req = FIU_AirDirectionRR_Foot_Req; */ + FIU_CCU2_model_out->contents.FIU_AirDirectionRR_Foot_Req = + FIU_AirDirectionRR_Foot_Req->contents; + + /* : FIU_CCU2_model_out.FIU_FootTempCorRR_Req = FIU_FootTempCorRR_Req; */ + FIU_CCU2_model_out->contents.FIU_FootTempCorRR_Req = + FIU_FootTempCorRR_Req->contents; + + /* : FIU_CCU2_model_out.FIU_CCautoModeRR_Req = FIU_CCautoModeRR_Req; */ + FIU_CCU2_model_out->contents.FIU_CCautoModeRR_Req = + FIU_CCautoModeRR_Req->contents; +} + +/* Function for Chart: '/Synchronization stateflow chart' */ static void enter_atomic_REAR_ONLY(void) { /* : sync_state = 3; */ @@ -10312,7 +12536,7 @@ static void enter_atomic_REAR_ONLY(void) rtDW.changed_RR_params = 0U; } -/* Function for Chart: '/Synchronization stateflow chart' */ +/* Function for Chart: '/Synchronization stateflow chart' */ static void enter_atomic_FRONT_ONLY(void) { /* : sync_state = 1; */ @@ -10350,7 +12574,7 @@ static void enter_atomic_FRONT_ONLY(void) rtDW.changed_RR_params = 0U; } -/* Function for Chart: '/Synchronization stateflow chart' */ +/* Function for Chart: '/Synchronization stateflow chart' */ static void enter_atomic_FULL_SYNC(void) { /* : sync_state = 2; */ @@ -10388,7 +12612,7 @@ static void enter_atomic_FULL_SYNC(void) rtDW.changed_RR_params = 0U; } -/* Function for Chart: '/Synchronization stateflow chart' */ +/* Function for Chart: '/Synchronization stateflow chart' */ static void enter_atomic_SEPARATE_FRONT_AND_REAR(void) { /* : sync_state = 4; */ @@ -10426,7 +12650,7 @@ static void enter_atomic_SEPARATE_FRONT_AND_REAR(void) rtDW.changed_RR_params = 0U; } -/* Function for Chart: '/Synchronization stateflow chart' */ +/* Function for Chart: '/Synchronization stateflow chart' */ static void enter_atomic_NO_SYNC(void) { /* : sync_state = 0; */ @@ -10467,84 +12691,96 @@ static void enter_atomic_NO_SYNC(void) /* Model step function */ void HVAC_model_step(void) { + captured_var CONDITION_1_SUMMER; + captured_var CONDITION_2_WINTER; + captured_var b_g_ucRESTS_BLRSTEP; + captured_var b_g_ucRESTW_BLRSTEP; + captured_var_1 b_g_aucRESTS_MODE; + captured_var_1 b_g_aucRESTW_MODE; + captured_var_2 FIU_CCU2_model_out; + captured_var_3 FIU_CCU1_model_out; + captured_var_4 CCU_STAT1_model_in; + captured_var_5 CCU_STAT2_model_in; double rtb_Saturation_hch[11]; - double rtb_valve_space_b_pillar_L[11]; double rtb_valve_space_b_pillar_R[11]; - double rtb_valve_space_center_L[11]; double rtb_valve_space_center_R[11]; + double rtb_valve_space_center_R_m[11]; double rtb_valve_space_foot_L[11]; double rtb_valve_space_foot_R[11]; - double rtb_y[11]; + double rtb_valve_space_foot_R_a[11]; + double rtb_y_d[11]; double rtb_y_e[11]; double rtb_y_ej[11]; double rtb_y_hu[11]; double rtb_y_oz[11]; - double rtb_Divide1_pb[9]; + double rtb_DataTypeConversion1[9]; double valve_pos_min_center_with_0[8]; double min_damper_opening_factor_L[7]; double min_damper_opening_factor_R[7]; - double coeff_left[6]; double coeff_right[6]; + double rtb_Gain1_md[6]; double rtb_u10[6]; double tmp_1[6]; double rtb_f_lower_upper_bounds[2]; double IGN_voltage; double index_start; - double rtb_Add_p4; double rtb_D; double rtb_Divide10; - double rtb_Divide11; double rtb_Divide1_jg; double rtb_Divide3; - double rtb_Divide7_d; + double rtb_Divide5; double rtb_Gain17; - double rtb_Gain17_h; double rtb_Gain18; double rtb_Gain19; double rtb_Gain20; - double rtb_Gain22; - double rtb_Gain23; - double rtb_Gain25; - double rtb_Gain26; double rtb_Gain28; double rtb_Gain29; double rtb_P; - double rtb_duct_select_index_dbg_c; + double rtb_area_L_j; + double rtb_area_R_o; double rtb_output; - double rtb_output_a; - double rtb_output_e; double rtb_output_f; - double rtb_output_n; + double rtb_output_h; + double rtb_output_it; + double rtb_output_j; + double rtb_uDLookupTable1_jw; + double rtb_uDLookupTable2_fm; + double rtb_uDLookupTable3; + double rtb_uDLookupTable3_bz; + double rtb_uDLookupTable4_en; int64_t tmp_3; int32_t i; int32_t rtb_Cmd_3Way; int32_t rtb_Gain1_f; + int32_t rtb_Gain_ee; int32_t rtb_Y_o_idx_2; int32_t rtb_Y_o_idx_3; - uint32_t rtb_Gain2_tmp_tmp; - uint32_t rtb_Gain2_tmp_tmp_0; + uint32_t rtb_Gain2_k_tmp_tmp; + uint32_t rtb_Gain2_k_tmp_tmp_0; + uint32_t rtb_Minus_j; uint32_t rtb_Subtract; - uint32_t rtb_dt_nx; - uint32_t tmp_2; - uint32_t tmp_4; - int16_t rtb_MultiportSwitch1_d[7]; + uint32_t rtb_dt_i; + int16_t tmp_2[42]; + int16_t rtb_MultiportSwitch1_ck[7]; int16_t rtb_uDLookupTable7_g[7]; int16_t Duct_FRU_Tg_DBG[5]; int16_t Duct_RR_Tg_DBG[5]; int16_t rtb_VectorConcatenate_by[5]; - int16_t rtb_VectorConcatenate_jn[5]; int16_t rtb_VectorConcatenate_kz[5]; - int16_t rtb_VectorConcatenate_lb[5]; + int16_t rtb_VectorConcatenate_ls[5]; int16_t rtb_VectorConcatenate_dw[3]; int16_t rtb_VectorConcatenate_gn[3]; int16_t rtb_VectorConcatenate_np[3]; int16_t rtb_VectorConcatenate_pg[3]; int16_t rtb_out_jow[2]; int16_t AMB_RAW; + int16_t BMS_ActualTemp_Val_ro; int16_t Duct1_F; int16_t Duct2_F; 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 Duct_FLU_Tg; @@ -10557,9 +12793,9 @@ void HVAC_model_step(void) int16_t rtb_Bias3; int16_t rtb_Bias4; int16_t rtb_Bias_ct; - int16_t rtb_DataTypeConversion1_oq; - int16_t rtb_DuctTgt_Plus_LV5; + int16_t rtb_DataTypeConversion1_gq; int16_t rtb_FLU_tg_correct; + int16_t rtb_FLU_tg_correct_aa; int16_t rtb_FLU_tg_correct_ot; int16_t rtb_Foot2Duct_FL; int16_t rtb_Foot2Duct_FL_n; @@ -10567,79 +12803,83 @@ void HVAC_model_step(void) int16_t rtb_Foot2Duct_FR_j; int16_t rtb_FrontBlr_LV0_tmp; int16_t rtb_Merge_b; - int16_t rtb_MultiportSwitch1_g; - int16_t rtb_MultiportSwitch_ac; - int16_t rtb_MultiportSwitch_az; + int16_t rtb_MultiportSwitch_ar; + int16_t rtb_MultiportSwitch_bvo; int16_t rtb_MultiportSwitch_cn; int16_t rtb_MultiportSwitch_cq; - int16_t rtb_MultiportSwitch_dq2; - int16_t rtb_MultiportSwitch_ehw; - int16_t rtb_MultiportSwitch_if; - int16_t rtb_MultiportSwitch_ks; - int16_t rtb_MultiportSwitch_np; - int16_t rtb_MultiportSwitch_oa; + int16_t rtb_MultiportSwitch_dbp; + int16_t rtb_MultiportSwitch_fg; + int16_t rtb_MultiportSwitch_gj; + int16_t rtb_MultiportSwitch_om; + int16_t rtb_MultiportSwitch_pa; + int16_t rtb_MultiportSwitch_pe; int16_t rtb_Switch1_pd; - int16_t rtb_Switch2_nb; + int16_t rtb_Switch2_ac; + int16_t rtb_Switch2_ho; int16_t rtb_Switch3_no; int16_t rtb_Switch4_f5; int16_t rtb_Switch5_l; - int16_t rtb_Switch6_c; - int16_t rtb_X; int16_t rtb_g_assEVA_TG_AMB_F_m; + int16_t rtb_u5FLL_tg_incar; int16_t rtb_u5FLU_tg_incar_b; - int16_t rtb_u5FLU_tg_incar_i; + int16_t rtb_u5FLU_tg_incar_g; int16_t rtb_u5FRU_tg_incar; int16_t rtb_u5R_tg_incar; - int16_t rtb_u6FLU_tg_amb_a3; + int16_t rtb_u6FLL_tg_amb; int16_t rtb_u6FLU_tg_amb_d; - int16_t rtb_u6FLU_tg_amb_g; int16_t rtb_u6FLU_tg_amb_h; + int16_t rtb_u6FLU_tg_amb_ha; + int16_t rtb_u6FLU_tg_amb_ht; + int16_t rtb_u6FLU_tg_amb_l; int16_t rtb_u6FLU_tg_amb_n; int16_t rtb_u6FLU_tg_amb_o; + int16_t rtb_u6FLU_tg_amb_p; int16_t rtb_u6FRU_tg_amb; int16_t rtb_u6FRU_tg_amb_f; + int16_t rtb_u8Vtg_FX_plus; int16_t rtb_y_ds; int16_t rtb_y_he; int16_t rtb_y_hg; int16_t rtb_y_n; + uint16_t rtb_matrix_f[54]; uint16_t tmp[45]; uint16_t tmp_0[42]; - uint16_t rtb_out_c[9]; - uint16_t rtb_out_cej[9]; - uint16_t rtb_out_cj[9]; - uint16_t rtb_out_gta[9]; - uint16_t rtb_out_pdp[9]; - uint16_t rtb_out_ake[8]; - uint16_t rtb_out_bjx[8]; - uint16_t rtb_out_c5x[8]; - uint16_t rtb_out_d23[8]; - uint16_t rtb_out_fzy[8]; - uint16_t rtb_out_gkh[8]; - uint16_t rtb_out_gr4[8]; - uint16_t rtb_out_jh3[8]; - uint16_t rtb_out_nz4[8]; - uint16_t rtb_out_ovc[8]; - uint16_t rtb_out_pha[8]; + uint16_t rtb_DataTypeConversion2[9]; + uint16_t rtb_MultiportSwitch_fd[9]; + uint16_t rtb_MultiportSwitch_lp[9]; + uint16_t rtb_u4[9]; + uint16_t rtb_out_b1n[8]; + uint16_t rtb_out_bd1[8]; + uint16_t rtb_out_cc4[8]; + uint16_t rtb_out_cf0[8]; + uint16_t rtb_out_fey[8]; + uint16_t rtb_out_fun[8]; + uint16_t rtb_out_hpp[8]; + uint16_t rtb_out_k5[8]; + uint16_t rtb_out_mzr[8]; + uint16_t rtb_out_pj[8]; + uint16_t rtb_out_po3[8]; uint16_t rtb_get_mode[7]; uint16_t rtb_Gain1_o3[6]; uint16_t rtb_out[6]; - uint16_t rtb_urear_e[6]; uint16_t rtb_out_fm[2]; uint16_t Gain1; uint16_t rtb_Saturation2; uint16_t rtb_Saturation_as; - uint16_t rtb_out_a2e; - uint16_t rtb_out_crw; - uint16_t rtb_out_dam; - uint16_t rtb_out_fhd; - uint16_t rtb_out_fm3; - uint16_t rtb_out_fr3; - uint16_t rtb_out_fze; + uint16_t rtb_out_a3; + uint16_t rtb_out_bf; + uint16_t rtb_out_cryk; + uint16_t rtb_out_et; + uint16_t rtb_out_ew5; uint16_t rtb_out_hf5; + uint16_t rtb_out_ihi; uint16_t rtb_out_ilx; + uint16_t rtb_out_ip; + uint16_t rtb_out_kez; + uint16_t rtb_out_mf; uint16_t rtb_out_mug; - uint16_t rtb_out_mxq; uint16_t rtb_out_o1n; + uint16_t rtb_out_oum; int8_t rtb_y_cb; uint8_t rtb_get_modes_for_levels[78]; uint8_t Actuator_pos_percent_Ch1[9]; @@ -10647,96 +12887,120 @@ void HVAC_model_step(void) uint8_t rtb_DataTypeConversion_kl[9]; uint8_t rtb_DataTypeConversion_mo[9]; uint8_t coef_max[6]; + uint8_t CCU_STAT1_MODEL_CCU_BlowerSpeedRL_Stat; + uint8_t CCU_STAT1_MODEL_CCU_BlowerSpeedRR_Stat; + uint8_t CCU_STAT1_MODEL_CCU_TargetTempRL_Stat_ro; + uint8_t CCU_STAT1_MODEL_CCU_TargetTempRR_Stat_ro; + uint8_t CCU_STAT2_MODEL_CCU_ACfront_Stat; + uint8_t CCU_STAT2_MODEL_CCU_ACmaxF_Stat; + uint8_t CCU_STAT2_MODEL_CCU_ACrear_Stat; + uint8_t CCU_STAT2_MODEL_CCU_AllZoneSync_Stat; + uint8_t CCU_STAT2_MODEL_CCU_AromaCartridgeSw_Stat; + uint8_t CCU_STAT2_MODEL_CCU_AromaIntens_Stat; + uint8_t CCU_STAT2_MODEL_CCU_DeflectorSwDL_Stat; + uint8_t CCU_STAT2_MODEL_CCU_DeflectorSwDR_Stat; + uint8_t CCU_STAT2_MODEL_CCU_DeflectorSwFCL_Stat; + uint8_t CCU_STAT2_MODEL_CCU_DeflectorSwFCR_Stat; + uint8_t CCU_STAT2_MODEL_CCU_DeflectorSwFPL_Stat; + uint8_t CCU_STAT2_MODEL_CCU_DeflectorSwFPR_Stat; + uint8_t CCU_STAT2_MODEL_CCU_DeflectorSwRLB_Stat; + uint8_t CCU_STAT2_MODEL_CCU_DeflectorSwRRB_Stat; + uint8_t CCU_STAT2_MODEL_CCU_Defrost_Stat; + uint8_t CCU_STAT2_MODEL_CCU_FootTempCorFL_Stat; + uint8_t CCU_STAT2_MODEL_CCU_FootTempCorFR_Stat; + uint8_t CCU_STAT2_MODEL_CCU_FootTempCorRL_Stat; + uint8_t CCU_STAT2_MODEL_CCU_FootTempCorRR_Stat; + uint8_t CCU_STAT2_MODEL_CCU_FrontZoneSync_Stat; + uint8_t CCU_STAT2_MODEL_CCU_Ionization_Stat; + uint8_t CCU_STAT2_MODEL_CCU_RearZoneSync_Stat; uint8_t Comp_Max_RPM_Allowed; uint8_t EN_BATTChiller; + uint8_t Index_mode_FR_manual; uint8_t LowTempValve; uint8_t ShutOffRear_EN; uint8_t center_percent; + uint8_t center_percent_L; + uint8_t hvacFanPwm; uint8_t max_center_L; uint8_t max_center_R; uint8_t max_foot_L; uint8_t max_foot_R; - uint8_t max_side_L; uint8_t min_center_L; uint8_t min_center_R; uint8_t min_foot_L; uint8_t min_foot_R; - uint8_t min_side_L; - uint8_t rtb_DataTypeConversion1_gy; - uint8_t rtb_DataTypeConversion1_hy; - uint8_t rtb_DataTypeConversion3_hs; - uint8_t rtb_Merge_c5; - uint8_t rtb_Merge_m4; + uint8_t rtb_DataTypeConversion1_nc; + uint8_t rtb_DataTypeConversion3_c1; + uint8_t rtb_Merge_h; + uint8_t rtb_Merge_md; + uint8_t rtb_Merge_np; + uint8_t rtb_PWM_out_a; uint8_t rtb_Saturation4; - uint8_t rtb_Switch_f_FIU_ACfrontOFF_Req; - uint8_t rtb_Switch_f_FIU_AirDirectionFL_Def_Req; - uint8_t rtb_Switch_f_FIU_AirDirectionFL_Face_Req; - uint8_t rtb_Switch_f_FIU_AirDirectionFL_Foot_Req; - uint8_t rtb_Switch_f_FIU_AirDirectionFR_Def_Req; - uint8_t rtb_Switch_f_FIU_AirDirectionFR_Face_Req; - uint8_t rtb_Switch_f_FIU_CCmodeFL_Req; - uint8_t rtb_Switch_f_FIU_CCmodeFR_Req; - uint8_t rtb_Switch_f_FIU_DeflectorSwFPL_Req; - uint8_t rtb_Switch_f_FIU_DeflectorSwFPR_Req; - uint8_t rtb_Switch_f_FIU_FrontZoneSync_Req; + uint8_t rtb_Switch_bm; + uint8_t rtb_Switch_k_FIU_ACfrontOFF_Req; + uint8_t rtb_Switch_k_FIU_AirDirectionFL_Def_Req; + uint8_t rtb_Switch_k_FIU_AirDirectionFL_Face_Req; + uint8_t rtb_Switch_k_FIU_AirDirectionFL_Foot_Req; + uint8_t rtb_Switch_k_FIU_AirDirectionFR_Def_Req; + uint8_t rtb_Switch_k_FIU_AirDirectionFR_Face_Req; + uint8_t rtb_Switch_k_FIU_AirDirectionFR_Foot_Req; + uint8_t rtb_Switch_k_FIU_BlowerSpeedFL_Req; + uint8_t rtb_Switch_k_FIU_BlowerSpeedFR_Req; + uint8_t rtb_Switch_k_FIU_CCautoModeFL_Req; + uint8_t rtb_Switch_k_FIU_CCautoModeFR_Req; + uint8_t rtb_Switch_k_FIU_CCmodeFL_Req; + uint8_t rtb_Switch_k_FIU_CCmodeFR_Req; + uint8_t rtb_Switch_k_FIU_DeflectorSwDL_Req; + uint8_t rtb_Switch_k_FIU_DeflectorSwDR_Req; + uint8_t rtb_Switch_k_FIU_DeflectorSwFPL_Req; + uint8_t rtb_Switch_k_FIU_DeflectorSwFPR_Req; + uint8_t rtb_Switch_k_FIU_FrontZoneSync_Req; + uint8_t rtb_Switch_k_FIU_Recirculation_Req; uint8_t rtb_timer_out; - bool rtb_LogicalOperator3_n2[9]; - bool rtb_Compare_ad[8]; - bool rtb_LogicalOperator3_pw[6]; + uint8_t side_percent_L; + bool rtb_LogicalOperator3_n[9]; + bool rtb_Compare_lx[8]; + bool rtb_LogicalOperator3_es[6]; bool CCU_AC_FRONT_req_summary; - bool Duct1_F_error; bool Duct1_R_error; - bool Duct2_F_error; bool Duct2_R_error; - bool Duct3_F_error; - bool Duct3_R_error; - bool Duct4_F_error; - bool Duct4_R_error; - bool Duct5_F_error; - bool Duct6_F_error; bool Enable_Comp_PID; bool WinterCondition_eTXV_ON_Front; bool WinterCondition_eTXV_ON_Rear; - bool WinterCondition_is_active_F; bool WinterCondition_is_active_R; - bool eComp_stop; bool rtb_AND2_b; - bool rtb_Compare_a; - bool rtb_Compare_bt; - bool rtb_Compare_byy; - bool rtb_Compare_ca; + bool rtb_Compare_bg; + bool rtb_Compare_bp; bool rtb_Compare_cp; - bool rtb_Compare_de; - bool rtb_Compare_dq; - bool rtb_Compare_ds; - bool rtb_Compare_dw; - bool rtb_Compare_e; + bool rtb_Compare_d1; + bool rtb_Compare_dr; + bool rtb_Compare_e1; + bool rtb_Compare_e3; + bool rtb_Compare_eb; bool rtb_Compare_ee; - bool rtb_Compare_f4; - bool rtb_Compare_ff; - bool rtb_Compare_gq; - bool rtb_Compare_i4; - bool rtb_Compare_jj; - bool rtb_Compare_k2; - bool rtb_Compare_kp; - bool rtb_Compare_le; - bool rtb_Compare_ls; - bool rtb_Compare_mg; - bool rtb_Compare_n4; - bool rtb_Compare_nh; - bool rtb_Compare_pm; - bool rtb_Compare_pnq; - bool rtb_Compare_pw3; - bool rtb_FailCond_of; + bool rtb_Compare_em; + bool rtb_Compare_eu; + bool rtb_Compare_h0; + bool rtb_Compare_hdv; + bool rtb_Compare_i3s; + bool rtb_Compare_i5; + bool rtb_Compare_j1; + bool rtb_Compare_kv; + bool rtb_Compare_mk; + bool rtb_Compare_n0; + bool rtb_Compare_ng; + bool rtb_FailCond; bool rtb_LogicalOperator1; - bool rtb_LogicalOperator1_f; - bool rtb_LogicalOperator1_f1; - bool rtb_LogicalOperator1_nf; - bool rtb_RelationalOperator2_p; bool rtb_RelationalOperator6_f; - static const int8_t tmp_5[6] = { 0, 1, 2, 3, 4, 6 }; + static const int8_t tmp_4[6] = { 0, 1, 2, 3, 4, 6 }; - static const int8_t tmp_6[5] = { 0, 1, 2, 3, 5 }; + static const int8_t tmp_5[5] = { 0, 1, 2, 3, 5 }; + + static const double tmp_6[54] = { 75.0, 75.0, 85.0, 75.0, 75.0, 75.0, 75.0, + 75.0, 85.0, 75.0, 75.0, 75.0, 75.0, 75.0, 85.0, 75.0, 1.5, 75.0, 75.0, 75.0, + 85.0, 75.0, 75.0, 75.0, 75.0, 75.0, 85.0, 75.0, 75.0, 75.0, 75.0, 75.0, 85.0, + 75.0, 75.0, 75.0, 75.0, 75.0, 85.0, 75.0, 75.0, 75.0, 75.0, 75.0, 85.0, 75.0, + 75.0, 75.0, 75.0, 75.0, 85.0, 75.0, 75.0, 75.0 }; static const uint8_t b[8] = { 0U, 20U, 40U, 80U, 100U, 120U, 140U, 160U }; @@ -10772,9 +13036,22 @@ void HVAC_model_step(void) rtb_LogicalOperator1 = (CCU_AC_FRONT_req_summary || rtDW.AC_front_on_req_from_autodemist); - /* Outputs for Atomic SubSystem: '/WINTER CONDITION' */ - /* MATLAB Function: '/MATLAB Function4' incorporates: - * DataStoreRead: '/Data Store Read8' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read51' + */ + if (rtDW.RearHVAC_present) { + rtb_Switch_bm = rtDW.CCU_AC_REAR; + } else { + rtb_Switch_bm = 0U; + } + + /* End of Switch: '/Switch' */ + + /* Outputs for Atomic SubSystem: '/WINTER CONDITION' */ + /* MATLAB Function: '/MATLAB Function4' incorporates: + * DataStoreRead: '/Data Store Read8' */ /* : AMB_THRESHOLD = 0; */ /* : AMB_HYSTERESIS = 10; */ @@ -10789,24 +13066,22 @@ void HVAC_model_step(void) rtDW.amb_condition_latched = false; } - /* RelationalOperator: '/Relational Operator6' incorporates: - * DataStoreRead: '/Data Store Read51' - */ + /* RelationalOperator: '/Relational Operator6' */ /* : amb_condition = amb_condition_latched; */ - rtb_RelationalOperator6_f = (rtDW.CCU_AC_REAR != 0); + rtb_RelationalOperator6_f = (rtb_Switch_bm != 0); - /* Logic: '/AND2' incorporates: - * DataStoreRead: '/Data Store Read1' - * MATLAB Function: '/MATLAB Function4' - * RelationalOperator: '/Relational Operator5' + /* Logic: '/AND2' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/MATLAB Function4' + * RelationalOperator: '/Relational Operator5' */ rtb_AND2_b = (rtDW.amb_condition_latched && rtb_RelationalOperator6_f && (rtDW.LEVEL >= 3)); - /* MATLAB Function: '/MATLAB Function3' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' - * Logic: '/Logical Operator1' + /* MATLAB Function: '/MATLAB Function3' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' + * Logic: '/Logical Operator1' */ /* : TEMP_SET_THRESHOLD = 200; */ /* : R_EVAP_DTG_LOW = 30; */ @@ -10856,34 +13131,34 @@ void HVAC_model_step(void) /* : R_Evap_tg = R_Evap_tg_persistent; */ } - /* End of MATLAB Function: '/MATLAB Function3' */ + /* End of MATLAB Function: '/MATLAB Function3' */ - /* Lookup_n-D: '/g_assEVA_TG_AMB_F' incorporates: - * DataStoreRead: '/Data Store Read8' + /* Lookup_n-D: '/g_assEVA_TG_AMB_F' incorporates: + * DataStoreRead: '/Data Store Read8' */ rtb_g_assEVA_TG_AMB_F_m = look1_is16lu64n32Ds32_binlcs(rtDW.AMB, &g_assFAILURE_AMB_TEMP[0], &g_assEVA_TG_AMB_F[0], 12U); - /* MATLAB Function: '/MATLAB Function' incorporates: - * Constant: '/Constant3' - * Constant: '/auto1' - * Constant: '/auto2' - * Constant: '/auto3' - * Constant: '/auto4' - * Constant: '/auto7' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/MATLAB Function' incorporates: + * Constant: '/Constant3' + * Constant: '/auto1' + * Constant: '/auto2' + * Constant: '/auto3' + * Constant: '/auto4' + * Constant: '/auto7' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read8' * DataStoreWrite: '/Data Store Write' * DataStoreWrite: '/Data Store Write2' - * Logic: '/AND' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Relational Operator7' - * RelationalOperator: '/Relational Operator8' + * Logic: '/AND' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Relational Operator7' + * RelationalOperator: '/Relational Operator8' */ /* : if isempty(is_active_persistent) */ /* : if exit_conditions_front */ @@ -10895,7 +13170,7 @@ void HVAC_model_step(void) rtDW.FRONT_eTXV_ON_persistent = false; /* : is_active = false; */ - WinterCondition_is_active_F = false; + rtb_AND2_b = false; /* : FRONT_eTXV_ON = false; */ WinterCondition_eTXV_ON_Front = false; @@ -10982,39 +13257,39 @@ void HVAC_model_step(void) } /* : is_active = is_active_persistent; */ - WinterCondition_is_active_F = rtDW.is_active_persistent_n; + rtb_AND2_b = rtDW.is_active_persistent_n; /* : FRONT_eTXV_ON = FRONT_eTXV_ON_persistent; */ WinterCondition_eTXV_ON_Front = rtDW.FRONT_eTXV_ON_persistent; } - /* End of MATLAB Function: '/MATLAB Function' */ + /* End of MATLAB Function: '/MATLAB Function' */ - /* Lookup_n-D: '/g_assEVA_TG_AMB_R' incorporates: - * DataStoreRead: '/Data Store Read8' - * Lookup_n-D: '/g_assEVA_TG_AMB_R' - * Switch: '/Switch' - * Switch: '/Switch3' + /* Lookup_n-D: '/g_assEVA_TG_AMB_R' incorporates: + * DataStoreRead: '/Data Store Read8' + * Lookup_n-D: '/g_assEVA_TG_AMB_R' + * Switch: '/Switch' + * Switch: '/Switch3' */ Eva_R_tg = look1_is16lu64n32Ds32_binlcs(rtDW.AMB, &g_assFAILURE_AMB_TEMP[0], &g_assEVA_TG_AMB_R[0], 12U); - /* MATLAB Function: '/MATLAB Function1' incorporates: - * Constant: '/Constant3' - * Constant: '/auto1' - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/MATLAB Function1' incorporates: + * Constant: '/Constant3' + * Constant: '/auto1' + * DataStoreRead: '/Data Store Read5' * DataStoreWrite: '/Data Store Write1' * DataStoreWrite: '/Data Store Write3' - * Logic: '/AND1' - * Logic: '/Logical Operator' - * Lookup_n-D: '/g_assEVA_TG_AMB_R' - * MATLAB Function: '/MATLAB Function4' + * Logic: '/AND1' + * Logic: '/Logical Operator' + * Lookup_n-D: '/g_assEVA_TG_AMB_R' + * MATLAB Function: '/MATLAB Function4' */ /* : if isempty(is_active_persistent) */ /* : if exit_conditions_rear */ if ((!rtDW.amb_condition_latched) || (!rtb_RelationalOperator6_f)) { /* : is_active_persistent = false; */ - rtDW.is_active_persistent_c = false; + rtDW.is_active_persistent_cq = false; /* : REAR_eTXV_ON_persistent = false; */ rtDW.REAR_eTXV_ON_persistent = false; @@ -11036,7 +13311,7 @@ void HVAC_model_step(void) if (i > 10) { /* : is_active_persistent = true; */ - rtDW.is_active_persistent_c = true; + rtDW.is_active_persistent_cq = true; /* : REAR_eTXV_ON_persistent = true; */ rtDW.REAR_eTXV_ON_persistent = true; @@ -11051,7 +13326,7 @@ void HVAC_model_step(void) if (i > g_ssAC_WINTER_TXV_HYST) { /* : elseif (R_Evap_Dtg - R_Evap_Fb) > TURN_OFF_THRESHOLD */ /* : is_active_persistent = true; */ - rtDW.is_active_persistent_c = true; + rtDW.is_active_persistent_cq = true; /* : REAR_eTXV_ON_persistent = false; */ rtDW.REAR_eTXV_ON_persistent = false; @@ -11061,19 +13336,19 @@ void HVAC_model_step(void) } /* : is_active = is_active_persistent; */ - WinterCondition_is_active_R = rtDW.is_active_persistent_c; + WinterCondition_is_active_R = rtDW.is_active_persistent_cq; /* : REAR_eTXV_ON = REAR_eTXV_ON_persistent; */ WinterCondition_eTXV_ON_Rear = rtDW.REAR_eTXV_ON_persistent; } - /* End of MATLAB Function: '/MATLAB Function1' */ - /* End of Outputs for SubSystem: '/WINTER CONDITION' */ + /* End of MATLAB Function: '/MATLAB Function1' */ + /* End of Outputs for SubSystem: '/WINTER CONDITION' */ /* Switch: '/Switch' incorporates: * DataStoreWrite: '/Data Store Write' */ - if (WinterCondition_is_active_F) { + if (rtb_AND2_b) { /* Switch: '/Switch' incorporates: * DataStoreWrite: '/Data Store Write2' */ @@ -11083,24 +13358,21 @@ void HVAC_model_step(void) /* End of Switch: '/Switch' */ /* Switch: '/Switch1' incorporates: - * DataStoreRead: '/Data Store Read51' * DataStoreWrite: '/Data Store Write1' * DataStoreWrite: '/Data Store Write3' */ if (WinterCondition_is_active_R) { - rtb_DataTypeConversion1_hy = WinterCondition_eTXV_ON_Rear; - } else { - rtb_DataTypeConversion1_hy = rtDW.CCU_AC_REAR; + rtb_Switch_bm = WinterCondition_eTXV_ON_Rear; } /* End of Switch: '/Switch1' */ - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant12' - * DataStoreRead: '/Data Store Read45' - * DataStoreRead: '/Data Store Read76' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant12' + * DataStoreRead: '/Data Store Read45' + * DataStoreRead: '/Data Store Read76' * DataStoreWrite: '/Data Store Write35' - * Lookup_n-D: '/g_assEVA_TG_AMB_F' + * Lookup_n-D: '/g_assEVA_TG_AMB_F' */ if (rtDW.CCU_AC_MAX > 0) { Eva_F_tg = 20; @@ -11109,22 +13381,22 @@ void HVAC_model_step(void) &g_assEVA_TG_AMB_F[0], 12U); } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read76' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read76' * DataStoreWrite: '/Data Store Write36' - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch3' + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch3' */ if (rtDW.is_active_persistent_m) { - /* Outputs for Atomic SubSystem: '/WINTER CONDITION' */ + /* Outputs for Atomic SubSystem: '/WINTER CONDITION' */ Eva_R_tg = (int16_t)floor(rtDW.R_Evap_tg_persistent); - /* End of Outputs for SubSystem: '/WINTER CONDITION' */ + /* End of Outputs for SubSystem: '/WINTER CONDITION' */ } else if (rtDW.CCU_AC_MAX > 0) { - /* Switch: '/Switch3' incorporates: - * Constant: '/Constant12' + /* Switch: '/Switch3' incorporates: + * Constant: '/Constant12' * DataStoreWrite: '/Data Store Write36' */ Eva_R_tg = 20; @@ -11194,8 +13466,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; @@ -11215,15 +13487,15 @@ void HVAC_model_step(void) */ /* : sf_internal_predicateOutput = Pressure_sen < P_Hi_CutOff; */ if (rtDW.AMB > 400) { - rtb_Switch2_nb = g_assAC_PRESSURE_HYS_HI_ENG_ON[0]; + rtb_Switch5_l = g_assAC_PRESSURE_HYS_HI_ENG_ON[0]; } else { - rtb_Switch2_nb = g_assAC_PRESSURE_HYS_HI_ENG_ON[2]; + rtb_Switch5_l = g_assAC_PRESSURE_HYS_HI_ENG_ON[2]; } /* Gain: '/Gain2' incorporates: * Switch: '/Switch' */ - i = 15857 * rtb_Switch2_nb; + i = 15857 * rtb_Switch5_l; if (rtDW.Pressure < ((((uint32_t)i & 8192U) != 0U) && ((((uint32_t)i & 8191U) != 0U) || (i > 0))) + (i >> 14)) { rtDW.is_PRESSURE_MONITOR = IN_PRESSURE_OK; @@ -11319,10 +13591,10 @@ void HVAC_model_step(void) rtb_Subtract = 0U; } - if ((rtb_DataTypeConversion1_hy != 0) && ((Gain1 >= (int32_t)rtb_Subtract) - && ((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)))) { + if ((rtb_Switch_bm != 0) && ((Gain1 >= (int32_t)rtb_Subtract) && + ((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; /* : REAR_Start_request = true; */ @@ -11336,7 +13608,7 @@ void HVAC_model_step(void) rtb_Subtract = 0U; } - if ((rtb_DataTypeConversion1_hy == 0) || ((Gain1 < (int32_t)rtb_Subtract) || + if ((rtb_Switch_bm == 0) || ((Gain1 < (int32_t)rtb_Subtract) || ((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]) && @@ -11372,8 +13644,8 @@ void HVAC_model_step(void) E_COMP_MANAGER(&Enable_Comp_PID, &Eva_F_tg, &Eva_R_tg); 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; @@ -11383,8 +13655,8 @@ void HVAC_model_step(void) 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; @@ -11398,8 +13670,8 @@ void HVAC_model_step(void) 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; @@ -11409,8 +13681,8 @@ void HVAC_model_step(void) 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; @@ -11425,8 +13697,8 @@ void HVAC_model_step(void) } 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; @@ -11440,8 +13712,8 @@ void HVAC_model_step(void) 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; @@ -11452,8 +13724,8 @@ void HVAC_model_step(void) 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; @@ -11475,8 +13747,8 @@ void HVAC_model_step(void) */ EN_BATTChiller = rtB.Chiller_eTXV; - /* MATLAB Function: '/MATLAB Function1' incorporates: - * DataStoreRead: '/Data Store Read' + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read' * MATLAB Function: '/external fan' */ /* : if isempty(t_start) */ @@ -11489,8 +13761,8 @@ void HVAC_model_step(void) } /* : if Enable_Comp_PID == 0 */ - rtb_Compare_e = !Enable_Comp_PID; - if (rtb_Compare_e) { + rtb_Compare_e1 = !Enable_Comp_PID; + if (rtb_Compare_e1) { /* : t_start = t_now; */ rtDW.t_start = rtDW.t_now; @@ -11526,45 +13798,45 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/MATLAB Function1' */ + /* End of MATLAB Function: '/MATLAB Function1' */ - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read32' - * Gain: '/Gain2' - * RelationalOperator: '/Compare' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read32' + * Gain: '/Gain2' + * RelationalOperator: '/Compare' */ if (rtDW.Engine_speed > 500.0) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ if (rtb_timer_out <= 0) { Comp_Max_RPM_Allowed = 120U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } else { - /* Gain: '/Gain2' incorporates: - * Constant: '/Constant4' + /* Gain: '/Gain2' incorporates: + * Constant: '/Constant4' */ rtb_Subtract = 41943U * g_usCMP_MAX_ENG_OFF; Comp_Max_RPM_Allowed = (uint8_t)((uint32_t)((rtb_Subtract & 1048576U) != 0U) + (rtb_Subtract >> 21)); } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ /* Sum: '/Sum' incorporates: * DataStoreWrite: '/Data Store Write14' */ Eva_Target = (int16_t)(rtB.Comp_Target_Temp + rtb_g_assEVA_TG_AMB_F_m); - /* Sum: '/Sum' incorporates: + /* Sum: '/Sum' incorporates: * DataStoreWrite: '/Data Store Write14' */ rtb_MultiportSwitch_cn = (int16_t)(rtB.Comp_Feedback_Temp - Eva_Target); - /* DeadZone: '/Dead Zone' */ + /* DeadZone: '/Dead Zone' */ if (rtb_MultiportSwitch_cn > g_assPID_COMPRESSOR[4]) { i = rtb_MultiportSwitch_cn - g_assPID_COMPRESSOR[4]; if (i > 32767) { @@ -11587,15 +13859,15 @@ void HVAC_model_step(void) rtb_g_assEVA_TG_AMB_F_m = (int16_t)i; } - /* End of DeadZone: '/Dead Zone' */ + /* End of DeadZone: '/Dead Zone' */ - /* Gain: '/Gain1' */ + /* Gain: '/Gain1' */ rtb_Gain1_f = (int32_t)(10000U * Comp_Max_RPM_Allowed); - /* Sum: '/Sum' incorporates: - * Constant: '/Constant7' - * Memory: '/Memory1' - * Product: '/Divide4' + /* Sum: '/Sum' incorporates: + * Constant: '/Constant7' + * Memory: '/Memory1' + * Product: '/Divide4' */ tmp_3 = (int64_t)floor((double)g_assPID_COMPRESSOR[1] / 100.0 * (double) rtb_g_assEVA_TG_AMB_F_m) + rtDW.MemComp_I_Value; @@ -11605,14 +13877,14 @@ void HVAC_model_step(void) 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; @@ -11620,36 +13892,36 @@ 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' - * Constant: '/Constant6' - * Constant: '/Constant8' - * Memory: '/pError' - * Product: '/Divide1' - * Product: '/Divide2' - * Product: '/Divide3' - * Product: '/Divide5' - * Product: '/Divide6' - * Sum: '/Sum1' + /* 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' * - * 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)(rtb_g_assEVA_TG_AMB_F_m * @@ -11662,63 +13934,63 @@ void HVAC_model_step(void) 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_DataTypeConversion1_hy = Comp_Max_RPM_Allowed; + rtb_Switch_bm = Comp_Max_RPM_Allowed; } else if (i < 16) { - /* Switch: '/Switch' */ - rtb_DataTypeConversion1_hy = 16U; + /* Switch: '/Switch' */ + rtb_Switch_bm = 16U; } else { - rtb_DataTypeConversion1_hy = (uint8_t)i; + rtb_Switch_bm = (uint8_t)i; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ } else { - rtb_DataTypeConversion1_hy = 0U; + rtb_Switch_bm = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* RateLimiter: '/Rate Limiter' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* RateLimiter: '/Rate Limiter' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - index_start = (double)rtb_DataTypeConversion1_hy - rtDW.PrevY; + index_start = (double)rtb_Switch_bm - rtDW.PrevY; if (index_start > 5.0) { rtb_D = rtDW.PrevY + 5.0; } else if (index_start < -5.0) { rtb_D = rtDW.PrevY - 5.0; } else { - rtb_D = rtb_DataTypeConversion1_hy; + rtb_D = rtb_Switch_bm; } rtDW.PrevY = rtb_D; - /* End of RateLimiter: '/Rate Limiter' */ + /* End of RateLimiter: '/Rate Limiter' */ - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant' */ if (rtB.Chiller_Only_Flag > 0.0) { rtb_D = g_ucAC_EXTRA_RPM; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Gain: '/Gain1' incorporates: - * Constant: '/Constant2' + /* Gain: '/Gain1' incorporates: + * Constant: '/Constant2' */ for (i = 0; i < 6; i++) { rtb_Gain1_o3[i] = (uint16_t)((41943U * g_ausCMP_RPM_RESONANCE[i]) >> 21); } - /* End of Gain: '/Gain1' */ + /* End of Gain: '/Gain1' */ - /* MATLAB Function: '/MATLAB Function' */ + /* MATLAB Function: '/MATLAB Function' */ /* : rpm_phys = double(rpm_in); */ /* : low1 = double(res_cal(1)); */ /* : high1 = double(res_cal(2)); */ @@ -11766,15 +14038,15 @@ void HVAC_model_step(void) } /* : rpm_can = uint8(rpm_phys); */ - rtb_duct_select_index_dbg_c = rt_roundd(rtb_D); - if (rtb_duct_select_index_dbg_c < 256.0) { - if (rtb_duct_select_index_dbg_c >= 0.0) { - min_side_L = (uint8_t)rtb_duct_select_index_dbg_c; + rtb_Divide5 = rt_roundd(rtb_D); + if (rtb_Divide5 < 256.0) { + if (rtb_Divide5 >= 0.0) { + side_percent_L = (uint8_t)rtb_Divide5; } else { - min_side_L = 0U; + side_percent_L = 0U; } } else { - min_side_L = UINT8_MAX; + side_percent_L = UINT8_MAX; } /* MATLAB Function: '/external fan' incorporates: @@ -11789,40 +14061,40 @@ void HVAC_model_step(void) * RelationalOperator: '/Compare' */ /* : fan_speed_out = uint8(0); */ - max_side_L = 0U; + center_percent_L = 0U; /* : comp_emergency_stop = false; */ - eComp_stop = false; + rtb_LogicalOperator1 = false; /* : if (comp_state ~= 1) */ - if (!rtb_Compare_e) { + if (!rtb_Compare_e1) { /* : if pressure_failed */ if (rtDW.CCU_PressSenErr_Stat != 0) { /* : fan_speed_out = uint8(100); */ - max_side_L = 100U; + center_percent_L = 100U; /* : comp_emergency_stop = true; */ - eComp_stop = true; + rtb_LogicalOperator1 = true; /* : 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_Switch2_nb = look1_is16lu64n32tu8Ds16Is16_binlcs(rtDW.Pressure, + rtb_Switch5_l = look1_is16lu64n32tu8Ds16Is16_binlcs(rtDW.Pressure, &g_assPRESSURE_TO_FAN_X[0], &g_aucPRESSURE_TO_FAN_Y[0], 6U); - if (rtb_Switch2_nb < 0) { - rtb_Switch2_nb = 0; - } else if (rtb_Switch2_nb > 255) { - rtb_Switch2_nb = 255; + if (rtb_Switch5_l < 0) { + rtb_Switch5_l = 0; + } else if (rtb_Switch5_l > 255) { + rtb_Switch5_l = 255; } - max_side_L = (uint8_t)rtb_Switch2_nb; + center_percent_L = (uint8_t)rtb_Switch5_l; /* : if engine_on == false */ - if ((rtDW.Engine_speed <= 500.0) && (rtb_Switch2_nb > g_ucFAN_MAX_ENG_OFF)) + if ((rtDW.Engine_speed <= 500.0) && (rtb_Switch5_l > g_ucFAN_MAX_ENG_OFF)) { /* : if(fan_speed_out>g_ucFAN_MAX_ENG_OFF) */ /* : fan_speed_out = uint8(g_ucFAN_MAX_ENG_OFF); */ - max_side_L = g_ucFAN_MAX_ENG_OFF; + center_percent_L = g_ucFAN_MAX_ENG_OFF; } } else { /* : fan_speed_out = uint8(0); */ @@ -11843,7 +14115,7 @@ void HVAC_model_step(void) * Constant: '/Constant' * DataStoreRead: '/Data Store Read12' */ - rtb_LogicalOperator1 = (rtDW.CAN_LoHi_Front == 11); + rtb_Compare_i5 = (rtDW.CAN_LoHi_Front == 11); /* Chart: '/13,1,3,15 Valve control' incorporates: * DataStoreRead: '/Data Store Read15' @@ -11879,8 +14151,8 @@ void HVAC_model_step(void) i = -32768; } - if ((rtDW.Duct_RR_Tg > g_assTHREEWAY_DUCT_TGT_R[0]) && - ((!rtb_LogicalOperator1) && (i > g_ssTHREEWAY_WATER))) { + if ((rtDW.Duct_RR_Tg > g_assTHREEWAY_DUCT_TGT_R[0]) && ((!rtb_Compare_i5) && + (i > g_ssTHREEWAY_WATER))) { rtDW.is_ThreeWay_Logic = IN_Wait_3W; /* : Cmd_3Way = 2; */ @@ -11902,8 +14174,8 @@ void HVAC_model_step(void) i = -32768; } - if ((rtDW.Duct_RR_Tg <= g_assTHREEWAY_DUCT_TGT_R[1]) || - (rtb_LogicalOperator1 || (i <= g_ssTHREEWAY_WATER))) { + if ((rtDW.Duct_RR_Tg <= g_assTHREEWAY_DUCT_TGT_R[1]) || (rtb_Compare_i5 || + (i <= g_ssTHREEWAY_WATER))) { rtDW.is_ThreeWay_Logic = IN_Entry_3W; /* : Cmd_3Way = 1; */ @@ -11957,26 +14229,35 @@ void HVAC_model_step(void) /* End of Chart: '/13,1,3,15 Valve control' */ - /* Switch: '/Switch1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' + /* Switch: '/Switch1' incorporates: + * Constant: '/request to close1' + * Constant: '/request to open' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' * DataStoreWrite: '/write 3 way valve' - * Switch: '/Switch5' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Equal' + * RelationalOperator: '/Equal1' + * Switch: '/Switch5' */ - if (rtDW.REST_is_active > 0.0) { + if (((rtDW.LowTempValve_req == 1) || (rtDW.LowTempValve_req == 2)) && + rtDW.REST_is_active) { LowTempValve = rtDW.LowTempValve_req; } else if (rtDW.Max_AC_3_way_valve_close_req) { - /* Switch: '/Switch5' incorporates: - * Constant: '/request to close' + /* Switch: '/Switch5' incorporates: + * Constant: '/request to close' * DataStoreWrite: '/write 3 way valve' + * DataTypeConversion: '/Data Type Conversion1' */ LowTempValve = 1U; } else { LowTempValve = (uint8_t)rtb_Cmd_3Way; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ /* Saturate: '/Saturation4' incorporates: * DataStoreRead: '/Data Store Read28' @@ -11989,13 +14270,13 @@ void HVAC_model_step(void) /* End of Saturate: '/Saturation4' */ - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant10' - * Constant: '/Constant11' - * Constant: '/Constant12' - * Constant: '/Constant7' - * Constant: '/Constant8' - * Constant: '/Constant9' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant10' + * Constant: '/Constant11' + * Constant: '/Constant12' + * Constant: '/Constant7' + * Constant: '/Constant8' + * Constant: '/Constant9' */ switch (rtb_Saturation4) { case 0: @@ -12035,7 +14316,7 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ /* Saturate: '/Saturation' incorporates: * DataStoreRead: '/Data Store Read16' @@ -12050,36 +14331,36 @@ void HVAC_model_step(void) /* End of Saturate: '/Saturation' */ - /* Gain: '/Gain' incorporates: - * Gain: '/Gain' - * Gain: '/Gain2' + /* Gain: '/Gain' incorporates: + * Gain: '/Gain' + * Gain: '/Gain2' */ rtb_Subtract = 52429U * rtb_Saturation_as; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - * DataTypeConversion: '/Data Type Conversion1' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: * DataTypeConversion: '/Data Type Conversion1' - * Gain: '/Gain' - * Gain: '/Gain1' - * Switch: '/Switch15' - * Switch: '/Switch15' + * DataTypeConversion: '/Data Type Conversion1' + * DataTypeConversion: '/Data Type Conversion1' + * Gain: '/Gain' + * Gain: '/Gain1' + * Switch: '/Switch15' + * Switch: '/Switch15' */ rtb_Cmd_3Way = (int32_t)floor(((double)((int32_t)rtb_Subtract >> 19) - 15.0) * 0.5 + 0.5); - /* Selector: '/Selector' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* Selector: '/Selector' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ rtb_MultiportSwitch_cn = rtb_uDLookupTable7_g[(uint8_t)rtb_Cmd_3Way - 1]; - /* 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) { case 0: @@ -12119,56 +14400,56 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * Gain: '/Gain2' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * Gain: '/Gain2' */ - rtb_dt_nx = rtb_Subtract >> 19; + rtb_dt_i = 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; + i = ((int32_t)rtb_dt_i + -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_DataTypeConversion1_hy = (uint8_t)((((uint32_t)i & 16384U) != 0U) + (i >> + rtb_DataTypeConversion3_c1 = (uint8_t)((((uint32_t)i & 16384U) != 0U) + (i >> 15)); - /* Selector: '/Selector' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* Selector: '/Selector' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtb_y_he = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_hy - 1]; + rtb_y_he = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_c1 - 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) { case 0: - rtb_MultiportSwitch_ehw = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation_as, - rtConstP.pooled81, &g_assTG_FLU_LV0[0], 12U); + rtb_MultiportSwitch_om = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation_as, + rtConstP.pooled82, &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_dq2 = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation_as, rtConstP.pooled52, &g_assINCAR_TG_FL_LV0[0], 12U); + rtb_MultiportSwitch_bvo = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation_as, rtConstP.pooled50, &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]; @@ -12176,19 +14457,19 @@ void HVAC_model_step(void) break; case 1: - rtb_MultiportSwitch_ehw = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation_as, - rtConstP.pooled81, &g_assTG_FLU_LV1[0], 12U); + rtb_MultiportSwitch_om = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation_as, + rtConstP.pooled82, &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_dq2 = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation_as, rtConstP.pooled52, &g_assINCAR_TG_FL_LV1[0], 12U); + rtb_MultiportSwitch_bvo = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation_as, rtConstP.pooled50, &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]; @@ -12196,19 +14477,19 @@ void HVAC_model_step(void) break; case 2: - rtb_MultiportSwitch_ehw = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation_as, - rtConstP.pooled81, &g_assTG_FLU_LV2[0], 12U); + rtb_MultiportSwitch_om = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation_as, + rtConstP.pooled82, &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_dq2 = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation_as, rtConstP.pooled52, &g_assINCAR_TG_FL_LV2[0], 12U); + rtb_MultiportSwitch_bvo = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation_as, rtConstP.pooled50, &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]; @@ -12216,19 +14497,19 @@ void HVAC_model_step(void) break; case 3: - rtb_MultiportSwitch_ehw = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation_as, - rtConstP.pooled81, &g_assTG_FLU_LV3[0], 12U); + rtb_MultiportSwitch_om = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation_as, + rtConstP.pooled82, &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_dq2 = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation_as, rtConstP.pooled52, &g_assINCAR_TG_FL_LV3[0], 12U); + rtb_MultiportSwitch_bvo = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation_as, rtConstP.pooled50, &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]; @@ -12236,19 +14517,19 @@ void HVAC_model_step(void) break; case 4: - rtb_MultiportSwitch_ehw = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation_as, - rtConstP.pooled81, &g_assTG_FLU_LV4[0], 12U); + rtb_MultiportSwitch_om = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation_as, + rtConstP.pooled82, &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_dq2 = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation_as, rtConstP.pooled52, &g_assINCAR_TG_FL_LV4[0], 12U); + rtb_MultiportSwitch_bvo = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation_as, rtConstP.pooled50, &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]; @@ -12256,19 +14537,19 @@ void HVAC_model_step(void) break; default: - rtb_MultiportSwitch_ehw = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation_as, - rtConstP.pooled81, &g_assTG_FLU_LV5[0], 12U); + rtb_MultiportSwitch_om = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation_as, + rtConstP.pooled82, &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_dq2 = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation_as, rtConstP.pooled52, &g_assINCAR_TG_FL_LV5[0], 12U); + rtb_MultiportSwitch_bvo = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation_as, rtConstP.pooled50, &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]; @@ -12276,107 +14557,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_kz[0] = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_kz[0] = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_c1 - 1]; - /* MultiPortSwitch: '/Multiport Switch2' */ + /* MultiPortSwitch: '/Multiport Switch2' */ switch (rtb_Saturation4) { 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_kz[1] = - g_assDTG_FU_INC_Y2_LV0[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_Y2_LV0[rtb_DataTypeConversion3_c1 - 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_kz[1] = - g_assDTG_FU_INC_Y2_LV1[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_Y2_LV1[rtb_DataTypeConversion3_c1 - 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_kz[1] = - g_assDTG_FU_INC_Y2_LV2[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_Y2_LV2[rtb_DataTypeConversion3_c1 - 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_kz[1] = - g_assDTG_FU_INC_Y2_LV3[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_Y2_LV3[rtb_DataTypeConversion3_c1 - 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_kz[1] = - g_assDTG_FU_INC_Y2_LV4[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_Y2_LV4[rtb_DataTypeConversion3_c1 - 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_kz[1] = - g_assDTG_FU_INC_Y2_LV5[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_Y2_LV5[rtb_DataTypeConversion3_c1 - 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_kz[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ + /* MultiPortSwitch: '/Multiport Switch3' */ switch (rtb_Saturation4) { 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_kz[3] = - g_assDTG_FU_INC_Y3_LV0[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_Y3_LV0[rtb_DataTypeConversion3_c1 - 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_kz[4] = - g_assDTG_FU_INC_Y4_LV0[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_Y4_LV0[rtb_DataTypeConversion3_c1 - 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]; @@ -12384,25 +14665,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_kz[3] = - g_assDTG_FU_INC_Y3_LV1[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_Y3_LV1[rtb_DataTypeConversion3_c1 - 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_kz[4] = - g_assDTG_FU_INC_Y4_LV1[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_Y4_LV1[rtb_DataTypeConversion3_c1 - 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]; @@ -12410,25 +14691,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_kz[3] = - g_assDTG_FU_INC_Y3_LV2[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_Y3_LV2[rtb_DataTypeConversion3_c1 - 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_kz[4] = - g_assDTG_FU_INC_Y4_LV2[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_Y4_LV2[rtb_DataTypeConversion3_c1 - 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]; @@ -12436,25 +14717,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_kz[3] = - g_assDTG_FU_INC_Y3_LV3[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_Y3_LV3[rtb_DataTypeConversion3_c1 - 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_kz[4] = - g_assDTG_FU_INC_Y4_LV3[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_Y4_LV3[rtb_DataTypeConversion3_c1 - 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]; @@ -12462,25 +14743,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_kz[3] = - g_assDTG_FU_INC_Y3_LV4[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_Y3_LV4[rtb_DataTypeConversion3_c1 - 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_kz[4] = - g_assDTG_FU_INC_Y4_LV4[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_Y4_LV4[rtb_DataTypeConversion3_c1 - 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]; @@ -12488,25 +14769,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_kz[3] = - g_assDTG_FU_INC_Y3_LV5[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_Y3_LV5[rtb_DataTypeConversion3_c1 - 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_kz[4] = - g_assDTG_FU_INC_Y4_LV5[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_Y4_LV5[rtb_DataTypeConversion3_c1 - 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]; @@ -12514,219 +14795,219 @@ 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_by[0] = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[0] = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_c1 - 1]; - /* MultiPortSwitch: '/Multiport Switch2' */ + /* MultiPortSwitch: '/Multiport Switch2' */ switch (rtb_Saturation4) { 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_by[1] = - g_assDTG_FU_INC_X2_LV0[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_X2_LV0[rtb_DataTypeConversion3_c1 - 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_by[1] = - g_assDTG_FU_INC_X2_LV1[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_X2_LV1[rtb_DataTypeConversion3_c1 - 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_by[1] = - g_assDTG_FU_INC_X2_LV2[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_X2_LV2[rtb_DataTypeConversion3_c1 - 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_by[1] = - g_assDTG_FU_INC_X2_LV3[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_X2_LV3[rtb_DataTypeConversion3_c1 - 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_by[1] = - g_assDTG_FU_INC_X2_LV4[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_X2_LV4[rtb_DataTypeConversion3_c1 - 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_by[1] = - g_assDTG_FU_INC_X2_LV5[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_X2_LV5[rtb_DataTypeConversion3_c1 - 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_by[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ + /* MultiPortSwitch: '/Multiport Switch3' */ switch (rtb_Saturation4) { 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_by[3] = - g_assDTG_FU_INC_X3_LV0[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_X3_LV0[rtb_DataTypeConversion3_c1 - 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_by[4] = - g_assDTG_FU_INC_X4_LV0[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_X4_LV0[rtb_DataTypeConversion3_c1 - 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_by[3] = - g_assDTG_FU_INC_X3_LV1[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_X3_LV1[rtb_DataTypeConversion3_c1 - 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_by[4] = - g_assDTG_FU_INC_X4_LV1[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_X4_LV1[rtb_DataTypeConversion3_c1 - 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_by[3] = - g_assDTG_FU_INC_X3_LV2[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_X3_LV2[rtb_DataTypeConversion3_c1 - 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_by[4] = - g_assDTG_FU_INC_X4_LV2[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_X4_LV2[rtb_DataTypeConversion3_c1 - 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_by[3] = - g_assDTG_FU_INC_X3_LV3[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_X3_LV3[rtb_DataTypeConversion3_c1 - 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_by[4] = - g_assDTG_FU_INC_X4_LV3[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_X4_LV3[rtb_DataTypeConversion3_c1 - 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_by[3] = - g_assDTG_FU_INC_X3_LV4[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_X3_LV4[rtb_DataTypeConversion3_c1 - 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_by[4] = - g_assDTG_FU_INC_X4_LV4[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_X4_LV4[rtb_DataTypeConversion3_c1 - 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_by[3] = - g_assDTG_FU_INC_X3_LV5[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_X3_LV5[rtb_DataTypeConversion3_c1 - 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_by[4] = - g_assDTG_FU_INC_X4_LV5[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_INC_X4_LV5[rtb_DataTypeConversion3_c1 - 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_b = look1_is16lu64n32Ds32_binlcn((int16_t) - (rtb_MultiportSwitch_dq2 - rtDW.Incar_FL), rtb_VectorConcatenate_by, + (rtb_MultiportSwitch_bvo - 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) { case 0: @@ -12766,33 +15047,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_pg[0] = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[0] = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_c1 - 1]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_pg[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ + /* MultiPortSwitch: '/Multiport Switch2' */ switch (rtb_Saturation4) { 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_pg[2] = - g_assDTG_FU_AMB_Y2_LV0[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_AMB_Y2_LV0[rtb_DataTypeConversion3_c1 - 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]; @@ -12800,16 +15081,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_pg[2] = - g_assDTG_FU_AMB_Y2_LV1[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_AMB_Y2_LV1[rtb_DataTypeConversion3_c1 - 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]; @@ -12817,16 +15098,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_pg[2] = - g_assDTG_FU_AMB_Y2_LV2[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_AMB_Y2_LV2[rtb_DataTypeConversion3_c1 - 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]; @@ -12834,16 +15115,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_pg[2] = - g_assDTG_FU_AMB_Y2_LV3[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_AMB_Y2_LV3[rtb_DataTypeConversion3_c1 - 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]; @@ -12851,16 +15132,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_pg[2] = - g_assDTG_FU_AMB_Y2_LV4[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_AMB_Y2_LV4[rtb_DataTypeConversion3_c1 - 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]; @@ -12868,16 +15149,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_pg[2] = - g_assDTG_FU_AMB_Y2_LV5[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_AMB_Y2_LV5[rtb_DataTypeConversion3_c1 - 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]; @@ -12885,376 +15166,376 @@ 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_dw[0] = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[0] = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_c1 - 1]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_dw[1] = 0; - - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_FU_AMB_X2_LV0[rtb_DataTypeConversion1_hy - 1]; - break; - - case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_FU_AMB_X2_LV1[rtb_DataTypeConversion1_hy - 1]; - break; - - case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_FU_AMB_X2_LV2[rtb_DataTypeConversion1_hy - 1]; - break; - - case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_FU_AMB_X2_LV3[rtb_DataTypeConversion1_hy - 1]; - break; - - case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_FU_AMB_X2_LV4[rtb_DataTypeConversion1_hy - 1]; - break; - - default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_FU_AMB_X2_LV5[rtb_DataTypeConversion1_hy - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch2' */ - - /* 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' - */ - rtb_Bias_ct = (int16_t)(g_assAMB_LV_TG[rtb_Saturation4] - rtDW.AMB); - - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: - * Sum: '/2.6. X = Amb_Tg - Amb_Fb' - */ - rtb_u6FLU_tg_amb_h = look1_is16lu64n32Ds32_binlcn(rtb_Bias_ct, - rtb_VectorConcatenate_dw, rtb_VectorConcatenate_pg, 2U); - /* SignalConversion generated from: '/Vector Concatenate' incorporates: * Constant: '/Constant24' */ - rtb_VectorConcatenate_gn[0] = 0; + rtb_VectorConcatenate_dw[1] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch2' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_FU_SUN_Y1_LV0[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_FU_SUN_Y2_LV0[rtb_DataTypeConversion1_hy - 1]; + rtb_VectorConcatenate_dw[2] = + g_assDTG_FU_AMB_X2_LV0[rtb_DataTypeConversion3_c1 - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_FU_SUN_Y1_LV1[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_FU_SUN_Y2_LV1[rtb_DataTypeConversion1_hy - 1]; + rtb_VectorConcatenate_dw[2] = + g_assDTG_FU_AMB_X2_LV1[rtb_DataTypeConversion3_c1 - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_FU_SUN_Y1_LV2[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_FU_SUN_Y2_LV2[rtb_DataTypeConversion1_hy - 1]; + rtb_VectorConcatenate_dw[2] = + g_assDTG_FU_AMB_X2_LV2[rtb_DataTypeConversion3_c1 - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_FU_SUN_Y1_LV3[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_FU_SUN_Y2_LV3[rtb_DataTypeConversion1_hy - 1]; + rtb_VectorConcatenate_dw[2] = + g_assDTG_FU_AMB_X2_LV3[rtb_DataTypeConversion3_c1 - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_FU_SUN_Y1_LV4[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_FU_SUN_Y2_LV4[rtb_DataTypeConversion1_hy - 1]; + rtb_VectorConcatenate_dw[2] = + g_assDTG_FU_AMB_X2_LV4[rtb_DataTypeConversion3_c1 - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_FU_SUN_Y1_LV5[rtb_DataTypeConversion1_hy - 1]; - /* Selector: '/Selector1' incorporates: * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_FU_SUN_Y2_LV5[rtb_DataTypeConversion1_hy - 1]; + rtb_VectorConcatenate_dw[2] = + g_assDTG_FU_AMB_X2_LV5[rtb_DataTypeConversion3_c1 - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* 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' + */ + rtb_FLU_tg_correct_ot = (int16_t)(g_assAMB_LV_TG[rtb_Saturation4] - rtDW.AMB); + + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + */ + rtb_u6FLU_tg_amb_h = look1_is16lu64n32Ds32_binlcn(rtb_FLU_tg_correct_ot, + rtb_VectorConcatenate_dw, rtb_VectorConcatenate_pg, 2U); + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_gn[0] = 0; + + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[1] = + g_assDTG_FU_SUN_Y1_LV0[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = + g_assDTG_FU_SUN_Y2_LV0[rtb_DataTypeConversion3_c1 - 1]; + break; + + case 1: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[1] = + g_assDTG_FU_SUN_Y1_LV1[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = + g_assDTG_FU_SUN_Y2_LV1[rtb_DataTypeConversion3_c1 - 1]; + break; + + case 2: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[1] = + g_assDTG_FU_SUN_Y1_LV2[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = + g_assDTG_FU_SUN_Y2_LV2[rtb_DataTypeConversion3_c1 - 1]; + break; + + case 3: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[1] = + g_assDTG_FU_SUN_Y1_LV3[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = + g_assDTG_FU_SUN_Y2_LV3[rtb_DataTypeConversion3_c1 - 1]; + break; + + case 4: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[1] = + g_assDTG_FU_SUN_Y1_LV4[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = + g_assDTG_FU_SUN_Y2_LV4[rtb_DataTypeConversion3_c1 - 1]; + break; + + default: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[1] = + g_assDTG_FU_SUN_Y1_LV5[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = + g_assDTG_FU_SUN_Y2_LV5[rtb_DataTypeConversion3_c1 - 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch1' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_np[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { 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_np[1] = - g_assDTG_FU_SUN_X1_LV0[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_SUN_X1_LV0[rtb_DataTypeConversion3_c1 - 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_np[2] = - g_assDTG_FU_SUN_X2_LV0[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_SUN_X2_LV0[rtb_DataTypeConversion3_c1 - 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_np[1] = - g_assDTG_FU_SUN_X1_LV1[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_SUN_X1_LV1[rtb_DataTypeConversion3_c1 - 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_np[2] = - g_assDTG_FU_SUN_X2_LV1[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_SUN_X2_LV1[rtb_DataTypeConversion3_c1 - 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_np[1] = - g_assDTG_FU_SUN_X1_LV2[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_SUN_X1_LV2[rtb_DataTypeConversion3_c1 - 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_np[2] = - g_assDTG_FU_SUN_X2_LV2[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_SUN_X2_LV2[rtb_DataTypeConversion3_c1 - 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_np[1] = - g_assDTG_FU_SUN_X1_LV3[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_SUN_X1_LV3[rtb_DataTypeConversion3_c1 - 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_np[2] = - g_assDTG_FU_SUN_X2_LV3[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_SUN_X2_LV3[rtb_DataTypeConversion3_c1 - 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_np[1] = - g_assDTG_FU_SUN_X1_LV4[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_SUN_X1_LV4[rtb_DataTypeConversion3_c1 - 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_np[2] = - g_assDTG_FU_SUN_X2_LV4[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_SUN_X2_LV4[rtb_DataTypeConversion3_c1 - 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_np[1] = - g_assDTG_FU_SUN_X1_LV5[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_SUN_X1_LV5[rtb_DataTypeConversion3_c1 - 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_np[2] = - g_assDTG_FU_SUN_X2_LV5[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FU_SUN_X2_LV5[rtb_DataTypeConversion3_c1 - 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_np, rtb_VectorConcatenate_gn, 2U); - /* Sum: '/FLU_tg_correct' */ - rtb_FLU_tg_correct = (int16_t)((int16_t)((int16_t)(rtb_MultiportSwitch_ehw + + /* 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: + /* Switch: '/Switch2' incorporates: * DataStoreWrite: '/Data Store Write' - * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/LowerRelop1' */ if (rtb_FLU_tg_correct > rtb_y_he) { rtb_FLU_tg_correct = rtb_y_he; } 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) { case 0: @@ -13294,74 +15575,74 @@ 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_nb = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_hy - 1]; + rtb_Switch5_l = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_c1 - 1]; - /* Switch: '/Switch' incorporates: + /* Switch: '/Switch' incorporates: * DataStoreWrite: '/Data Store Write' - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector' + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector' */ - if (rtb_FLU_tg_correct < rtb_Switch2_nb) { - rtb_FLU_tg_correct = rtb_Switch2_nb; + if (rtb_FLU_tg_correct < rtb_Switch5_l) { + rtb_FLU_tg_correct = rtb_Switch5_l; } - /* 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' + /* 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' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreRead: '/dtg from Start Control' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/dtg from Start Control' */ rtb_Merge_b = (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' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion generated from: '/FXU' incorporates: + /* SignalConversion generated from: '/FXU' incorporates: * DataStoreWrite: '/Data Store Write' */ rtb_Merge_b = rtb_FLU_tg_correct; - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ if (rtb_Merge_b <= rtb_MultiportSwitch_cn) { - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' - * Constant: '/Constant6' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' + * Constant: '/Constant6' */ switch (rtb_Saturation4) { case 0: @@ -13401,31 +15682,31 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Selector: '/Selector1' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_MultiportSwitch_cn = rtb_uDLookupTable7_g[(uint8_t)rtb_Cmd_3Way - 1]; - /* Switch: '/Switch' incorporates: - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector1' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector1' */ if (rtb_Merge_b >= rtb_MultiportSwitch_cn) { rtb_MultiportSwitch_cn = rtb_Merge_b; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant12' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read76' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant12' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read76' */ if (rtDW.CCU_AC_MAX > 0) { i = 5; @@ -13433,47 +15714,47 @@ void HVAC_model_step(void) i = rtDW.CCU_AUTOMODE_FL; } - /* MATLAB Function: '/func g_assAUTO_STEP_DUCT_TG_U' incorporates: - * DataStoreRead: '/Data Store Read20' - * Switch: '/Switch2' + /* 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, &rtb_Merge_b); /* Switch: '/Switch8' incorporates: - * Constant: '/manual' + * Constant: '/manual' * DataStoreRead: '/Data Store Read1' * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read44' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read44' * DataStoreWrite: '/Data Store Write2' - * RelationalOperator: '/Equal1' - * Switch: '/Switch' - * Switch: '/Switch15' + * RelationalOperator: '/Equal1' + * Switch: '/Switch' + * Switch: '/Switch15' */ if (rtDW.Max_def_algo_active) { Duct_FLU_Tg = rtDW.Max_def_FLU_duct_tg; } else if (rtDW.LO_HI_MODE_FL > 1) { - /* Switch: '/Switch15' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch15' incorporates: + * Constant: '/Constant' * DataStoreWrite: '/Data Store Write2' */ Duct_FLU_Tg = 600; } else if (rtDW.CCU_MODE_FL == 0) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read' * DataStoreWrite: '/Data Store Write2' - * Sum: '/Add' - * Switch: '/Switch15' + * Sum: '/Add' + * Switch: '/Switch15' */ Duct_FLU_Tg = (int16_t)(rtb_MultiportSwitch_cn + rtDW.FLU_duct_target_offset_autodemist); } else { /* DataStoreWrite: '/Data Store Write2' incorporates: - * DataStoreRead: '/Data Store Read' - * Sum: '/Add' - * Sum: '/Add' - * Switch: '/Switch' - * Switch: '/Switch15' + * DataStoreRead: '/Data Store Read' + * Sum: '/Add' + * Sum: '/Add' + * Switch: '/Switch' + * Switch: '/Switch15' */ Duct_FLU_Tg = (int16_t)((int16_t)(rtb_MultiportSwitch_cn + rtDW.FLU_duct_target_offset_autodemist) + rtb_Merge_b); @@ -13481,13 +15762,13 @@ void HVAC_model_step(void) /* End of Switch: '/Switch8' */ - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant10' - * Constant: '/Constant11' - * Constant: '/Constant12' - * Constant: '/Constant7' - * Constant: '/Constant8' - * Constant: '/Constant9' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant10' + * Constant: '/Constant11' + * Constant: '/Constant12' + * Constant: '/Constant7' + * Constant: '/Constant8' + * Constant: '/Constant9' */ switch (rtb_Saturation4) { case 0: @@ -13527,21 +15808,21 @@ 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_y_he = rtb_uDLookupTable7_g[(uint8_t)rtb_Cmd_3Way - 1]; - /* 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) { case 0: @@ -13581,7 +15862,7 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ /* Saturate: '/Saturation1' incorporates: * DataStoreRead: '/Data Store Read17' @@ -13596,1083 +15877,1082 @@ void HVAC_model_step(void) /* End of Saturate: '/Saturation1' */ - /* Gain: '/Gain' incorporates: - * Gain: '/Gain2' + /* Gain: '/Gain' incorporates: + * Gain: '/Gain2' */ - rtb_Gain2_tmp_tmp = 52429U * Gain1; + rtb_Gain2_k_tmp_tmp = 52429U * Gain1; - /* DataTypeConversion: '/Data Type Conversion3' incorporates: - * Gain: '/Gain' - * Gain: '/Gain2' + /* DataTypeConversion: '/Data Type Conversion3' incorporates: + * Gain: '/Gain' + * Gain: '/Gain2' */ - rtb_Gain2_tmp_tmp_0 = rtb_Gain2_tmp_tmp >> 19; + rtb_Gain2_k_tmp_tmp_0 = rtb_Gain2_k_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_tmp_tmp_0 + -15) << 14; + i = ((int32_t)rtb_Gain2_k_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_DataTypeConversion3_hs = (uint8_t)((((uint32_t)i & 16384U) != 0U) + (i >> - 15)); + Index_mode_FR_manual = (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) { case 0: - rtb_MultiportSwitch_ks = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, - rtConstP.pooled81, &g_assTG_FRU_LV0[0], 12U); + rtb_MultiportSwitch_pa = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, + rtConstP.pooled82, &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_oa = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, - rtConstP.pooled52, &g_assINCAR_TG_FR_LV0[0], 12U); + rtb_MultiportSwitch_fg = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, + rtConstP.pooled50, &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_by[0] = - g_assDTG_FU_INC_Y1_LV0[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[0] = g_assDTG_FU_INC_Y1_LV0[Index_mode_FR_manual - + 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_by[1] = - g_assDTG_FU_INC_Y2_LV0[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[1] = g_assDTG_FU_INC_Y2_LV0[Index_mode_FR_manual - + 1]; break; case 1: - rtb_MultiportSwitch_ks = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, - rtConstP.pooled81, &g_assTG_FRU_LV1[0], 12U); + rtb_MultiportSwitch_pa = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, + rtConstP.pooled82, &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_oa = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, - rtConstP.pooled52, &g_assINCAR_TG_FR_LV1[0], 12U); + rtb_MultiportSwitch_fg = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, + rtConstP.pooled50, &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_by[0] = - g_assDTG_FU_INC_Y1_LV1[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[0] = g_assDTG_FU_INC_Y1_LV1[Index_mode_FR_manual - + 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_by[1] = - g_assDTG_FU_INC_Y2_LV1[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[1] = g_assDTG_FU_INC_Y2_LV1[Index_mode_FR_manual - + 1]; break; case 2: - rtb_MultiportSwitch_ks = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, - rtConstP.pooled81, &g_assTG_FRU_LV2[0], 12U); + rtb_MultiportSwitch_pa = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, + rtConstP.pooled82, &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_oa = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, - rtConstP.pooled52, &g_assINCAR_TG_FR_LV2[0], 12U); + rtb_MultiportSwitch_fg = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, + rtConstP.pooled50, &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_by[0] = - g_assDTG_FU_INC_Y1_LV2[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[0] = g_assDTG_FU_INC_Y1_LV2[Index_mode_FR_manual - + 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_by[1] = - g_assDTG_FU_INC_Y2_LV2[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[1] = g_assDTG_FU_INC_Y2_LV2[Index_mode_FR_manual - + 1]; break; case 3: - rtb_MultiportSwitch_ks = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, - rtConstP.pooled81, &g_assTG_FRU_LV3[0], 12U); + rtb_MultiportSwitch_pa = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, + rtConstP.pooled82, &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_oa = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, - rtConstP.pooled52, &g_assINCAR_TG_FR_LV3[0], 12U); + rtb_MultiportSwitch_fg = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, + rtConstP.pooled50, &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_by[0] = - g_assDTG_FU_INC_Y1_LV3[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[0] = g_assDTG_FU_INC_Y1_LV3[Index_mode_FR_manual - + 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_by[1] = - g_assDTG_FU_INC_Y2_LV3[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[1] = g_assDTG_FU_INC_Y2_LV3[Index_mode_FR_manual - + 1]; break; case 4: - rtb_MultiportSwitch_ks = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, - rtConstP.pooled81, &g_assTG_FRU_LV4[0], 12U); + rtb_MultiportSwitch_pa = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, + rtConstP.pooled82, &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_oa = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, - rtConstP.pooled52, &g_assINCAR_TG_FR_LV4[0], 12U); + rtb_MultiportSwitch_fg = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, + rtConstP.pooled50, &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_by[0] = - g_assDTG_FU_INC_Y1_LV4[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[0] = g_assDTG_FU_INC_Y1_LV4[Index_mode_FR_manual - + 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_by[1] = - g_assDTG_FU_INC_Y2_LV4[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[1] = g_assDTG_FU_INC_Y2_LV4[Index_mode_FR_manual - + 1]; break; default: - rtb_MultiportSwitch_ks = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, - rtConstP.pooled81, &g_assTG_FRU_LV5[0], 12U); + rtb_MultiportSwitch_pa = look1_iu16lu64n48ts16Ds32_binlcs(Gain1, + rtConstP.pooled82, &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_oa = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, - rtConstP.pooled52, &g_assINCAR_TG_FR_LV5[0], 12U); + rtb_MultiportSwitch_fg = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, + rtConstP.pooled50, &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_by[0] = - g_assDTG_FU_INC_Y1_LV5[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[0] = g_assDTG_FU_INC_Y1_LV5[Index_mode_FR_manual - + 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_by[1] = - g_assDTG_FU_INC_Y2_LV5[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[1] = g_assDTG_FU_INC_Y2_LV5[Index_mode_FR_manual - + 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_by[2] = 0; - - /* MultiPortSwitch: '/Multiport Switch3' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_by[3] = - g_assDTG_FU_INC_Y3_LV0[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_by[4] = - g_assDTG_FU_INC_Y4_LV0[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[0] = - g_assDTG_FU_INC_X1_LV0[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[1] = - g_assDTG_FU_INC_X2_LV0[rtb_DataTypeConversion3_hs - 1]; - break; - - case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_by[3] = - g_assDTG_FU_INC_Y3_LV1[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_by[4] = - g_assDTG_FU_INC_Y4_LV1[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[0] = - g_assDTG_FU_INC_X1_LV1[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[1] = - g_assDTG_FU_INC_X2_LV1[rtb_DataTypeConversion3_hs - 1]; - break; - - case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_by[3] = - g_assDTG_FU_INC_Y3_LV2[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_by[4] = - g_assDTG_FU_INC_Y4_LV2[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[0] = - g_assDTG_FU_INC_X1_LV2[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[1] = - g_assDTG_FU_INC_X2_LV2[rtb_DataTypeConversion3_hs - 1]; - break; - - case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_by[3] = - g_assDTG_FU_INC_Y3_LV3[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_by[4] = - g_assDTG_FU_INC_Y4_LV3[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[0] = - g_assDTG_FU_INC_X1_LV3[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[1] = - g_assDTG_FU_INC_X2_LV3[rtb_DataTypeConversion3_hs - 1]; - break; - - case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_by[3] = - g_assDTG_FU_INC_Y3_LV4[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_by[4] = - g_assDTG_FU_INC_Y4_LV4[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[0] = - g_assDTG_FU_INC_X1_LV4[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[1] = - g_assDTG_FU_INC_X2_LV4[rtb_DataTypeConversion3_hs - 1]; - break; - - default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_by[3] = - g_assDTG_FU_INC_Y3_LV5[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_by[4] = - g_assDTG_FU_INC_Y4_LV5[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[0] = - g_assDTG_FU_INC_X1_LV5[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[1] = - g_assDTG_FU_INC_X2_LV5[rtb_DataTypeConversion3_hs - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch3' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_kz[2] = 0; - - /* MultiPortSwitch: '/Multiport Switch3' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_kz[3] = - g_assDTG_FU_INC_X3_LV0[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[4] = - g_assDTG_FU_INC_X4_LV0[rtb_DataTypeConversion3_hs - 1]; - break; - - case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_kz[3] = - g_assDTG_FU_INC_X3_LV1[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[4] = - g_assDTG_FU_INC_X4_LV1[rtb_DataTypeConversion3_hs - 1]; - break; - - case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_kz[3] = - g_assDTG_FU_INC_X3_LV2[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[4] = - g_assDTG_FU_INC_X4_LV2[rtb_DataTypeConversion3_hs - 1]; - break; - - case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_kz[3] = - g_assDTG_FU_INC_X3_LV3[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[4] = - g_assDTG_FU_INC_X4_LV3[rtb_DataTypeConversion3_hs - 1]; - break; - - case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_kz[3] = - g_assDTG_FU_INC_X3_LV4[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[4] = - g_assDTG_FU_INC_X4_LV4[rtb_DataTypeConversion3_hs - 1]; - break; - - default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_kz[3] = - g_assDTG_FU_INC_X3_LV5[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[4] = - g_assDTG_FU_INC_X4_LV5[rtb_DataTypeConversion3_hs - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch3' */ - - /* Lookup_n-D: '/2.5 FRU_tg_incar' incorporates: - * DataStoreRead: '/Data Store Read22' - * Sum: '/2.5. X = Inc_Tg - Incar_fb' - */ - rtb_u5FRU_tg_incar = look1_is16lu64n32Ds32_binlcn((int16_t) - (rtb_MultiportSwitch_oa - rtDW.Incar_FR), rtb_VectorConcatenate_kz, - rtb_VectorConcatenate_by, 4U); - - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_dw[0] = - g_assDTG_FU_AMB_Y1_LV0[rtb_DataTypeConversion3_hs - 1]; - break; - - case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_dw[0] = - g_assDTG_FU_AMB_Y1_LV1[rtb_DataTypeConversion3_hs - 1]; - break; - - case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_dw[0] = - g_assDTG_FU_AMB_Y1_LV2[rtb_DataTypeConversion3_hs - 1]; - break; - - case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_dw[0] = - g_assDTG_FU_AMB_Y1_LV3[rtb_DataTypeConversion3_hs - 1]; - break; - - case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_dw[0] = - g_assDTG_FU_AMB_Y1_LV4[rtb_DataTypeConversion3_hs - 1]; - break; - - default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_dw[0] = - g_assDTG_FU_AMB_Y1_LV5[rtb_DataTypeConversion3_hs - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch1' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_dw[1] = 0; - - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_FU_AMB_Y2_LV0[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_pg[0] = - g_assDTG_FU_AMB_X1_LV0[rtb_DataTypeConversion3_hs - 1]; - break; - - case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_FU_AMB_Y2_LV1[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_pg[0] = - g_assDTG_FU_AMB_X1_LV1[rtb_DataTypeConversion3_hs - 1]; - break; - - case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_FU_AMB_Y2_LV2[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_pg[0] = - g_assDTG_FU_AMB_X1_LV2[rtb_DataTypeConversion3_hs - 1]; - break; - - case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_FU_AMB_Y2_LV3[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_pg[0] = - g_assDTG_FU_AMB_X1_LV3[rtb_DataTypeConversion3_hs - 1]; - break; - - case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_FU_AMB_Y2_LV4[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_pg[0] = - g_assDTG_FU_AMB_X1_LV4[rtb_DataTypeConversion3_hs - 1]; - break; - - default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_FU_AMB_Y2_LV5[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_pg[0] = - g_assDTG_FU_AMB_X1_LV5[rtb_DataTypeConversion3_hs - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch2' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_pg[1] = 0; - - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_pg[2] = - g_assDTG_FU_AMB_X2_LV0[rtb_DataTypeConversion3_hs - 1]; - break; - - case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_pg[2] = - g_assDTG_FU_AMB_X2_LV1[rtb_DataTypeConversion3_hs - 1]; - break; - - case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_pg[2] = - g_assDTG_FU_AMB_X2_LV2[rtb_DataTypeConversion3_hs - 1]; - break; - - case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_pg[2] = - g_assDTG_FU_AMB_X2_LV3[rtb_DataTypeConversion3_hs - 1]; - break; - - case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_pg[2] = - g_assDTG_FU_AMB_X2_LV4[rtb_DataTypeConversion3_hs - 1]; - break; - - default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_pg[2] = - g_assDTG_FU_AMB_X2_LV5[rtb_DataTypeConversion3_hs - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch2' */ - - /* Lookup_n-D: '/2.6 FRU_tg_amb' */ - rtb_u6FRU_tg_amb_f = look1_is16lu64n32Ds32_binlcn(rtb_Bias_ct, - rtb_VectorConcatenate_pg, rtb_VectorConcatenate_dw, 2U); - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_gn[0] = 0; - - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_FU_SUN_Y1_LV0[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_FU_SUN_Y2_LV0[rtb_DataTypeConversion3_hs - 1]; - break; - - case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_FU_SUN_Y1_LV1[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_FU_SUN_Y2_LV1[rtb_DataTypeConversion3_hs - 1]; - break; - - case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_FU_SUN_Y1_LV2[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_FU_SUN_Y2_LV2[rtb_DataTypeConversion3_hs - 1]; - break; - - case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_FU_SUN_Y1_LV3[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_FU_SUN_Y2_LV3[rtb_DataTypeConversion3_hs - 1]; - break; - - case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_FU_SUN_Y1_LV4[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_FU_SUN_Y2_LV4[rtb_DataTypeConversion3_hs - 1]; - break; - - default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_FU_SUN_Y1_LV5[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_FU_SUN_Y2_LV5[rtb_DataTypeConversion3_hs - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ /* SignalConversion generated from: '/Vector Concatenate' incorporates: * Constant: '/Constant24' */ - rtb_VectorConcatenate_np[0] = 0; + rtb_VectorConcatenate_by[2] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch3' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_np[1] = - g_assDTG_FU_SUN_X1_LV0[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[3] = g_assDTG_FU_INC_Y3_LV0[Index_mode_FR_manual - + 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_np[2] = - g_assDTG_FU_SUN_X2_LV0[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[4] = g_assDTG_FU_INC_Y4_LV0[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV0[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV0[Index_mode_FR_manual - + 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_np[1] = - g_assDTG_FU_SUN_X1_LV1[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[3] = g_assDTG_FU_INC_Y3_LV1[Index_mode_FR_manual - + 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_np[2] = - g_assDTG_FU_SUN_X2_LV1[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[4] = g_assDTG_FU_INC_Y4_LV1[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV1[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV1[Index_mode_FR_manual - + 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_np[1] = - g_assDTG_FU_SUN_X1_LV2[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[3] = g_assDTG_FU_INC_Y3_LV2[Index_mode_FR_manual - + 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_np[2] = - g_assDTG_FU_SUN_X2_LV2[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[4] = g_assDTG_FU_INC_Y4_LV2[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV2[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV2[Index_mode_FR_manual - + 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_np[1] = - g_assDTG_FU_SUN_X1_LV3[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[3] = g_assDTG_FU_INC_Y3_LV3[Index_mode_FR_manual - + 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_np[2] = - g_assDTG_FU_SUN_X2_LV3[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[4] = g_assDTG_FU_INC_Y4_LV3[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV3[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV3[Index_mode_FR_manual - + 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_np[1] = - g_assDTG_FU_SUN_X1_LV4[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[3] = g_assDTG_FU_INC_Y3_LV4[Index_mode_FR_manual - + 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_np[2] = - g_assDTG_FU_SUN_X2_LV4[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[4] = g_assDTG_FU_INC_Y4_LV4[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV4[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV4[Index_mode_FR_manual - + 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + * DataTypeConversion: '/Data Type Conversion2' */ - rtb_VectorConcatenate_np[1] = - g_assDTG_FU_SUN_X1_LV5[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[3] = g_assDTG_FU_INC_Y3_LV5[Index_mode_FR_manual - + 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_np[2] = - g_assDTG_FU_SUN_X2_LV5[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[4] = g_assDTG_FU_INC_Y4_LV5[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV5[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV5[Index_mode_FR_manual - + 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* Lookup_n-D: '/2.6 FRU_tg_amb' incorporates: + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_kz[2] = 0; + + /* MultiPortSwitch: '/Multiport Switch3' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV0[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV0[Index_mode_FR_manual - + 1]; + break; + + case 1: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV1[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV1[Index_mode_FR_manual - + 1]; + break; + + case 2: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV2[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV2[Index_mode_FR_manual - + 1]; + break; + + case 3: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV3[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV3[Index_mode_FR_manual - + 1]; + break; + + case 4: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV4[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV4[Index_mode_FR_manual - + 1]; + break; + + default: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV5[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV5[Index_mode_FR_manual - + 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch3' */ + + /* Lookup_n-D: '/2.5 FRU_tg_incar' incorporates: + * DataStoreRead: '/Data Store Read22' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' + */ + rtb_u5FRU_tg_incar = look1_is16lu64n32Ds32_binlcn((int16_t) + (rtb_MultiportSwitch_fg - rtDW.Incar_FR), rtb_VectorConcatenate_kz, + rtb_VectorConcatenate_by, 4U); + + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_dw[0] = g_assDTG_FU_AMB_Y1_LV0[Index_mode_FR_manual - + 1]; + break; + + case 1: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_dw[0] = g_assDTG_FU_AMB_Y1_LV1[Index_mode_FR_manual - + 1]; + break; + + case 2: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_dw[0] = g_assDTG_FU_AMB_Y1_LV2[Index_mode_FR_manual - + 1]; + break; + + case 3: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_dw[0] = g_assDTG_FU_AMB_Y1_LV3[Index_mode_FR_manual - + 1]; + break; + + case 4: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_dw[0] = g_assDTG_FU_AMB_Y1_LV4[Index_mode_FR_manual - + 1]; + break; + + default: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_dw[0] = g_assDTG_FU_AMB_Y1_LV5[Index_mode_FR_manual - + 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch1' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_dw[1] = 0; + + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_dw[2] = g_assDTG_FU_AMB_Y2_LV0[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' + */ + rtb_VectorConcatenate_pg[0] = g_assDTG_FU_AMB_X1_LV0[Index_mode_FR_manual - + 1]; + break; + + case 1: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_dw[2] = g_assDTG_FU_AMB_Y2_LV1[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' + */ + rtb_VectorConcatenate_pg[0] = g_assDTG_FU_AMB_X1_LV1[Index_mode_FR_manual - + 1]; + break; + + case 2: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_dw[2] = g_assDTG_FU_AMB_Y2_LV2[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' + */ + rtb_VectorConcatenate_pg[0] = g_assDTG_FU_AMB_X1_LV2[Index_mode_FR_manual - + 1]; + break; + + case 3: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_dw[2] = g_assDTG_FU_AMB_Y2_LV3[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' + */ + rtb_VectorConcatenate_pg[0] = g_assDTG_FU_AMB_X1_LV3[Index_mode_FR_manual - + 1]; + break; + + case 4: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_dw[2] = g_assDTG_FU_AMB_Y2_LV4[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' + */ + rtb_VectorConcatenate_pg[0] = g_assDTG_FU_AMB_X1_LV4[Index_mode_FR_manual - + 1]; + break; + + default: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_dw[2] = g_assDTG_FU_AMB_Y2_LV5[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' + */ + rtb_VectorConcatenate_pg[0] = g_assDTG_FU_AMB_X1_LV5[Index_mode_FR_manual - + 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch2' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_pg[1] = 0; + + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_pg[2] = g_assDTG_FU_AMB_X2_LV0[Index_mode_FR_manual - + 1]; + break; + + case 1: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_pg[2] = g_assDTG_FU_AMB_X2_LV1[Index_mode_FR_manual - + 1]; + break; + + case 2: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_pg[2] = g_assDTG_FU_AMB_X2_LV2[Index_mode_FR_manual - + 1]; + break; + + case 3: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_pg[2] = g_assDTG_FU_AMB_X2_LV3[Index_mode_FR_manual - + 1]; + break; + + case 4: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_pg[2] = g_assDTG_FU_AMB_X2_LV4[Index_mode_FR_manual - + 1]; + break; + + default: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_pg[2] = g_assDTG_FU_AMB_X2_LV5[Index_mode_FR_manual - + 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch2' */ + + /* Lookup_n-D: '/2.6 FRU_tg_amb' */ + rtb_u6FRU_tg_amb_f = look1_is16lu64n32Ds32_binlcn(rtb_FLU_tg_correct_ot, + rtb_VectorConcatenate_pg, rtb_VectorConcatenate_dw, 2U); + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_gn[0] = 0; + + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_gn[1] = g_assDTG_FU_SUN_Y1_LV0[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = g_assDTG_FU_SUN_Y2_LV0[Index_mode_FR_manual - + 1]; + break; + + case 1: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_gn[1] = g_assDTG_FU_SUN_Y1_LV1[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = g_assDTG_FU_SUN_Y2_LV1[Index_mode_FR_manual - + 1]; + break; + + case 2: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_gn[1] = g_assDTG_FU_SUN_Y1_LV2[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = g_assDTG_FU_SUN_Y2_LV2[Index_mode_FR_manual - + 1]; + break; + + case 3: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_gn[1] = g_assDTG_FU_SUN_Y1_LV3[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = g_assDTG_FU_SUN_Y2_LV3[Index_mode_FR_manual - + 1]; + break; + + case 4: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_gn[1] = g_assDTG_FU_SUN_Y1_LV4[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = g_assDTG_FU_SUN_Y2_LV4[Index_mode_FR_manual - + 1]; + break; + + default: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_gn[1] = g_assDTG_FU_SUN_Y1_LV5[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = g_assDTG_FU_SUN_Y2_LV5[Index_mode_FR_manual - + 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch1' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_np[0] = 0; + + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_np[1] = g_assDTG_FU_SUN_X1_LV0[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = g_assDTG_FU_SUN_X2_LV0[Index_mode_FR_manual - + 1]; + break; + + case 1: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_np[1] = g_assDTG_FU_SUN_X1_LV1[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = g_assDTG_FU_SUN_X2_LV1[Index_mode_FR_manual - + 1]; + break; + + case 2: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_np[1] = g_assDTG_FU_SUN_X1_LV2[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = g_assDTG_FU_SUN_X2_LV2[Index_mode_FR_manual - + 1]; + break; + + case 3: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_np[1] = g_assDTG_FU_SUN_X1_LV3[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = g_assDTG_FU_SUN_X2_LV3[Index_mode_FR_manual - + 1]; + break; + + case 4: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_np[1] = g_assDTG_FU_SUN_X1_LV4[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = g_assDTG_FU_SUN_X2_LV4[Index_mode_FR_manual - + 1]; + break; + + default: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' + */ + rtb_VectorConcatenate_np[1] = g_assDTG_FU_SUN_X1_LV5[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = g_assDTG_FU_SUN_X2_LV5[Index_mode_FR_manual - + 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch1' */ + + /* 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_np, rtb_VectorConcatenate_gn, 2U); - /* Sum: '/FLU_tg_correct1' */ - rtb_Merge_b = (int16_t)((int16_t)((int16_t)(rtb_MultiportSwitch_ks + + /* Sum: '/FLU_tg_correct1' */ + rtb_Merge_b = (int16_t)((int16_t)((int16_t)(rtb_MultiportSwitch_pa + rtb_u5FRU_tg_incar) + rtb_u6FRU_tg_amb_f) + rtb_u6FRU_tg_amb); - /* Switch: '/Switch2' incorporates: + /* Switch: '/Switch2' incorporates: * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion2' - * RelationalOperator: '/LowerRelop1' - * Selector: '/Selector' + * DataTypeConversion: '/Data Type Conversion2' + * RelationalOperator: '/LowerRelop1' + * Selector: '/Selector' */ - if (rtb_Merge_b > rtb_uDLookupTable7_g[rtb_DataTypeConversion3_hs - 1]) { - rtb_Merge_b = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_hs - 1]; + if (rtb_Merge_b > rtb_uDLookupTable7_g[Index_mode_FR_manual - 1]) { + rtb_Merge_b = rtb_uDLookupTable7_g[Index_mode_FR_manual - 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) { case 0: @@ -14712,61 +16992,61 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' */ - rtb_Switch2_nb = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_hs - 1]; + /* Selector: '/Selector' */ + rtb_Switch5_l = rtb_uDLookupTable7_g[Index_mode_FR_manual - 1]; - /* Switch: '/Switch' incorporates: + /* Switch: '/Switch' incorporates: * DataStoreWrite: '/Data Store Write1' - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector' + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector' */ - if (rtb_Merge_b < rtb_Switch2_nb) { - rtb_Merge_b = rtb_Switch2_nb; + if (rtb_Merge_b < rtb_Switch5_l) { + rtb_Merge_b = rtb_Switch5_l; } - /* 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' + /* 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' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreRead: '/dtg from Start Control' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/dtg from Start Control' */ rtb_Merge_b = (int16_t)rtDW.Dtg_FUR; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ if (rtb_Merge_b <= rtb_y_he) { - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' - * Constant: '/Constant6' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' + * Constant: '/Constant6' */ switch (rtb_Saturation4) { case 0: @@ -14806,31 +17086,31 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Selector: '/Selector1' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ rtb_y_he = rtb_uDLookupTable7_g[(uint8_t)rtb_Cmd_3Way - 1]; - /* Switch: '/Switch' incorporates: - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector1' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector1' */ if (rtb_Merge_b >= rtb_y_he) { rtb_y_he = rtb_Merge_b; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant12' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read76' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant12' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read76' */ if (rtDW.CCU_AC_MAX > 0) { i = 5; @@ -14838,46 +17118,46 @@ void HVAC_model_step(void) i = rtDW.CCU_AUTOMODE_FR; } - /* MATLAB Function: '/func g_assAUTO_STEP_DUCT_TG_U' incorporates: - * DataStoreRead: '/Data Store Read20' - * Switch: '/Switch2' + /* 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, &rtb_Merge_b); /* Switch: '/Switch1' incorporates: - * Constant: '/manual' + * Constant: '/manual' * DataStoreRead: '/Data Store Read2' * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read44' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read44' * DataStoreWrite: '/Data Store Write3' - * RelationalOperator: '/Equal1' - * Switch: '/Switch' - * Switch: '/Switch15' + * RelationalOperator: '/Equal1' + * Switch: '/Switch' + * Switch: '/Switch15' */ if (rtDW.Max_def_algo_active) { Duct_FRU_Tg = rtDW.Max_def_FLU_duct_tg; } else if (rtDW.LO_HI_MODE_FR > 1) { - /* Switch: '/Switch15' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch15' incorporates: + * Constant: '/Constant' * DataStoreWrite: '/Data Store Write3' */ Duct_FRU_Tg = 600; } else if (rtDW.CCU_MODE_FR == 0) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read' * DataStoreWrite: '/Data Store Write3' - * Sum: '/Add' - * Switch: '/Switch15' + * Sum: '/Add' + * Switch: '/Switch15' */ Duct_FRU_Tg = (int16_t)(rtb_y_he + rtDW.FRU_duct_target_offset_autodemist); } else { /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataStoreRead: '/Data Store Read' - * Sum: '/Add' - * Sum: '/Add' - * Switch: '/Switch' - * Switch: '/Switch15' + * DataStoreRead: '/Data Store Read' + * Sum: '/Add' + * Sum: '/Add' + * Switch: '/Switch' + * Switch: '/Switch15' */ Duct_FRU_Tg = (int16_t)((int16_t)(rtb_y_he + rtDW.FRU_duct_target_offset_autodemist) + rtb_Merge_b); @@ -14885,13 +17165,13 @@ void HVAC_model_step(void) /* End of Switch: '/Switch1' */ - /* 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) { case 0: @@ -14931,7 +17211,7 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ /* Saturate: '/Saturation2' incorporates: * DataStoreRead: '/Data Store Read18' @@ -14946,976 +17226,976 @@ 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: '/Gain2' + * Gain: '/Gain' */ i = ((int32_t)((52429U * rtb_Saturation2) >> 19) + -15) << 14; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Gain: '/Gain2' - * Saturate: '/Saturation' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Gain: '/Gain2' + * Saturate: '/Saturation' */ - rtb_DataTypeConversion1_gy = (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) { case 0: rtb_MultiportSwitch_cn = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, - rtConstP.pooled81, &g_assTG_RL_LV0[0], 12U); + rtConstP.pooled82, &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_np = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2, rtConstP.pooled52, &g_assINCAR_TG_RL_LV0[0], 12U); + rtb_MultiportSwitch_pe = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation2, rtConstP.pooled50, &g_assINCAR_TG_RL_LV0[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - */ - rtb_VectorConcatenate_by[0] = - g_assDTG_R_INC_Y1_LV0[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[1] = - g_assDTG_R_INC_Y2_LV0[rtb_DataTypeConversion1_gy - 1]; - break; - - case 1: - rtb_MultiportSwitch_cn = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, - rtConstP.pooled81, &g_assTG_RL_LV1[0], 12U); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table1' - * Lookup_n-D: '/1-D Lookup Table1' - * Saturate: '/Saturation2' - */ - rtb_MultiportSwitch_np = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2, rtConstP.pooled52, &g_assINCAR_TG_RL_LV1[0], 12U); - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - */ - rtb_VectorConcatenate_by[0] = - g_assDTG_R_INC_Y1_LV1[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[1] = - g_assDTG_R_INC_Y2_LV1[rtb_DataTypeConversion1_gy - 1]; - break; - - case 2: - rtb_MultiportSwitch_cn = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, - rtConstP.pooled81, &g_assTG_RL_LV2[0], 12U); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table2' - * Lookup_n-D: '/1-D Lookup Table2' - * Saturate: '/Saturation2' - */ - rtb_MultiportSwitch_np = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2, rtConstP.pooled52, &g_assINCAR_TG_RL_LV2[0], 12U); - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - */ - rtb_VectorConcatenate_by[0] = - g_assDTG_R_INC_Y1_LV2[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[1] = - g_assDTG_R_INC_Y2_LV2[rtb_DataTypeConversion1_gy - 1]; - break; - - case 3: - rtb_MultiportSwitch_cn = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, - rtConstP.pooled81, &g_assTG_RL_LV3[0], 12U); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table3' - * Lookup_n-D: '/1-D Lookup Table3' - * Saturate: '/Saturation2' - */ - rtb_MultiportSwitch_np = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2, rtConstP.pooled52, &g_assINCAR_TG_RL_LV3[0], 12U); - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - */ - rtb_VectorConcatenate_by[0] = - g_assDTG_R_INC_Y1_LV3[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[1] = - g_assDTG_R_INC_Y2_LV3[rtb_DataTypeConversion1_gy - 1]; - break; - - case 4: - rtb_MultiportSwitch_cn = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, - rtConstP.pooled81, &g_assTG_RL_LV4[0], 12U); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table4' - * Lookup_n-D: '/1-D Lookup Table4' - * Saturate: '/Saturation2' - */ - rtb_MultiportSwitch_np = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2, rtConstP.pooled52, &g_assINCAR_TG_RL_LV4[0], 12U); - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - */ - rtb_VectorConcatenate_by[0] = - g_assDTG_R_INC_Y1_LV4[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[1] = - g_assDTG_R_INC_Y2_LV4[rtb_DataTypeConversion1_gy - 1]; - break; - - default: - rtb_MultiportSwitch_cn = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, - rtConstP.pooled81, &g_assTG_RL_LV5[0], 12U); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table5' - * Lookup_n-D: '/1-D Lookup Table5' - * Saturate: '/Saturation2' - */ - rtb_MultiportSwitch_np = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2, rtConstP.pooled52, &g_assINCAR_TG_RL_LV5[0], 12U); - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - */ - rtb_VectorConcatenate_by[0] = - g_assDTG_R_INC_Y1_LV5[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[1] = - g_assDTG_R_INC_Y2_LV5[rtb_DataTypeConversion1_gy - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_by[2] = 0; - - /* MultiPortSwitch: '/Multiport Switch3' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - */ - rtb_VectorConcatenate_by[3] = - g_assDTG_R_INC_Y3_LV0[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_by[4] = - g_assDTG_R_INC_Y4_LV0[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[0] = - g_assDTG_R_INC_X1_LV0[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[1] = - g_assDTG_R_INC_X2_LV0[rtb_DataTypeConversion1_gy - 1]; - break; - - case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - */ - rtb_VectorConcatenate_by[3] = - g_assDTG_R_INC_Y3_LV1[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_by[4] = - g_assDTG_R_INC_Y4_LV1[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[0] = - g_assDTG_R_INC_X1_LV1[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[1] = - g_assDTG_R_INC_X2_LV1[rtb_DataTypeConversion1_gy - 1]; - break; - - case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - */ - rtb_VectorConcatenate_by[3] = - g_assDTG_R_INC_Y3_LV2[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_by[4] = - g_assDTG_R_INC_Y4_LV2[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[0] = - g_assDTG_R_INC_X1_LV2[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[1] = - g_assDTG_R_INC_X2_LV2[rtb_DataTypeConversion1_gy - 1]; - break; - - case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - */ - rtb_VectorConcatenate_by[3] = - g_assDTG_R_INC_Y3_LV3[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_by[4] = - g_assDTG_R_INC_Y4_LV3[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[0] = - g_assDTG_R_INC_X1_LV3[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[1] = - g_assDTG_R_INC_X2_LV3[rtb_DataTypeConversion1_gy - 1]; - break; - - case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - */ - rtb_VectorConcatenate_by[3] = - g_assDTG_R_INC_Y3_LV4[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_by[4] = - g_assDTG_R_INC_Y4_LV4[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[0] = - g_assDTG_R_INC_X1_LV4[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[1] = - g_assDTG_R_INC_X2_LV4[rtb_DataTypeConversion1_gy - 1]; - break; - - default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - */ - rtb_VectorConcatenate_by[3] = - g_assDTG_R_INC_Y3_LV5[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_by[4] = - g_assDTG_R_INC_Y4_LV5[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[0] = - g_assDTG_R_INC_X1_LV5[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[1] = - g_assDTG_R_INC_X2_LV5[rtb_DataTypeConversion1_gy - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch3' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_kz[2] = 0; - - /* MultiPortSwitch: '/Multiport Switch3' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - */ - rtb_VectorConcatenate_kz[3] = - g_assDTG_R_INC_X3_LV0[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[4] = - g_assDTG_R_INC_X4_LV0[rtb_DataTypeConversion1_gy - 1]; - break; - - case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - */ - rtb_VectorConcatenate_kz[3] = - g_assDTG_R_INC_X3_LV1[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[4] = - g_assDTG_R_INC_X4_LV1[rtb_DataTypeConversion1_gy - 1]; - break; - - case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - */ - rtb_VectorConcatenate_kz[3] = - g_assDTG_R_INC_X3_LV2[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[4] = - g_assDTG_R_INC_X4_LV2[rtb_DataTypeConversion1_gy - 1]; - break; - - case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - */ - rtb_VectorConcatenate_kz[3] = - g_assDTG_R_INC_X3_LV3[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[4] = - g_assDTG_R_INC_X4_LV3[rtb_DataTypeConversion1_gy - 1]; - break; - - case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - */ - rtb_VectorConcatenate_kz[3] = - g_assDTG_R_INC_X3_LV4[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[4] = - g_assDTG_R_INC_X4_LV4[rtb_DataTypeConversion1_gy - 1]; - break; - - default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - */ - rtb_VectorConcatenate_kz[3] = - g_assDTG_R_INC_X3_LV5[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[4] = - g_assDTG_R_INC_X4_LV5[rtb_DataTypeConversion1_gy - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch3' */ - - /* Lookup_n-D: '/2.5 R_tg_incar' incorporates: - * DataStoreRead: '/Data Store Read23' - * Sum: '/2.5. X = Inc_Tg - Incar_fb' - */ - rtb_u5R_tg_incar = look1_is16lu64n32Ds32_binlcn((int16_t) - (rtb_MultiportSwitch_np - rtDW.Incar_RL), rtb_VectorConcatenate_kz, - rtb_VectorConcatenate_by, 4U); - - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - */ - rtb_VectorConcatenate_dw[0] = - g_assDTG_R_AMB_Y1_LV0[rtb_DataTypeConversion1_gy - 1]; - break; - - case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - */ - rtb_VectorConcatenate_dw[0] = - g_assDTG_R_AMB_Y1_LV1[rtb_DataTypeConversion1_gy - 1]; - break; - - case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - */ - rtb_VectorConcatenate_dw[0] = - g_assDTG_R_AMB_Y1_LV2[rtb_DataTypeConversion1_gy - 1]; - break; - - case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - */ - rtb_VectorConcatenate_dw[0] = - g_assDTG_R_AMB_Y1_LV3[rtb_DataTypeConversion1_gy - 1]; - break; - - case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - */ - rtb_VectorConcatenate_dw[0] = - g_assDTG_R_AMB_Y1_LV4[rtb_DataTypeConversion1_gy - 1]; - break; - - default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - */ - rtb_VectorConcatenate_dw[0] = - g_assDTG_R_AMB_Y1_LV5[rtb_DataTypeConversion1_gy - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch1' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_dw[1] = 0; - - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_R_AMB_Y2_LV0[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_pg[0] = - g_assDTG_R_AMB_X1_LV0[rtb_DataTypeConversion1_gy - 1]; - break; - - case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_R_AMB_Y2_LV1[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_pg[0] = - g_assDTG_R_AMB_X1_LV1[rtb_DataTypeConversion1_gy - 1]; - break; - - case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_R_AMB_Y2_LV2[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_pg[0] = - g_assDTG_R_AMB_X1_LV2[rtb_DataTypeConversion1_gy - 1]; - break; - - case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_R_AMB_Y2_LV3[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_pg[0] = - g_assDTG_R_AMB_X1_LV3[rtb_DataTypeConversion1_gy - 1]; - break; - - case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_R_AMB_Y2_LV4[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_pg[0] = - g_assDTG_R_AMB_X1_LV4[rtb_DataTypeConversion1_gy - 1]; - break; - - default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_R_AMB_Y2_LV5[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_pg[0] = - g_assDTG_R_AMB_X1_LV5[rtb_DataTypeConversion1_gy - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch2' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_pg[1] = 0; - - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - */ - rtb_VectorConcatenate_pg[2] = - g_assDTG_R_AMB_X2_LV0[rtb_DataTypeConversion1_gy - 1]; - break; - - case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - */ - rtb_VectorConcatenate_pg[2] = - g_assDTG_R_AMB_X2_LV1[rtb_DataTypeConversion1_gy - 1]; - break; - - case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - */ - rtb_VectorConcatenate_pg[2] = - g_assDTG_R_AMB_X2_LV2[rtb_DataTypeConversion1_gy - 1]; - break; - - case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - */ - rtb_VectorConcatenate_pg[2] = - g_assDTG_R_AMB_X2_LV3[rtb_DataTypeConversion1_gy - 1]; - break; - - case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - */ - rtb_VectorConcatenate_pg[2] = - g_assDTG_R_AMB_X2_LV4[rtb_DataTypeConversion1_gy - 1]; - break; - - default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - */ - rtb_VectorConcatenate_pg[2] = - g_assDTG_R_AMB_X2_LV5[rtb_DataTypeConversion1_gy - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch2' */ - - /* Lookup_n-D: '/2.6 FLU_tg_amb' */ - rtb_u6FLU_tg_amb_d = look1_is16lu64n32Ds32_binlcn(rtb_Bias_ct, - rtb_VectorConcatenate_pg, rtb_VectorConcatenate_dw, 2U); - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_gn[0] = 0; - - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_R_SUN_Y1_LV0[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_R_SUN_Y2_LV0[rtb_DataTypeConversion1_gy - 1]; - break; - - case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_R_SUN_Y1_LV1[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_R_SUN_Y2_LV1[rtb_DataTypeConversion1_gy - 1]; - break; - - case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_R_SUN_Y1_LV2[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_R_SUN_Y2_LV2[rtb_DataTypeConversion1_gy - 1]; - break; - - case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_R_SUN_Y1_LV3[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_R_SUN_Y2_LV3[rtb_DataTypeConversion1_gy - 1]; - break; - - case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_R_SUN_Y1_LV4[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_R_SUN_Y2_LV4[rtb_DataTypeConversion1_gy - 1]; - break; - - default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_R_SUN_Y1_LV5[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_R_SUN_Y2_LV5[rtb_DataTypeConversion1_gy - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch1' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_np[0] = 0; - - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { - case 0: /* Selector: '/Selector' incorporates: * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_np[1] = - g_assDTG_FU_SUN_X1_LV0[rtb_DataTypeConversion1_gy - 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' */ - rtb_VectorConcatenate_np[2] = - g_assDTG_FU_SUN_X2_LV0[rtb_DataTypeConversion1_gy - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_R_INC_Y2_LV0[rtb_DataTypeConversion1_nc - 1]; break; case 1: + rtb_MultiportSwitch_cn = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled82, &g_assTG_RL_LV1[0], 12U); + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table1' + * Lookup_n-D: '/1-D Lookup Table1' + * Saturate: '/Saturation2' + */ + rtb_MultiportSwitch_pe = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation2, rtConstP.pooled50, &g_assINCAR_TG_RL_LV1[0], 12U); + /* Selector: '/Selector' incorporates: * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_np[1] = - g_assDTG_FU_SUN_X1_LV1[rtb_DataTypeConversion1_gy - 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' */ - rtb_VectorConcatenate_np[2] = - g_assDTG_FU_SUN_X2_LV1[rtb_DataTypeConversion1_gy - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_R_INC_Y2_LV1[rtb_DataTypeConversion1_nc - 1]; break; case 2: + rtb_MultiportSwitch_cn = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled82, &g_assTG_RL_LV2[0], 12U); + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table2' + * Lookup_n-D: '/1-D Lookup Table2' + * Saturate: '/Saturation2' + */ + rtb_MultiportSwitch_pe = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation2, rtConstP.pooled50, &g_assINCAR_TG_RL_LV2[0], 12U); + /* Selector: '/Selector' incorporates: * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_np[1] = - g_assDTG_FU_SUN_X1_LV2[rtb_DataTypeConversion1_gy - 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' */ - rtb_VectorConcatenate_np[2] = - g_assDTG_FU_SUN_X2_LV2[rtb_DataTypeConversion1_gy - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_R_INC_Y2_LV2[rtb_DataTypeConversion1_nc - 1]; break; case 3: + rtb_MultiportSwitch_cn = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled82, &g_assTG_RL_LV3[0], 12U); + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table3' + * Lookup_n-D: '/1-D Lookup Table3' + * Saturate: '/Saturation2' + */ + rtb_MultiportSwitch_pe = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation2, rtConstP.pooled50, &g_assINCAR_TG_RL_LV3[0], 12U); + /* Selector: '/Selector' incorporates: * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_np[1] = - g_assDTG_FU_SUN_X1_LV3[rtb_DataTypeConversion1_gy - 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' */ - rtb_VectorConcatenate_np[2] = - g_assDTG_FU_SUN_X2_LV3[rtb_DataTypeConversion1_gy - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_R_INC_Y2_LV3[rtb_DataTypeConversion1_nc - 1]; break; case 4: + rtb_MultiportSwitch_cn = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled82, &g_assTG_RL_LV4[0], 12U); + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table4' + * Lookup_n-D: '/1-D Lookup Table4' + * Saturate: '/Saturation2' + */ + rtb_MultiportSwitch_pe = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation2, rtConstP.pooled50, &g_assINCAR_TG_RL_LV4[0], 12U); + /* Selector: '/Selector' incorporates: * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_np[1] = - g_assDTG_FU_SUN_X1_LV4[rtb_DataTypeConversion1_gy - 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' */ - rtb_VectorConcatenate_np[2] = - g_assDTG_FU_SUN_X2_LV4[rtb_DataTypeConversion1_gy - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_R_INC_Y2_LV4[rtb_DataTypeConversion1_nc - 1]; break; default: + rtb_MultiportSwitch_cn = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled82, &g_assTG_RL_LV5[0], 12U); + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table5' + * Lookup_n-D: '/1-D Lookup Table5' + * Saturate: '/Saturation2' + */ + rtb_MultiportSwitch_pe = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation2, rtConstP.pooled50, &g_assINCAR_TG_RL_LV5[0], 12U); + /* Selector: '/Selector' incorporates: * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_np[1] = - g_assDTG_FU_SUN_X1_LV5[rtb_DataTypeConversion1_gy - 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' */ - rtb_VectorConcatenate_np[2] = - g_assDTG_FU_SUN_X2_LV5[rtb_DataTypeConversion1_gy - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_R_INC_Y2_LV5[rtb_DataTypeConversion1_nc - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_by[2] = 0; + + /* MultiPortSwitch: '/Multiport Switch3' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + */ + rtb_VectorConcatenate_by[3] = + g_assDTG_R_INC_Y3_LV0[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_by[4] = + g_assDTG_R_INC_Y4_LV0[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[0] = + g_assDTG_R_INC_X1_LV0[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[1] = + g_assDTG_R_INC_X2_LV0[rtb_DataTypeConversion1_nc - 1]; + break; + + case 1: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + */ + rtb_VectorConcatenate_by[3] = + g_assDTG_R_INC_Y3_LV1[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_by[4] = + g_assDTG_R_INC_Y4_LV1[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[0] = + g_assDTG_R_INC_X1_LV1[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[1] = + g_assDTG_R_INC_X2_LV1[rtb_DataTypeConversion1_nc - 1]; + break; + + case 2: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + */ + rtb_VectorConcatenate_by[3] = + g_assDTG_R_INC_Y3_LV2[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_by[4] = + g_assDTG_R_INC_Y4_LV2[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[0] = + g_assDTG_R_INC_X1_LV2[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[1] = + g_assDTG_R_INC_X2_LV2[rtb_DataTypeConversion1_nc - 1]; + break; + + case 3: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + */ + rtb_VectorConcatenate_by[3] = + g_assDTG_R_INC_Y3_LV3[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_by[4] = + g_assDTG_R_INC_Y4_LV3[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[0] = + g_assDTG_R_INC_X1_LV3[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[1] = + g_assDTG_R_INC_X2_LV3[rtb_DataTypeConversion1_nc - 1]; + break; + + case 4: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + */ + rtb_VectorConcatenate_by[3] = + g_assDTG_R_INC_Y3_LV4[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_by[4] = + g_assDTG_R_INC_Y4_LV4[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[0] = + g_assDTG_R_INC_X1_LV4[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[1] = + g_assDTG_R_INC_X2_LV4[rtb_DataTypeConversion1_nc - 1]; + break; + + default: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + */ + rtb_VectorConcatenate_by[3] = + g_assDTG_R_INC_Y3_LV5[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_by[4] = + g_assDTG_R_INC_Y4_LV5[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[0] = + g_assDTG_R_INC_X1_LV5[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[1] = + g_assDTG_R_INC_X2_LV5[rtb_DataTypeConversion1_nc - 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch3' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_kz[2] = 0; + + /* MultiPortSwitch: '/Multiport Switch3' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + */ + rtb_VectorConcatenate_kz[3] = + g_assDTG_R_INC_X3_LV0[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[4] = + g_assDTG_R_INC_X4_LV0[rtb_DataTypeConversion1_nc - 1]; + break; + + case 1: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + */ + rtb_VectorConcatenate_kz[3] = + g_assDTG_R_INC_X3_LV1[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[4] = + g_assDTG_R_INC_X4_LV1[rtb_DataTypeConversion1_nc - 1]; + break; + + case 2: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + */ + rtb_VectorConcatenate_kz[3] = + g_assDTG_R_INC_X3_LV2[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[4] = + g_assDTG_R_INC_X4_LV2[rtb_DataTypeConversion1_nc - 1]; + break; + + case 3: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + */ + rtb_VectorConcatenate_kz[3] = + g_assDTG_R_INC_X3_LV3[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[4] = + g_assDTG_R_INC_X4_LV3[rtb_DataTypeConversion1_nc - 1]; + break; + + case 4: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + */ + rtb_VectorConcatenate_kz[3] = + g_assDTG_R_INC_X3_LV4[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[4] = + g_assDTG_R_INC_X4_LV4[rtb_DataTypeConversion1_nc - 1]; + break; + + default: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + */ + rtb_VectorConcatenate_kz[3] = + g_assDTG_R_INC_X3_LV5[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[4] = + g_assDTG_R_INC_X4_LV5[rtb_DataTypeConversion1_nc - 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch3' */ + + /* Lookup_n-D: '/2.5 R_tg_incar' incorporates: + * DataStoreRead: '/Data Store Read23' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' + */ + rtb_u5R_tg_incar = look1_is16lu64n32Ds32_binlcn((int16_t) + (rtb_MultiportSwitch_pe - rtDW.Incar_RL), rtb_VectorConcatenate_kz, + rtb_VectorConcatenate_by, 4U); + + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + */ + rtb_VectorConcatenate_dw[0] = + g_assDTG_R_AMB_Y1_LV0[rtb_DataTypeConversion1_nc - 1]; + break; + + case 1: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + */ + rtb_VectorConcatenate_dw[0] = + g_assDTG_R_AMB_Y1_LV1[rtb_DataTypeConversion1_nc - 1]; + break; + + case 2: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + */ + rtb_VectorConcatenate_dw[0] = + g_assDTG_R_AMB_Y1_LV2[rtb_DataTypeConversion1_nc - 1]; + break; + + case 3: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + */ + rtb_VectorConcatenate_dw[0] = + g_assDTG_R_AMB_Y1_LV3[rtb_DataTypeConversion1_nc - 1]; + break; + + case 4: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + */ + rtb_VectorConcatenate_dw[0] = + g_assDTG_R_AMB_Y1_LV4[rtb_DataTypeConversion1_nc - 1]; + break; + + default: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + */ + rtb_VectorConcatenate_dw[0] = + g_assDTG_R_AMB_Y1_LV5[rtb_DataTypeConversion1_nc - 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch1' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_dw[1] = 0; + + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + */ + rtb_VectorConcatenate_dw[2] = + g_assDTG_R_AMB_Y2_LV0[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' + */ + rtb_VectorConcatenate_pg[0] = + g_assDTG_R_AMB_X1_LV0[rtb_DataTypeConversion1_nc - 1]; + break; + + case 1: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + */ + rtb_VectorConcatenate_dw[2] = + g_assDTG_R_AMB_Y2_LV1[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' + */ + rtb_VectorConcatenate_pg[0] = + g_assDTG_R_AMB_X1_LV1[rtb_DataTypeConversion1_nc - 1]; + break; + + case 2: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + */ + rtb_VectorConcatenate_dw[2] = + g_assDTG_R_AMB_Y2_LV2[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' + */ + rtb_VectorConcatenate_pg[0] = + g_assDTG_R_AMB_X1_LV2[rtb_DataTypeConversion1_nc - 1]; + break; + + case 3: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + */ + rtb_VectorConcatenate_dw[2] = + g_assDTG_R_AMB_Y2_LV3[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' + */ + rtb_VectorConcatenate_pg[0] = + g_assDTG_R_AMB_X1_LV3[rtb_DataTypeConversion1_nc - 1]; + break; + + case 4: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + */ + rtb_VectorConcatenate_dw[2] = + g_assDTG_R_AMB_Y2_LV4[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' + */ + rtb_VectorConcatenate_pg[0] = + g_assDTG_R_AMB_X1_LV4[rtb_DataTypeConversion1_nc - 1]; + break; + + default: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + */ + rtb_VectorConcatenate_dw[2] = + g_assDTG_R_AMB_Y2_LV5[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' + */ + rtb_VectorConcatenate_pg[0] = + g_assDTG_R_AMB_X1_LV5[rtb_DataTypeConversion1_nc - 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch2' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_pg[1] = 0; + + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + */ + rtb_VectorConcatenate_pg[2] = + g_assDTG_R_AMB_X2_LV0[rtb_DataTypeConversion1_nc - 1]; + break; + + case 1: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + */ + rtb_VectorConcatenate_pg[2] = + g_assDTG_R_AMB_X2_LV1[rtb_DataTypeConversion1_nc - 1]; + break; + + case 2: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + */ + rtb_VectorConcatenate_pg[2] = + g_assDTG_R_AMB_X2_LV2[rtb_DataTypeConversion1_nc - 1]; + break; + + case 3: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + */ + rtb_VectorConcatenate_pg[2] = + g_assDTG_R_AMB_X2_LV3[rtb_DataTypeConversion1_nc - 1]; + break; + + case 4: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + */ + rtb_VectorConcatenate_pg[2] = + g_assDTG_R_AMB_X2_LV4[rtb_DataTypeConversion1_nc - 1]; + break; + + default: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + */ + rtb_VectorConcatenate_pg[2] = + g_assDTG_R_AMB_X2_LV5[rtb_DataTypeConversion1_nc - 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch2' */ + + /* Lookup_n-D: '/2.6 FLU_tg_amb' */ + rtb_u6FLU_tg_amb_d = look1_is16lu64n32Ds32_binlcn(rtb_FLU_tg_correct_ot, + rtb_VectorConcatenate_pg, rtb_VectorConcatenate_dw, 2U); + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_gn[0] = 0; + + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + */ + rtb_VectorConcatenate_gn[1] = + g_assDTG_R_SUN_Y1_LV0[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = + g_assDTG_R_SUN_Y2_LV0[rtb_DataTypeConversion1_nc - 1]; + break; + + case 1: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + */ + rtb_VectorConcatenate_gn[1] = + g_assDTG_R_SUN_Y1_LV1[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = + g_assDTG_R_SUN_Y2_LV1[rtb_DataTypeConversion1_nc - 1]; + break; + + case 2: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + */ + rtb_VectorConcatenate_gn[1] = + g_assDTG_R_SUN_Y1_LV2[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = + g_assDTG_R_SUN_Y2_LV2[rtb_DataTypeConversion1_nc - 1]; + break; + + case 3: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + */ + rtb_VectorConcatenate_gn[1] = + g_assDTG_R_SUN_Y1_LV3[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = + g_assDTG_R_SUN_Y2_LV3[rtb_DataTypeConversion1_nc - 1]; + break; + + case 4: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + */ + rtb_VectorConcatenate_gn[1] = + g_assDTG_R_SUN_Y1_LV4[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = + g_assDTG_R_SUN_Y2_LV4[rtb_DataTypeConversion1_nc - 1]; + break; + + default: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + */ + rtb_VectorConcatenate_gn[1] = + g_assDTG_R_SUN_Y1_LV5[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = + g_assDTG_R_SUN_Y2_LV5[rtb_DataTypeConversion1_nc - 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch1' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_np[0] = 0; + + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + */ + rtb_VectorConcatenate_np[1] = + g_assDTG_FU_SUN_X1_LV0[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = + g_assDTG_FU_SUN_X2_LV0[rtb_DataTypeConversion1_nc - 1]; + break; + + case 1: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + */ + rtb_VectorConcatenate_np[1] = + g_assDTG_FU_SUN_X1_LV1[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = + g_assDTG_FU_SUN_X2_LV1[rtb_DataTypeConversion1_nc - 1]; + break; + + case 2: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + */ + rtb_VectorConcatenate_np[1] = + g_assDTG_FU_SUN_X1_LV2[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = + g_assDTG_FU_SUN_X2_LV2[rtb_DataTypeConversion1_nc - 1]; + break; + + case 3: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + */ + rtb_VectorConcatenate_np[1] = + g_assDTG_FU_SUN_X1_LV3[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = + g_assDTG_FU_SUN_X2_LV3[rtb_DataTypeConversion1_nc - 1]; + break; + + case 4: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + */ + rtb_VectorConcatenate_np[1] = + g_assDTG_FU_SUN_X1_LV4[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = + g_assDTG_FU_SUN_X2_LV4[rtb_DataTypeConversion1_nc - 1]; + break; + + default: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + */ + rtb_VectorConcatenate_np[1] = + g_assDTG_FU_SUN_X1_LV5[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = + g_assDTG_FU_SUN_X2_LV5[rtb_DataTypeConversion1_nc - 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch1' */ + + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: * DataStoreRead: '/Data Store Read26' */ rtb_u6FLU_tg_amb_n = look1_bs16ts16Dd_binlc(rtDW.Sun_L, rtb_VectorConcatenate_np, rtb_VectorConcatenate_gn, 2U); - /* Sum: '/FLU_tg_correct' */ + /* Sum: '/FLU_tg_correct' */ rtb_Merge_b = (int16_t)((int16_t)((int16_t)(rtb_MultiportSwitch_cn + rtb_u5R_tg_incar) + rtb_u6FLU_tg_amb_d) + rtb_u6FLU_tg_amb_n); - /* Switch: '/Switch2' incorporates: + /* Switch: '/Switch2' incorporates: * DataStoreWrite: '/Data Store Write2' - * RelationalOperator: '/LowerRelop1' - * Selector: '/Selector' + * RelationalOperator: '/LowerRelop1' + * Selector: '/Selector' */ - if (rtb_Merge_b > rtb_uDLookupTable7_g[rtb_DataTypeConversion1_gy - 1]) { - rtb_Merge_b = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_gy - 1]; + if (rtb_Merge_b > rtb_uDLookupTable7_g[rtb_DataTypeConversion1_nc - 1]) { + rtb_Merge_b = 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) { case 0: @@ -15955,29 +18235,29 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' */ - rtb_Switch2_nb = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_gy - 1]; + /* Selector: '/Selector' */ + rtb_Switch5_l = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_nc - 1]; - /* Switch: '/Switch' incorporates: + /* Switch: '/Switch' incorporates: * DataStoreWrite: '/Data Store Write2' - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector' + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector' */ - if (rtb_Merge_b < rtb_Switch2_nb) { - rtb_Merge_b = rtb_Switch2_nb; + if (rtb_Merge_b < rtb_Switch5_l) { + rtb_Merge_b = rtb_Switch5_l; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant12' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read76' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant12' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read76' */ if (rtDW.CCU_AC_MAX > 0) { i = 5; @@ -15985,89 +18265,89 @@ void HVAC_model_step(void) i = rtDW.CCU_AUTOMODE_RL; } - /* MATLAB Function: '/func g_assAUTO_STEP_DUCT_TG_R' incorporates: - * DataStoreRead: '/Data Store Read20' - * Switch: '/Switch2' + /* 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_hg); - /* Switch: '/Switch15' incorporates: - * Constant: '/manual' - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read44' - * DataStoreRead: '/Data Store Read' + /* Switch: '/Switch15' incorporates: + * Constant: '/manual' + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read44' + * DataStoreRead: '/Data Store Read' * DataStoreWrite: '/Data Store Write4' - * If: '/If' - * Logic: '/Logical Operator' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * Switch: '/Switch' + * If: '/If' + * Logic: '/Logical Operator' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * Switch: '/Switch' */ if (rtDW.LO_HI_MODE_RL > 1) { rtb_Merge_b = 800; } else if (rtDW.CCU_MODE_RL == 0) { - /* If: '/If' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* 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' */ /* DataStoreWrite: '/Data Store Write4' incorporates: - * DataStoreRead: '/dtg from Start Control' - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch' + * DataStoreRead: '/dtg from Start Control' + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch' */ rtb_Merge_b = (int16_t)rtDW.Dtg_RL; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } } else { 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' */ - /* If: '/If' incorporates: - * DataStoreRead: '/dtg from Start Control' - * DataTypeConversion: '/Data Type Conversion' + /* If: '/If' incorporates: + * DataStoreRead: '/dtg from Start Control' + * DataTypeConversion: '/Data Type Conversion' */ rtb_Merge_b = (int16_t)rtDW.Dtg_RL; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } - /* If: '/If' incorporates: + /* If: '/If' incorporates: * DataStoreWrite: '/Data Store Write4' - * Sum: '/Add' - * Switch: '/Switch' + * Sum: '/Add' + * Switch: '/Switch' */ rtb_Merge_b += rtb_y_hg; } - /* End of Switch: '/Switch15' */ + /* End of Switch: '/Switch15' */ - /* 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) { case 0: @@ -16107,7 +18387,7 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ /* Saturate: '/Saturation3' incorporates: * DataStoreRead: '/Data Store Read19' @@ -16122,974 +18402,975 @@ 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: '/Gain2' + * Gain: '/Gain' */ i = ((int32_t)((52429U * rtb_Saturation2) >> 19) + -15) << 14; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Gain: '/Gain2' - * Saturate: '/Saturation' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Gain: '/Gain2' + * Saturate: '/Saturation' */ - rtb_DataTypeConversion1_gy = (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) { case 0: - rtb_MultiportSwitch_az = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, - rtConstP.pooled81, &g_assTG_RR_LV0[0], 12U); + rtb_MultiportSwitch_dbp = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled82, &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_cq = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2, rtConstP.pooled52, &g_assINCAR_TG_RR_LV0[0], 12U); + (rtb_Saturation2, rtConstP.pooled50, &g_assINCAR_TG_RR_LV0[0], 12U); - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - */ - rtb_VectorConcatenate_by[0] = - g_assDTG_R_INC_Y1_LV0[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[1] = - g_assDTG_R_INC_Y2_LV0[rtb_DataTypeConversion1_gy - 1]; - break; - - case 1: - rtb_MultiportSwitch_az = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, - rtConstP.pooled81, &g_assTG_RR_LV1[0], 12U); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table1' - * Lookup_n-D: '/1-D Lookup Table1' - * Saturate: '/Saturation3' - */ - rtb_MultiportSwitch_cq = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2, rtConstP.pooled52, &g_assINCAR_TG_RR_LV1[0], 12U); - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - */ - rtb_VectorConcatenate_by[0] = - g_assDTG_R_INC_Y1_LV1[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[1] = - g_assDTG_R_INC_Y2_LV1[rtb_DataTypeConversion1_gy - 1]; - break; - - case 2: - rtb_MultiportSwitch_az = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, - rtConstP.pooled81, &g_assTG_RR_LV2[0], 12U); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table2' - * Lookup_n-D: '/1-D Lookup Table2' - * Saturate: '/Saturation3' - */ - rtb_MultiportSwitch_cq = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2, rtConstP.pooled52, &g_assINCAR_TG_RR_LV2[0], 12U); - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - */ - rtb_VectorConcatenate_by[0] = - g_assDTG_R_INC_Y1_LV2[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[1] = - g_assDTG_R_INC_Y2_LV2[rtb_DataTypeConversion1_gy - 1]; - break; - - case 3: - rtb_MultiportSwitch_az = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, - rtConstP.pooled81, &g_assTG_RR_LV3[0], 12U); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table3' - * Lookup_n-D: '/1-D Lookup Table3' - * Saturate: '/Saturation3' - */ - rtb_MultiportSwitch_cq = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2, rtConstP.pooled52, &g_assINCAR_TG_RR_LV3[0], 12U); - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - */ - rtb_VectorConcatenate_by[0] = - g_assDTG_R_INC_Y1_LV3[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[1] = - g_assDTG_R_INC_Y2_LV3[rtb_DataTypeConversion1_gy - 1]; - break; - - case 4: - rtb_MultiportSwitch_az = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, - rtConstP.pooled81, &g_assTG_RR_LV4[0], 12U); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table4' - * Lookup_n-D: '/1-D Lookup Table4' - * Saturate: '/Saturation3' - */ - rtb_MultiportSwitch_cq = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2, rtConstP.pooled52, &g_assINCAR_TG_RR_LV4[0], 12U); - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - */ - rtb_VectorConcatenate_by[0] = - g_assDTG_R_INC_Y1_LV4[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[1] = - g_assDTG_R_INC_Y2_LV4[rtb_DataTypeConversion1_gy - 1]; - break; - - default: - rtb_MultiportSwitch_az = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, - rtConstP.pooled81, &g_assTG_RR_LV5[0], 12U); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table5' - * Lookup_n-D: '/1-D Lookup Table5' - * Saturate: '/Saturation3' - */ - rtb_MultiportSwitch_cq = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation2, rtConstP.pooled52, &g_assINCAR_TG_RR_LV5[0], 12U); - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - */ - rtb_VectorConcatenate_by[0] = - g_assDTG_R_INC_Y1_LV5[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[1] = - g_assDTG_R_INC_Y2_LV5[rtb_DataTypeConversion1_gy - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_by[2] = 0; - - /* MultiPortSwitch: '/Multiport Switch3' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - */ - rtb_VectorConcatenate_by[3] = - g_assDTG_R_INC_Y3_LV0[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_by[4] = - g_assDTG_R_INC_Y4_LV0[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[0] = - g_assDTG_R_INC_X1_LV0[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[1] = - g_assDTG_R_INC_X2_LV0[rtb_DataTypeConversion1_gy - 1]; - break; - - case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - */ - rtb_VectorConcatenate_by[3] = - g_assDTG_R_INC_Y3_LV1[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_by[4] = - g_assDTG_R_INC_Y4_LV1[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[0] = - g_assDTG_R_INC_X1_LV1[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[1] = - g_assDTG_R_INC_X2_LV1[rtb_DataTypeConversion1_gy - 1]; - break; - - case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - */ - rtb_VectorConcatenate_by[3] = - g_assDTG_R_INC_Y3_LV2[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_by[4] = - g_assDTG_R_INC_Y4_LV2[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[0] = - g_assDTG_R_INC_X1_LV2[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[1] = - g_assDTG_R_INC_X2_LV2[rtb_DataTypeConversion1_gy - 1]; - break; - - case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - */ - rtb_VectorConcatenate_by[3] = - g_assDTG_R_INC_Y3_LV3[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_by[4] = - g_assDTG_R_INC_Y4_LV3[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[0] = - g_assDTG_R_INC_X1_LV3[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[1] = - g_assDTG_R_INC_X2_LV3[rtb_DataTypeConversion1_gy - 1]; - break; - - case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - */ - rtb_VectorConcatenate_by[3] = - g_assDTG_R_INC_Y3_LV4[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_by[4] = - g_assDTG_R_INC_Y4_LV4[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[0] = - g_assDTG_R_INC_X1_LV4[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[1] = - g_assDTG_R_INC_X2_LV4[rtb_DataTypeConversion1_gy - 1]; - break; - - default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - */ - rtb_VectorConcatenate_by[3] = - g_assDTG_R_INC_Y3_LV5[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_by[4] = - g_assDTG_R_INC_Y4_LV5[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[0] = - g_assDTG_R_INC_X1_LV5[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[1] = - g_assDTG_R_INC_X2_LV5[rtb_DataTypeConversion1_gy - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch3' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_kz[2] = 0; - - /* MultiPortSwitch: '/Multiport Switch3' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - */ - rtb_VectorConcatenate_kz[3] = - g_assDTG_R_INC_X3_LV0[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[4] = - g_assDTG_R_INC_X4_LV0[rtb_DataTypeConversion1_gy - 1]; - break; - - case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - */ - rtb_VectorConcatenate_kz[3] = - g_assDTG_R_INC_X3_LV1[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[4] = - g_assDTG_R_INC_X4_LV1[rtb_DataTypeConversion1_gy - 1]; - break; - - case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - */ - rtb_VectorConcatenate_kz[3] = - g_assDTG_R_INC_X3_LV2[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[4] = - g_assDTG_R_INC_X4_LV2[rtb_DataTypeConversion1_gy - 1]; - break; - - case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - */ - rtb_VectorConcatenate_kz[3] = - g_assDTG_R_INC_X3_LV3[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[4] = - g_assDTG_R_INC_X4_LV3[rtb_DataTypeConversion1_gy - 1]; - break; - - case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - */ - rtb_VectorConcatenate_kz[3] = - g_assDTG_R_INC_X3_LV4[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[4] = - g_assDTG_R_INC_X4_LV4[rtb_DataTypeConversion1_gy - 1]; - break; - - default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - */ - rtb_VectorConcatenate_kz[3] = - g_assDTG_R_INC_X3_LV5[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' - */ - rtb_VectorConcatenate_kz[4] = - g_assDTG_R_INC_X4_LV5[rtb_DataTypeConversion1_gy - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch3' */ - - /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: - * DataStoreRead: '/Data Store Read24' - * Sum: '/2.5. X = Inc_Tg - Incar_fb' - */ - rtb_X = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_MultiportSwitch_cq - - rtDW.Incar_RR), rtb_VectorConcatenate_kz, rtb_VectorConcatenate_by, 4U); - - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - */ - rtb_VectorConcatenate_dw[0] = - g_assDTG_R_AMB_Y1_LV0[rtb_DataTypeConversion1_gy - 1]; - break; - - case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - */ - rtb_VectorConcatenate_dw[0] = - g_assDTG_R_AMB_Y1_LV1[rtb_DataTypeConversion1_gy - 1]; - break; - - case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - */ - rtb_VectorConcatenate_dw[0] = - g_assDTG_R_AMB_Y1_LV2[rtb_DataTypeConversion1_gy - 1]; - break; - - case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - */ - rtb_VectorConcatenate_dw[0] = - g_assDTG_R_AMB_Y1_LV3[rtb_DataTypeConversion1_gy - 1]; - break; - - case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - */ - rtb_VectorConcatenate_dw[0] = - g_assDTG_R_AMB_Y1_LV4[rtb_DataTypeConversion1_gy - 1]; - break; - - default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - */ - rtb_VectorConcatenate_dw[0] = - g_assDTG_R_AMB_Y1_LV5[rtb_DataTypeConversion1_gy - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch1' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_dw[1] = 0; - - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_R_AMB_Y2_LV0[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_pg[0] = - g_assDTG_R_AMB_X1_LV0[rtb_DataTypeConversion1_gy - 1]; - break; - - case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_R_AMB_Y2_LV1[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_pg[0] = - g_assDTG_R_AMB_X1_LV1[rtb_DataTypeConversion1_gy - 1]; - break; - - case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_R_AMB_Y2_LV2[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_pg[0] = - g_assDTG_R_AMB_X1_LV2[rtb_DataTypeConversion1_gy - 1]; - break; - - case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_R_AMB_Y2_LV3[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_pg[0] = - g_assDTG_R_AMB_X1_LV3[rtb_DataTypeConversion1_gy - 1]; - break; - - case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_R_AMB_Y2_LV4[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_pg[0] = - g_assDTG_R_AMB_X1_LV4[rtb_DataTypeConversion1_gy - 1]; - break; - - default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_R_AMB_Y2_LV5[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' - */ - rtb_VectorConcatenate_pg[0] = - g_assDTG_R_AMB_X1_LV5[rtb_DataTypeConversion1_gy - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch2' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_pg[1] = 0; - - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - */ - rtb_VectorConcatenate_pg[2] = - g_assDTG_R_AMB_X2_LV0[rtb_DataTypeConversion1_gy - 1]; - break; - - case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - */ - rtb_VectorConcatenate_pg[2] = - g_assDTG_R_AMB_X2_LV1[rtb_DataTypeConversion1_gy - 1]; - break; - - case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - */ - rtb_VectorConcatenate_pg[2] = - g_assDTG_R_AMB_X2_LV2[rtb_DataTypeConversion1_gy - 1]; - break; - - case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - */ - rtb_VectorConcatenate_pg[2] = - g_assDTG_R_AMB_X2_LV3[rtb_DataTypeConversion1_gy - 1]; - break; - - case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - */ - rtb_VectorConcatenate_pg[2] = - g_assDTG_R_AMB_X2_LV4[rtb_DataTypeConversion1_gy - 1]; - break; - - default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - */ - rtb_VectorConcatenate_pg[2] = - g_assDTG_R_AMB_X2_LV5[rtb_DataTypeConversion1_gy - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch2' */ - - /* Lookup_n-D: '/2.6 FLU_tg_amb' */ - rtb_MultiportSwitch_if = look1_is16lu64n32Ds32_binlcn(rtb_Bias_ct, - rtb_VectorConcatenate_pg, rtb_VectorConcatenate_dw, 2U); - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_gn[0] = 0; - - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_R_SUN_Y1_LV0[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_R_SUN_Y2_LV0[rtb_DataTypeConversion1_gy - 1]; - break; - - case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_R_SUN_Y1_LV1[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_R_SUN_Y2_LV1[rtb_DataTypeConversion1_gy - 1]; - break; - - case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_R_SUN_Y1_LV2[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_R_SUN_Y2_LV2[rtb_DataTypeConversion1_gy - 1]; - break; - - case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_R_SUN_Y1_LV3[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_R_SUN_Y2_LV3[rtb_DataTypeConversion1_gy - 1]; - break; - - case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_R_SUN_Y1_LV4[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_R_SUN_Y2_LV4[rtb_DataTypeConversion1_gy - 1]; - break; - - default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_R_SUN_Y1_LV5[rtb_DataTypeConversion1_gy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_R_SUN_Y2_LV5[rtb_DataTypeConversion1_gy - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch1' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_np[0] = 0; - - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { - case 0: /* Selector: '/Selector' incorporates: * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_np[1] = - g_assDTG_FU_SUN_X1_LV0[rtb_DataTypeConversion1_gy - 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' */ - rtb_VectorConcatenate_np[2] = - g_assDTG_FU_SUN_X2_LV0[rtb_DataTypeConversion1_gy - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_R_INC_Y2_LV0[rtb_DataTypeConversion1_nc - 1]; break; case 1: + rtb_MultiportSwitch_dbp = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled82, &g_assTG_RR_LV1[0], 12U); + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table1' + * Lookup_n-D: '/1-D Lookup Table1' + * Saturate: '/Saturation3' + */ + rtb_MultiportSwitch_cq = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation2, rtConstP.pooled50, &g_assINCAR_TG_RR_LV1[0], 12U); + /* Selector: '/Selector' incorporates: * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_np[1] = - g_assDTG_FU_SUN_X1_LV1[rtb_DataTypeConversion1_gy - 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' */ - rtb_VectorConcatenate_np[2] = - g_assDTG_FU_SUN_X2_LV1[rtb_DataTypeConversion1_gy - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_R_INC_Y2_LV1[rtb_DataTypeConversion1_nc - 1]; break; case 2: + rtb_MultiportSwitch_dbp = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled82, &g_assTG_RR_LV2[0], 12U); + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table2' + * Lookup_n-D: '/1-D Lookup Table2' + * Saturate: '/Saturation3' + */ + rtb_MultiportSwitch_cq = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation2, rtConstP.pooled50, &g_assINCAR_TG_RR_LV2[0], 12U); + /* Selector: '/Selector' incorporates: * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_np[1] = - g_assDTG_FU_SUN_X1_LV2[rtb_DataTypeConversion1_gy - 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' */ - rtb_VectorConcatenate_np[2] = - g_assDTG_FU_SUN_X2_LV2[rtb_DataTypeConversion1_gy - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_R_INC_Y2_LV2[rtb_DataTypeConversion1_nc - 1]; break; case 3: + rtb_MultiportSwitch_dbp = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled82, &g_assTG_RR_LV3[0], 12U); + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table3' + * Lookup_n-D: '/1-D Lookup Table3' + * Saturate: '/Saturation3' + */ + rtb_MultiportSwitch_cq = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation2, rtConstP.pooled50, &g_assINCAR_TG_RR_LV3[0], 12U); + /* Selector: '/Selector' incorporates: * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_np[1] = - g_assDTG_FU_SUN_X1_LV3[rtb_DataTypeConversion1_gy - 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' */ - rtb_VectorConcatenate_np[2] = - g_assDTG_FU_SUN_X2_LV3[rtb_DataTypeConversion1_gy - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_R_INC_Y2_LV3[rtb_DataTypeConversion1_nc - 1]; break; case 4: + rtb_MultiportSwitch_dbp = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled82, &g_assTG_RR_LV4[0], 12U); + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table4' + * Lookup_n-D: '/1-D Lookup Table4' + * Saturate: '/Saturation3' + */ + rtb_MultiportSwitch_cq = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation2, rtConstP.pooled50, &g_assINCAR_TG_RR_LV4[0], 12U); + /* Selector: '/Selector' incorporates: * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_np[1] = - g_assDTG_FU_SUN_X1_LV4[rtb_DataTypeConversion1_gy - 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' */ - rtb_VectorConcatenate_np[2] = - g_assDTG_FU_SUN_X2_LV4[rtb_DataTypeConversion1_gy - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_R_INC_Y2_LV4[rtb_DataTypeConversion1_nc - 1]; break; default: + rtb_MultiportSwitch_dbp = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, + rtConstP.pooled82, &g_assTG_RR_LV5[0], 12U); + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table5' + * Lookup_n-D: '/1-D Lookup Table5' + * Saturate: '/Saturation3' + */ + rtb_MultiportSwitch_cq = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation2, rtConstP.pooled50, &g_assINCAR_TG_RR_LV5[0], 12U); + /* Selector: '/Selector' incorporates: * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' */ - rtb_VectorConcatenate_np[1] = - g_assDTG_FU_SUN_X1_LV5[rtb_DataTypeConversion1_gy - 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' */ - rtb_VectorConcatenate_np[2] = - g_assDTG_FU_SUN_X2_LV5[rtb_DataTypeConversion1_gy - 1]; + rtb_VectorConcatenate_by[1] = + g_assDTG_R_INC_Y2_LV5[rtb_DataTypeConversion1_nc - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_by[2] = 0; + + /* MultiPortSwitch: '/Multiport Switch3' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + */ + rtb_VectorConcatenate_by[3] = + g_assDTG_R_INC_Y3_LV0[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_by[4] = + g_assDTG_R_INC_Y4_LV0[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[0] = + g_assDTG_R_INC_X1_LV0[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[1] = + g_assDTG_R_INC_X2_LV0[rtb_DataTypeConversion1_nc - 1]; + break; + + case 1: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + */ + rtb_VectorConcatenate_by[3] = + g_assDTG_R_INC_Y3_LV1[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_by[4] = + g_assDTG_R_INC_Y4_LV1[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[0] = + g_assDTG_R_INC_X1_LV1[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[1] = + g_assDTG_R_INC_X2_LV1[rtb_DataTypeConversion1_nc - 1]; + break; + + case 2: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + */ + rtb_VectorConcatenate_by[3] = + g_assDTG_R_INC_Y3_LV2[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_by[4] = + g_assDTG_R_INC_Y4_LV2[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[0] = + g_assDTG_R_INC_X1_LV2[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[1] = + g_assDTG_R_INC_X2_LV2[rtb_DataTypeConversion1_nc - 1]; + break; + + case 3: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + */ + rtb_VectorConcatenate_by[3] = + g_assDTG_R_INC_Y3_LV3[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_by[4] = + g_assDTG_R_INC_Y4_LV3[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[0] = + g_assDTG_R_INC_X1_LV3[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[1] = + g_assDTG_R_INC_X2_LV3[rtb_DataTypeConversion1_nc - 1]; + break; + + case 4: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + */ + rtb_VectorConcatenate_by[3] = + g_assDTG_R_INC_Y3_LV4[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_by[4] = + g_assDTG_R_INC_Y4_LV4[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[0] = + g_assDTG_R_INC_X1_LV4[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[1] = + g_assDTG_R_INC_X2_LV4[rtb_DataTypeConversion1_nc - 1]; + break; + + default: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + */ + rtb_VectorConcatenate_by[3] = + g_assDTG_R_INC_Y3_LV5[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_by[4] = + g_assDTG_R_INC_Y4_LV5[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[0] = + g_assDTG_R_INC_X1_LV5[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[1] = + g_assDTG_R_INC_X2_LV5[rtb_DataTypeConversion1_nc - 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch3' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_kz[2] = 0; + + /* MultiPortSwitch: '/Multiport Switch3' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + */ + rtb_VectorConcatenate_kz[3] = + g_assDTG_R_INC_X3_LV0[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[4] = + g_assDTG_R_INC_X4_LV0[rtb_DataTypeConversion1_nc - 1]; + break; + + case 1: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + */ + rtb_VectorConcatenate_kz[3] = + g_assDTG_R_INC_X3_LV1[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[4] = + g_assDTG_R_INC_X4_LV1[rtb_DataTypeConversion1_nc - 1]; + break; + + case 2: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + */ + rtb_VectorConcatenate_kz[3] = + g_assDTG_R_INC_X3_LV2[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[4] = + g_assDTG_R_INC_X4_LV2[rtb_DataTypeConversion1_nc - 1]; + break; + + case 3: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + */ + rtb_VectorConcatenate_kz[3] = + g_assDTG_R_INC_X3_LV3[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[4] = + g_assDTG_R_INC_X4_LV3[rtb_DataTypeConversion1_nc - 1]; + break; + + case 4: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + */ + rtb_VectorConcatenate_kz[3] = + g_assDTG_R_INC_X3_LV4[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[4] = + g_assDTG_R_INC_X4_LV4[rtb_DataTypeConversion1_nc - 1]; + break; + + default: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + */ + rtb_VectorConcatenate_kz[3] = + g_assDTG_R_INC_X3_LV5[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_kz[4] = + g_assDTG_R_INC_X4_LV5[rtb_DataTypeConversion1_nc - 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch3' */ + + /* Lookup_n-D: '/2.5 FLU_tg_incar' incorporates: + * DataStoreRead: '/Data Store Read24' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' + */ + rtb_u5FLU_tg_incar_g = look1_is16lu64n32Ds32_binlcn((int16_t) + (rtb_MultiportSwitch_cq - rtDW.Incar_RR), rtb_VectorConcatenate_kz, + rtb_VectorConcatenate_by, 4U); + + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + */ + rtb_VectorConcatenate_dw[0] = + g_assDTG_R_AMB_Y1_LV0[rtb_DataTypeConversion1_nc - 1]; + break; + + case 1: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + */ + rtb_VectorConcatenate_dw[0] = + g_assDTG_R_AMB_Y1_LV1[rtb_DataTypeConversion1_nc - 1]; + break; + + case 2: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + */ + rtb_VectorConcatenate_dw[0] = + g_assDTG_R_AMB_Y1_LV2[rtb_DataTypeConversion1_nc - 1]; + break; + + case 3: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + */ + rtb_VectorConcatenate_dw[0] = + g_assDTG_R_AMB_Y1_LV3[rtb_DataTypeConversion1_nc - 1]; + break; + + case 4: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + */ + rtb_VectorConcatenate_dw[0] = + g_assDTG_R_AMB_Y1_LV4[rtb_DataTypeConversion1_nc - 1]; + break; + + default: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + */ + rtb_VectorConcatenate_dw[0] = + g_assDTG_R_AMB_Y1_LV5[rtb_DataTypeConversion1_nc - 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch1' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_dw[1] = 0; + + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + */ + rtb_VectorConcatenate_dw[2] = + g_assDTG_R_AMB_Y2_LV0[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' + */ + rtb_VectorConcatenate_pg[0] = + g_assDTG_R_AMB_X1_LV0[rtb_DataTypeConversion1_nc - 1]; + break; + + case 1: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + */ + rtb_VectorConcatenate_dw[2] = + g_assDTG_R_AMB_Y2_LV1[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' + */ + rtb_VectorConcatenate_pg[0] = + g_assDTG_R_AMB_X1_LV1[rtb_DataTypeConversion1_nc - 1]; + break; + + case 2: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + */ + rtb_VectorConcatenate_dw[2] = + g_assDTG_R_AMB_Y2_LV2[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' + */ + rtb_VectorConcatenate_pg[0] = + g_assDTG_R_AMB_X1_LV2[rtb_DataTypeConversion1_nc - 1]; + break; + + case 3: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + */ + rtb_VectorConcatenate_dw[2] = + g_assDTG_R_AMB_Y2_LV3[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' + */ + rtb_VectorConcatenate_pg[0] = + g_assDTG_R_AMB_X1_LV3[rtb_DataTypeConversion1_nc - 1]; + break; + + case 4: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + */ + rtb_VectorConcatenate_dw[2] = + g_assDTG_R_AMB_Y2_LV4[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' + */ + rtb_VectorConcatenate_pg[0] = + g_assDTG_R_AMB_X1_LV4[rtb_DataTypeConversion1_nc - 1]; + break; + + default: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + */ + rtb_VectorConcatenate_dw[2] = + g_assDTG_R_AMB_Y2_LV5[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' + */ + rtb_VectorConcatenate_pg[0] = + g_assDTG_R_AMB_X1_LV5[rtb_DataTypeConversion1_nc - 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch2' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_pg[1] = 0; + + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + */ + rtb_VectorConcatenate_pg[2] = + g_assDTG_R_AMB_X2_LV0[rtb_DataTypeConversion1_nc - 1]; + break; + + case 1: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + */ + rtb_VectorConcatenate_pg[2] = + g_assDTG_R_AMB_X2_LV1[rtb_DataTypeConversion1_nc - 1]; + break; + + case 2: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + */ + rtb_VectorConcatenate_pg[2] = + g_assDTG_R_AMB_X2_LV2[rtb_DataTypeConversion1_nc - 1]; + break; + + case 3: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + */ + rtb_VectorConcatenate_pg[2] = + g_assDTG_R_AMB_X2_LV3[rtb_DataTypeConversion1_nc - 1]; + break; + + case 4: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + */ + rtb_VectorConcatenate_pg[2] = + g_assDTG_R_AMB_X2_LV4[rtb_DataTypeConversion1_nc - 1]; + break; + + default: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + */ + rtb_VectorConcatenate_pg[2] = + g_assDTG_R_AMB_X2_LV5[rtb_DataTypeConversion1_nc - 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch2' */ + + /* Lookup_n-D: '/2.6 FLU_tg_amb' */ + rtb_u6FLU_tg_amb_ht = look1_is16lu64n32Ds32_binlcn(rtb_FLU_tg_correct_ot, + rtb_VectorConcatenate_pg, rtb_VectorConcatenate_dw, 2U); + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_gn[0] = 0; + + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + */ + rtb_VectorConcatenate_gn[1] = + g_assDTG_R_SUN_Y1_LV0[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = + g_assDTG_R_SUN_Y2_LV0[rtb_DataTypeConversion1_nc - 1]; + break; + + case 1: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + */ + rtb_VectorConcatenate_gn[1] = + g_assDTG_R_SUN_Y1_LV1[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = + g_assDTG_R_SUN_Y2_LV1[rtb_DataTypeConversion1_nc - 1]; + break; + + case 2: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + */ + rtb_VectorConcatenate_gn[1] = + g_assDTG_R_SUN_Y1_LV2[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = + g_assDTG_R_SUN_Y2_LV2[rtb_DataTypeConversion1_nc - 1]; + break; + + case 3: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + */ + rtb_VectorConcatenate_gn[1] = + g_assDTG_R_SUN_Y1_LV3[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = + g_assDTG_R_SUN_Y2_LV3[rtb_DataTypeConversion1_nc - 1]; + break; + + case 4: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + */ + rtb_VectorConcatenate_gn[1] = + g_assDTG_R_SUN_Y1_LV4[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = + g_assDTG_R_SUN_Y2_LV4[rtb_DataTypeConversion1_nc - 1]; + break; + + default: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + */ + rtb_VectorConcatenate_gn[1] = + g_assDTG_R_SUN_Y1_LV5[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = + g_assDTG_R_SUN_Y2_LV5[rtb_DataTypeConversion1_nc - 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch1' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_np[0] = 0; + + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + */ + rtb_VectorConcatenate_np[1] = + g_assDTG_FU_SUN_X1_LV0[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = + g_assDTG_FU_SUN_X2_LV0[rtb_DataTypeConversion1_nc - 1]; + break; + + case 1: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + */ + rtb_VectorConcatenate_np[1] = + g_assDTG_FU_SUN_X1_LV1[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = + g_assDTG_FU_SUN_X2_LV1[rtb_DataTypeConversion1_nc - 1]; + break; + + case 2: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + */ + rtb_VectorConcatenate_np[1] = + g_assDTG_FU_SUN_X1_LV2[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = + g_assDTG_FU_SUN_X2_LV2[rtb_DataTypeConversion1_nc - 1]; + break; + + case 3: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + */ + rtb_VectorConcatenate_np[1] = + g_assDTG_FU_SUN_X1_LV3[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = + g_assDTG_FU_SUN_X2_LV3[rtb_DataTypeConversion1_nc - 1]; + break; + + case 4: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + */ + rtb_VectorConcatenate_np[1] = + g_assDTG_FU_SUN_X1_LV4[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = + g_assDTG_FU_SUN_X2_LV4[rtb_DataTypeConversion1_nc - 1]; + break; + + default: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + */ + rtb_VectorConcatenate_np[1] = + g_assDTG_FU_SUN_X1_LV5[rtb_DataTypeConversion1_nc - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = + g_assDTG_FU_SUN_X2_LV5[rtb_DataTypeConversion1_nc - 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch1' */ + + /* Lookup_n-D: '/2.6 FLU_tg_amb' incorporates: * DataStoreRead: '/Data Store Read27' */ - rtb_u6FLU_tg_amb_a3 = look1_bs16ts16Dd_binlc(rtDW.Sun_R, + rtb_u6FLU_tg_amb_p = look1_bs16ts16Dd_binlc(rtDW.Sun_R, rtb_VectorConcatenate_np, rtb_VectorConcatenate_gn, 2U); - /* Sum: '/FLU_tg_correct' */ - rtb_y_hg = (int16_t)((int16_t)((int16_t)(rtb_MultiportSwitch_az + rtb_X) + - rtb_MultiportSwitch_if) + rtb_u6FLU_tg_amb_a3); + /* Sum: '/FLU_tg_correct' */ + rtb_y_hg = (int16_t)((int16_t)((int16_t)(rtb_MultiportSwitch_dbp + + rtb_u5FLU_tg_incar_g) + rtb_u6FLU_tg_amb_ht) + rtb_u6FLU_tg_amb_p); - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * Selector: '/Selector' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * Selector: '/Selector' */ - if (rtb_y_hg > rtb_uDLookupTable7_g[rtb_DataTypeConversion1_gy - 1]) { - rtb_y_hg = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_gy - 1]; + if (rtb_y_hg > rtb_uDLookupTable7_g[rtb_DataTypeConversion1_nc - 1]) { + rtb_y_hg = 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) { case 0: @@ -17129,28 +19410,28 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' */ - rtb_Switch2_nb = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_gy - 1]; + /* Selector: '/Selector' */ + rtb_Switch5_l = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_nc - 1]; - /* Switch: '/Switch' incorporates: - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector' */ - if (rtb_y_hg < rtb_Switch2_nb) { - rtb_y_hg = rtb_Switch2_nb; + if (rtb_y_hg < rtb_Switch5_l) { + rtb_y_hg = rtb_Switch5_l; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant12' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read76' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant12' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read76' */ if (rtDW.CCU_AC_MAX > 0) { i = 5; @@ -17158,75 +19439,75 @@ void HVAC_model_step(void) i = rtDW.CCU_AUTOMODE_RR; } - /* MATLAB Function: '/func g_assAUTO_STEP_DUCT_TG_R' incorporates: - * DataStoreRead: '/Data Store Read20' - * Switch: '/Switch2' + /* 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_n); - /* Switch: '/Switch' incorporates: - * Constant: '/manual' - * DataStoreRead: '/Data Store Read46' + /* Switch: '/Switch' incorporates: + * Constant: '/manual' + * DataStoreRead: '/Data Store Read46' * DataStoreWrite: '/Data Store Write3' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ if (rtDW.CCU_MODE_RR != 0) { rtb_y_hg += rtb_y_n; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch15' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read44' - * DataStoreRead: '/Data Store Read' + /* Switch: '/Switch15' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read44' + * DataStoreRead: '/Data Store Read' * DataStoreWrite: '/Data Store Write5' * DataStoreWrite: '/Data Store Write3' - * If: '/If' - * Logic: '/Logical Operator' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * SignalConversion generated from: '/dtg' + * If: '/If' + * Logic: '/Logical Operator' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * SignalConversion generated from: '/dtg' */ if (rtDW.LO_HI_MODE_RR > 1) { rtDW.Duct_RR_Tg = 800; } else 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' */ - /* If: '/If' incorporates: - * DataStoreRead: '/dtg from Start Control' + /* If: '/If' incorporates: + * DataStoreRead: '/dtg from Start Control' * DataStoreWrite: '/Data Store Write5' - * DataTypeConversion: '/Data Type Conversion' + * 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' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ rtDW.Duct_RR_Tg = rtb_y_hg; - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of Switch: '/Switch15' */ + /* End of Switch: '/Switch15' */ - /* 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) { case 0: @@ -17234,38 +19515,38 @@ void HVAC_model_step(void) 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_g = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation_as, - rtConstP.pooled52, &g_assTG_FLL_LV0[0], 12U); + rtb_MultiportSwitch_gj = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation_as, rtConstP.pooled50, &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_i = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation_as, rtConstP.pooled52, &g_assINCAR_TG_FL_LV0[0], 12U); + rtb_MultiportSwitch_ar = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation_as, rtConstP.pooled50, &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_by[0] = - g_assDTG_FL_INC_Y1_LV0[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FL_INC_Y1_LV0[rtb_DataTypeConversion3_c1 - 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_by[1] = - g_assDTG_FL_INC_Y2_LV0[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FL_INC_Y2_LV0[rtb_DataTypeConversion3_c1 - 1]; break; case 1: @@ -17273,38 +19554,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_g = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation_as, - rtConstP.pooled52, &g_assTG_FLL_LV1[0], 12U); + rtb_MultiportSwitch_gj = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation_as, rtConstP.pooled50, &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_i = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation_as, rtConstP.pooled52, &g_assINCAR_TG_FL_LV1[0], 12U); + rtb_MultiportSwitch_ar = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation_as, rtConstP.pooled50, &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_by[0] = - g_assDTG_FL_INC_Y1_LV1[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FL_INC_Y1_LV1[rtb_DataTypeConversion3_c1 - 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_by[1] = - g_assDTG_FL_INC_Y2_LV1[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FL_INC_Y2_LV1[rtb_DataTypeConversion3_c1 - 1]; break; case 2: @@ -17312,38 +19593,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_g = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation_as, - rtConstP.pooled52, &g_assTG_FLL_LV2[0], 12U); + rtb_MultiportSwitch_gj = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation_as, rtConstP.pooled50, &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_i = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation_as, rtConstP.pooled52, &g_assINCAR_TG_FL_LV2[0], 12U); + rtb_MultiportSwitch_ar = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation_as, rtConstP.pooled50, &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_by[0] = - g_assDTG_FL_INC_Y1_LV2[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FL_INC_Y1_LV2[rtb_DataTypeConversion3_c1 - 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_by[1] = - g_assDTG_FL_INC_Y2_LV2[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FL_INC_Y2_LV2[rtb_DataTypeConversion3_c1 - 1]; break; case 3: @@ -17351,38 +19632,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_g = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation_as, - rtConstP.pooled52, &g_assTG_FLL_LV3[0], 12U); + rtb_MultiportSwitch_gj = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation_as, rtConstP.pooled50, &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_i = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation_as, rtConstP.pooled52, &g_assINCAR_TG_FL_LV3[0], 12U); + rtb_MultiportSwitch_ar = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation_as, rtConstP.pooled50, &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_by[0] = - g_assDTG_FL_INC_Y1_LV3[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FL_INC_Y1_LV3[rtb_DataTypeConversion3_c1 - 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_by[1] = - g_assDTG_FL_INC_Y2_LV3[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FL_INC_Y2_LV3[rtb_DataTypeConversion3_c1 - 1]; break; case 4: @@ -17390,38 +19671,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_g = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation_as, - rtConstP.pooled52, &g_assTG_FLL_LV4[0], 12U); + rtb_MultiportSwitch_gj = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation_as, rtConstP.pooled50, &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_i = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation_as, rtConstP.pooled52, &g_assINCAR_TG_FL_LV4[0], 12U); + rtb_MultiportSwitch_ar = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation_as, rtConstP.pooled50, &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_by[0] = - g_assDTG_FL_INC_Y1_LV4[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FL_INC_Y1_LV4[rtb_DataTypeConversion3_c1 - 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_by[1] = - g_assDTG_FL_INC_Y2_LV4[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FL_INC_Y2_LV4[rtb_DataTypeConversion3_c1 - 1]; break; default: @@ -17429,944 +19710,944 @@ 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_g = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation_as, - rtConstP.pooled52, &g_assTG_FLL_LV5[0], 12U); + rtb_MultiportSwitch_gj = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation_as, rtConstP.pooled50, &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_i = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_Saturation_as, rtConstP.pooled52, &g_assINCAR_TG_FL_LV5[0], 12U); + rtb_MultiportSwitch_ar = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_Saturation_as, rtConstP.pooled50, &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_by[0] = - g_assDTG_FL_INC_Y1_LV5[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FL_INC_Y1_LV5[rtb_DataTypeConversion3_c1 - 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_by[1] = - g_assDTG_FL_INC_Y2_LV5[rtb_DataTypeConversion1_hy - 1]; + g_assDTG_FL_INC_Y2_LV5[rtb_DataTypeConversion3_c1 - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_by[2] = 0; - - /* MultiPortSwitch: '/Multiport Switch3' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[3] = - g_assDTG_FL_INC_Y3_LV0[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[4] = - g_assDTG_FL_INC_Y4_LV0[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[0] = - g_assDTG_FU_INC_X1_LV0[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[1] = - g_assDTG_FU_INC_X2_LV0[rtb_DataTypeConversion1_hy - 1]; - break; - - case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[3] = - g_assDTG_FL_INC_Y3_LV1[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[4] = - g_assDTG_FL_INC_Y4_LV1[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[0] = - g_assDTG_FU_INC_X1_LV1[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[1] = - g_assDTG_FU_INC_X2_LV1[rtb_DataTypeConversion1_hy - 1]; - break; - - case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[3] = - g_assDTG_FL_INC_Y3_LV2[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[4] = - g_assDTG_FL_INC_Y4_LV2[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[0] = - g_assDTG_FU_INC_X1_LV2[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[1] = - g_assDTG_FU_INC_X2_LV2[rtb_DataTypeConversion1_hy - 1]; - break; - - case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[3] = - g_assDTG_FL_INC_Y3_LV3[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[4] = - g_assDTG_FL_INC_Y4_LV3[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[0] = - g_assDTG_FU_INC_X1_LV3[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[1] = - g_assDTG_FU_INC_X2_LV3[rtb_DataTypeConversion1_hy - 1]; - break; - - case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[3] = - g_assDTG_FL_INC_Y3_LV4[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[4] = - g_assDTG_FL_INC_Y4_LV4[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[0] = - g_assDTG_FU_INC_X1_LV4[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[1] = - g_assDTG_FU_INC_X2_LV4[rtb_DataTypeConversion1_hy - 1]; - break; - - default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[3] = - g_assDTG_FL_INC_Y3_LV5[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[4] = - g_assDTG_FL_INC_Y4_LV5[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[0] = - g_assDTG_FU_INC_X1_LV5[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[1] = - g_assDTG_FU_INC_X2_LV5[rtb_DataTypeConversion1_hy - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch3' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_kz[2] = 0; - - /* MultiPortSwitch: '/Multiport Switch3' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[3] = - g_assDTG_FU_INC_X3_LV0[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[4] = - g_assDTG_FU_INC_X4_LV0[rtb_DataTypeConversion1_hy - 1]; - break; - - case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[3] = - g_assDTG_FU_INC_X3_LV1[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[4] = - g_assDTG_FU_INC_X4_LV1[rtb_DataTypeConversion1_hy - 1]; - break; - - case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[3] = - g_assDTG_FU_INC_X3_LV2[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[4] = - g_assDTG_FU_INC_X4_LV2[rtb_DataTypeConversion1_hy - 1]; - break; - - case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[3] = - g_assDTG_FU_INC_X3_LV3[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[4] = - g_assDTG_FU_INC_X4_LV3[rtb_DataTypeConversion1_hy - 1]; - break; - - case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[3] = - g_assDTG_FU_INC_X3_LV4[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[4] = - g_assDTG_FU_INC_X4_LV4[rtb_DataTypeConversion1_hy - 1]; - break; - - default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[3] = - g_assDTG_FU_INC_X3_LV5[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[4] = - g_assDTG_FU_INC_X4_LV5[rtb_DataTypeConversion1_hy - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch3' */ - - /* Lookup_n-D: '/2.5 FLL_tg_incar' incorporates: - * DataStoreRead: '/Data Store Read21' - * Sum: '/2.5. X = Inc_Tg - Incar_fb' - */ - rtb_MultiportSwitch_ac = look1_is16lu64n32Ds32_binlcn((int16_t) - (rtb_u5FLU_tg_incar_i - rtDW.Incar_FL), rtb_VectorConcatenate_kz, - rtb_VectorConcatenate_by, 4U); - - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[0] = - g_assDTG_FL_AMB_Y1_LV0[rtb_DataTypeConversion1_hy - 1]; - break; - - case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[0] = - g_assDTG_FL_AMB_Y1_LV1[rtb_DataTypeConversion1_hy - 1]; - break; - - case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[0] = - g_assDTG_FL_AMB_Y1_LV2[rtb_DataTypeConversion1_hy - 1]; - break; - - case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[0] = - g_assDTG_FL_AMB_Y1_LV3[rtb_DataTypeConversion1_hy - 1]; - break; - - case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[0] = - g_assDTG_FL_AMB_Y1_LV4[rtb_DataTypeConversion1_hy - 1]; - break; - - default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[0] = - g_assDTG_FL_AMB_Y1_LV5[rtb_DataTypeConversion1_hy - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch1' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_dw[1] = 0; - - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_FL_AMB_Y2_LV0[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[0] = - g_assDTG_FL_AMB_X1_LV0[rtb_DataTypeConversion1_hy - 1]; - break; - - case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_FL_AMB_Y2_LV1[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[0] = - g_assDTG_FL_AMB_X1_LV1[rtb_DataTypeConversion1_hy - 1]; - break; - - case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_FL_AMB_Y2_LV2[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[0] = - g_assDTG_FL_AMB_X1_LV2[rtb_DataTypeConversion1_hy - 1]; - break; - - case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_FL_AMB_Y2_LV3[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[0] = - g_assDTG_FL_AMB_X1_LV3[rtb_DataTypeConversion1_hy - 1]; - break; - - case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_FL_AMB_Y2_LV4[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[0] = - g_assDTG_FL_AMB_X1_LV4[rtb_DataTypeConversion1_hy - 1]; - break; - - default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_FL_AMB_Y2_LV5[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[0] = - g_assDTG_FL_AMB_X1_LV5[rtb_DataTypeConversion1_hy - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch2' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_pg[1] = 0; - - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[2] = - g_assDTG_FL_AMB_X2_LV0[rtb_DataTypeConversion1_hy - 1]; - break; - - case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[2] = - g_assDTG_FL_AMB_X2_LV1[rtb_DataTypeConversion1_hy - 1]; - break; - - case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[2] = - g_assDTG_FL_AMB_X2_LV2[rtb_DataTypeConversion1_hy - 1]; - break; - - case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[2] = - g_assDTG_FL_AMB_X2_LV3[rtb_DataTypeConversion1_hy - 1]; - break; - - case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[2] = - g_assDTG_FL_AMB_X2_LV4[rtb_DataTypeConversion1_hy - 1]; - break; - - default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[2] = - g_assDTG_FL_AMB_X2_LV5[rtb_DataTypeConversion1_hy - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch2' */ - - /* Lookup_n-D: '/2.6 FLL_tg_amb' */ - rtb_MultiportSwitch1_g = look1_is16lu64n32Ds32_binlcn(rtb_Bias_ct, - rtb_VectorConcatenate_pg, rtb_VectorConcatenate_dw, 2U); - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_gn[0] = 0; - - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_FL_SUN_Y1_LV0[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_FL_SUN_Y2_LV0[rtb_DataTypeConversion1_hy - 1]; - break; - - case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_FL_SUN_Y1_LV1[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_FL_SUN_Y2_LV1[rtb_DataTypeConversion1_hy - 1]; - break; - - case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_FL_SUN_Y1_LV2[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_FL_SUN_Y2_LV2[rtb_DataTypeConversion1_hy - 1]; - break; - - case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_FL_SUN_Y1_LV3[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_FL_SUN_Y2_LV3[rtb_DataTypeConversion1_hy - 1]; - break; - - case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_FL_SUN_Y1_LV4[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_FL_SUN_Y2_LV4[rtb_DataTypeConversion1_hy - 1]; - break; - - default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_FL_SUN_Y1_LV5[rtb_DataTypeConversion1_hy - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_FL_SUN_Y2_LV5[rtb_DataTypeConversion1_hy - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ /* SignalConversion generated from: '/Vector Concatenate' incorporates: * Constant: '/Constant24' */ - rtb_VectorConcatenate_np[0] = 0; + rtb_VectorConcatenate_by[2] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch3' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[1] = - g_assDTG_FL_SUN_X1_LV0[rtb_DataTypeConversion1_hy - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_FL_INC_Y3_LV0[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = - g_assDTG_FL_SUN_X2_LV0[rtb_DataTypeConversion1_hy - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_FL_INC_Y4_LV0[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[0] = + g_assDTG_FU_INC_X1_LV0[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[1] = + g_assDTG_FU_INC_X2_LV0[rtb_DataTypeConversion3_c1 - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[1] = - g_assDTG_FL_SUN_X1_LV1[rtb_DataTypeConversion1_hy - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_FL_INC_Y3_LV1[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = - g_assDTG_FL_SUN_X2_LV1[rtb_DataTypeConversion1_hy - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_FL_INC_Y4_LV1[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[0] = + g_assDTG_FU_INC_X1_LV1[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[1] = + g_assDTG_FU_INC_X2_LV1[rtb_DataTypeConversion3_c1 - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[1] = - g_assDTG_FL_SUN_X1_LV2[rtb_DataTypeConversion1_hy - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_FL_INC_Y3_LV2[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = - g_assDTG_FL_SUN_X2_LV2[rtb_DataTypeConversion1_hy - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_FL_INC_Y4_LV2[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[0] = + g_assDTG_FU_INC_X1_LV2[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[1] = + g_assDTG_FU_INC_X2_LV2[rtb_DataTypeConversion3_c1 - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[1] = - g_assDTG_FL_SUN_X1_LV3[rtb_DataTypeConversion1_hy - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_FL_INC_Y3_LV3[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = - g_assDTG_FL_SUN_X2_LV3[rtb_DataTypeConversion1_hy - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_FL_INC_Y4_LV3[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[0] = + g_assDTG_FU_INC_X1_LV3[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[1] = + g_assDTG_FU_INC_X2_LV3[rtb_DataTypeConversion3_c1 - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[1] = - g_assDTG_FL_SUN_X1_LV4[rtb_DataTypeConversion1_hy - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_FL_INC_Y3_LV4[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = - g_assDTG_FL_SUN_X2_LV4[rtb_DataTypeConversion1_hy - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_FL_INC_Y4_LV4[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[0] = + g_assDTG_FU_INC_X1_LV4[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[1] = + g_assDTG_FU_INC_X2_LV4[rtb_DataTypeConversion3_c1 - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[1] = - g_assDTG_FL_SUN_X1_LV5[rtb_DataTypeConversion1_hy - 1]; + rtb_VectorConcatenate_by[3] = + g_assDTG_FL_INC_Y3_LV5[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion1' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = - g_assDTG_FL_SUN_X2_LV5[rtb_DataTypeConversion1_hy - 1]; + rtb_VectorConcatenate_by[4] = + g_assDTG_FL_INC_Y4_LV5[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[0] = + g_assDTG_FU_INC_X1_LV5[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[1] = + g_assDTG_FU_INC_X2_LV5[rtb_DataTypeConversion3_c1 - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* Lookup_n-D: '/2.6 FLL_tg_amb' incorporates: + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_kz[2] = 0; + + /* MultiPortSwitch: '/Multiport Switch3' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[3] = + g_assDTG_FU_INC_X3_LV0[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[4] = + g_assDTG_FU_INC_X4_LV0[rtb_DataTypeConversion3_c1 - 1]; + break; + + case 1: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[3] = + g_assDTG_FU_INC_X3_LV1[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[4] = + g_assDTG_FU_INC_X4_LV1[rtb_DataTypeConversion3_c1 - 1]; + break; + + case 2: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[3] = + g_assDTG_FU_INC_X3_LV2[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[4] = + g_assDTG_FU_INC_X4_LV2[rtb_DataTypeConversion3_c1 - 1]; + break; + + case 3: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[3] = + g_assDTG_FU_INC_X3_LV3[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[4] = + g_assDTG_FU_INC_X4_LV3[rtb_DataTypeConversion3_c1 - 1]; + break; + + case 4: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[3] = + g_assDTG_FU_INC_X3_LV4[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[4] = + g_assDTG_FU_INC_X4_LV4[rtb_DataTypeConversion3_c1 - 1]; + break; + + default: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[3] = + g_assDTG_FU_INC_X3_LV5[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[4] = + g_assDTG_FU_INC_X4_LV5[rtb_DataTypeConversion3_c1 - 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch3' */ + + /* Lookup_n-D: '/2.5 FLL_tg_incar' incorporates: + * DataStoreRead: '/Data Store Read21' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' + */ + rtb_u5FLL_tg_incar = look1_is16lu64n32Ds32_binlcn((int16_t) + (rtb_MultiportSwitch_ar - rtDW.Incar_FL), rtb_VectorConcatenate_kz, + rtb_VectorConcatenate_by, 4U); + + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_dw[0] = + g_assDTG_FL_AMB_Y1_LV0[rtb_DataTypeConversion3_c1 - 1]; + break; + + case 1: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_dw[0] = + g_assDTG_FL_AMB_Y1_LV1[rtb_DataTypeConversion3_c1 - 1]; + break; + + case 2: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_dw[0] = + g_assDTG_FL_AMB_Y1_LV2[rtb_DataTypeConversion3_c1 - 1]; + break; + + case 3: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_dw[0] = + g_assDTG_FL_AMB_Y1_LV3[rtb_DataTypeConversion3_c1 - 1]; + break; + + case 4: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_dw[0] = + g_assDTG_FL_AMB_Y1_LV4[rtb_DataTypeConversion3_c1 - 1]; + break; + + default: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_dw[0] = + g_assDTG_FL_AMB_Y1_LV5[rtb_DataTypeConversion3_c1 - 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch1' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_dw[1] = 0; + + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_dw[2] = + g_assDTG_FL_AMB_Y2_LV0[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_pg[0] = + g_assDTG_FL_AMB_X1_LV0[rtb_DataTypeConversion3_c1 - 1]; + break; + + case 1: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_dw[2] = + g_assDTG_FL_AMB_Y2_LV1[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_pg[0] = + g_assDTG_FL_AMB_X1_LV1[rtb_DataTypeConversion3_c1 - 1]; + break; + + case 2: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_dw[2] = + g_assDTG_FL_AMB_Y2_LV2[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_pg[0] = + g_assDTG_FL_AMB_X1_LV2[rtb_DataTypeConversion3_c1 - 1]; + break; + + case 3: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_dw[2] = + g_assDTG_FL_AMB_Y2_LV3[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_pg[0] = + g_assDTG_FL_AMB_X1_LV3[rtb_DataTypeConversion3_c1 - 1]; + break; + + case 4: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_dw[2] = + g_assDTG_FL_AMB_Y2_LV4[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_pg[0] = + g_assDTG_FL_AMB_X1_LV4[rtb_DataTypeConversion3_c1 - 1]; + break; + + default: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_dw[2] = + g_assDTG_FL_AMB_Y2_LV5[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_pg[0] = + g_assDTG_FL_AMB_X1_LV5[rtb_DataTypeConversion3_c1 - 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch2' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_pg[1] = 0; + + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_pg[2] = + g_assDTG_FL_AMB_X2_LV0[rtb_DataTypeConversion3_c1 - 1]; + break; + + case 1: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_pg[2] = + g_assDTG_FL_AMB_X2_LV1[rtb_DataTypeConversion3_c1 - 1]; + break; + + case 2: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_pg[2] = + g_assDTG_FL_AMB_X2_LV2[rtb_DataTypeConversion3_c1 - 1]; + break; + + case 3: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_pg[2] = + g_assDTG_FL_AMB_X2_LV3[rtb_DataTypeConversion3_c1 - 1]; + break; + + case 4: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_pg[2] = + g_assDTG_FL_AMB_X2_LV4[rtb_DataTypeConversion3_c1 - 1]; + break; + + default: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_pg[2] = + g_assDTG_FL_AMB_X2_LV5[rtb_DataTypeConversion3_c1 - 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch2' */ + + /* Lookup_n-D: '/2.6 FLL_tg_amb' */ + rtb_u6FLL_tg_amb = look1_is16lu64n32Ds32_binlcn(rtb_FLU_tg_correct_ot, + rtb_VectorConcatenate_pg, rtb_VectorConcatenate_dw, 2U); + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_gn[0] = 0; + + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[1] = + g_assDTG_FL_SUN_Y1_LV0[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = + g_assDTG_FL_SUN_Y2_LV0[rtb_DataTypeConversion3_c1 - 1]; + break; + + case 1: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[1] = + g_assDTG_FL_SUN_Y1_LV1[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = + g_assDTG_FL_SUN_Y2_LV1[rtb_DataTypeConversion3_c1 - 1]; + break; + + case 2: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[1] = + g_assDTG_FL_SUN_Y1_LV2[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = + g_assDTG_FL_SUN_Y2_LV2[rtb_DataTypeConversion3_c1 - 1]; + break; + + case 3: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[1] = + g_assDTG_FL_SUN_Y1_LV3[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = + g_assDTG_FL_SUN_Y2_LV3[rtb_DataTypeConversion3_c1 - 1]; + break; + + case 4: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[1] = + g_assDTG_FL_SUN_Y1_LV4[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = + g_assDTG_FL_SUN_Y2_LV4[rtb_DataTypeConversion3_c1 - 1]; + break; + + default: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[1] = + g_assDTG_FL_SUN_Y1_LV5[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = + g_assDTG_FL_SUN_Y2_LV5[rtb_DataTypeConversion3_c1 - 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch1' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_np[0] = 0; + + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[1] = + g_assDTG_FL_SUN_X1_LV0[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = + g_assDTG_FL_SUN_X2_LV0[rtb_DataTypeConversion3_c1 - 1]; + break; + + case 1: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[1] = + g_assDTG_FL_SUN_X1_LV1[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = + g_assDTG_FL_SUN_X2_LV1[rtb_DataTypeConversion3_c1 - 1]; + break; + + case 2: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[1] = + g_assDTG_FL_SUN_X1_LV2[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = + g_assDTG_FL_SUN_X2_LV2[rtb_DataTypeConversion3_c1 - 1]; + break; + + case 3: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[1] = + g_assDTG_FL_SUN_X1_LV3[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = + g_assDTG_FL_SUN_X2_LV3[rtb_DataTypeConversion3_c1 - 1]; + break; + + case 4: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[1] = + g_assDTG_FL_SUN_X1_LV4[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = + g_assDTG_FL_SUN_X2_LV4[rtb_DataTypeConversion3_c1 - 1]; + break; + + default: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[1] = + g_assDTG_FL_SUN_X1_LV5[rtb_DataTypeConversion3_c1 - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion1' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = + g_assDTG_FL_SUN_X2_LV5[rtb_DataTypeConversion3_c1 - 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch1' */ + + /* Lookup_n-D: '/2.6 FLL_tg_amb' incorporates: * DataStoreRead: '/Data Store Read26' */ rtb_Bias3 = look1_bs16ts16Dd_binlc(rtDW.Sun_L, rtb_VectorConcatenate_np, rtb_VectorConcatenate_gn, 2U); - /* Sum: '/FLU_tg_correct' */ - rtb_y_n = (int16_t)((int16_t)((int16_t)(rtb_u6FLU_tg_amb_g + - rtb_MultiportSwitch_ac) + rtb_MultiportSwitch1_g) + rtb_Bias3); + /* Sum: '/FLU_tg_correct' */ + rtb_y_n = (int16_t)((int16_t)((int16_t)(rtb_MultiportSwitch_gj + + rtb_u5FLL_tg_incar) + rtb_u6FLL_tg_amb) + rtb_Bias3); - /* Switch: '/Switch2' incorporates: - * 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_y_n > rtb_uDLookupTable7_g[rtb_DataTypeConversion1_hy - 1]) { - rtb_y_n = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_hy - 1]; + if (rtb_y_n > rtb_uDLookupTable7_g[rtb_DataTypeConversion3_c1 - 1]) { + rtb_y_n = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_c1 - 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) { case 0: @@ -18406,28 +20687,28 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' */ - rtb_Switch2_nb = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_hy - 1]; + /* Selector: '/Selector' */ + rtb_Switch5_l = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_c1 - 1]; - /* Switch: '/Switch' incorporates: - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector' */ - if (rtb_y_n < rtb_Switch2_nb) { - rtb_y_n = rtb_Switch2_nb; + if (rtb_y_n < rtb_Switch5_l) { + rtb_y_n = rtb_Switch5_l; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant12' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read76' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant12' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read76' */ if (rtDW.CCU_AC_MAX > 0) { i = 5; @@ -18435,80 +20716,80 @@ void HVAC_model_step(void) i = rtDW.CCU_AUTOMODE_FL; } - /* MATLAB Function: '/func g_assAUTO_STEP_DUCT_TG_L' incorporates: - * DataStoreRead: '/Data Store Read20' - * Switch: '/Switch2' + /* 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_ds); - /* Switch: '/Switch' incorporates: - * Constant: '/manual' - * DataStoreRead: '/Data Store Read46' + /* Switch: '/Switch' incorporates: + * Constant: '/manual' + * DataStoreRead: '/Data Store Read46' * DataStoreWrite: '/Data Store Write4' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ if (rtDW.CCU_MODE_FL != 0) { rtb_y_n += rtb_y_ds; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch15' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read44' - * DataStoreRead: '/Data Store Read' + /* Switch: '/Switch15' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read44' + * DataStoreRead: '/Data Store Read' * DataStoreWrite: '/Data Store Write6' - * If: '/If' - * Logic: '/Logical Operator' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + * If: '/If' + * Logic: '/Logical Operator' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ if (rtDW.LO_HI_MODE_FL > 1) { rtb_y_ds = 800; } else { 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' */ - /* If: '/If' incorporates: - * DataStoreRead: '/mode from Start Control' - * DataTypeConversion: '/Data Type Conversion' + /* If: '/If' incorporates: + * DataStoreRead: '/mode from Start Control' + * DataTypeConversion: '/Data Type Conversion' */ - rtb_Switch2_nb = (int16_t)rtDW.Dtg_FLL; + rtb_Switch5_l = (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' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If' incorporates: + /* If: '/If' incorporates: * DataStoreWrite: '/Data Store Write4' - * SignalConversion generated from: '/FXU' + * SignalConversion generated from: '/FXU' */ - rtb_Switch2_nb = rtb_y_n; + rtb_Switch5_l = rtb_y_n; - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read2' - * Sum: '/Sum' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read2' + * Sum: '/Sum' */ - rtb_y_ds = (int16_t)(rtb_Switch2_nb + rtDW.Dtg_individual_foot_FL); + rtb_y_ds = (int16_t)(rtb_Switch5_l + rtDW.Dtg_individual_foot_FL); - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant13' - * Constant: '/Constant14' - * Constant: '/Constant15' - * Constant: '/Constant16' - * Constant: '/Constant17' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant13' + * Constant: '/Constant14' + * Constant: '/Constant15' + * Constant: '/Constant16' + * Constant: '/Constant17' */ switch (rtb_Saturation4) { case 0: @@ -18548,29 +20829,29 @@ 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_nb = rtb_uDLookupTable7_g[(uint8_t)rtb_Cmd_3Way - 1]; + rtb_Switch5_l = rtb_uDLookupTable7_g[(uint8_t)rtb_Cmd_3Way - 1]; - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * Selector: '/Selector' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * Selector: '/Selector' */ - if (rtb_y_ds > rtb_Switch2_nb) { + if (rtb_y_ds > rtb_Switch5_l) { /* DataStoreWrite: '/Data Store Write6' */ - rtb_y_ds = rtb_Switch2_nb; + rtb_y_ds = rtb_Switch5_l; } else { - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' - * Constant: '/Constant6' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' + * Constant: '/Constant6' */ switch (rtb_Saturation4) { case 0: @@ -18610,36 +20891,36 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Selector: '/Selector1' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_Switch2_nb = rtb_uDLookupTable7_g[(uint8_t)rtb_Cmd_3Way - 1]; + rtb_Switch5_l = rtb_uDLookupTable7_g[(uint8_t)rtb_Cmd_3Way - 1]; - /* Switch: '/Switch' incorporates: - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector1' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector1' */ - if (rtb_y_ds < rtb_Switch2_nb) { + if (rtb_y_ds < rtb_Switch5_l) { /* DataStoreWrite: '/Data Store Write6' */ - rtb_y_ds = rtb_Switch2_nb; + rtb_y_ds = rtb_Switch5_l; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ } - /* 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) { case 0: @@ -18679,1113 +20960,1113 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_y_he = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_hs - 1]; + rtb_y_he = rtb_uDLookupTable7_g[Index_mode_FR_manual - 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: '/Saturation1' */ switch (rtb_Saturation4) { case 0: - rtb_Bias2_n = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled52, + rtb_Bias2_n = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled50, &g_assTG_FRL_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_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled52, + rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled50, &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_by[0] = - g_assDTG_FL_INC_Y1_LV0[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[0] = g_assDTG_FL_INC_Y1_LV0[Index_mode_FR_manual - + 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_by[1] = - g_assDTG_FL_INC_Y2_LV0[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[1] = g_assDTG_FL_INC_Y2_LV0[Index_mode_FR_manual - + 1]; break; case 1: - rtb_Bias2_n = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled52, + rtb_Bias2_n = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled50, &g_assTG_FRL_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_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled52, + rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled50, &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_by[0] = - g_assDTG_FL_INC_Y1_LV1[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[0] = g_assDTG_FL_INC_Y1_LV1[Index_mode_FR_manual - + 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_by[1] = - g_assDTG_FL_INC_Y2_LV1[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[1] = g_assDTG_FL_INC_Y2_LV1[Index_mode_FR_manual - + 1]; break; case 2: - rtb_Bias2_n = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled52, + rtb_Bias2_n = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled50, &g_assTG_FRL_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_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled52, + rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled50, &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_by[0] = - g_assDTG_FL_INC_Y1_LV2[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[0] = g_assDTG_FL_INC_Y1_LV2[Index_mode_FR_manual - + 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_by[1] = - g_assDTG_FL_INC_Y2_LV2[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[1] = g_assDTG_FL_INC_Y2_LV2[Index_mode_FR_manual - + 1]; break; case 3: - rtb_Bias2_n = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled52, + rtb_Bias2_n = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled50, &g_assTG_FRL_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_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled52, + rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled50, &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_by[0] = - g_assDTG_FL_INC_Y1_LV3[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[0] = g_assDTG_FL_INC_Y1_LV3[Index_mode_FR_manual - + 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_by[1] = - g_assDTG_FL_INC_Y2_LV3[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[1] = g_assDTG_FL_INC_Y2_LV3[Index_mode_FR_manual - + 1]; break; case 4: - rtb_Bias2_n = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled52, + rtb_Bias2_n = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled50, &g_assTG_FRL_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_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled52, + rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled50, &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_by[0] = - g_assDTG_FL_INC_Y1_LV4[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[0] = g_assDTG_FL_INC_Y1_LV4[Index_mode_FR_manual - + 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_by[1] = - g_assDTG_FL_INC_Y2_LV4[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[1] = g_assDTG_FL_INC_Y2_LV4[Index_mode_FR_manual - + 1]; break; default: - rtb_Bias2_n = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled52, + rtb_Bias2_n = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled50, &g_assTG_FRL_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_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled52, + rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(Gain1, rtConstP.pooled50, &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_by[0] = - g_assDTG_FL_INC_Y1_LV5[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[0] = g_assDTG_FL_INC_Y1_LV5[Index_mode_FR_manual - + 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_by[1] = - g_assDTG_FL_INC_Y2_LV5[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[1] = g_assDTG_FL_INC_Y2_LV5[Index_mode_FR_manual - + 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_by[2] = 0; - - /* MultiPortSwitch: '/Multiport Switch3' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[3] = - g_assDTG_FL_INC_Y3_LV0[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[4] = - g_assDTG_FL_INC_Y4_LV0[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[0] = - g_assDTG_FU_INC_X1_LV0[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[1] = - g_assDTG_FU_INC_X2_LV0[rtb_DataTypeConversion3_hs - 1]; - break; - - case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[3] = - g_assDTG_FL_INC_Y3_LV1[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[4] = - g_assDTG_FL_INC_Y4_LV1[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[0] = - g_assDTG_FU_INC_X1_LV1[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[1] = - g_assDTG_FU_INC_X2_LV1[rtb_DataTypeConversion3_hs - 1]; - break; - - case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[3] = - g_assDTG_FL_INC_Y3_LV2[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[4] = - g_assDTG_FL_INC_Y4_LV2[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[0] = - g_assDTG_FU_INC_X1_LV2[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[1] = - g_assDTG_FU_INC_X2_LV2[rtb_DataTypeConversion3_hs - 1]; - break; - - case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[3] = - g_assDTG_FL_INC_Y3_LV3[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[4] = - g_assDTG_FL_INC_Y4_LV3[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[0] = - g_assDTG_FU_INC_X1_LV3[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[1] = - g_assDTG_FU_INC_X2_LV3[rtb_DataTypeConversion3_hs - 1]; - break; - - case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[3] = - g_assDTG_FL_INC_Y3_LV4[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[4] = - g_assDTG_FL_INC_Y4_LV4[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[0] = - g_assDTG_FU_INC_X1_LV4[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[1] = - g_assDTG_FU_INC_X2_LV4[rtb_DataTypeConversion3_hs - 1]; - break; - - default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[3] = - g_assDTG_FL_INC_Y3_LV5[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_by[4] = - g_assDTG_FL_INC_Y4_LV5[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[0] = - g_assDTG_FU_INC_X1_LV5[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[1] = - g_assDTG_FU_INC_X2_LV5[rtb_DataTypeConversion3_hs - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch3' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_kz[2] = 0; - - /* MultiPortSwitch: '/Multiport Switch3' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[3] = - g_assDTG_FU_INC_X3_LV0[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[4] = - g_assDTG_FU_INC_X4_LV0[rtb_DataTypeConversion3_hs - 1]; - break; - - case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[3] = - g_assDTG_FU_INC_X3_LV1[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[4] = - g_assDTG_FU_INC_X4_LV1[rtb_DataTypeConversion3_hs - 1]; - break; - - case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[3] = - g_assDTG_FU_INC_X3_LV2[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[4] = - g_assDTG_FU_INC_X4_LV2[rtb_DataTypeConversion3_hs - 1]; - break; - - case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[3] = - g_assDTG_FU_INC_X3_LV3[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[4] = - g_assDTG_FU_INC_X4_LV3[rtb_DataTypeConversion3_hs - 1]; - break; - - case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[3] = - g_assDTG_FU_INC_X3_LV4[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[4] = - g_assDTG_FU_INC_X4_LV4[rtb_DataTypeConversion3_hs - 1]; - break; - - default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[3] = - g_assDTG_FU_INC_X3_LV5[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_kz[4] = - g_assDTG_FU_INC_X4_LV5[rtb_DataTypeConversion3_hs - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch3' */ - - /* Lookup_n-D: '/2.5 FRL_tg_incar' incorporates: - * DataStoreRead: '/Data Store Read22' - * Sum: '/2.5. X = Inc_Tg - Incar_fb' - */ - rtb_Bias1_h = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_Bias4 - rtDW.Incar_FR), - rtb_VectorConcatenate_kz, rtb_VectorConcatenate_by, 4U); - - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[0] = - g_assDTG_FL_AMB_Y1_LV0[rtb_DataTypeConversion3_hs - 1]; - break; - - case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[0] = - g_assDTG_FL_AMB_Y1_LV1[rtb_DataTypeConversion3_hs - 1]; - break; - - case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[0] = - g_assDTG_FL_AMB_Y1_LV2[rtb_DataTypeConversion3_hs - 1]; - break; - - case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[0] = - g_assDTG_FL_AMB_Y1_LV3[rtb_DataTypeConversion3_hs - 1]; - break; - - case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[0] = - g_assDTG_FL_AMB_Y1_LV4[rtb_DataTypeConversion3_hs - 1]; - break; - - default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[0] = - g_assDTG_FL_AMB_Y1_LV5[rtb_DataTypeConversion3_hs - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch1' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_dw[1] = 0; - - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_FL_AMB_Y2_LV0[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[0] = - g_assDTG_FL_AMB_X1_LV0[rtb_DataTypeConversion3_hs - 1]; - break; - - case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_FL_AMB_Y2_LV1[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[0] = - g_assDTG_FL_AMB_X1_LV1[rtb_DataTypeConversion3_hs - 1]; - break; - - case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_FL_AMB_Y2_LV2[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[0] = - g_assDTG_FL_AMB_X1_LV2[rtb_DataTypeConversion3_hs - 1]; - break; - - case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_FL_AMB_Y2_LV3[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[0] = - g_assDTG_FL_AMB_X1_LV3[rtb_DataTypeConversion3_hs - 1]; - break; - - case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_FL_AMB_Y2_LV4[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[0] = - g_assDTG_FL_AMB_X1_LV4[rtb_DataTypeConversion3_hs - 1]; - break; - - default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[2] = - g_assDTG_FL_AMB_Y2_LV5[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[0] = - g_assDTG_FL_AMB_X1_LV5[rtb_DataTypeConversion3_hs - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch2' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_pg[1] = 0; - - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[2] = - g_assDTG_FL_AMB_X2_LV0[rtb_DataTypeConversion3_hs - 1]; - break; - - case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[2] = - g_assDTG_FL_AMB_X2_LV1[rtb_DataTypeConversion3_hs - 1]; - break; - - case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[2] = - g_assDTG_FL_AMB_X2_LV2[rtb_DataTypeConversion3_hs - 1]; - break; - - case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[2] = - g_assDTG_FL_AMB_X2_LV3[rtb_DataTypeConversion3_hs - 1]; - break; - - case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[2] = - g_assDTG_FL_AMB_X2_LV4[rtb_DataTypeConversion3_hs - 1]; - break; - - default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[2] = - g_assDTG_FL_AMB_X2_LV5[rtb_DataTypeConversion3_hs - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch2' */ - - /* Lookup_n-D: '/2.6 FLL_tg_amb' */ - rtb_Bias_ct = look1_is16lu64n32Ds32_binlcn(rtb_Bias_ct, - rtb_VectorConcatenate_pg, rtb_VectorConcatenate_dw, 2U); - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_gn[0] = 0; - - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_FL_SUN_Y1_LV0[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_FL_SUN_Y2_LV0[rtb_DataTypeConversion3_hs - 1]; - break; - - case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_FL_SUN_Y1_LV1[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_FL_SUN_Y2_LV1[rtb_DataTypeConversion3_hs - 1]; - break; - - case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_FL_SUN_Y1_LV2[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_FL_SUN_Y2_LV2[rtb_DataTypeConversion3_hs - 1]; - break; - - case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_FL_SUN_Y1_LV3[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_FL_SUN_Y2_LV3[rtb_DataTypeConversion3_hs - 1]; - break; - - case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_FL_SUN_Y1_LV4[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_FL_SUN_Y2_LV4[rtb_DataTypeConversion3_hs - 1]; - break; - - default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[1] = - g_assDTG_FL_SUN_Y1_LV5[rtb_DataTypeConversion3_hs - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = - g_assDTG_FL_SUN_Y2_LV5[rtb_DataTypeConversion3_hs - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ /* SignalConversion generated from: '/Vector Concatenate' incorporates: * Constant: '/Constant24' */ - rtb_VectorConcatenate_np[0] = 0; + rtb_VectorConcatenate_by[2] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch3' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[1] = - g_assDTG_FL_SUN_X1_LV0[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[3] = g_assDTG_FL_INC_Y3_LV0[Index_mode_FR_manual - + 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = - g_assDTG_FL_SUN_X2_LV0[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[4] = g_assDTG_FL_INC_Y4_LV0[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV0[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV0[Index_mode_FR_manual - + 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[1] = - g_assDTG_FL_SUN_X1_LV1[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[3] = g_assDTG_FL_INC_Y3_LV1[Index_mode_FR_manual - + 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = - g_assDTG_FL_SUN_X2_LV1[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[4] = g_assDTG_FL_INC_Y4_LV1[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV1[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV1[Index_mode_FR_manual - + 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[1] = - g_assDTG_FL_SUN_X1_LV2[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[3] = g_assDTG_FL_INC_Y3_LV2[Index_mode_FR_manual - + 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = - g_assDTG_FL_SUN_X2_LV2[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[4] = g_assDTG_FL_INC_Y4_LV2[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV2[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV2[Index_mode_FR_manual - + 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[1] = - g_assDTG_FL_SUN_X1_LV3[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[3] = g_assDTG_FL_INC_Y3_LV3[Index_mode_FR_manual - + 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = - g_assDTG_FL_SUN_X2_LV3[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[4] = g_assDTG_FL_INC_Y4_LV3[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV3[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV3[Index_mode_FR_manual - + 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[1] = - g_assDTG_FL_SUN_X1_LV4[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[3] = g_assDTG_FL_INC_Y3_LV4[Index_mode_FR_manual - + 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = - g_assDTG_FL_SUN_X2_LV4[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[4] = g_assDTG_FL_INC_Y4_LV4[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV4[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV4[Index_mode_FR_manual - + 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[1] = - g_assDTG_FL_SUN_X1_LV5[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[3] = g_assDTG_FL_INC_Y3_LV5[Index_mode_FR_manual - + 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * DataTypeConversion: '/Data Type Conversion2' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = - g_assDTG_FL_SUN_X2_LV5[rtb_DataTypeConversion3_hs - 1]; + rtb_VectorConcatenate_by[4] = g_assDTG_FL_INC_Y4_LV5[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[0] = g_assDTG_FU_INC_X1_LV5[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[1] = g_assDTG_FU_INC_X2_LV5[Index_mode_FR_manual - + 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch3' */ - /* Lookup_n-D: '/2.6 FLL_tg_amb' incorporates: + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_kz[2] = 0; + + /* MultiPortSwitch: '/Multiport Switch3' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV0[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV0[Index_mode_FR_manual - + 1]; + break; + + case 1: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV1[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV1[Index_mode_FR_manual - + 1]; + break; + + case 2: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV2[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV2[Index_mode_FR_manual - + 1]; + break; + + case 3: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV3[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV3[Index_mode_FR_manual - + 1]; + break; + + case 4: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV4[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV4[Index_mode_FR_manual - + 1]; + break; + + default: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[3] = g_assDTG_FU_INC_X3_LV5[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_kz[4] = g_assDTG_FU_INC_X4_LV5[Index_mode_FR_manual - + 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch3' */ + + /* Lookup_n-D: '/2.5 FRL_tg_incar' incorporates: + * DataStoreRead: '/Data Store Read22' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' + */ + rtb_Bias1_h = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_Bias4 - rtDW.Incar_FR), + rtb_VectorConcatenate_kz, rtb_VectorConcatenate_by, 4U); + + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_dw[0] = g_assDTG_FL_AMB_Y1_LV0[Index_mode_FR_manual - + 1]; + break; + + case 1: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_dw[0] = g_assDTG_FL_AMB_Y1_LV1[Index_mode_FR_manual - + 1]; + break; + + case 2: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_dw[0] = g_assDTG_FL_AMB_Y1_LV2[Index_mode_FR_manual - + 1]; + break; + + case 3: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_dw[0] = g_assDTG_FL_AMB_Y1_LV3[Index_mode_FR_manual - + 1]; + break; + + case 4: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_dw[0] = g_assDTG_FL_AMB_Y1_LV4[Index_mode_FR_manual - + 1]; + break; + + default: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_dw[0] = g_assDTG_FL_AMB_Y1_LV5[Index_mode_FR_manual - + 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch1' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_dw[1] = 0; + + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_dw[2] = g_assDTG_FL_AMB_Y2_LV0[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_pg[0] = g_assDTG_FL_AMB_X1_LV0[Index_mode_FR_manual - + 1]; + break; + + case 1: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_dw[2] = g_assDTG_FL_AMB_Y2_LV1[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_pg[0] = g_assDTG_FL_AMB_X1_LV1[Index_mode_FR_manual - + 1]; + break; + + case 2: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_dw[2] = g_assDTG_FL_AMB_Y2_LV2[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_pg[0] = g_assDTG_FL_AMB_X1_LV2[Index_mode_FR_manual - + 1]; + break; + + case 3: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_dw[2] = g_assDTG_FL_AMB_Y2_LV3[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_pg[0] = g_assDTG_FL_AMB_X1_LV3[Index_mode_FR_manual - + 1]; + break; + + case 4: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_dw[2] = g_assDTG_FL_AMB_Y2_LV4[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_pg[0] = g_assDTG_FL_AMB_X1_LV4[Index_mode_FR_manual - + 1]; + break; + + default: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_dw[2] = g_assDTG_FL_AMB_Y2_LV5[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_pg[0] = g_assDTG_FL_AMB_X1_LV5[Index_mode_FR_manual - + 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch2' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_pg[1] = 0; + + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_pg[2] = g_assDTG_FL_AMB_X2_LV0[Index_mode_FR_manual - + 1]; + break; + + case 1: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_pg[2] = g_assDTG_FL_AMB_X2_LV1[Index_mode_FR_manual - + 1]; + break; + + case 2: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_pg[2] = g_assDTG_FL_AMB_X2_LV2[Index_mode_FR_manual - + 1]; + break; + + case 3: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_pg[2] = g_assDTG_FL_AMB_X2_LV3[Index_mode_FR_manual - + 1]; + break; + + case 4: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_pg[2] = g_assDTG_FL_AMB_X2_LV4[Index_mode_FR_manual - + 1]; + break; + + default: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_pg[2] = g_assDTG_FL_AMB_X2_LV5[Index_mode_FR_manual - + 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch2' */ + + /* Lookup_n-D: '/2.6 FLL_tg_amb' */ + rtb_Bias_ct = look1_is16lu64n32Ds32_binlcn(rtb_FLU_tg_correct_ot, + rtb_VectorConcatenate_pg, rtb_VectorConcatenate_dw, 2U); + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_gn[0] = 0; + + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[1] = g_assDTG_FL_SUN_Y1_LV0[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = g_assDTG_FL_SUN_Y2_LV0[Index_mode_FR_manual - + 1]; + break; + + case 1: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[1] = g_assDTG_FL_SUN_Y1_LV1[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = g_assDTG_FL_SUN_Y2_LV1[Index_mode_FR_manual - + 1]; + break; + + case 2: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[1] = g_assDTG_FL_SUN_Y1_LV2[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = g_assDTG_FL_SUN_Y2_LV2[Index_mode_FR_manual - + 1]; + break; + + case 3: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[1] = g_assDTG_FL_SUN_Y1_LV3[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = g_assDTG_FL_SUN_Y2_LV3[Index_mode_FR_manual - + 1]; + break; + + case 4: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[1] = g_assDTG_FL_SUN_Y1_LV4[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = g_assDTG_FL_SUN_Y2_LV4[Index_mode_FR_manual - + 1]; + break; + + default: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[1] = g_assDTG_FL_SUN_Y1_LV5[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = g_assDTG_FL_SUN_Y2_LV5[Index_mode_FR_manual - + 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch1' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_np[0] = 0; + + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[1] = g_assDTG_FL_SUN_X1_LV0[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = g_assDTG_FL_SUN_X2_LV0[Index_mode_FR_manual - + 1]; + break; + + case 1: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[1] = g_assDTG_FL_SUN_X1_LV1[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = g_assDTG_FL_SUN_X2_LV1[Index_mode_FR_manual - + 1]; + break; + + case 2: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[1] = g_assDTG_FL_SUN_X1_LV2[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = g_assDTG_FL_SUN_X2_LV2[Index_mode_FR_manual - + 1]; + break; + + case 3: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[1] = g_assDTG_FL_SUN_X1_LV3[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = g_assDTG_FL_SUN_X2_LV3[Index_mode_FR_manual - + 1]; + break; + + case 4: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[1] = g_assDTG_FL_SUN_X1_LV4[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = g_assDTG_FL_SUN_X2_LV4[Index_mode_FR_manual - + 1]; + break; + + default: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[1] = g_assDTG_FL_SUN_X1_LV5[Index_mode_FR_manual - + 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * DataTypeConversion: '/Data Type Conversion2' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = g_assDTG_FL_SUN_X2_LV5[Index_mode_FR_manual - + 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch1' */ + + /* Lookup_n-D: '/2.6 FLL_tg_amb' incorporates: * DataStoreRead: '/Data Store Read27' */ - rtb_DataTypeConversion1_oq = look1_bs16ts16Dd_binlc(rtDW.Sun_R, + rtb_DataTypeConversion1_gq = look1_bs16ts16Dd_binlc(rtDW.Sun_R, rtb_VectorConcatenate_np, rtb_VectorConcatenate_gn, 2U); - /* Sum: '/FLU_tg_correct' */ + /* Sum: '/FLU_tg_correct' */ rtb_FLU_tg_correct_ot = (int16_t)((int16_t)((int16_t)(rtb_Bias2_n + - rtb_Bias1_h) + rtb_Bias_ct) + rtb_DataTypeConversion1_oq); + rtb_Bias1_h) + rtb_Bias_ct) + rtb_DataTypeConversion1_gq); - /* Switch: '/Switch2' incorporates: - * 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_ot > rtb_y_he) { - rtb_FLU_tg_correct_ot = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_hs - 1]; + rtb_FLU_tg_correct_ot = rtb_uDLookupTable7_g[Index_mode_FR_manual - 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) { case 0: @@ -19825,31 +22106,31 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + * Selector: '/Selector' */ - rtb_Switch2_nb = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_hs - 1]; + rtb_Switch5_l = rtb_uDLookupTable7_g[Index_mode_FR_manual - 1]; - /* Switch: '/Switch' incorporates: - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector' */ - if (rtb_FLU_tg_correct_ot < rtb_Switch2_nb) { - rtb_FLU_tg_correct_ot = rtb_Switch2_nb; + if (rtb_FLU_tg_correct_ot < rtb_Switch5_l) { + rtb_FLU_tg_correct_ot = rtb_Switch5_l; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant12' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read76' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant12' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read76' */ if (rtDW.CCU_AC_MAX > 0) { i = 5; @@ -19857,70 +22138,70 @@ void HVAC_model_step(void) i = rtDW.CCU_AUTOMODE_FR; } - /* MATLAB Function: '/func g_assAUTO_STEP_DUCT_TG_L' incorporates: - * DataStoreRead: '/Data Store Read20' - * Switch: '/Switch2' + /* 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_he); - /* Switch: '/Switch15' incorporates: - * Constant: '/manual' - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read44' - * DataStoreRead: '/Data Store Read' + /* Switch: '/Switch15' incorporates: + * Constant: '/manual' + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read44' + * DataStoreRead: '/Data Store Read' * DataStoreWrite: '/Data Store Write7' - * If: '/If' - * Logic: '/Logical Operator' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * Switch: '/Switch' + * If: '/If' + * Logic: '/Logical Operator' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * Switch: '/Switch' */ if (rtDW.LO_HI_MODE_FR > 1) { - rtb_y_he = 800; + rtb_FLU_tg_correct_ot = 800; } else { 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' */ - /* If: '/If' incorporates: - * DataStoreRead: '/mode from Start Control' - * DataTypeConversion: '/Data Type Conversion' + /* If: '/If' incorporates: + * DataStoreRead: '/mode from Start Control' + * DataTypeConversion: '/Data Type Conversion' */ rtb_FLU_tg_correct_ot = (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) { - /* If: '/If' incorporates: - * Sum: '/Add' - * Switch: '/Switch' + /* If: '/If' incorporates: + * Sum: '/Add' + * Switch: '/Switch' */ rtb_FLU_tg_correct_ot += rtb_y_he; } - /* If: '/If' incorporates: - * Constant: '/manual' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read2' - * RelationalOperator: '/Equal1' - * Sum: '/Sum' - * Switch: '/Switch' + /* If: '/If' incorporates: + * Constant: '/manual' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read2' + * RelationalOperator: '/Equal1' + * Sum: '/Sum' + * Switch: '/Switch' */ - rtb_y_he = (int16_t)(rtb_FLU_tg_correct_ot + rtDW.Dtg_individual_foot_FR); + rtb_FLU_tg_correct_ot += rtDW.Dtg_individual_foot_FR; - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant13' - * Constant: '/Constant14' - * Constant: '/Constant15' - * Constant: '/Constant16' - * Constant: '/Constant17' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant13' + * Constant: '/Constant14' + * Constant: '/Constant15' + * Constant: '/Constant16' + * Constant: '/Constant17' */ switch (rtb_Saturation4) { case 0: @@ -19960,29 +22241,29 @@ 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_nb = rtb_uDLookupTable7_g[(uint8_t)rtb_Cmd_3Way - 1]; + rtb_Switch5_l = rtb_uDLookupTable7_g[(uint8_t)rtb_Cmd_3Way - 1]; - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * Selector: '/Selector' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * Selector: '/Selector' */ - if (rtb_y_he > rtb_Switch2_nb) { + if (rtb_FLU_tg_correct_ot > rtb_Switch5_l) { /* DataStoreWrite: '/Data Store Write7' */ - rtb_y_he = rtb_Switch2_nb; + rtb_FLU_tg_correct_ot = rtb_Switch5_l; } else { - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' - * Constant: '/Constant6' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' + * Constant: '/Constant6' */ switch (rtb_Saturation4) { case 0: @@ -20022,349 +22303,110 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Selector: '/Selector1' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * Selector: '/Selector' */ - rtb_Switch2_nb = rtb_uDLookupTable7_g[(uint8_t)rtb_Cmd_3Way - 1]; + rtb_Switch5_l = rtb_uDLookupTable7_g[(uint8_t)rtb_Cmd_3Way - 1]; - /* Switch: '/Switch' incorporates: - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector1' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector1' */ - if (rtb_y_he < rtb_Switch2_nb) { + if (rtb_FLU_tg_correct_ot < rtb_Switch5_l) { /* DataStoreWrite: '/Data Store Write7' */ - rtb_y_he = rtb_Switch2_nb; + rtb_FLU_tg_correct_ot = rtb_Switch5_l; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ } - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_kz[0] = rtb_u6FLU_tg_amb_g; + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_kz[1] = rtb_Bias1_h; - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_kz[1] = rtb_MultiportSwitch_ac; + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_kz[2] = rtb_Bias_ct; - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_kz[2] = rtb_MultiportSwitch1_g; + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_kz[3] = rtb_DataTypeConversion1_gq; - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_kz[3] = rtb_Bias3; + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_kz[4] = rtb_Bias4; - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_kz[4] = rtb_u5FLU_tg_incar_i; + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_by[0] = rtb_MultiportSwitch_dbp; - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_by[0] = rtb_Bias2_n; + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_by[1] = rtb_u5FLU_tg_incar_g; - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_by[1] = rtb_Bias1_h; + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_by[2] = rtb_u6FLU_tg_amb_ht; - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_by[2] = rtb_Bias_ct; + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_by[3] = rtb_u6FLU_tg_amb_p; - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_by[3] = rtb_DataTypeConversion1_oq; + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_by[4] = rtb_MultiportSwitch_cq; - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_by[4] = rtb_Bias4; + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_ls[0] = rtb_MultiportSwitch_pa; - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_jn[0] = rtb_MultiportSwitch_az; + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_ls[1] = rtb_u5FRU_tg_incar; - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_jn[1] = rtb_X; + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_ls[2] = rtb_u6FRU_tg_amb_f; - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_jn[2] = rtb_MultiportSwitch_if; + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_ls[3] = rtb_u6FRU_tg_amb; - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_jn[3] = rtb_u6FLU_tg_amb_a3; - - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_jn[4] = rtb_MultiportSwitch_cq; - - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_lb[0] = rtb_MultiportSwitch_ks; - - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_lb[1] = rtb_u5FRU_tg_incar; - - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_lb[2] = rtb_u6FRU_tg_amb_f; - - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_lb[3] = rtb_u6FRU_tg_amb; - - /* SignalConversion generated from: '/Vector Concatenate' */ - rtb_VectorConcatenate_lb[4] = rtb_MultiportSwitch_oa; + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_VectorConcatenate_ls[4] = rtb_MultiportSwitch_fg; for (i = 0; i < 5; i++) { - /* DataStoreWrite: '/Data Store Write' */ - Duct_RR_Tg_DBG[i] = rtb_VectorConcatenate_jn[i]; + /* DataStoreWrite: '/Data Store Write' */ + Duct_RR_Tg_DBG[i] = rtb_VectorConcatenate_by[i]; - /* DataStoreWrite: '/Data Store Write' */ - Duct_FRU_Tg_DBG[i] = rtb_VectorConcatenate_lb[i]; + /* DataStoreWrite: '/Data Store Write' */ + Duct_FRU_Tg_DBG[i] = rtb_VectorConcatenate_ls[i]; } - /* MATLAB Function: '/is_ending_with_5' */ + /* MATLAB Function: '/is_ending_with_5' */ is_ending_with_5(rtb_Saturation_as, &rtb_RelationalOperator6_f); - /* 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_u6FLU_tg_amb_a3); + correctionrate((int16_t)(rtb_dt_i + (uint32_t)((rtb_Subtract & 262144U) != 0U)), + rtb_Saturation4, &rtb_MultiportSwitch_pa); - /* 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_RelationalOperator6_f); - /* 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_tmp_tmp_0 + (uint32_t)((rtb_Gain2_tmp_tmp & - 262144U) != 0U)), rtb_Saturation4, &rtb_u6FLU_tg_amb_a3); - - /* MATLAB Function: '/AF VENT' */ - /* : 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)); */ - AFVENT(rtb_out_fzy); - - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); - - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); - - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); - - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); - - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); - - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); - - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); - - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); - - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); - - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - switch (rtDW.Index_mode_FL_auto) { - case 10: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; - } - break; - - case 20: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; - } - break; - - case 30: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; - } - break; - - case 40: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; - } - break; - - case 50: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; - } - break; - - case 60: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; - } - break; - - case 70: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; - } - break; - - case 80: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; - } - break; - - case 90: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; - } - break; - - case 100: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* Switch: '/switch speed' incorporates: - * Constant: '/blower speed 2' - * Constant: '/blower speed 6' - * DataStoreRead: '/3 way valve' - * RelationalOperator: '/Equal' - */ - if (LowTempValve == 2) { - i = 6; - } else { - i = 2; - } - - /* MATLAB Function: '/AF for speed' incorporates: - * Switch: '/switch speed' - */ - AFforspeed(rtb_out_ake, (double)i, &rtb_Saturation_as); - - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); - - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); - - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); - - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); - - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); - - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); - - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); - - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); - - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); - - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); - - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - switch (rtDW.Index_mode_FL_auto) { - case 10: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; - } - break; - - case 20: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; - } - break; - - case 30: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; - } - break; - - case 40: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; - } - break; - - case 50: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; - } - break; - - case 60: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; - } - break; - - case 70: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; - } - break; - - case 80: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; - } - break; - - case 90: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; - } - break; - - case 100: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' - */ - AFforspeed(rtb_out_ake, 7.0, &Gain1); + correctionrate((int16_t)(rtb_Gain2_k_tmp_tmp_0 + (uint32_t) + ((rtb_Gain2_k_tmp_tmp & 262144U) != 0U)), rtb_Saturation4, + &rtb_MultiportSwitch_pa); /* 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) { i = 7; } else { @@ -20373,129 +22415,113 @@ void HVAC_model_step(void) /* End of Switch: '/Switch5' */ - /* Outputs for Enabled SubSystem: '/Front Left AF - manual directions' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Front Left AF - 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) { - /* MATLAB Function: '/AF for Bi Level' incorporates: - * DataTypeConversion: '/Data Type Conversion6' + /* MATLAB Function: '/AF for Bi Level' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforBiLevel((uint8_t)i, &rtb_Saturation2); + AFforBiLevel((uint8_t)i, &rtb_Saturation_as); - /* MATLAB Function: '/AF for Def' incorporates: - * DataTypeConversion: '/Data Type Conversion6' + /* MATLAB Function: '/AF for Def' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforDef((uint8_t)i, &rtb_out_fhd); + AFforDef((uint8_t)i, &Gain1); - /* MATLAB Function: '/AF for Foor + Def' incorporates: - * DataTypeConversion: '/Data Type Conversion6' + /* MATLAB Function: '/AF for Foor + Def' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforFoorDef((uint8_t)i, &rtb_out_fr3); + AFforFoorDef((uint8_t)i, &rtb_Saturation2); - /* MATLAB Function: '/AF for Foot' incorporates: - * DataTypeConversion: '/Data Type Conversion6' + /* MATLAB Function: '/AF for Foot' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforFoot((uint8_t)i, &rtb_out_crw); + AFforFoot((uint8_t)i, &rtb_out_ihi); - /* MATLAB Function: '/AF for Hi_Level' incorporates: - * DataTypeConversion: '/Data Type Conversion6' + /* MATLAB Function: '/AF for Hi_Level' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforHi_Level((uint8_t)i, &rtb_out_fze); + AFforHi_Level((uint8_t)i, &rtb_out_kez); - /* MATLAB Function: '/AF for Tri-Level' incorporates: - * DataTypeConversion: '/Data Type Conversion6' + /* MATLAB Function: '/AF for Tri-Level' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ AFforTriLevel((uint8_t)i, &rtB.MultiportSwitch_cy); - /* MATLAB Function: '/AF for Vent mode' incorporates: - * DataTypeConversion: '/Data Type Conversion6' + /* MATLAB Function: '/AF for Vent mode' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforVentmode((uint8_t)i, &rtb_out_fm3); + AFforVentmode((uint8_t)i, &rtb_out_cryk); - /* RelationalOperator: '/Relational Operator2' incorporates: - * Constant: '/Constant2' + /* RelationalOperator: '/Relational Operator2' incorporates: + * Constant: '/Constant2' * DataStoreRead: '/Data Store Read9' */ rtb_RelationalOperator6_f = (rtDW.CCU_FOOT_FL == 1); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' + /* 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' + * 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_RelationalOperator6_f << 2))) { case 0: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant3' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant3' */ rtB.MultiportSwitch_cy = 0U; break; case 1: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_cy = rtb_out_fhd; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_cy = Gain1; break; case 2: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_cy = rtb_out_fm3; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_cy = rtb_out_cryk; break; case 3: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_cy = rtb_out_fze; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_cy = rtb_out_kez; break; case 4: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_cy = rtb_out_crw; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_cy = rtb_out_ihi; break; case 5: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_cy = rtb_out_fr3; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_cy = rtb_Saturation2; break; case 6: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_cy = rtb_Saturation2; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_cy = rtb_Saturation_as; 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' */ - - /* 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_ascAUTO_STEP_AF_F' incorporates: - * Switch: '/Switch2' - */ - funcg_ascAUTO_STEP_AF_F((double)i, &rtb_y_cb); + /* End of RelationalOperator: '/Equal2' */ + /* End of Outputs for SubSystem: '/Front Left AF - manual directions' */ /* Saturate: '/Saturation9' incorporates: * DataStoreRead: '/Data Store Read42' @@ -20508,2587 +22534,2849 @@ void HVAC_model_step(void) /* End of Saturate: '/Saturation9' */ - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* Saturate: '/Saturation5' incorporates: + * DataStoreRead: '/Data Store Read30' + */ + if (rtDW.CCU_SET_FL > 290) { + rtb_out_kez = 290U; + } else if (rtDW.CCU_SET_FL < 170) { + rtb_out_kez = 170U; + } else { + rtb_out_kez = rtDW.CCU_SET_FL; + } + + /* End of Saturate: '/Saturation5' */ + + /* Gain: '/Gain3' incorporates: + * Gain: '/Gain2' + */ + rtb_Subtract = 52429U * rtb_out_kez; + + /* DataTypeConversion: '/Data Type Conversion4' incorporates: + * Gain: '/Gain3' + * Gain: '/Gain2' + */ + rtb_dt_i = rtb_Subtract >> 19; + + /* Gain: '/Gain4' incorporates: + * Bias: '/Bias1' + * DataTypeConversion: '/Data Type Conversion4' + * Gain: '/Gain2' + */ + i = ((int32_t)rtb_dt_i + -15) << 14; + + /* DataTypeConversion: '/Data Type Conversion3' incorporates: + * Gain: '/Gain2' + * Saturate: '/Saturation1' + */ + rtb_DataTypeConversion3_c1 = (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: '/Saturation5' */ switch (rtb_Saturation4) { case 0: - for (i = 0; i < 7; i++) { - rtb_uDLookupTable7_g[i] = g_assVF_MAX_LV0[i]; - } + rtb_MultiportSwitch_pa = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_kez, + rtConstP.pooled82, &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' + */ + rtb_DataTypeConversion1_gq = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_out_kez, rtConstP.pooled50, &g_assINCAR_TG_FL_LV0[0], 12U); + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + */ + rtb_VectorConcatenate_ls[0] = g_assVF_INC_Y1_LV0[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_ls[1] = g_assVF_INC_Y2_LV0[rtb_DataTypeConversion3_c1 + - 1]; break; case 1: - for (i = 0; i < 7; i++) { - rtb_uDLookupTable7_g[i] = g_assVF_MAX_LV1[i]; - } + rtb_MultiportSwitch_pa = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_kez, + rtConstP.pooled82, &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' + */ + rtb_DataTypeConversion1_gq = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_out_kez, rtConstP.pooled50, &g_assINCAR_TG_FL_LV1[0], 12U); + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + */ + rtb_VectorConcatenate_ls[0] = g_assVF_INC_Y1_LV1[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_ls[1] = g_assVF_INC_Y2_LV1[rtb_DataTypeConversion3_c1 + - 1]; break; case 2: - for (i = 0; i < 7; i++) { - rtb_uDLookupTable7_g[i] = g_assVF_MAX_LV2[i]; - } + rtb_MultiportSwitch_pa = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_kez, + rtConstP.pooled82, &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' + */ + rtb_DataTypeConversion1_gq = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_out_kez, rtConstP.pooled50, &g_assINCAR_TG_FL_LV2[0], 12U); + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + */ + rtb_VectorConcatenate_ls[0] = g_assVF_INC_Y1_LV2[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_ls[1] = g_assVF_INC_Y2_LV2[rtb_DataTypeConversion3_c1 + - 1]; break; case 3: - for (i = 0; i < 7; i++) { - rtb_uDLookupTable7_g[i] = g_assVF_MAX_LV3[i]; - } + rtb_MultiportSwitch_pa = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_kez, + rtConstP.pooled82, &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' + */ + rtb_DataTypeConversion1_gq = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_out_kez, rtConstP.pooled50, &g_assINCAR_TG_FL_LV3[0], 12U); + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + */ + rtb_VectorConcatenate_ls[0] = g_assVF_INC_Y1_LV3[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_ls[1] = g_assVF_INC_Y2_LV3[rtb_DataTypeConversion3_c1 + - 1]; break; case 4: - for (i = 0; i < 7; i++) { - rtb_uDLookupTable7_g[i] = g_assVF_MAX_LV4[i]; - } + rtb_MultiportSwitch_pa = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_kez, + rtConstP.pooled82, &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' + */ + rtb_DataTypeConversion1_gq = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_out_kez, rtConstP.pooled50, &g_assINCAR_TG_FL_LV4[0], 12U); + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + */ + rtb_VectorConcatenate_ls[0] = g_assVF_INC_Y1_LV4[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_ls[1] = g_assVF_INC_Y2_LV4[rtb_DataTypeConversion3_c1 + - 1]; break; default: - for (i = 0; i < 7; i++) { - rtb_uDLookupTable7_g[i] = g_assVF_MAX_LV5[i]; - } + rtb_MultiportSwitch_pa = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_kez, + rtConstP.pooled82, &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' + */ + rtb_DataTypeConversion1_gq = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtb_out_kez, rtConstP.pooled50, &g_assINCAR_TG_FL_LV5[0], 12U); + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + */ + rtb_VectorConcatenate_ls[0] = g_assVF_INC_Y1_LV5[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_ls[1] = g_assVF_INC_Y2_LV5[rtb_DataTypeConversion3_c1 + - 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch1' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_ls[2] = 0; + + /* MultiPortSwitch: '/Multiport Switch3' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + */ + rtb_VectorConcatenate_ls[3] = g_assVF_INC_Y3_LV0[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_ls[4] = g_assVF_INC_Y4_LV0[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_by[0] = g_assVF_INC_X1_LV0[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_by[1] = g_assVF_INC_X2_LV0[rtb_DataTypeConversion3_c1 + - 1]; + break; + + case 1: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + */ + rtb_VectorConcatenate_ls[3] = g_assVF_INC_Y3_LV1[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_ls[4] = g_assVF_INC_Y4_LV1[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_by[0] = g_assVF_INC_X1_LV1[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_by[1] = g_assVF_INC_X2_LV1[rtb_DataTypeConversion3_c1 + - 1]; + break; + + case 2: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + */ + rtb_VectorConcatenate_ls[3] = g_assVF_INC_Y3_LV2[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_ls[4] = g_assVF_INC_Y4_LV2[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_by[0] = g_assVF_INC_X1_LV2[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_by[1] = g_assVF_INC_X2_LV2[rtb_DataTypeConversion3_c1 + - 1]; + break; + + case 3: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + */ + rtb_VectorConcatenate_ls[3] = g_assVF_INC_Y3_LV3[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_ls[4] = g_assVF_INC_Y4_LV3[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_by[0] = g_assVF_INC_X1_LV3[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_by[1] = g_assVF_INC_X2_LV3[rtb_DataTypeConversion3_c1 + - 1]; + break; + + case 4: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + */ + rtb_VectorConcatenate_ls[3] = g_assVF_INC_Y3_LV4[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_ls[4] = g_assVF_INC_Y4_LV4[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_by[0] = g_assVF_INC_X1_LV4[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_by[1] = g_assVF_INC_X2_LV4[rtb_DataTypeConversion3_c1 + - 1]; + break; + + default: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + */ + rtb_VectorConcatenate_ls[3] = g_assVF_INC_Y3_LV5[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_ls[4] = g_assVF_INC_Y4_LV5[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_by[0] = g_assVF_INC_X1_LV5[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_by[1] = g_assVF_INC_X2_LV5[rtb_DataTypeConversion3_c1 + - 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch3' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_by[2] = 0; + + /* MultiPortSwitch: '/Multiport Switch3' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' + */ + rtb_VectorConcatenate_by[3] = g_assVF_INC_X3_LV0[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_by[4] = g_assVF_INC_X4_LV0[rtb_DataTypeConversion3_c1 + - 1]; + break; + + case 1: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' + */ + rtb_VectorConcatenate_by[3] = g_assVF_INC_X3_LV1[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_by[4] = g_assVF_INC_X4_LV1[rtb_DataTypeConversion3_c1 + - 1]; + break; + + case 2: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' + */ + rtb_VectorConcatenate_by[3] = g_assVF_INC_X3_LV2[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_by[4] = g_assVF_INC_X4_LV2[rtb_DataTypeConversion3_c1 + - 1]; + break; + + case 3: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' + */ + rtb_VectorConcatenate_by[3] = g_assVF_INC_X3_LV3[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_by[4] = g_assVF_INC_X4_LV3[rtb_DataTypeConversion3_c1 + - 1]; + break; + + case 4: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' + */ + rtb_VectorConcatenate_by[3] = g_assVF_INC_X3_LV4[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_by[4] = g_assVF_INC_X4_LV4[rtb_DataTypeConversion3_c1 + - 1]; + break; + + default: + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' + */ + rtb_VectorConcatenate_by[3] = g_assVF_INC_X3_LV5[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' + */ + rtb_VectorConcatenate_by[4] = g_assVF_INC_X4_LV5[rtb_DataTypeConversion3_c1 + - 1]; + break; + } + + /* 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' + */ + rtb_MultiportSwitch_fg = look1_is16lu64n32Ds32_binlcn((int16_t) + (rtb_DataTypeConversion1_gq - rtDW.Incar_FL), rtb_VectorConcatenate_by, + rtb_VectorConcatenate_ls, 4U); + + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + */ + rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV0[rtb_DataTypeConversion3_c1 + - 1]; + break; + + case 1: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + */ + rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV1[rtb_DataTypeConversion3_c1 + - 1]; + break; + + case 2: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + */ + rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV2[rtb_DataTypeConversion3_c1 + - 1]; + break; + + case 3: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + */ + rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV3[rtb_DataTypeConversion3_c1 + - 1]; + break; + + case 4: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + */ + rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV4[rtb_DataTypeConversion3_c1 + - 1]; + break; + + default: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + */ + rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV5[rtb_DataTypeConversion3_c1 + - 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch1' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_dw[1] = 0; + + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + */ + rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV0[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' + */ + rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV0[rtb_DataTypeConversion3_c1 + - 1]; + break; + + case 1: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + */ + rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV1[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' + */ + rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV1[rtb_DataTypeConversion3_c1 + - 1]; + break; + + case 2: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + */ + rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV2[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' + */ + rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV2[rtb_DataTypeConversion3_c1 + - 1]; + break; + + case 3: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + */ + rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV3[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' + */ + rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV3[rtb_DataTypeConversion3_c1 + - 1]; + break; + + case 4: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + */ + rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV4[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' + */ + rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV4[rtb_DataTypeConversion3_c1 + - 1]; + break; + + default: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + */ + rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV5[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' + */ + rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV5[rtb_DataTypeConversion3_c1 + - 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch2' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_pg[1] = 0; + + /* MultiPortSwitch: '/Multiport Switch2' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + */ + rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV0[rtb_DataTypeConversion3_c1 + - 1]; + break; + + case 1: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + */ + rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV1[rtb_DataTypeConversion3_c1 + - 1]; + break; + + case 2: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + */ + rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV2[rtb_DataTypeConversion3_c1 + - 1]; + break; + + case 3: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + */ + rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV3[rtb_DataTypeConversion3_c1 + - 1]; + break; + + case 4: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + */ + rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV4[rtb_DataTypeConversion3_c1 + - 1]; + break; + + default: + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + */ + rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV5[rtb_DataTypeConversion3_c1 + - 1]; + break; + } + + /* 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' + */ + rtb_u6FLU_tg_amb_ha = (int16_t)(g_assAMB_LV_TG[rtb_Saturation4] - rtDW.AMB); + + /* Lookup_n-D: '/2.6 Vtg_Fx_tg_amb' incorporates: + * Sum: '/2.6. X = Amb_Tg - Amb_Fb' + */ + rtb_u5FRU_tg_incar = look1_is16lu64n32Ds32_binlcn(rtb_u6FLU_tg_amb_ha, + rtb_VectorConcatenate_pg, rtb_VectorConcatenate_dw, 2U); + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_gn[0] = 0; + + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + */ + rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV0[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV0[rtb_DataTypeConversion3_c1 + - 1]; + break; + + case 1: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + */ + rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV1[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV1[rtb_DataTypeConversion3_c1 + - 1]; + break; + + case 2: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + */ + rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV2[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV2[rtb_DataTypeConversion3_c1 + - 1]; + break; + + case 3: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + */ + rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV3[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV3[rtb_DataTypeConversion3_c1 + - 1]; + break; + + case 4: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + */ + rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV4[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV4[rtb_DataTypeConversion3_c1 + - 1]; + break; + + default: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + */ + rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV5[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV5[rtb_DataTypeConversion3_c1 + - 1]; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch1' */ + + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' + */ + rtb_VectorConcatenate_np[0] = 0; + + /* MultiPortSwitch: '/Multiport Switch1' */ + switch (rtb_Saturation4) { + case 0: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + */ + rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV0[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV0[rtb_DataTypeConversion3_c1 + - 1]; + break; + + case 1: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + */ + rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV1[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV1[rtb_DataTypeConversion3_c1 + - 1]; + break; + + case 2: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + */ + rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV2[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV2[rtb_DataTypeConversion3_c1 + - 1]; + break; + + case 3: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + */ + rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV3[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV3[rtb_DataTypeConversion3_c1 + - 1]; + break; + + case 4: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + */ + rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV4[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV4[rtb_DataTypeConversion3_c1 + - 1]; + break; + + default: + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + */ + rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV5[rtb_DataTypeConversion3_c1 + - 1]; + + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' + */ + rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV5[rtb_DataTypeConversion3_c1 + - 1]; break; } /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Saturate: '/Saturation5' incorporates: - * DataStoreRead: '/Data Store Read30' - */ - if (rtDW.CCU_SET_FL > 290) { - rtb_Saturation2 = 290U; - } else if (rtDW.CCU_SET_FL < 170) { - rtb_Saturation2 = 170U; - } else { - rtb_Saturation2 = rtDW.CCU_SET_FL; - } - - /* End of Saturate: '/Saturation5' */ - - /* Gain: '/Gain4' incorporates: - * Bias: '/Bias1' - * DataTypeConversion: '/Data Type Conversion4' - * Gain: '/Gain2' - * Gain: '/Gain3' - */ - i = ((int32_t)((52429U * rtb_Saturation2) >> 19) + -15) << 14; - - /* DataTypeConversion: '/Data Type Conversion3' incorporates: - * Gain: '/Gain2' - * Saturate: '/Saturation1' - */ - rtb_DataTypeConversion1_hy = (uint8_t)((((uint32_t)i & 16384U) != 0U) + (i >> - 15)); - - /* Selector: '/Selector' */ - rtb_DataTypeConversion1_oq = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_hy - - 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' - */ - switch (rtb_Saturation4) { - case 0: - rtb_Bias_ct = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, - rtConstP.pooled81, &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' - */ - rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation2, - rtConstP.pooled52, &g_assINCAR_TG_FL_LV0[0], 12U); - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV0[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV0[rtb_DataTypeConversion1_hy - - 1]; - break; - - case 1: - rtb_Bias_ct = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, - rtConstP.pooled81, &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' - */ - rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation2, - rtConstP.pooled52, &g_assINCAR_TG_FL_LV1[0], 12U); - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV1[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV1[rtb_DataTypeConversion1_hy - - 1]; - break; - - case 2: - rtb_Bias_ct = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, - rtConstP.pooled81, &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' - */ - rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation2, - rtConstP.pooled52, &g_assINCAR_TG_FL_LV2[0], 12U); - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV2[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV2[rtb_DataTypeConversion1_hy - - 1]; - break; - - case 3: - rtb_Bias_ct = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, - rtConstP.pooled81, &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' - */ - rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation2, - rtConstP.pooled52, &g_assINCAR_TG_FL_LV3[0], 12U); - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV3[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV3[rtb_DataTypeConversion1_hy - - 1]; - break; - - case 4: - rtb_Bias_ct = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, - rtConstP.pooled81, &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' - */ - rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation2, - rtConstP.pooled52, &g_assINCAR_TG_FL_LV4[0], 12U); - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV4[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV4[rtb_DataTypeConversion1_hy - - 1]; - break; - - default: - rtb_Bias_ct = look1_iu16lu64n48ts16Ds32_binlcs(rtb_Saturation2, - rtConstP.pooled81, &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' - */ - rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation2, - rtConstP.pooled52, &g_assINCAR_TG_FL_LV5[0], 12U); - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV5[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV5[rtb_DataTypeConversion1_hy - - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch1' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_lb[2] = 0; - - /* MultiPortSwitch: '/Multiport Switch3' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV0[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV0[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV0[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV0[rtb_DataTypeConversion1_hy - - 1]; - break; - - case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV1[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV1[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV1[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV1[rtb_DataTypeConversion1_hy - - 1]; - break; - - case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV2[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV2[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV2[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV2[rtb_DataTypeConversion1_hy - - 1]; - break; - - case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV3[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV3[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV3[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV3[rtb_DataTypeConversion1_hy - - 1]; - break; - - case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV4[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV4[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV4[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV4[rtb_DataTypeConversion1_hy - - 1]; - break; - - default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV5[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV5[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV5[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV5[rtb_DataTypeConversion1_hy - - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch3' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_jn[2] = 0; - - /* MultiPortSwitch: '/Multiport Switch3' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV0[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV0[rtb_DataTypeConversion1_hy - - 1]; - break; - - case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV1[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV1[rtb_DataTypeConversion1_hy - - 1]; - break; - - case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV2[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV2[rtb_DataTypeConversion1_hy - - 1]; - break; - - case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV3[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV3[rtb_DataTypeConversion1_hy - - 1]; - break; - - case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV4[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV4[rtb_DataTypeConversion1_hy - - 1]; - break; - - default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV5[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV5[rtb_DataTypeConversion1_hy - - 1]; - break; - } - - /* 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' - */ - rtb_Bias4 = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_Bias1_h - rtDW.Incar_FL), - rtb_VectorConcatenate_jn, rtb_VectorConcatenate_lb, 4U); - - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV0[rtb_DataTypeConversion1_hy - - 1]; - break; - - case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV1[rtb_DataTypeConversion1_hy - - 1]; - break; - - case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV2[rtb_DataTypeConversion1_hy - - 1]; - break; - - case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV3[rtb_DataTypeConversion1_hy - - 1]; - break; - - case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV4[rtb_DataTypeConversion1_hy - - 1]; - break; - - default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV5[rtb_DataTypeConversion1_hy - - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch1' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_dw[1] = 0; - - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV0[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV0[rtb_DataTypeConversion1_hy - - 1]; - break; - - case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV1[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV1[rtb_DataTypeConversion1_hy - - 1]; - break; - - case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV2[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV2[rtb_DataTypeConversion1_hy - - 1]; - break; - - case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV3[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV3[rtb_DataTypeConversion1_hy - - 1]; - break; - - case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV4[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV4[rtb_DataTypeConversion1_hy - - 1]; - break; - - default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV5[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV5[rtb_DataTypeConversion1_hy - - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch2' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_pg[1] = 0; - - /* MultiPortSwitch: '/Multiport Switch2' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV0[rtb_DataTypeConversion1_hy - - 1]; - break; - - case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV1[rtb_DataTypeConversion1_hy - - 1]; - break; - - case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV2[rtb_DataTypeConversion1_hy - - 1]; - break; - - case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV3[rtb_DataTypeConversion1_hy - - 1]; - break; - - case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV4[rtb_DataTypeConversion1_hy - - 1]; - break; - - default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV5[rtb_DataTypeConversion1_hy - - 1]; - break; - } - - /* 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' - */ - rtb_MultiportSwitch_az = (int16_t)(g_assAMB_LV_TG[rtb_Saturation4] - rtDW.AMB); - - /* 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_MultiportSwitch_az, - rtb_VectorConcatenate_pg, rtb_VectorConcatenate_dw, 2U); - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_gn[0] = 0; - - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV0[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV0[rtb_DataTypeConversion1_hy - - 1]; - break; - - case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV1[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV1[rtb_DataTypeConversion1_hy - - 1]; - break; - - case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV2[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV2[rtb_DataTypeConversion1_hy - - 1]; - break; - - case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV3[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV3[rtb_DataTypeConversion1_hy - - 1]; - break; - - case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV4[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV4[rtb_DataTypeConversion1_hy - - 1]; - break; - - default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV5[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV5[rtb_DataTypeConversion1_hy - - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch1' */ - - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' - */ - rtb_VectorConcatenate_np[0] = 0; - - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation4) { - case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV0[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV0[rtb_DataTypeConversion1_hy - - 1]; - break; - - case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV1[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV1[rtb_DataTypeConversion1_hy - - 1]; - break; - - case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV2[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV2[rtb_DataTypeConversion1_hy - - 1]; - break; - - case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV3[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV3[rtb_DataTypeConversion1_hy - - 1]; - break; - - case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV4[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV4[rtb_DataTypeConversion1_hy - - 1]; - break; - - default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV5[rtb_DataTypeConversion1_hy - - 1]; - - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' - */ - rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV5[rtb_DataTypeConversion1_hy - - 1]; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch1' */ - - /* Lookup_n-D: '/2.6 Vtg_Fx_tg_amb' incorporates: + /* Lookup_n-D: '/2.6 Vtg_Fx_tg_amb' incorporates: * DataStoreRead: '/Data Store Read39' */ - rtb_Bias3 = look1_bs16ts16Dd_binlc(rtDW.Sun_L, rtb_VectorConcatenate_np, - rtb_VectorConcatenate_gn, 2U); + rtb_u6FRU_tg_amb_f = look1_bs16ts16Dd_binlc(rtDW.Sun_L, + rtb_VectorConcatenate_np, rtb_VectorConcatenate_gn, 2U); - /* Sum: '/2.8. Vtg_FX_plus' */ - rtb_u6FLU_tg_amb_a3 = (int16_t)((int16_t)((int16_t)(rtb_Bias_ct + rtb_Bias4) + - rtb_Bias2_n) + rtb_Bias3); - - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch' incorporates: + * Constant: '/manual' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion3' + * RelationalOperator: '/Equal1' + * UnitDelay: '/Unit Delay' */ - if (rtb_u6FLU_tg_amb_a3 <= rtb_DataTypeConversion1_oq) { - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + if (rtDW.UnitDelay_DSTATE_ne == 0) { + Gain1 = rtB.MultiportSwitch_cy; + } else { + /* Sum: '/2.8. Vtg_FX_plus' */ + rtb_u6FRU_tg_amb = (int16_t)((int16_t)((int16_t)(rtb_MultiportSwitch_pa + + rtb_MultiportSwitch_fg) + rtb_u5FRU_tg_incar) + rtb_u6FRU_tg_amb_f); + + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ switch (rtb_Saturation4) { case 0: for (i = 0; i < 7; i++) { - rtb_uDLookupTable7_g[i] = g_assVF_MIN_LV0[i]; + rtb_uDLookupTable7_g[i] = g_assVF_MAX_LV0[i]; } break; case 1: for (i = 0; i < 7; i++) { - rtb_uDLookupTable7_g[i] = g_assVF_MIN_LV1[i]; + rtb_uDLookupTable7_g[i] = g_assVF_MAX_LV1[i]; } break; case 2: for (i = 0; i < 7; i++) { - rtb_uDLookupTable7_g[i] = g_assVF_MIN_LV2[i]; + rtb_uDLookupTable7_g[i] = g_assVF_MAX_LV2[i]; } break; case 3: for (i = 0; i < 7; i++) { - rtb_uDLookupTable7_g[i] = g_assVF_MIN_LV3[i]; + rtb_uDLookupTable7_g[i] = g_assVF_MAX_LV3[i]; } break; case 4: for (i = 0; i < 7; i++) { - rtb_uDLookupTable7_g[i] = g_assVF_MIN_LV4[i]; + rtb_uDLookupTable7_g[i] = g_assVF_MAX_LV4[i]; } break; default: for (i = 0; i < 7; i++) { - rtb_uDLookupTable7_g[i] = g_assVF_MIN_LV5[i]; + rtb_uDLookupTable7_g[i] = g_assVF_MAX_LV5[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' incorporates: - * Selector: '/Selector' - */ - rtb_DataTypeConversion1_oq = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_hy - - 1]; + /* Selector: '/Selector' */ + rtb_MultiportSwitch_dbp = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_c1 - + 1]; - /* Switch: '/Switch' incorporates: - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ - if (rtb_u6FLU_tg_amb_a3 >= rtb_DataTypeConversion1_oq) { - rtb_DataTypeConversion1_oq = rtb_u6FLU_tg_amb_a3; + if (rtb_u6FRU_tg_amb <= rtb_MultiportSwitch_dbp) { + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' + */ + switch (rtb_Saturation4) { + case 0: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assVF_MIN_LV0[i]; + } + break; + + case 1: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assVF_MIN_LV1[i]; + } + break; + + case 2: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assVF_MIN_LV2[i]; + } + break; + + case 3: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assVF_MIN_LV3[i]; + } + break; + + case 4: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assVF_MIN_LV4[i]; + } + break; + + default: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assVF_MIN_LV5[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch1' */ + + /* Selector: '/Selector' incorporates: + * Selector: '/Selector' + */ + rtb_MultiportSwitch_dbp = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_c1 + - 1]; + + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector' + */ + if (rtb_u6FRU_tg_amb >= rtb_MultiportSwitch_dbp) { + rtb_MultiportSwitch_dbp = rtb_u6FRU_tg_amb; + } + + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch2' */ + Gain1 = (uint16_t)rtb_MultiportSwitch_dbp; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch' incorporates: - * Constant: '/manual' - * DataStoreWrite: '/Data Store Write' - * RelationalOperator: '/Equal1' - * UnitDelay: '/Unit Delay' + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); + + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); + + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); + + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); + + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); + + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); + + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); + + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); + + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); + + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); + + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ - if (rtDW.UnitDelay_DSTATE_ne == 0) { - rtb_out_fhd = rtB.MultiportSwitch_cy; + switch (rtDW.Index_mode_FL_auto) { + case 10: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_bd1[i]; + } + break; + + case 20: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_b1n[i]; + } + break; + + case 30: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_k5[i]; + } + break; + + case 40: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_po3[i]; + } + break; + + case 50: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_hpp[i]; + } + break; + + case 60: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_pj[i]; + } + break; + + case 70: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_cc4[i]; + } + break; + + case 80: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_fey[i]; + } + break; + + case 90: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_mzr[i]; + } + break; + + case 100: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_cf0[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* Switch: '/switch speed' incorporates: + * Constant: '/blower speed 2' + * Constant: '/blower speed 6' + * DataStoreRead: '/3 way valve' + * RelationalOperator: '/Equal' + */ + if (LowTempValve == 2) { + i = 6; } else { - /* Sum: '/Add' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion3' - * Gain: '/Gain' - * Product: '/Product' - */ - index_start = 0.01 * (double)rtb_y_cb * (double)(uint16_t) - rtb_DataTypeConversion1_oq + (double)(uint16_t)rtb_DataTypeConversion1_oq; + i = 2; + } - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write' + /* MATLAB Function: '/AF for speed' incorporates: + * Switch: '/switch speed' + */ + AFforspeed(rtb_out_fun, (double)i, &rtb_Saturation_as); + + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); + + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); + + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); + + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); + + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); + + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); + + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); + + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); + + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); + + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); + + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + switch (rtDW.Index_mode_FL_auto) { + case 10: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_bd1[i]; + } + break; + + case 20: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_b1n[i]; + } + break; + + case 30: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_k5[i]; + } + break; + + case 40: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_po3[i]; + } + break; + + case 50: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_hpp[i]; + } + break; + + case 60: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_pj[i]; + } + break; + + case 70: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_cc4[i]; + } + break; + + case 80: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_fey[i]; + } + break; + + case 90: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_mzr[i]; + } + break; + + case 100: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_cf0[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' + */ + AFforspeed(rtb_out_fun, 7.0, &rtb_out_ihi); + + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); + + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); + + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); + + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); + + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); + + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); + + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); + + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); + + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); + + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); + + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + switch (rtDW.Index_mode_FL_auto) { + case 10: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_bd1[i]; + } + break; + + case 20: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_b1n[i]; + } + break; + + case 30: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_k5[i]; + } + break; + + case 40: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_po3[i]; + } + break; + + case 50: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_hpp[i]; + } + break; + + case 60: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_pj[i]; + } + break; + + case 70: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_cc4[i]; + } + break; + + case 80: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_fey[i]; + } + break; + + case 90: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_mzr[i]; + } + break; + + case 100: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_cf0[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' + */ + AFforspeed(rtb_out_fun, 7.0, &rtb_out_cryk); + + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); + + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); + + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); + + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); + + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); + + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); + + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); + + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); + + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); + + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); + + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + switch (rtDW.Index_mode_FL_auto) { + case 10: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_bd1[i]; + } + break; + + case 20: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_b1n[i]; + } + break; + + case 30: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_k5[i]; + } + break; + + case 40: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_po3[i]; + } + break; + + case 50: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_hpp[i]; + } + break; + + case 60: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_pj[i]; + } + break; + + case 70: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_cc4[i]; + } + break; + + case 80: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_fey[i]; + } + break; + + case 90: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_mzr[i]; + } + break; + + case 100: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_cf0[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' + */ + AFforspeed(rtb_out_fun, 7.0, &rtb_out_ew5); + + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); + + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); + + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); + + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); + + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); + + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); + + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); + + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); + + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); + + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); + + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + switch (rtDW.Index_mode_FL_auto) { + case 10: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_bd1[i]; + } + break; + + case 20: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_b1n[i]; + } + break; + + case 30: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_k5[i]; + } + break; + + case 40: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_po3[i]; + } + break; + + case 50: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_hpp[i]; + } + break; + + case 60: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_pj[i]; + } + break; + + case 70: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_cc4[i]; + } + break; + + case 80: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_fey[i]; + } + break; + + case 90: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_mzr[i]; + } + break; + + case 100: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_cf0[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' + */ + AFforspeed(rtb_out_fun, 7.0, &rtb_out_oum); + + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); + + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); + + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); + + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); + + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); + + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); + + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); + + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); + + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); + + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); + + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + switch (rtDW.Index_mode_FL_auto) { + case 10: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_bd1[i]; + } + break; + + case 20: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_b1n[i]; + } + break; + + case 30: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_k5[i]; + } + break; + + case 40: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_po3[i]; + } + break; + + case 50: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_hpp[i]; + } + break; + + case 60: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_pj[i]; + } + break; + + case 70: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_cc4[i]; + } + break; + + case 80: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_fey[i]; + } + break; + + case 90: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_mzr[i]; + } + break; + + case 100: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_cf0[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' + */ + AFforspeed(rtb_out_fun, 6.0, &rtb_Saturation2); + + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); + + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); + + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); + + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); + + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); + + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); + + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); + + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); + + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); + + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); + + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + switch (rtDW.Index_mode_FL_auto) { + case 10: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_bd1[i]; + } + break; + + case 20: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_b1n[i]; + } + break; + + case 30: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_k5[i]; + } + break; + + case 40: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_po3[i]; + } + break; + + case 50: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_hpp[i]; + } + break; + + case 60: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_pj[i]; + } + break; + + case 70: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_cc4[i]; + } + break; + + case 80: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_fey[i]; + } + break; + + case 90: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_mzr[i]; + } + break; + + case 100: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_cf0[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' + */ + AFforspeed(rtb_out_fun, 6.0, &rtb_out_mf); + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + switch (rtDW.LEVEL) { + case 0: + case 1: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreWrite: '/Data Store Write' + * Gain: '/Gain1' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ - if (fabs(index_start) >= 0.5) { - rtb_out_fhd = (uint16_t)floor(index_start + 0.5); - } else { - rtb_out_fhd = 0U; + switch ((int32_t)((uint32_t)(((rtDW.CCU_MODE_FR == 1) && (rtDW.LO_HI_MODE_FR + == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 1) && + (rtDW.LO_HI_MODE_FL == 1)))) { + case 1: + rtb_Saturation2 = rtb_out_ihi; + break; + + case 2: + rtb_Saturation2 = Gain1; + break; + + case 3: + rtb_Saturation2 = rtb_out_cryk; + break; + + default: + rtb_Saturation2 = Gain1; + break; } - /* End of DataTypeConversion: '/Data Type Conversion1' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ + break; + + case 2: + case 3: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreWrite: '/Data Store Write' + * Gain: '/Gain1' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)((uint32_t)(((rtDW.CCU_MODE_FR == 1) && (rtDW.LO_HI_MODE_FR + == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 1) && + (rtDW.LO_HI_MODE_FL == 1)))) { + case 1: + rtb_Saturation2 = rtb_out_ew5; + break; + + case 2: + rtb_Saturation2 = Gain1; + break; + + case 3: + rtb_Saturation2 = rtb_out_oum; + break; + + default: + rtb_Saturation2 = Gain1; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + break; + + default: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreWrite: '/Data Store Write' + * Gain: '/Gain1' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)((uint32_t)(((rtDW.CCU_MODE_FR == 1) && (rtDW.LO_HI_MODE_FR + == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 1) && + (rtDW.LO_HI_MODE_FL == 1)))) { + case 1: + break; + + case 2: + rtb_Saturation2 = Gain1; + break; + + case 3: + rtb_Saturation2 = rtb_out_mf; + break; + + default: + rtb_Saturation2 = Gain1; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + break; } - /* End of Switch: '/Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/AF from Start Control' - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); + + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); + + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); + + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); + + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); + + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); + + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); + + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); + + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); + + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); + + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ - if ((rtDW.step_start_controle_front == 0) || (rtDW.step_start_controle_front == - 1) || (rtDW.step_start_controle_front == 2)) { - rtb_out_fhd = rtDW.Blower_FL; + switch (rtDW.Index_mode_FL_auto) { + case 10: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_bd1[i]; + } + break; + + case 20: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_b1n[i]; + } + break; + + case 30: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_k5[i]; + } + break; + + case 40: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_po3[i]; + } + break; + + case 50: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_hpp[i]; + } + break; + + case 60: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_pj[i]; + } + break; + + case 70: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_cc4[i]; + } + break; + + case 80: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_fey[i]; + } + break; + + case 90: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_mzr[i]; + } + break; + + case 100: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_cf0[i]; + } + break; } - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' - * Sum: '/Add' - * Switch: '/Switch' + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - rtb_out_fhd = (uint16_t)((uint16_t)((uint32_t)rtb_out_fhd + + AFforspeed(rtb_out_fun, 6.0, &rtb_out_ihi); + + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); + + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); + + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); + + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); + + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); + + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); + + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); + + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); + + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); + + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); + + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + switch (rtDW.Index_mode_FL_auto) { + case 10: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_bd1[i]; + } + break; + + case 20: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_b1n[i]; + } + break; + + case 30: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_k5[i]; + } + break; + + case 40: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_po3[i]; + } + break; + + case 50: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_hpp[i]; + } + break; + + case 60: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_pj[i]; + } + break; + + case 70: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_cc4[i]; + } + break; + + case 80: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_fey[i]; + } + break; + + case 90: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_mzr[i]; + } + break; + + case 100: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_cf0[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' + */ + AFforspeed(rtb_out_fun, 7.0, &rtb_out_cryk); + + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); + + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); + + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); + + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); + + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); + + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); + + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); + + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); + + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); + + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); + + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + switch (rtDW.Index_mode_FL_auto) { + case 10: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_bd1[i]; + } + break; + + case 20: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_b1n[i]; + } + break; + + case 30: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_k5[i]; + } + break; + + case 40: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_po3[i]; + } + break; + + case 50: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_hpp[i]; + } + break; + + case 60: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_pj[i]; + } + break; + + case 70: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_cc4[i]; + } + break; + + case 80: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_fey[i]; + } + break; + + case 90: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_mzr[i]; + } + break; + + case 100: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_cf0[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' + */ + AFforspeed(rtb_out_fun, 7.0, &rtb_out_ew5); + + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); + + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); + + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); + + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); + + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); + + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); + + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); + + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); + + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); + + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); + + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + switch (rtDW.Index_mode_FL_auto) { + case 10: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_bd1[i]; + } + break; + + case 20: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_b1n[i]; + } + break; + + case 30: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_k5[i]; + } + break; + + case 40: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_po3[i]; + } + break; + + case 50: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_hpp[i]; + } + break; + + case 60: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_pj[i]; + } + break; + + case 70: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_cc4[i]; + } + break; + + case 80: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_fey[i]; + } + break; + + case 90: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_mzr[i]; + } + break; + + case 100: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_cf0[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' + */ + AFforspeed(rtb_out_fun, 6.0, &rtb_out_oum); + + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); + + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); + + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); + + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); + + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); + + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); + + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); + + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); + + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); + + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); + + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + switch (rtDW.Index_mode_FL_auto) { + case 10: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_bd1[i]; + } + break; + + case 20: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_b1n[i]; + } + break; + + case 30: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_k5[i]; + } + break; + + case 40: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_po3[i]; + } + break; + + case 50: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_hpp[i]; + } + break; + + case 60: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_pj[i]; + } + break; + + case 70: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_cc4[i]; + } + break; + + case 80: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_fey[i]; + } + break; + + case 90: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_mzr[i]; + } + break; + + case 100: + for (i = 0; i < 8; i++) { + rtb_out_fun[i] = rtb_out_cf0[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' + */ + AFforspeed(rtb_out_fun, 6.0, &rtb_out_mf); + + /* MATLAB Function: '/func g_ascAUTO_STEP_AF_F' incorporates: + * DataStoreRead: '/Data Store Read' + */ + funcg_ascAUTO_STEP_AF_F(rtDW.CCU_AUTOMODE_FL, &rtb_y_cb); + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read8' + * DataStoreWrite: '/Data Store Write' + */ + if (rtDW.DifferentBlower_Front_isActive) { + rtb_out_bf = rtDW.Blower_AF_FL_after_DiffBlower; + } else { + rtb_out_bf = Gain1; + } + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Data Store Read' + * Switch: '/Switch' + */ + i = rtb_out_bf - rtDW.wait_correction_AF_FL; + if (i < 0) { + i = 0; + } else if (i > 65535) { + i = 65535; + } + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' + * Sum: '/Add' + * Sum: '/Add' + */ + rtb_out_bf = (uint16_t)((uint16_t)((uint32_t)i + rtDW.FL_blower_AF_offset_autodemist) + rtDW.Blower_individual_foot_FL); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); - - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); - - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); - - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); - - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); - - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); - - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); - - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); - - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); - - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); - - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* Switch: '/Switch1' incorporates: + * Constant: '/manual' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write' + * RelationalOperator: '/Equal1' + * Switch: '/Switch' + * Switch: '/Switch2' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ - switch (rtDW.Index_mode_FL_auto) { - case 10: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; - } - break; - - case 20: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; - } - break; - - case 30: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; - } - break; - - case 40: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; - } - break; - - case 50: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; - } - break; - - case 60: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; - } - break; - - case 70: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; - } - break; - - case 80: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; - } - break; - - case 90: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; - } - break; - - case 100: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' - */ - AFforspeed(rtb_out_ake, 7.0, &rtb_out_fr3); - - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); - - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); - - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); - - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); - - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); - - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); - - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); - - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); - - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); - - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); - - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - switch (rtDW.Index_mode_FL_auto) { - case 10: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; - } - break; - - case 20: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; - } - break; - - case 30: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; - } - break; - - case 40: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; - } - break; - - case 50: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; - } - break; - - case 60: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; - } - break; - - case 70: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; - } - break; - - case 80: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; - } - break; - - case 90: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; - } - break; - - case 100: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' - */ - AFforspeed(rtb_out_ake, 7.0, &rtb_out_crw); - - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); - - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); - - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); - - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); - - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); - - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); - - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); - - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); - - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); - - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); - - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - switch (rtDW.Index_mode_FL_auto) { - case 10: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; - } - break; - - case 20: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; - } - break; - - case 30: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; - } - break; - - case 40: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; - } - break; - - case 50: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; - } - break; - - case 60: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; - } - break; - - case 70: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; - } - break; - - case 80: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; - } - break; - - case 90: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; - } - break; - - case 100: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' - */ - AFforspeed(rtb_out_ake, 7.0, &rtb_out_fze); - - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); - - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); - - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); - - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); - - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); - - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); - - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); - - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); - - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); - - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); - - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - switch (rtDW.Index_mode_FL_auto) { - case 10: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; - } - break; - - case 20: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; - } - break; - - case 30: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; - } - break; - - case 40: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; - } - break; - - case 50: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; - } - break; - - case 60: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; - } - break; - - case 70: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; - } - break; - - case 80: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; - } - break; - - case 90: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; - } - break; - - case 100: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' - */ - AFforspeed(rtb_out_ake, 6.0, &rtb_out_fm3); - - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); - - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); - - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); - - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); - - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); - - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); - - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); - - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); - - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); - - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); - - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - switch (rtDW.Index_mode_FL_auto) { - case 10: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; - } - break; - - case 20: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; - } - break; - - case 30: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; - } - break; - - case 40: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; - } - break; - - case 50: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; - } - break; - - case 60: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; - } - break; - - case 70: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; - } - break; - - case 80: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; - } - break; - - case 90: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; - } - break; - - case 100: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' - */ - AFforspeed(rtb_out_ake, 6.0, &rtb_out_mxq); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - switch (rtDW.LEVEL) { - case 0: - case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + if (rtDW.Max_AC_algo_active) { + rtb_out_bf = Gain1; + } else if (rtDW.Max_def_algo_active) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write' */ - switch ((int32_t)((uint32_t)(((rtDW.CCU_MODE_FR == 1) && (rtDW.LO_HI_MODE_FR - == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 1) && - (rtDW.LO_HI_MODE_FL == 1)))) { + rtb_out_bf = Gain1; + } else if (rtDW.LO_HI_MODE_FL > 0) { + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read2' + * Switch: '/Switch' + * Switch: '/Switch2' + */ + switch (rtDW.LEVEL) { + case 0: case 1: - rtb_out_fhd = Gain1; + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/HI2' + * Constant: '/HI3' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && + (rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2) && + (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR + == 1) && (rtDW.LO_HI_MODE_FR == 2)) << 1)) + (uint32_t) + ((rtDW.CCU_MODE_FL == 1) && (rtDW.LO_HI_MODE_FL == 2)))) + { + case 1: + rtb_out_bf = rtb_Saturation_as; + break; + + case 2: + rtb_out_bf = rtb_Saturation2; + break; + + case 3: + rtb_out_bf = rtb_out_ihi; + break; + + default: + rtb_out_bf = rtb_Saturation2; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ break; case 2: + case 3: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/HI2' + * Constant: '/HI3' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && + (rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2) && + (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR + == 1) && (rtDW.LO_HI_MODE_FR == 2)) << 1)) + (uint32_t) + ((rtDW.CCU_MODE_FL == 1) && (rtDW.LO_HI_MODE_FL == 2)))) + { + case 1: + rtb_out_bf = rtb_out_cryk; + break; + + case 2: + rtb_out_bf = rtb_Saturation2; + break; + + case 3: + rtb_out_bf = rtb_out_ew5; + break; + + default: + rtb_out_bf = rtb_Saturation2; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ break; - case 3: - rtb_out_fhd = rtb_out_fr3; + default: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/HI2' + * Constant: '/HI3' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && + (rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2) && + (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR + == 1) && (rtDW.LO_HI_MODE_FR == 2)) << 1)) + (uint32_t) + ((rtDW.CCU_MODE_FL == 1) && (rtDW.LO_HI_MODE_FL == 2)))) + { + case 1: + rtb_out_bf = rtb_out_oum; + break; + + case 2: + rtb_out_bf = rtb_Saturation2; + break; + + case 3: + rtb_out_bf = rtb_out_mf; + break; + + default: + rtb_out_bf = rtb_Saturation2; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; - - case 2: - case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* End of MultiPortSwitch: '/Multiport Switch' */ + } else if (rtDW.UnitDelay_DSTATE_e != 0) { + /* Sum: '/Add' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Product: '/Product' + * Switch: '/Switch' + * Switch: '/Switch2' + * Switch: '/Switch' */ - switch ((int32_t)((uint32_t)(((rtDW.CCU_MODE_FR == 1) && (rtDW.LO_HI_MODE_FR - == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 1) && - (rtDW.LO_HI_MODE_FL == 1)))) { - case 1: - rtb_out_fhd = rtb_out_crw; - break; + index_start = 0.01 * (double)rtb_y_cb * (double)rtb_out_bf + (double) + rtb_out_bf; - case 2: - break; - - case 3: - rtb_out_fhd = rtb_out_fze; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; - - default: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Switch: '/Switch' + * Switch: '/Switch2' + * Switch: '/Switch' */ - switch ((int32_t)((uint32_t)(((rtDW.CCU_MODE_FR == 1) && (rtDW.LO_HI_MODE_FR - == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 1) && - (rtDW.LO_HI_MODE_FL == 1)))) { - case 1: - rtb_out_fhd = rtb_out_fm3; - break; - - case 2: - break; - - case 3: - rtb_out_fhd = rtb_out_mxq; - break; + if (fabs(index_start) >= 0.5) { + rtb_out_bf = (uint16_t)floor(index_start + 0.5); + } else { + rtb_out_bf = 0U; } - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; + /* End of DataTypeConversion: '/Data Type Conversion1' */ } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of Switch: '/Switch1' */ - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); - - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); - - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); - - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); - - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); - - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); - - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); - - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); - - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); - - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); - - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Data Store Read2' */ - switch (rtDW.Index_mode_FL_auto) { - case 10: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; - } - break; + rtb_PWM_out_a = (uint8_t)(rtb_out_bf + rtDW.GlassPosition_AF_plus_L); - case 20: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; - } - break; - - case 30: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; - } - break; - - case 40: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; - } - break; - - case 50: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; - } - break; - - case 60: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; - } - break; - - case 70: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; - } - break; - - case 80: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; - } - break; - - case 90: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; - } - break; - - case 100: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; - } - break; + /* Saturate: '/0 - 160' */ + if (rtb_PWM_out_a > 160) { + rtb_PWM_out_a = 160U; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of Saturate: '/0 - 160' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/param index for mode' incorporates: + * DataStoreRead: '/Data Store Read3' */ - AFforspeed(rtb_out_ake, 6.0, &Gain1); + paramindexformode_j(rtDW.Index_mode_FL, &rtb_area_R_o); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); - - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); - - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); - - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); - - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); - - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); - - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); - - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); - - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); - - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); - - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - switch (rtDW.Index_mode_FL_auto) { - case 10: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; - } - break; - - case 20: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; - } - break; - - case 30: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; - } - break; - - case 40: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; - } - break; - - case 50: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; - } - break; - - case 60: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; - } - break; - - case 70: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; - } - break; - - case 80: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; - } - break; - - case 90: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; - } - break; - - case 100: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' - */ - AFforspeed(rtb_out_ake, 7.0, &rtb_out_fr3); - - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); - - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); - - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); - - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); - - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); - - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); - - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); - - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); - - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); - - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); - - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - switch (rtDW.Index_mode_FL_auto) { - case 10: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; - } - break; - - case 20: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; - } - break; - - case 30: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; - } - break; - - case 40: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; - } - break; - - case 50: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; - } - break; - - case 60: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; - } - break; - - case 70: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; - } - break; - - case 80: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; - } - break; - - case 90: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; - } - break; - - case 100: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' - */ - AFforspeed(rtb_out_ake, 7.0, &rtb_out_crw); - - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); - - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); - - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); - - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); - - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); - - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); - - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); - - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); - - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); - - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); - - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - switch (rtDW.Index_mode_FL_auto) { - case 10: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; - } - break; - - case 20: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; - } - break; - - case 30: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; - } - break; - - case 40: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; - } - break; - - case 50: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; - } - break; - - case 60: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; - } - break; - - case 70: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; - } - break; - - case 80: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; - } - break; - - case 90: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; - } - break; - - case 100: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' - */ - AFforspeed(rtb_out_ake, 6.0, &rtb_out_fze); - - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); - - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); - - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); - - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); - - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); - - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); - - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); - - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); - - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); - - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); - - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' - */ - switch (rtDW.Index_mode_FL_auto) { - case 10: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; - } - break; - - case 20: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; - } - break; - - case 30: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; - } - break; - - case 40: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; - } - break; - - case 50: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; - } - break; - - case 60: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; - } - break; - - case 70: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; - } - break; - - case 80: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; - } - break; - - case 90: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; - } - break; - - case 100: - for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' - */ - AFforspeed(rtb_out_ake, 6.0, &rtb_out_fm3); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - switch (rtDW.LEVEL) { - case 0: - case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/HI2' - * Constant: '/HI3' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && - (rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2) && - (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR == - 1) && (rtDW.LO_HI_MODE_FR == 2)) << 1)) + (uint32_t)((rtDW.CCU_MODE_FL == - 1) && (rtDW.LO_HI_MODE_FL == 2)))) { - case 1: - rtb_out_fhd = rtb_Saturation_as; - break; - - case 2: - break; - - case 3: - rtb_out_fhd = Gain1; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; - - case 2: - case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/HI2' - * Constant: '/HI3' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && - (rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2) && - (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR == - 1) && (rtDW.LO_HI_MODE_FR == 2)) << 1)) + (uint32_t)((rtDW.CCU_MODE_FL == - 1) && (rtDW.LO_HI_MODE_FL == 2)))) { - case 1: - rtb_out_fhd = rtb_out_fr3; - break; - - case 2: - break; - - case 3: - rtb_out_fhd = rtb_out_crw; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; - - default: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/HI2' - * Constant: '/HI3' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && - (rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2) && - (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR == - 1) && (rtDW.LO_HI_MODE_FR == 2)) << 1)) + (uint32_t)((rtDW.CCU_MODE_FL == - 1) && (rtDW.LO_HI_MODE_FL == 2)))) { - case 1: - rtb_out_fhd = rtb_out_fze; - break; - - case 2: - break; - - case 3: - rtb_out_fhd = rtb_out_fm3; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - */ - if (rtDW.CCU_MODE_FL > 0) { - center_percent = rtDW.Index_mode_FL_auto; - } else { - center_percent = rtDW.Index_mode_FL_manual; - } - - /* MATLAB Function: '/param index for mode' incorporates: - * Switch: '/Switch' - */ - paramindexformode(center_percent, &rtb_duct_select_index_dbg_c); - - /* MATLAB Function: '/FL AF * percent DRS' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' + /* MATLAB Function: '/FL AF * percent DRS' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' */ /* : index_start = (param_index - 1) * 3 + 1; */ - index_start = (rtb_duct_select_index_dbg_c - 1.0) * 3.0 + 1.0; + index_start = (rtb_area_R_o - 1.0) * 3.0 + 1.0; /* : if DRS_side == 0 */ if (rtDW.DRS_SFL == 0) { /* : side_percent = uint8(0); */ - rtb_DataTypeConversion1_gy = 0U; + rtb_DataTypeConversion3_c1 = 0U; } else { /* : else */ /* : side_percent = g_aucFRONT_SIDE_DRS_PERCENT_AF(index_start + 3 - DRS_side); */ - rtb_duct_select_index_dbg_c = rt_roundd((index_start + 3.0) - (double) - rtDW.DRS_SFL); - if (rtb_duct_select_index_dbg_c < 256.0) { - if (rtb_duct_select_index_dbg_c >= 0.0) { - center_percent = (uint8_t)rtb_duct_select_index_dbg_c; + rtb_Divide5 = rt_roundd((index_start + 3.0) - (double)rtDW.DRS_SFL); + if (rtb_Divide5 < 256.0) { + if (rtb_Divide5 >= 0.0) { + center_percent = (uint8_t)rtb_Divide5; } else { center_percent = 0U; } @@ -23096,7 +25384,7 @@ void HVAC_model_step(void) center_percent = UINT8_MAX; } - rtb_DataTypeConversion1_gy = g_aucFRONT_SIDE_DRS_PERCENT_AF[center_percent - + rtb_DataTypeConversion3_c1 = g_aucFRONT_SIDE_DRS_PERCENT_AF[center_percent - 1]; } @@ -23107,11 +25395,10 @@ void HVAC_model_step(void) } else { /* : else */ /* : center_percent = g_aucFRONT_CENT_DRS_PERCENT_AF(index_start + 3 - DRS_center); */ - rtb_duct_select_index_dbg_c = rt_roundd((index_start + 3.0) - (double) - rtDW.DRS_CFL); - if (rtb_duct_select_index_dbg_c < 256.0) { - if (rtb_duct_select_index_dbg_c >= 0.0) { - center_percent = (uint8_t)rtb_duct_select_index_dbg_c; + rtb_Divide5 = rt_roundd((index_start + 3.0) - (double)rtDW.DRS_CFL); + if (rtb_Divide5 < 256.0) { + if (rtb_Divide5 >= 0.0) { + center_percent = (uint8_t)rtb_Divide5; } else { center_percent = 0U; } @@ -23122,2286 +25409,2140 @@ void HVAC_model_step(void) center_percent = g_aucFRONT_CENT_DRS_PERCENT_AF[center_percent - 1]; } - /* : percent = double(side_percent + center_percent) / 2 / 100; */ - i = (int32_t)((uint32_t)rtb_DataTypeConversion1_gy + center_percent); - if ((uint32_t)i > 255U) { - i = 255; - } - - index_start = (double)i / 2.0 / 100.0; - - /* : fprintf('!!!!!----------DRS FL--------!!!!!') */ - printf("!!!!!----------DRS FL--------!!!!!"); - fflush(stdout); - - /* : fprintf('AF_in (AF FL):'); */ - printf("AF_in (AF FL):"); - fflush(stdout); - - /* : fprintf('%u', AF_in); */ - printf("%u", rtb_out_fhd); - fflush(stdout); - - /* : fprintf('DRS_side (AF FL):'); */ - printf("DRS_side (AF FL):"); - fflush(stdout); - - /* : fprintf('%u', DRS_side); */ - printf("%u", rtDW.DRS_SFL); - fflush(stdout); - - /* : fprintf('side_percent (AF FL):'); */ - printf("side_percent (AF FL):"); - fflush(stdout); - - /* : fprintf('%u', side_percent); */ - printf("%u", rtb_DataTypeConversion1_gy); - fflush(stdout); - - /* : fprintf('DRS_center (AF FL):'); */ - printf("DRS_center (AF FL):"); - fflush(stdout); - - /* : fprintf('%u', DRS_center); */ - printf("%u", rtDW.DRS_CFL); - fflush(stdout); - - /* : fprintf('center_percent (AF FL):'); */ - printf("center_percent (AF FL):"); - fflush(stdout); - - /* : fprintf('%u', center_percent); */ - printf("%u", center_percent); - fflush(stdout); - - /* : fprintf('percent (AF FL):'); */ - printf("percent (AF FL):"); - fflush(stdout); - - /* : fprintf('%f', percent); */ - printf("%f", index_start); - fflush(stdout); - - /* : y = uint16(double(AF_in) * percent); */ - i = (int32_t)rt_roundd((double)rtb_out_fhd * index_start); - if (i < 65536) { - rtb_Saturation_as = (uint16_t)i; - } else { - rtb_Saturation_as = UINT16_MAX; - } - - /* : fprintf('AF out (y):'); */ - printf("AF out (y):"); - fflush(stdout); - - /* : fprintf('%u', y); */ - printf("%u", rtb_Saturation_as); - fflush(stdout); - - /* Switch: '/Switch6' incorporates: - * Constant: '/Constant12' - * Constant: '/Max Speed for VENT valve index' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read2' - * MATLAB Function: '/FL AF * percent DRS' - * Sum: '/Add' - * Switch: '/Switch4' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read8' + * DataTypeConversion: '/Data Type Conversion' + * MATLAB Function: '/FL AF * percent DRS' */ - if (rtDW.CCU_AC_MAX > 0) { - rtb_out_mxq = g_ausFLOW_FR_VE2BLR_AF[7]; - i = 7; + /* : percent = double(side_percent + center_percent) / 2 / 100; */ + /* : y = uint16(double(AF_in) * percent); */ + if (rtDW.DifferentBlower_Front_isActive) { + rtb_Saturation_as = rtb_PWM_out_a; } else { - rtb_out_mxq = (uint8_t)(rtb_Saturation_as + rtDW.GlassPosition_AF_plus_L); - i = rtDW.CCU_BLOWERS_FR; + /* MATLAB Function: '/FL AF * percent DRS' */ + i = (int32_t)((uint32_t)rtb_DataTypeConversion3_c1 + center_percent); + if ((uint32_t)i > 255U) { + i = 255; + } + + rtb_Saturation_as = (uint16_t)rt_roundd((double)i / 2.0 / 100.0 * (double) + rtb_PWM_out_a); } - /* End of Switch: '/Switch6' */ - - /* Saturate: '/Saturation' */ - if (rtb_out_mxq <= 160) { - rtb_Saturation_as = rtb_out_mxq; - } else { + /* Saturate: '/Saturation' incorporates: + * Switch: '/Switch' + */ + if (rtb_Saturation_as > 160) { rtb_Saturation_as = 160U; } /* End of Saturate: '/Saturation' */ - /* Outputs for Enabled SubSystem: '/Front Right AF - manual directions' incorporates: - * EnablePort: '/Enable' + /* Switch: '/Switch4' incorporates: + * Constant: '/Constant12' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read76' */ - /* RelationalOperator: '/Equal3' incorporates: - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read45' + if (rtDW.CCU_AC_MAX > 0) { + i = 7; + } else { + i = rtDW.CCU_BLOWERS_FR; + } + + /* End of Switch: '/Switch4' */ + + /* Outputs for Enabled SubSystem: '/Front Right AF - manual directions' incorporates: + * EnablePort: '/Enable' + */ + /* RelationalOperator: '/Equal3' incorporates: + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read45' */ if (rtDW.CCU_MODE_FR == 0) { - /* MATLAB Function: '/AF for Bi Level' incorporates: - * DataTypeConversion: '/Data Type Conversion6' + /* MATLAB Function: '/AF for Bi Level' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforBiLevel((uint8_t)i, &Gain1); + AFforBiLevel((uint8_t)i, &rtb_Saturation2); - /* MATLAB Function: '/AF for Def' incorporates: - * DataTypeConversion: '/Data Type Conversion6' + /* MATLAB Function: '/AF for Def' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforDef((uint8_t)i, &rtb_out_fhd); + AFforDef((uint8_t)i, &rtb_out_ihi); - /* MATLAB Function: '/AF for Foor + Def' incorporates: - * DataTypeConversion: '/Data Type Conversion6' + /* MATLAB Function: '/AF for Foor + Def' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforFoorDef((uint8_t)i, &rtb_out_fr3); + AFforFoorDef((uint8_t)i, &rtb_out_cryk); - /* MATLAB Function: '/AF for Foot' incorporates: - * DataTypeConversion: '/Data Type Conversion6' + /* MATLAB Function: '/AF for Foot' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforFoot((uint8_t)i, &rtb_out_crw); + AFforFoot((uint8_t)i, &rtb_out_ew5); - /* MATLAB Function: '/AF for Hi_Level' incorporates: - * DataTypeConversion: '/Data Type Conversion6' + /* MATLAB Function: '/AF for Hi_Level' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforHi_Level((uint8_t)i, &rtb_out_fze); + AFforHi_Level((uint8_t)i, &rtb_out_oum); - /* MATLAB Function: '/AF for Tri-Level' incorporates: - * DataTypeConversion: '/Data Type Conversion6' + /* MATLAB Function: '/AF for Tri-Level' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ AFforTriLevel((uint8_t)i, &rtB.MultiportSwitch_a); - /* MATLAB Function: '/AF for Vent mode' incorporates: - * DataTypeConversion: '/Data Type Conversion6' + /* MATLAB Function: '/AF for Vent mode' incorporates: + * DataTypeConversion: '/Data Type Conversion6' */ - AFforVentmode((uint8_t)i, &rtb_out_fm3); + AFforVentmode((uint8_t)i, &rtb_out_mf); - /* RelationalOperator: '/Relational Operator2' incorporates: - * Constant: '/Constant2' + /* RelationalOperator: '/Relational Operator2' incorporates: + * Constant: '/Constant2' * DataStoreRead: '/Data Store Read14' */ rtb_RelationalOperator6_f = (rtDW.CCU_FOOT_FR == 1); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' + /* 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' + * 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_RelationalOperator6_f << 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' */ - rtB.MultiportSwitch_a = rtb_out_fhd; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_a = rtb_out_ihi; break; case 2: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_a = rtb_out_fm3; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_a = rtb_out_mf; break; case 3: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_a = rtb_out_fze; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_a = rtb_out_oum; break; case 4: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_a = rtb_out_crw; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_a = rtb_out_ew5; break; case 5: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_a = rtb_out_fr3; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_a = rtb_out_cryk; break; case 6: - /* MultiPortSwitch: '/Multiport Switch' */ - rtB.MultiportSwitch_a = Gain1; + /* MultiPortSwitch: '/Multiport Switch' */ + rtB.MultiportSwitch_a = rtb_Saturation2; 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' */ - - /* 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_ascAUTO_STEP_AF_F' incorporates: - * Switch: '/Switch2' - */ - funcg_ascAUTO_STEP_AF_F((double)i, &rtb_y_cb); - - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' - */ - switch (rtb_Saturation4) { - case 0: - for (i = 0; i < 7; i++) { - rtb_uDLookupTable7_g[i] = g_assVF_MAX_LV0[i]; - } - break; - - case 1: - for (i = 0; i < 7; i++) { - rtb_uDLookupTable7_g[i] = g_assVF_MAX_LV1[i]; - } - break; - - case 2: - for (i = 0; i < 7; i++) { - rtb_uDLookupTable7_g[i] = g_assVF_MAX_LV2[i]; - } - break; - - case 3: - for (i = 0; i < 7; i++) { - rtb_uDLookupTable7_g[i] = g_assVF_MAX_LV3[i]; - } - break; - - case 4: - for (i = 0; i < 7; i++) { - rtb_uDLookupTable7_g[i] = g_assVF_MAX_LV4[i]; - } - break; - - default: - for (i = 0; i < 7; i++) { - rtb_uDLookupTable7_g[i] = g_assVF_MAX_LV5[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of RelationalOperator: '/Equal3' */ + /* End of Outputs for SubSystem: '/Front Right AF - manual directions' */ /* Saturate: '/Saturation6' incorporates: * DataStoreRead: '/Data Store Read31' */ if (rtDW.CCU_SET_FR > 290) { - rtb_out_crw = 290U; + rtb_out_oum = 290U; } else if (rtDW.CCU_SET_FR < 170) { - rtb_out_crw = 170U; + rtb_out_oum = 170U; } else { - rtb_out_crw = rtDW.CCU_SET_FR; + rtb_out_oum = rtDW.CCU_SET_FR; } /* End of Saturate: '/Saturation6' */ - /* Gain: '/Gain4' incorporates: - * Bias: '/Bias1' - * DataTypeConversion: '/Data Type Conversion4' - * Gain: '/Gain2' - * Gain: '/Gain3' + /* Gain: '/Gain3' incorporates: + * Gain: '/Gain2' */ - i = ((int32_t)((52429U * rtb_out_crw) >> 19) + -15) << 14; + rtb_Gain2_k_tmp_tmp = 52429U * rtb_out_oum; - /* DataTypeConversion: '/Data Type Conversion3' incorporates: - * Gain: '/Gain2' - * Saturate: '/Saturation1' + /* DataTypeConversion: '/Data Type Conversion4' incorporates: + * Gain: '/Gain3' + * Gain: '/Gain2' */ - rtb_DataTypeConversion1_hy = (uint8_t)((((uint32_t)i & 16384U) != 0U) + (i >> + rtb_Gain2_k_tmp_tmp_0 = rtb_Gain2_k_tmp_tmp >> 19; + + /* Gain: '/Gain4' incorporates: + * Bias: '/Bias1' + * DataTypeConversion: '/Data Type Conversion4' + * Gain: '/Gain2' + */ + i = ((int32_t)rtb_Gain2_k_tmp_tmp_0 + -15) << 14; + + /* DataTypeConversion: '/Data Type Conversion3' incorporates: + * Gain: '/Gain2' + * Saturate: '/Saturation1' + */ + rtb_DataTypeConversion3_c1 = (uint8_t)((((uint32_t)i & 16384U) != 0U) + (i >> 15)); - /* Selector: '/Selector' */ - rtb_DataTypeConversion1_oq = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_hy - - 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' + /* 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_Saturation4) { case 0: - rtb_MultiportSwitch1_g = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_crw, - rtConstP.pooled81, &g_assVTG_FR_LV0[0], 12U); + rtb_u6FRU_tg_amb = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_oum, + rtConstP.pooled82, &g_assVTG_FR_LV0[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table6' - * Lookup_n-D: '/1-D Lookup Table' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table6' + * Lookup_n-D: '/1-D Lookup Table' * Saturate: '/Saturation6' */ - rtb_MultiportSwitch_ac = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_crw, - rtConstP.pooled52, &g_assINCAR_TG_FR_LV0[0], 12U); + rtb_Bias_ct = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_oum, + rtConstP.pooled50, &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' */ - rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[0] = g_assVF_INC_Y1_LV0[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[1] = g_assVF_INC_Y2_LV0[rtb_DataTypeConversion3_c1 - 1]; break; case 1: - rtb_MultiportSwitch1_g = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_crw, - rtConstP.pooled81, &g_assVTG_FR_LV1[0], 12U); + rtb_u6FRU_tg_amb = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_oum, + rtConstP.pooled82, &g_assVTG_FR_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table7' - * Lookup_n-D: '/1-D Lookup Table1' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table7' + * Lookup_n-D: '/1-D Lookup Table1' * Saturate: '/Saturation6' */ - rtb_MultiportSwitch_ac = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_crw, - rtConstP.pooled52, &g_assINCAR_TG_FR_LV1[0], 12U); + rtb_Bias_ct = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_oum, + rtConstP.pooled50, &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' */ - rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[0] = g_assVF_INC_Y1_LV1[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[1] = g_assVF_INC_Y2_LV1[rtb_DataTypeConversion3_c1 - 1]; break; case 2: - rtb_MultiportSwitch1_g = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_crw, - rtConstP.pooled81, &g_assVTG_FR_LV1[0], 12U); + rtb_u6FRU_tg_amb = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_oum, + rtConstP.pooled82, &g_assVTG_FR_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table8' - * Lookup_n-D: '/1-D Lookup Table2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table8' + * Lookup_n-D: '/1-D Lookup Table2' * Saturate: '/Saturation6' */ - rtb_MultiportSwitch_ac = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_crw, - rtConstP.pooled52, &g_assINCAR_TG_FR_LV2[0], 12U); + rtb_Bias_ct = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_oum, + rtConstP.pooled50, &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' */ - rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[0] = g_assVF_INC_Y1_LV2[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[1] = g_assVF_INC_Y2_LV2[rtb_DataTypeConversion3_c1 - 1]; break; case 3: - rtb_MultiportSwitch1_g = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_crw, - rtConstP.pooled81, &g_assVTG_FR_LV3[0], 12U); + rtb_u6FRU_tg_amb = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_oum, + rtConstP.pooled82, &g_assVTG_FR_LV3[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table9' - * Lookup_n-D: '/1-D Lookup Table3' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table9' + * Lookup_n-D: '/1-D Lookup Table3' * Saturate: '/Saturation6' */ - rtb_MultiportSwitch_ac = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_crw, - rtConstP.pooled52, &g_assINCAR_TG_FR_LV3[0], 12U); + rtb_Bias_ct = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_oum, + rtConstP.pooled50, &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' */ - rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[0] = g_assVF_INC_Y1_LV3[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[1] = g_assVF_INC_Y2_LV3[rtb_DataTypeConversion3_c1 - 1]; break; case 4: - rtb_MultiportSwitch1_g = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_crw, - rtConstP.pooled81, &g_assVTG_FR_LV4[0], 12U); + rtb_u6FRU_tg_amb = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_oum, + rtConstP.pooled82, &g_assVTG_FR_LV4[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table10' - * Lookup_n-D: '/1-D Lookup Table4' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table10' + * Lookup_n-D: '/1-D Lookup Table4' * Saturate: '/Saturation6' */ - rtb_MultiportSwitch_ac = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_crw, - rtConstP.pooled52, &g_assINCAR_TG_FR_LV4[0], 12U); + rtb_Bias_ct = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_oum, + rtConstP.pooled50, &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' */ - rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[0] = g_assVF_INC_Y1_LV4[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[1] = g_assVF_INC_Y2_LV4[rtb_DataTypeConversion3_c1 - 1]; break; default: - rtb_MultiportSwitch1_g = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_crw, - rtConstP.pooled81, &g_assVTG_FR_LV5[0], 12U); + rtb_u6FRU_tg_amb = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_oum, + rtConstP.pooled82, &g_assVTG_FR_LV5[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table11' - * Lookup_n-D: '/1-D Lookup Table5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table11' + * Lookup_n-D: '/1-D Lookup Table5' * Saturate: '/Saturation6' */ - rtb_MultiportSwitch_ac = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_crw, - rtConstP.pooled52, &g_assINCAR_TG_FR_LV5[0], 12U); + rtb_Bias_ct = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_oum, + rtConstP.pooled50, &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' */ - rtb_VectorConcatenate_lb[0] = g_assVF_INC_Y1_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[0] = g_assVF_INC_Y1_LV5[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVF_INC_Y2_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[1] = g_assVF_INC_Y2_LV5[rtb_DataTypeConversion3_c1 - 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_lb[2] = 0; + rtb_VectorConcatenate_ls[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ + /* MultiPortSwitch: '/Multiport Switch3' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' */ - rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[3] = g_assVF_INC_Y3_LV0[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[4] = g_assVF_INC_Y4_LV0[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[0] = g_assVF_INC_X1_LV0[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[1] = g_assVF_INC_X2_LV0[rtb_DataTypeConversion3_c1 - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' */ - rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[3] = g_assVF_INC_Y3_LV1[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[4] = g_assVF_INC_Y4_LV1[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[0] = g_assVF_INC_X1_LV1[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[1] = g_assVF_INC_X2_LV1[rtb_DataTypeConversion3_c1 - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' */ - rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[3] = g_assVF_INC_Y3_LV2[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[4] = g_assVF_INC_Y4_LV2[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[0] = g_assVF_INC_X1_LV2[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[1] = g_assVF_INC_X2_LV2[rtb_DataTypeConversion3_c1 - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' */ - rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[3] = g_assVF_INC_Y3_LV3[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[4] = g_assVF_INC_Y4_LV3[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[0] = g_assVF_INC_X1_LV3[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[1] = g_assVF_INC_X2_LV3[rtb_DataTypeConversion3_c1 - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' */ - rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[3] = g_assVF_INC_Y3_LV4[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[4] = g_assVF_INC_Y4_LV4[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[0] = g_assVF_INC_X1_LV4[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[1] = g_assVF_INC_X2_LV4[rtb_DataTypeConversion3_c1 - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' */ - rtb_VectorConcatenate_lb[3] = g_assVF_INC_Y3_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[3] = g_assVF_INC_Y3_LV5[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lb[4] = g_assVF_INC_Y4_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[4] = g_assVF_INC_Y4_LV5[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[0] = g_assVF_INC_X1_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[0] = g_assVF_INC_X1_LV5[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[1] = g_assVF_INC_X2_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[1] = g_assVF_INC_X2_LV5[rtb_DataTypeConversion3_c1 - 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_jn[2] = 0; + rtb_VectorConcatenate_by[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ + /* MultiPortSwitch: '/Multiport Switch3' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' */ - rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[3] = g_assVF_INC_X3_LV0[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[4] = g_assVF_INC_X4_LV0[rtb_DataTypeConversion3_c1 - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' */ - rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[3] = g_assVF_INC_X3_LV1[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[4] = g_assVF_INC_X4_LV1[rtb_DataTypeConversion3_c1 - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' */ - rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[3] = g_assVF_INC_X3_LV2[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[4] = g_assVF_INC_X4_LV2[rtb_DataTypeConversion3_c1 - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' */ - rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[3] = g_assVF_INC_X3_LV3[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[4] = g_assVF_INC_X4_LV3[rtb_DataTypeConversion3_c1 - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' */ - rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[3] = g_assVF_INC_X3_LV4[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[4] = g_assVF_INC_X4_LV4[rtb_DataTypeConversion3_c1 - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' - * Selector: '/Selector' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' */ - rtb_VectorConcatenate_jn[3] = g_assVF_INC_X3_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[3] = g_assVF_INC_X3_LV5[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[4] = g_assVF_INC_X4_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[4] = g_assVF_INC_X4_LV5[rtb_DataTypeConversion3_c1 - 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 Read36' - * Sum: '/2.5. X = Inc_Tg - Incar_fb' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' */ - rtb_u5FLU_tg_incar_i = look1_is16lu64n32Ds32_binlcn((int16_t) - (rtb_MultiportSwitch_ac - rtDW.Incar_FR), rtb_VectorConcatenate_jn, - rtb_VectorConcatenate_lb, 4U); + rtb_MultiportSwitch_dbp = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_Bias_ct - + rtDW.Incar_FR), rtb_VectorConcatenate_by, rtb_VectorConcatenate_ls, 4U); - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' */ - rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV0[rtb_DataTypeConversion3_c1 - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' */ - rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV1[rtb_DataTypeConversion3_c1 - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' */ - rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV2[rtb_DataTypeConversion3_c1 - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' */ - rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV3[rtb_DataTypeConversion3_c1 - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' */ - rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV4[rtb_DataTypeConversion3_c1 - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' */ - rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[0] = g_assVF_AMB_Y1_LV5[rtb_DataTypeConversion3_c1 - 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_dw[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ + /* MultiPortSwitch: '/Multiport Switch2' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' */ - rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV0[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV0[rtb_DataTypeConversion3_c1 - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' */ - rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV1[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV1[rtb_DataTypeConversion3_c1 - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' */ - rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV2[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV2[rtb_DataTypeConversion3_c1 - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' */ - rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV3[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV3[rtb_DataTypeConversion3_c1 - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' */ - rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV4[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV4[rtb_DataTypeConversion3_c1 - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' */ - rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[2] = g_assVF_AMB_Y2_LV5[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[0] = g_assVF_AMB_X1_LV5[rtb_DataTypeConversion3_c1 - 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_pg[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ + /* MultiPortSwitch: '/Multiport Switch2' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' */ - rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV0[rtb_DataTypeConversion3_c1 - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' */ - rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV1[rtb_DataTypeConversion3_c1 - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' */ - rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV2[rtb_DataTypeConversion3_c1 - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' */ - rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV3[rtb_DataTypeConversion3_c1 - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' */ - rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV4[rtb_DataTypeConversion3_c1 - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' */ - rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[2] = g_assVF_AMB_X2_LV5[rtb_DataTypeConversion3_c1 - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* Lookup_n-D: '/2.6 FLU_tg_amb' */ - rtb_u6FLU_tg_amb_g = look1_is16lu64n32Ds32_binlcn(rtb_MultiportSwitch_az, + /* Lookup_n-D: '/2.6 FLU_tg_amb' */ + rtb_MultiportSwitch_cq = look1_is16lu64n32Ds32_binlcn(rtb_u6FLU_tg_amb_ha, rtb_VectorConcatenate_pg, rtb_VectorConcatenate_dw, 2U); - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_gn[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' */ - rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV0[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV0[rtb_DataTypeConversion3_c1 - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' */ - rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV1[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV1[rtb_DataTypeConversion3_c1 - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' */ - rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV2[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV2[rtb_DataTypeConversion3_c1 - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' */ - rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV3[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV3[rtb_DataTypeConversion3_c1 - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' */ - rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV4[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV4[rtb_DataTypeConversion3_c1 - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' */ - rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_gn[1] = g_assVF_SUN_Y1_LV5[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_gn[2] = g_assVF_SUN_Y2_LV5[rtb_DataTypeConversion3_c1 - 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_np[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' */ - rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV0[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV0[rtb_DataTypeConversion3_c1 - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' */ - rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV1[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV1[rtb_DataTypeConversion3_c1 - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' */ - rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV2[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV2[rtb_DataTypeConversion3_c1 - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' */ - rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV3[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV3[rtb_DataTypeConversion3_c1 - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' */ - rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV4[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV4[rtb_DataTypeConversion3_c1 - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' */ - rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_np[1] = g_assVF_SUN_X1_LV5[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_np[2] = g_assVF_SUN_X2_LV5[rtb_DataTypeConversion3_c1 - 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 Read41' */ - rtb_u6FLU_tg_amb_a3 = look1_bs16ts16Dd_binlc(rtDW.Sun_R, + rtb_u5FLU_tg_incar_g = look1_bs16ts16Dd_binlc(rtDW.Sun_R, rtb_VectorConcatenate_np, rtb_VectorConcatenate_gn, 2U); - /* Sum: '/FLU_tg_correct' */ - rtb_MultiportSwitch_ks = (int16_t)((int16_t)((int16_t)(rtb_MultiportSwitch1_g - + rtb_u5FLU_tg_incar_i) + rtb_u6FLU_tg_amb_g) + rtb_u6FLU_tg_amb_a3); - - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch1' incorporates: + * Constant: '/manual1' + * DataStoreWrite: '/Data Store Write2' + * DataTypeConversion: '/Data Type Conversion' + * RelationalOperator: '/Equal2' + * UnitDelay: '/Unit Delay1' */ - if (rtb_MultiportSwitch_ks <= rtb_DataTypeConversion1_oq) { - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + if (rtDW.UnitDelay1_DSTATE_j == 0) { + rtb_out_ihi = rtB.MultiportSwitch_a; + } else { + /* Sum: '/FLU_tg_correct' */ + rtb_u6FLU_tg_amb_ht = (int16_t)((int16_t)((int16_t)(rtb_u6FRU_tg_amb + + rtb_MultiportSwitch_dbp) + rtb_MultiportSwitch_cq) + rtb_u5FLU_tg_incar_g); + + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ switch (rtb_Saturation4) { case 0: for (i = 0; i < 7; i++) { - rtb_uDLookupTable7_g[i] = g_assVF_MIN_LV0[i]; + rtb_uDLookupTable7_g[i] = g_assVF_MAX_LV0[i]; } break; case 1: for (i = 0; i < 7; i++) { - rtb_uDLookupTable7_g[i] = g_assVF_MIN_LV1[i]; + rtb_uDLookupTable7_g[i] = g_assVF_MAX_LV1[i]; } break; case 2: for (i = 0; i < 7; i++) { - rtb_uDLookupTable7_g[i] = g_assVF_MIN_LV2[i]; + rtb_uDLookupTable7_g[i] = g_assVF_MAX_LV2[i]; } break; case 3: for (i = 0; i < 7; i++) { - rtb_uDLookupTable7_g[i] = g_assVF_MIN_LV3[i]; + rtb_uDLookupTable7_g[i] = g_assVF_MAX_LV3[i]; } break; case 4: for (i = 0; i < 7; i++) { - rtb_uDLookupTable7_g[i] = g_assVF_MIN_LV4[i]; + rtb_uDLookupTable7_g[i] = g_assVF_MAX_LV4[i]; } break; default: for (i = 0; i < 7; i++) { - rtb_uDLookupTable7_g[i] = g_assVF_MIN_LV5[i]; + rtb_uDLookupTable7_g[i] = g_assVF_MAX_LV5[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' incorporates: - * Selector: '/Selector' + /* Selector: '/Selector' */ + rtb_Bias1_h = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_c1 - 1]; + + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ - rtb_DataTypeConversion1_oq = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_hy - - 1]; + if (rtb_u6FLU_tg_amb_ht <= rtb_Bias1_h) { + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' + */ + switch (rtb_Saturation4) { + case 0: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assVF_MIN_LV0[i]; + } + break; - /* Switch: '/Switch' incorporates: - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector' - */ - if (rtb_MultiportSwitch_ks >= rtb_DataTypeConversion1_oq) { - rtb_DataTypeConversion1_oq = rtb_MultiportSwitch_ks; + case 1: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assVF_MIN_LV1[i]; + } + break; + + case 2: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assVF_MIN_LV2[i]; + } + break; + + case 3: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assVF_MIN_LV3[i]; + } + break; + + case 4: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assVF_MIN_LV4[i]; + } + break; + + default: + for (i = 0; i < 7; i++) { + rtb_uDLookupTable7_g[i] = g_assVF_MIN_LV5[i]; + } + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch1' */ + + /* Selector: '/Selector' incorporates: + * Selector: '/Selector' + */ + rtb_Bias1_h = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_c1 - 1]; + + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector' + */ + if (rtb_u6FLU_tg_amb_ht >= rtb_Bias1_h) { + rtb_Bias1_h = rtb_u6FLU_tg_amb_ht; + } + + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch2' */ + rtb_out_ihi = (uint16_t)rtb_Bias1_h; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch1' */ - /* Switch: '/Switch1' incorporates: - * Constant: '/manual1' - * DataStoreWrite: '/Data Store Write2' - * RelationalOperator: '/Equal2' - * UnitDelay: '/Unit Delay1' - */ - if (rtDW.UnitDelay1_DSTATE_j == 0) { - Gain1 = rtB.MultiportSwitch_a; - } else { - /* Sum: '/Add' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Product: '/Product' - */ - index_start = 0.01 * (double)rtb_y_cb * (double)(uint16_t) - rtb_DataTypeConversion1_oq + (double)(uint16_t)rtb_DataTypeConversion1_oq; + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write2' - */ - if (fabs(index_start) >= 0.5) { - Gain1 = (uint16_t)floor(index_start + 0.5); - } else { - Gain1 = 0U; - } + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* End of DataTypeConversion: '/Data Type Conversion1' */ - } + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* End of Switch: '/Switch1' */ + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/AF from Start Control' - * 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)) { - Gain1 = rtDW.Blower_FR; - } + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' - * Sum: '/Add' - * Switch: '/Switch' - */ - Gain1 = (uint16_t)((uint16_t)((uint32_t)Gain1 + - rtDW.FR_blower_AF_offset_autodemist) + rtDW.Blower_individual_foot_FR); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); - - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); - - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); - - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); - - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); - - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 7.0, &rtb_out_fhd); + AFforspeed(rtb_out_fun, 7.0, &rtb_out_cryk); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 7.0, &rtb_out_fr3); + AFforspeed(rtb_out_fun, 7.0, &rtb_out_ew5); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 7.0, &rtb_out_fze); + AFforspeed(rtb_out_fun, 7.0, &rtb_out_mf); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 7.0, &rtb_out_fm3); + AFforspeed(rtb_out_fun, 7.0, &rtb_out_ip); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 6.0, &rtb_out_mxq); + AFforspeed(rtb_out_fun, 6.0, &rtb_Saturation2); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 6.0, &rtb_out_a2e); + AFforspeed(rtb_out_fun, 6.0, &rtb_out_bf); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read2' */ switch (rtDW.LEVEL) { case 0: case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreWrite: '/Data Store Write2' + * Gain: '/Gain1' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.CCU_MODE_FR == 1) && (rtDW.LO_HI_MODE_FR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 1) && (rtDW.LO_HI_MODE_FL == 1)))) { case 1: + rtb_Saturation2 = rtb_out_ihi; break; case 2: - Gain1 = rtb_out_fhd; + rtb_Saturation2 = rtb_out_cryk; break; case 3: - Gain1 = rtb_out_fr3; + rtb_Saturation2 = rtb_out_ew5; + break; + + default: + rtb_Saturation2 = rtb_out_ihi; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; case 2: case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreWrite: '/Data Store Write2' + * Gain: '/Gain1' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.CCU_MODE_FR == 1) && (rtDW.LO_HI_MODE_FR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 1) && (rtDW.LO_HI_MODE_FL == 1)))) { case 1: + rtb_Saturation2 = rtb_out_ihi; break; case 2: - Gain1 = rtb_out_fze; + rtb_Saturation2 = rtb_out_mf; break; case 3: - Gain1 = rtb_out_fm3; + rtb_Saturation2 = rtb_out_ip; + break; + + default: + rtb_Saturation2 = rtb_out_ihi; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; default: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreWrite: '/Data Store Write2' + * Gain: '/Gain1' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.CCU_MODE_FR == 1) && (rtDW.LO_HI_MODE_FR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 1) && (rtDW.LO_HI_MODE_FL == 1)))) { case 1: + rtb_Saturation2 = rtb_out_ihi; break; case 2: - Gain1 = rtb_out_mxq; break; case 3: - Gain1 = rtb_out_a2e; + rtb_Saturation2 = rtb_out_bf; + break; + + default: + rtb_Saturation2 = rtb_out_ihi; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Switch: '/switch speed' incorporates: - * Constant: '/blower speed 2' - * Constant: '/blower speed 6' - * DataStoreRead: '/3 way valve' - * RelationalOperator: '/Equal' + /* Switch: '/switch speed' incorporates: + * Constant: '/blower speed 2' + * Constant: '/blower speed 6' + * DataStoreRead: '/3 way valve' + * RelationalOperator: '/Equal' */ if (LowTempValve == 2) { i = 6; @@ -25409,688 +27550,791 @@ void HVAC_model_step(void) i = 2; } - /* MATLAB Function: '/AF for speed' incorporates: - * Switch: '/switch speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Switch: '/switch speed' */ - AFforspeed(rtb_out_ake, (double)i, &rtb_out_fhd); + AFforspeed(rtb_out_fun, (double)i, &rtb_out_cryk); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 6.0, &rtb_out_fr3); + AFforspeed(rtb_out_fun, 6.0, &rtb_out_ew5); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed 6' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed 6' */ - AFforspeed(rtb_out_ake, 6.0, &rtb_out_fze); + AFforspeed(rtb_out_fun, 6.0, &rtb_out_mf); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 6.0, &rtb_out_fm3); + AFforspeed(rtb_out_fun, 6.0, &rtb_out_ip); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed 6' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed 6' */ - AFforspeed(rtb_out_ake, 6.0, &rtb_out_mxq); + AFforspeed(rtb_out_fun, 6.0, &rtb_out_et); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 6.0, &rtb_out_a2e); + AFforspeed(rtb_out_fun, 6.0, &rtb_out_a3); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MATLAB Function: '/func g_ascAUTO_STEP_AF_F' incorporates: + * DataStoreRead: '/Data Store Read' */ - switch (rtDW.LEVEL) { - case 0: - case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + funcg_ascAUTO_STEP_AF_F(rtDW.CCU_AUTOMODE_FR, &rtb_y_cb); + + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read8' + * DataStoreWrite: '/Data Store Write2' + */ + if (rtDW.DifferentBlower_Front_isActive) { + rtb_out_bf = rtDW.Blower_AF_FR_after_DiffBlower; + } else { + rtb_out_bf = rtb_out_ihi; + } + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Data Store Read' + * Switch: '/Switch' + */ + i = rtb_out_bf - rtDW.wait_correction_AF_FR; + if (i < 0) { + i = 0; + } else if (i > 65535) { + i = 65535; + } + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' + * Sum: '/Add' + * Sum: '/Add' + */ + rtb_out_bf = (uint16_t)((uint16_t)((uint32_t)i + + rtDW.FR_blower_AF_offset_autodemist) + rtDW.Blower_individual_foot_FR); + + /* Switch: '/Switch1' incorporates: + * Constant: '/manual' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write2' + * RelationalOperator: '/Equal1' + * Switch: '/Switch' + * Switch: '/Switch2' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' + */ + if (rtDW.Max_AC_algo_active) { + rtb_out_bf = rtb_out_ihi; + } else if (rtDW.Max_def_algo_active) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write2' */ - switch ((int32_t)((uint32_t)(((rtDW.CCU_MODE_FR == 1) && (rtDW.LO_HI_MODE_FR - == 2)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 1) && - (rtDW.LO_HI_MODE_FL == 2)))) { + rtb_out_bf = rtb_out_ihi; + } else if (rtDW.LO_HI_MODE_FL > 0) { + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read2' + * Switch: '/Switch' + * Switch: '/Switch2' + */ + switch (rtDW.LEVEL) { + case 0: case 1: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)((uint32_t)(((rtDW.CCU_MODE_FR == 1) && + (rtDW.LO_HI_MODE_FR == 2)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL + == 1) && (rtDW.LO_HI_MODE_FL == 2)))) { + case 1: + rtb_out_bf = rtb_Saturation2; + break; + + case 2: + rtb_out_bf = rtb_out_cryk; + break; + + case 3: + rtb_out_bf = rtb_out_ew5; + break; + + default: + rtb_out_bf = rtb_Saturation2; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ break; case 2: - Gain1 = rtb_out_fhd; + case 3: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)((uint32_t)(((rtDW.CCU_MODE_FR == 1) && + (rtDW.LO_HI_MODE_FR == 2)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL + == 1) && (rtDW.LO_HI_MODE_FL == 2)))) { + case 1: + rtb_out_bf = rtb_Saturation2; + break; + + case 2: + rtb_out_bf = rtb_out_mf; + break; + + case 3: + rtb_out_bf = rtb_out_ip; + break; + + default: + rtb_out_bf = rtb_Saturation2; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ break; - case 3: - Gain1 = rtb_out_fr3; + default: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)((uint32_t)(((rtDW.CCU_MODE_FR == 1) && + (rtDW.LO_HI_MODE_FR == 2)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL + == 1) && (rtDW.LO_HI_MODE_FL == 2)))) { + case 1: + rtb_out_bf = rtb_Saturation2; + break; + + case 2: + rtb_out_bf = rtb_out_et; + break; + + case 3: + rtb_out_bf = rtb_out_a3; + break; + + default: + rtb_out_bf = rtb_Saturation2; + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; - - case 2: - case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* End of MultiPortSwitch: '/Multiport Switch' */ + } else if (rtDW.UnitDelay_DSTATE_m3 != 0) { + /* Sum: '/Add' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Product: '/Product' + * Switch: '/Switch' + * Switch: '/Switch2' + * Switch: '/Switch' */ - switch ((int32_t)((uint32_t)(((rtDW.CCU_MODE_FR == 1) && (rtDW.LO_HI_MODE_FR - == 2)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 1) && - (rtDW.LO_HI_MODE_FL == 2)))) { - case 1: - break; + index_start = 0.01 * (double)rtb_y_cb * (double)rtb_out_bf + (double) + rtb_out_bf; - case 2: - Gain1 = rtb_out_fze; - break; - - case 3: - Gain1 = rtb_out_fm3; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; - - default: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Switch: '/Switch' + * Switch: '/Switch2' + * Switch: '/Switch' */ - switch ((int32_t)((uint32_t)(((rtDW.CCU_MODE_FR == 1) && (rtDW.LO_HI_MODE_FR - == 2)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 1) && - (rtDW.LO_HI_MODE_FL == 2)))) { - case 1: - break; - - case 2: - Gain1 = rtb_out_mxq; - break; - - case 3: - Gain1 = rtb_out_a2e; - break; + if (fabs(index_start) >= 0.5) { + rtb_out_bf = (uint16_t)floor(index_start + 0.5); + } else { + rtb_out_bf = 0U; } - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; + /* End of DataTypeConversion: '/Data Type Conversion1' */ } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of Switch: '/Switch1' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Data Store Read2' */ - if (rtDW.CCU_MODE_FR > 0) { - rtDW.Index_mode_FR_manual = rtDW.Index_mode_FR_auto; + rtb_PWM_out_a = (uint8_t)(rtb_out_bf + rtDW.GlassPosition_AF_plus_R); + + /* Saturate: '/0 - 160' */ + if (rtb_PWM_out_a > 160) { + rtb_PWM_out_a = 160U; } - /* MATLAB Function: '/param index for mode' incorporates: - * Switch: '/Switch' - */ - paramindexformode(rtDW.Index_mode_FR_manual, &rtb_duct_select_index_dbg_c); + /* End of Saturate: '/0 - 160' */ - /* MATLAB Function: '/FL AF * percent DRS' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' + /* MATLAB Function: '/param index for mode' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + paramindexformode_j(rtDW.Index_mode_FR, &rtb_area_R_o); + + /* MATLAB Function: '/FL AF * percent DRS' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' */ /* : index_start = (param_index - 1) * 3 + 1; */ - index_start = (rtb_duct_select_index_dbg_c - 1.0) * 3.0 + 1.0; + index_start = (rtb_area_R_o - 1.0) * 3.0 + 1.0; /* : if DRS_side == 0 */ if (rtDW.DRS_SFR == 0) { /* : side_percent = uint8(0); */ - rtb_DataTypeConversion1_gy = 0U; + rtb_DataTypeConversion3_c1 = 0U; } else { /* : else */ /* : side_percent = g_aucFRONT_SIDE_DRS_PERCENT_AF(index_start + 3 - DRS_side); */ - rtb_duct_select_index_dbg_c = rt_roundd((index_start + 3.0) - (double) - rtDW.DRS_SFR); - if (rtb_duct_select_index_dbg_c < 256.0) { - if (rtb_duct_select_index_dbg_c >= 0.0) { - center_percent = (uint8_t)rtb_duct_select_index_dbg_c; + rtb_Divide5 = rt_roundd((index_start + 3.0) - (double)rtDW.DRS_SFR); + if (rtb_Divide5 < 256.0) { + if (rtb_Divide5 >= 0.0) { + center_percent = (uint8_t)rtb_Divide5; } else { center_percent = 0U; } @@ -26098,7 +28342,7 @@ void HVAC_model_step(void) center_percent = UINT8_MAX; } - rtb_DataTypeConversion1_gy = g_aucFRONT_SIDE_DRS_PERCENT_AF[center_percent - + rtb_DataTypeConversion3_c1 = g_aucFRONT_SIDE_DRS_PERCENT_AF[center_percent - 1]; } @@ -26109,11 +28353,10 @@ void HVAC_model_step(void) } else { /* : else */ /* : center_percent = g_aucFRONT_CENT_DRS_PERCENT_AF(index_start + 3 - DRS_center); */ - rtb_duct_select_index_dbg_c = rt_roundd((index_start + 3.0) - (double) - rtDW.DRS_CFR); - if (rtb_duct_select_index_dbg_c < 256.0) { - if (rtb_duct_select_index_dbg_c >= 0.0) { - center_percent = (uint8_t)rtb_duct_select_index_dbg_c; + rtb_Divide5 = rt_roundd((index_start + 3.0) - (double)rtDW.DRS_CFR); + if (rtb_Divide5 < 256.0) { + if (rtb_Divide5 >= 0.0) { + center_percent = (uint8_t)rtb_Divide5; } else { center_percent = 0U; } @@ -26124,153 +28367,143 @@ void HVAC_model_step(void) center_percent = g_aucFRONT_CENT_DRS_PERCENT_AF[center_percent - 1]; } - /* Switch: '/Switch7' incorporates: - * Constant: '/Max Speed for VENT valve index' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read2' - * MATLAB Function: '/FL AF * percent DRS' - * Sum: '/Add' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read8' + * DataTypeConversion: '/Data Type Conversion' + * MATLAB Function: '/FL AF * percent DRS' */ /* : percent = double(side_percent + center_percent) / 2 / 100; */ /* : y = uint16(double(AF_in) * percent); */ - if (rtDW.CCU_AC_MAX > 0) { - rtb_out_mxq = g_ausFLOW_FR_VE2BLR_AF[7]; + if (rtDW.DifferentBlower_Front_isActive) { + rtb_Saturation2 = rtb_PWM_out_a; } else { - /* MATLAB Function: '/FL AF * percent DRS' */ - i = (int32_t)((uint32_t)rtb_DataTypeConversion1_gy + center_percent); + /* MATLAB Function: '/FL AF * percent DRS' */ + i = (int32_t)((uint32_t)rtb_DataTypeConversion3_c1 + center_percent); if ((uint32_t)i > 255U) { i = 255; } - i = (int32_t)rt_roundd((double)i / 2.0 / 100.0 * (double)Gain1); - if (i < 65536) { - rtb_out_mxq = (uint16_t)i; - } else { - rtb_out_mxq = UINT16_MAX; - } - - rtb_out_mxq = (uint8_t)(rtb_out_mxq + rtDW.GlassPosition_AF_plus_R); + rtb_Saturation2 = (uint16_t)rt_roundd((double)i / 2.0 / 100.0 * (double) + rtb_PWM_out_a); } - /* End of Switch: '/Switch7' */ - - /* Saturate: '/Saturation1' */ - if (rtb_out_mxq <= 160) { - Gain1 = rtb_out_mxq; - } else { - Gain1 = 160U; + /* Saturate: '/Saturation1' incorporates: + * Switch: '/Switch' + */ + if (rtb_Saturation2 > 160) { + rtb_Saturation2 = 160U; } /* End of Saturate: '/Saturation1' */ - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Switch: '/switch speed' incorporates: - * Constant: '/blower speed 2' - * Constant: '/blower speed 6' - * DataStoreRead: '/3 way valve' + /* Switch: '/switch speed' incorporates: + * Constant: '/blower speed 2' + * Constant: '/blower speed 6' + * DataStoreRead: '/3 way valve' * DataStoreWrite: '/Data Store Write27' - * Logic: '/Logical Operator' - * RelationalOperator: '/Equal' - * RelationalOperator: '/Equal1' + * Logic: '/Logical Operator' + * RelationalOperator: '/Equal' + * RelationalOperator: '/Equal1' */ if ((LowTempValve == 2) && (rtB.Cmd_2Way == 1)) { i = 6; @@ -26278,1114 +28511,1113 @@ void HVAC_model_step(void) i = 2; } - /* MATLAB Function: '/AF for speed' incorporates: - * Switch: '/switch speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Switch: '/switch speed' */ - AFforspeed(rtb_out_ake, (double)i, &rtb_out_fr3); + AFforspeed(rtb_out_fun, (double)i, &rtb_out_ew5); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 6.0, &rtb_out_fm3); + AFforspeed(rtb_out_fun, 6.0, &rtb_out_ip); - /* Outputs for Enabled SubSystem: '/Rear Left AF - manual directions' */ - /* RelationalOperator: '/Equal2' incorporates: - * Constant: '/Constant2' + /* 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' + * DataStoreRead: '/Data Store Read44' */ RearLeftAFmanualdirections((rtDW.CCU_MODE_RL == 0), rtDW.CCU_BLOWERS_RL, rtDW.CCU_FACE_RL, rtDW.CCU_FOOT_RL, &rtB.MultiportSwitch_m); - /* 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' */ /* : y = g_ascAUTO_STEP_AF_R(AF_STEP); */ if (rtDW.CCU_SET_RL > 290) { - rtb_out_fhd = 290U; + rtb_out_cryk = 290U; } else if (rtDW.CCU_SET_RL < 170) { - rtb_out_fhd = 170U; + rtb_out_cryk = 170U; } else { - rtb_out_fhd = rtDW.CCU_SET_RL; + rtb_out_cryk = rtDW.CCU_SET_RL; } /* 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: '/Gain2' + * Gain: '/Gain1' */ - i = ((int32_t)((52429U * rtb_out_fhd) >> 19) + -15) << 14; + i = ((int32_t)((52429U * rtb_out_cryk) >> 19) + -15) << 14; - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Gain: '/Gain2' - * Saturate: '/Saturation2' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Gain: '/Gain2' + * Saturate: '/Saturation2' */ - rtb_DataTypeConversion1_hy = (uint8_t)((((uint32_t)i & 16384U) != 0U) + (i >> + rtb_DataTypeConversion3_c1 = (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' + /* 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_Saturation4) { case 0: - rtb_MultiportSwitch_ks = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_fhd, - rtConstP.pooled81, &g_assVTG_RL_LV0[0], 12U); + rtb_u6FLU_tg_amb_ht = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_cryk, + rtConstP.pooled82, &g_assVTG_RL_LV0[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table6' - * Lookup_n-D: '/1-D Lookup Table' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table6' + * Lookup_n-D: '/1-D Lookup Table' * Saturate: '/Saturation7' */ - rtb_DataTypeConversion1_oq = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_out_fhd, rtConstP.pooled52, &g_assINCAR_TG_RL_LV0[0], 12U); + rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_cryk, + rtConstP.pooled50, &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_lb[0] = g_assVR_INC_Y1_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[0] = g_assVR_INC_Y1_LV0[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[1] = g_assVR_INC_Y2_LV0[rtb_DataTypeConversion3_c1 - 1]; break; case 1: - rtb_MultiportSwitch_ks = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_fhd, - rtConstP.pooled81, &g_assVTG_RL_LV1[0], 12U); + rtb_u6FLU_tg_amb_ht = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_cryk, + rtConstP.pooled82, &g_assVTG_RL_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table7' - * Lookup_n-D: '/1-D Lookup Table1' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table7' + * Lookup_n-D: '/1-D Lookup Table1' * Saturate: '/Saturation7' */ - rtb_DataTypeConversion1_oq = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_out_fhd, rtConstP.pooled52, &g_assINCAR_TG_RL_LV1[0], 12U); + rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_cryk, + rtConstP.pooled50, &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_lb[0] = g_assVR_INC_Y1_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[0] = g_assVR_INC_Y1_LV1[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[1] = g_assVR_INC_Y2_LV1[rtb_DataTypeConversion3_c1 - 1]; break; case 2: - rtb_MultiportSwitch_ks = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_fhd, - rtConstP.pooled81, &g_assVTG_RL_LV1[0], 12U); + rtb_u6FLU_tg_amb_ht = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_cryk, + rtConstP.pooled82, &g_assVTG_RL_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table8' - * Lookup_n-D: '/1-D Lookup Table2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table8' + * Lookup_n-D: '/1-D Lookup Table2' * Saturate: '/Saturation7' */ - rtb_DataTypeConversion1_oq = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_out_fhd, rtConstP.pooled52, &g_assINCAR_TG_RL_LV2[0], 12U); + rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_cryk, + rtConstP.pooled50, &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_lb[0] = g_assVR_INC_Y1_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[0] = g_assVR_INC_Y1_LV2[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[1] = g_assVR_INC_Y2_LV2[rtb_DataTypeConversion3_c1 - 1]; break; case 3: - rtb_MultiportSwitch_ks = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_fhd, - rtConstP.pooled81, &g_assVTG_RL_LV3[0], 12U); + rtb_u6FLU_tg_amb_ht = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_cryk, + rtConstP.pooled82, &g_assVTG_RL_LV3[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table9' - * Lookup_n-D: '/1-D Lookup Table3' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table9' + * Lookup_n-D: '/1-D Lookup Table3' * Saturate: '/Saturation7' */ - rtb_DataTypeConversion1_oq = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_out_fhd, rtConstP.pooled52, &g_assINCAR_TG_RL_LV3[0], 12U); + rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_cryk, + rtConstP.pooled50, &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_lb[0] = g_assVR_INC_Y1_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[0] = g_assVR_INC_Y1_LV3[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[1] = g_assVR_INC_Y2_LV3[rtb_DataTypeConversion3_c1 - 1]; break; case 4: - rtb_MultiportSwitch_ks = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_fhd, - rtConstP.pooled81, &g_assVTG_RL_LV4[0], 12U); + rtb_u6FLU_tg_amb_ht = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_cryk, + rtConstP.pooled82, &g_assVTG_RL_LV4[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table10' - * Lookup_n-D: '/1-D Lookup Table4' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table10' + * Lookup_n-D: '/1-D Lookup Table4' * Saturate: '/Saturation7' */ - rtb_DataTypeConversion1_oq = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_out_fhd, rtConstP.pooled52, &g_assINCAR_TG_RL_LV4[0], 12U); + rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_cryk, + rtConstP.pooled50, &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_lb[0] = g_assVR_INC_Y1_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[0] = g_assVR_INC_Y1_LV4[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[1] = g_assVR_INC_Y2_LV4[rtb_DataTypeConversion3_c1 - 1]; break; default: - rtb_MultiportSwitch_ks = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_fhd, - rtConstP.pooled81, &g_assVTG_RL_LV5[0], 12U); + rtb_u6FLU_tg_amb_ht = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_cryk, + rtConstP.pooled82, &g_assVTG_RL_LV5[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table11' - * Lookup_n-D: '/1-D Lookup Table5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table11' + * Lookup_n-D: '/1-D Lookup Table5' * Saturate: '/Saturation7' */ - rtb_DataTypeConversion1_oq = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtb_out_fhd, rtConstP.pooled52, &g_assINCAR_TG_RL_LV5[0], 12U); + rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_cryk, + rtConstP.pooled50, &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_lb[0] = g_assVR_INC_Y1_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[0] = g_assVR_INC_Y1_LV5[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[1] = g_assVR_INC_Y2_LV5[rtb_DataTypeConversion3_c1 - 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_lb[2] = 0; + rtb_VectorConcatenate_ls[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ + /* MultiPortSwitch: '/Multiport Switch3' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' */ - rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[3] = g_assVR_INC_Y3_LV0[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[4] = g_assVR_INC_Y4_LV0[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[0] = g_assVR_INC_X1_LV0[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[1] = g_assVR_INC_X2_LV0[rtb_DataTypeConversion3_c1 - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' */ - rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[3] = g_assVR_INC_Y3_LV1[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[4] = g_assVR_INC_Y4_LV1[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[0] = g_assVR_INC_X1_LV1[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[1] = g_assVR_INC_X2_LV1[rtb_DataTypeConversion3_c1 - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' */ - rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[3] = g_assVR_INC_Y3_LV2[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[4] = g_assVR_INC_Y4_LV2[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[0] = g_assVR_INC_X1_LV2[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[1] = g_assVR_INC_X2_LV2[rtb_DataTypeConversion3_c1 - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' */ - rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[3] = g_assVR_INC_Y3_LV3[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[4] = g_assVR_INC_Y4_LV3[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[0] = g_assVR_INC_X1_LV3[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[1] = g_assVR_INC_X2_LV3[rtb_DataTypeConversion3_c1 - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' */ - rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[3] = g_assVR_INC_Y3_LV4[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[4] = g_assVR_INC_Y4_LV4[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[0] = g_assVR_INC_X1_LV4[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[1] = g_assVR_INC_X2_LV4[rtb_DataTypeConversion3_c1 - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' */ - rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[3] = g_assVR_INC_Y3_LV5[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[4] = g_assVR_INC_Y4_LV5[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[0] = g_assVR_INC_X1_LV5[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[1] = g_assVR_INC_X2_LV5[rtb_DataTypeConversion3_c1 - 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_jn[2] = 0; + rtb_VectorConcatenate_by[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ + /* MultiPortSwitch: '/Multiport Switch3' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' */ - rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[3] = g_assVR_INC_X3_LV0[rtb_DataTypeConversion3_c1 - 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_assVR_INC_X4_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[4] = g_assVR_INC_X4_LV0[rtb_DataTypeConversion3_c1 - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' */ - rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[3] = g_assVR_INC_X3_LV1[rtb_DataTypeConversion3_c1 - 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_assVR_INC_X4_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[4] = g_assVR_INC_X4_LV1[rtb_DataTypeConversion3_c1 - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' */ - rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[3] = g_assVR_INC_X3_LV2[rtb_DataTypeConversion3_c1 - 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_assVR_INC_X4_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[4] = g_assVR_INC_X4_LV2[rtb_DataTypeConversion3_c1 - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' */ - rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[3] = g_assVR_INC_X3_LV3[rtb_DataTypeConversion3_c1 - 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_assVR_INC_X4_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[4] = g_assVR_INC_X4_LV3[rtb_DataTypeConversion3_c1 - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' */ - rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[3] = g_assVR_INC_X3_LV4[rtb_DataTypeConversion3_c1 - 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_assVR_INC_X4_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[4] = g_assVR_INC_X4_LV4[rtb_DataTypeConversion3_c1 - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' */ - rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[3] = g_assVR_INC_X3_LV5[rtb_DataTypeConversion3_c1 - 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_assVR_INC_X4_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[4] = g_assVR_INC_X4_LV5[rtb_DataTypeConversion3_c1 - 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 Read37' - * Sum: '/2.5. X = Incar_Tg - Incar_fb' + * Sum: '/2.5. X = Incar_Tg - Incar_fb' */ - rtb_MultiportSwitch_oa = look1_is16lu64n32Ds32_binlcn((int16_t) - (rtb_DataTypeConversion1_oq - rtDW.Incar_RL), rtb_VectorConcatenate_jn, - rtb_VectorConcatenate_lb, 4U); + rtb_Bias1_h = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_Bias1_h - + rtDW.Incar_RL), rtb_VectorConcatenate_by, rtb_VectorConcatenate_ls, 4U); - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' */ - rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV0[rtb_DataTypeConversion3_c1 - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' */ - rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV1[rtb_DataTypeConversion3_c1 - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' */ - rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV2[rtb_DataTypeConversion3_c1 - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' */ - rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV3[rtb_DataTypeConversion3_c1 - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' */ - rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV4[rtb_DataTypeConversion3_c1 - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' */ - rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV5[rtb_DataTypeConversion3_c1 - 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_dw[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ + /* MultiPortSwitch: '/Multiport Switch2' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' */ - rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV0[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV0[rtb_DataTypeConversion3_c1 - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' */ - rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV1[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV1[rtb_DataTypeConversion3_c1 - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' */ - rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV2[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV2[rtb_DataTypeConversion3_c1 - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' */ - rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV3[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV3[rtb_DataTypeConversion3_c1 - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' */ - rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV4[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV4[rtb_DataTypeConversion3_c1 - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' */ - rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV5[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV5[rtb_DataTypeConversion3_c1 - 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_pg[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ + /* MultiPortSwitch: '/Multiport Switch2' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' */ - rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV0[rtb_DataTypeConversion3_c1 - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' */ - rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV1[rtb_DataTypeConversion3_c1 - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' */ - rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV2[rtb_DataTypeConversion3_c1 - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' */ - rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV3[rtb_DataTypeConversion3_c1 - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' */ - rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV4[rtb_DataTypeConversion3_c1 - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' */ - rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV5[rtb_DataTypeConversion3_c1 - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* Lookup_n-D: '/2.6 FLU_tg_amb' */ - rtb_u5FRU_tg_incar = look1_is16lu64n32Ds32_binlcn(rtb_MultiportSwitch_az, + /* Lookup_n-D: '/2.6 FLU_tg_amb' */ + rtb_u6FLU_tg_amb_p = look1_is16lu64n32Ds32_binlcn(rtb_u6FLU_tg_amb_ha, rtb_VectorConcatenate_pg, rtb_VectorConcatenate_dw, 2U); - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_gn[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' */ - rtb_VectorConcatenate_gn[1] = g_assVR_SUN_Y1_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_gn[1] = g_assVR_SUN_Y1_LV0[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assVR_SUN_Y2_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_gn[2] = g_assVR_SUN_Y2_LV0[rtb_DataTypeConversion3_c1 - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' */ - rtb_VectorConcatenate_gn[1] = g_assVR_SUN_Y1_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_gn[1] = g_assVR_SUN_Y1_LV1[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assVR_SUN_Y2_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_gn[2] = g_assVR_SUN_Y2_LV1[rtb_DataTypeConversion3_c1 - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' */ - rtb_VectorConcatenate_gn[1] = g_assVR_SUN_Y1_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_gn[1] = g_assVR_SUN_Y1_LV2[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assVR_SUN_Y2_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_gn[2] = g_assVR_SUN_Y2_LV2[rtb_DataTypeConversion3_c1 - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' */ - rtb_VectorConcatenate_gn[1] = g_assVR_SUN_Y1_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_gn[1] = g_assVR_SUN_Y1_LV3[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assVR_SUN_Y2_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_gn[2] = g_assVR_SUN_Y2_LV3[rtb_DataTypeConversion3_c1 - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' */ - rtb_VectorConcatenate_gn[1] = g_assVR_SUN_Y1_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_gn[1] = g_assVR_SUN_Y1_LV4[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assVR_SUN_Y2_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_gn[2] = g_assVR_SUN_Y2_LV4[rtb_DataTypeConversion3_c1 - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' */ - rtb_VectorConcatenate_gn[1] = g_assVR_SUN_Y1_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_gn[1] = g_assVR_SUN_Y1_LV5[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_gn[2] = g_assVR_SUN_Y2_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_gn[2] = g_assVR_SUN_Y2_LV5[rtb_DataTypeConversion3_c1 - 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_np[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' */ - rtb_VectorConcatenate_np[1] = g_assVR_SUN_X1_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_np[1] = g_assVR_SUN_X1_LV0[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assVR_SUN_X2_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_np[2] = g_assVR_SUN_X2_LV0[rtb_DataTypeConversion3_c1 - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' */ - rtb_VectorConcatenate_np[1] = g_assVR_SUN_X1_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_np[1] = g_assVR_SUN_X1_LV1[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assVR_SUN_X2_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_np[2] = g_assVR_SUN_X2_LV1[rtb_DataTypeConversion3_c1 - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' */ - rtb_VectorConcatenate_np[1] = g_assVR_SUN_X1_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_np[1] = g_assVR_SUN_X1_LV2[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assVR_SUN_X2_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_np[2] = g_assVR_SUN_X2_LV2[rtb_DataTypeConversion3_c1 - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' */ - rtb_VectorConcatenate_np[1] = g_assVR_SUN_X1_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_np[1] = g_assVR_SUN_X1_LV3[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assVR_SUN_X2_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_np[2] = g_assVR_SUN_X2_LV3[rtb_DataTypeConversion3_c1 - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' */ - rtb_VectorConcatenate_np[1] = g_assVR_SUN_X1_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_np[1] = g_assVR_SUN_X1_LV4[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assVR_SUN_X2_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_np[2] = g_assVR_SUN_X2_LV4[rtb_DataTypeConversion3_c1 - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' */ - rtb_VectorConcatenate_np[1] = g_assVR_SUN_X1_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_np[1] = g_assVR_SUN_X1_LV5[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_np[2] = g_assVR_SUN_X2_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_np[2] = g_assVR_SUN_X2_LV5[rtb_DataTypeConversion3_c1 - 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 Read39' */ - rtb_u6FRU_tg_amb_f = look1_bs16ts16Dd_binlc(rtDW.Sun_L, - rtb_VectorConcatenate_np, rtb_VectorConcatenate_gn, 2U); + rtb_y_he = look1_bs16ts16Dd_binlc(rtDW.Sun_L, rtb_VectorConcatenate_np, + rtb_VectorConcatenate_gn, 2U); - /* Switch: '/Switch2' incorporates: - * Constant: '/manual2' + /* Switch: '/Switch2' incorporates: + * Constant: '/manual2' * DataStoreWrite: '/Data Store Write1' - * RelationalOperator: '/Equal3' - * UnitDelay: '/Unit Delay2' + * RelationalOperator: '/Equal3' + * UnitDelay: '/Unit Delay2' */ if (rtDW.UnitDelay2_DSTATE == 0) { - rtb_out_fhd = rtB.MultiportSwitch_m; + rtb_out_cryk = rtB.MultiportSwitch_m; } else { - /* Sum: '/2.8. Vtg_FX_plus' */ - rtb_u6FRU_tg_amb = (int16_t)((int16_t)((int16_t)(rtb_MultiportSwitch_ks + - rtb_MultiportSwitch_oa) + rtb_u5FRU_tg_incar) + rtb_u6FRU_tg_amb_f); + /* Sum: '/2.8. Vtg_FX_plus' */ + rtb_u8Vtg_FX_plus = (int16_t)((int16_t)((int16_t)(rtb_u6FLU_tg_amb_ht + + rtb_Bias1_h) + rtb_u6FLU_tg_amb_p) + rtb_y_he); - /* 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) { case 0: @@ -27425,22 +29657,22 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' */ - rtb_MultiportSwitch_if = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_hy - 1]; + /* Selector: '/Selector' */ + rtb_Bias4 = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_c1 - 1]; - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ - if (rtb_u6FRU_tg_amb <= rtb_MultiportSwitch_if) { - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + if (rtb_u8Vtg_FX_plus <= rtb_Bias4) { + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ switch (rtb_Saturation4) { case 0: @@ -27480,1248 +29712,1246 @@ 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_MultiportSwitch_if = rtb_uDLookupTable7_g[rtb_DataTypeConversion1_hy - - 1]; + rtb_Bias4 = rtb_uDLookupTable7_g[rtb_DataTypeConversion3_c1 - 1]; - /* Switch: '/Switch' incorporates: - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector' */ - if (rtb_u6FRU_tg_amb >= rtb_MultiportSwitch_if) { - rtb_MultiportSwitch_if = rtb_u6FRU_tg_amb; + if (rtb_u8Vtg_FX_plus >= rtb_Bias4) { + rtb_Bias4 = rtb_u8Vtg_FX_plus; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Sum: '/Add' 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' 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' */ index_start = (double)g_ascAUTO_STEP_AF_R[(int8_t)rtDW.CCU_AUTOMODE_RL - 1] * - 0.01 * (double)(uint16_t)rtb_MultiportSwitch_if + (double)(uint16_t) - rtb_MultiportSwitch_if; + 0.01 * (double)(uint16_t)rtb_Bias4 + (double)(uint16_t)rtb_Bias4; - /* DataTypeConversion: '/Data Type Conversion2' incorporates: + /* DataTypeConversion: '/Data Type Conversion2' incorporates: * DataStoreWrite: '/Data Store Write1' */ if (fabs(index_start) >= 0.5) { - rtb_out_fhd = (uint16_t)floor(index_start + 0.5); + rtb_out_cryk = (uint16_t)floor(index_start + 0.5); } else { - rtb_out_fhd = 0U; + rtb_out_cryk = 0U; } - /* End of DataTypeConversion: '/Data Type Conversion2' */ + /* End of DataTypeConversion: '/Data Type Conversion2' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/AF from Start Control' - * DataStoreRead: '/Data Store Read' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/AF from Start Control' + * DataStoreRead: '/Data Store Read' * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + * 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)) { - rtb_out_fze = rtDW.Blower_RL; + rtb_out_mf = rtDW.Blower_RL; } else { - rtb_out_fze = rtb_out_fhd; + rtb_out_mf = rtb_out_cryk; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 6.0, &rtb_out_mxq); + AFforspeed(rtb_out_fun, 6.0, &rtb_out_bf); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 5.0, &rtb_out_a2e); + AFforspeed(rtb_out_fun, 5.0, &rtb_out_et); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 7.0, &rtb_out_a2e); + AFforspeed(rtb_out_fun, 7.0, &rtb_out_et); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 7.0, &rtb_out_dam); + AFforspeed(rtb_out_fun, 7.0, &rtb_out_a3); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 6.0, &rtb_out_hf5); + AFforspeed(rtb_out_fun, 6.0, &rtb_out_hf5); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 7.0, &rtb_out_hf5); + AFforspeed(rtb_out_fun, 7.0, &rtb_out_hf5); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 7.0, &rtb_out_o1n); + AFforspeed(rtb_out_fun, 7.0, &rtb_out_o1n); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 6.0, &rtb_out_mug); + AFforspeed(rtb_out_fun, 6.0, &rtb_out_mug); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read2' */ switch (rtDW.LEVEL) { case 0: case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && (rtDW.LO_HI_MODE_RL == 1)))) { case 1: - rtb_out_fze = rtb_out_fm3; + rtb_out_mf = rtb_out_ip; break; case 2: break; case 3: - rtb_out_fze = rtb_out_mxq; + rtb_out_mf = rtb_out_bf; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; case 2: case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && (rtDW.LO_HI_MODE_RL == 1)))) { case 1: - rtb_out_fze = rtb_out_a2e; + rtb_out_mf = rtb_out_et; break; case 2: break; case 3: - rtb_out_fze = rtb_out_dam; + rtb_out_mf = rtb_out_a3; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; default: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && (rtDW.LO_HI_MODE_RL == 1)))) { case 1: - rtb_out_fze = rtb_out_hf5; + rtb_out_mf = rtb_out_hf5; break; case 2: break; case 3: - rtb_out_fze = rtb_out_o1n; + rtb_out_mf = rtb_out_o1n; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 6.0, &rtb_out_fm3); + AFforspeed(rtb_out_fun, 6.0, &rtb_out_ip); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Switch: '/switch speed' incorporates: - * Constant: '/blower speed 2' - * Constant: '/blower speed 6' - * DataStoreRead: '/3 way valve' + /* Switch: '/switch speed' incorporates: + * Constant: '/blower speed 2' + * Constant: '/blower speed 6' + * DataStoreRead: '/3 way valve' * DataStoreWrite: '/Data Store Write27' - * Logic: '/Logical Operator' - * RelationalOperator: '/Equal' - * RelationalOperator: '/Equal1' + * Logic: '/Logical Operator' + * RelationalOperator: '/Equal' + * RelationalOperator: '/Equal1' */ if ((LowTempValve == 2) && (rtB.Cmd_2Way == 1)) { i = 6; @@ -28729,221 +30959,221 @@ void HVAC_model_step(void) i = 2; } - /* MATLAB Function: '/AF for speed' incorporates: - * Switch: '/switch speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Switch: '/switch speed' */ - AFforspeed(rtb_out_ake, (double)i, &rtb_out_mxq); + AFforspeed(rtb_out_fun, (double)i, &rtb_out_bf); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 6.0, &rtb_out_a2e); + AFforspeed(rtb_out_fun, 6.0, &rtb_out_et); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Switch: '/switch speed' incorporates: - * Constant: '/blower speed 2' - * Constant: '/blower speed 6' + /* Switch: '/switch speed' incorporates: + * Constant: '/blower speed 2' + * Constant: '/blower speed 6' * DataStoreWrite: '/Data Store Write27' - * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' */ if (rtB.Cmd_2Way == 1) { i = 6; @@ -28951,268 +31181,267 @@ void HVAC_model_step(void) i = 2; } - /* MATLAB Function: '/AF for speed' incorporates: - * Switch: '/switch speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Switch: '/switch speed' */ - AFforspeed(rtb_out_ake, (double)i, &rtb_out_dam); + AFforspeed(rtb_out_fun, (double)i, &rtb_out_a3); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 6.0, &rtb_out_hf5); + AFforspeed(rtb_out_fun, 6.0, &rtb_out_hf5); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read2' */ switch (rtDW.LEVEL) { case 0: case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && (rtDW.LO_HI_MODE_RL == 2)))) { case 1: - rtb_out_fze = rtb_out_fr3; + rtb_out_mf = rtb_out_ew5; break; case 2: break; case 3: - rtb_out_fze = rtb_out_fm3; + rtb_out_mf = rtb_out_ip; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; case 2: case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && (rtDW.LO_HI_MODE_RL == 2)))) { case 1: - rtb_out_fze = rtb_out_mxq; + rtb_out_mf = rtb_out_bf; break; case 2: break; case 3: - rtb_out_fze = rtb_out_a2e; + rtb_out_mf = rtb_out_et; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; default: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && (rtDW.LO_HI_MODE_RL == 2)))) { case 1: - rtb_out_fze = rtb_out_dam; + rtb_out_mf = rtb_out_a3; break; case 2: break; case 3: - rtb_out_fze = rtb_out_hf5; + rtb_out_mf = rtb_out_hf5; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read4' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read4' */ if (rtDW.CCU_MODE_RL <= 0) { rtDW.Index_mode_RL_auto = rtDW.Index_mode_RL_manual; } - /* MATLAB Function: '/param index for mode' incorporates: - * Switch: '/Switch' + /* MATLAB Function: '/param index for mode' incorporates: + * Switch: '/Switch' */ - paramindexformode_h(rtDW.Index_mode_RL_auto, &rtb_duct_select_index_dbg_c); + paramindexformode(rtDW.Index_mode_RL_auto, &rtb_area_R_o); - /* MATLAB Function: '/RL AF * percent DRS' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' + /* MATLAB Function: '/RL AF * percent DRS' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' */ /* : index_start = (param_index - 1) * 3 + 1; */ - index_start = (rtb_duct_select_index_dbg_c - 1.0) * 3.0 + 1.0; + index_start = (rtb_area_R_o - 1.0) * 3.0 + 1.0; /* : if DRS_RLS == 0 */ if (rtDW.DRS_SRL == 0) { /* : side_percent = uint8(0); */ - rtb_DataTypeConversion1_gy = 0U; + rtb_DataTypeConversion3_c1 = 0U; } else { /* : else */ /* : side_percent = g_aucREAR_SIDE_DRS_PERCENT_AF(index_start + 3 - DRS_RLS); */ - rtb_duct_select_index_dbg_c = rt_roundd((index_start + 3.0) - (double) - rtDW.DRS_SRL); - if (rtb_duct_select_index_dbg_c < 256.0) { - if (rtb_duct_select_index_dbg_c >= 0.0) { - center_percent = (uint8_t)rtb_duct_select_index_dbg_c; + rtb_Divide5 = rt_roundd((index_start + 3.0) - (double)rtDW.DRS_SRL); + if (rtb_Divide5 < 256.0) { + if (rtb_Divide5 >= 0.0) { + center_percent = (uint8_t)rtb_Divide5; } else { center_percent = 0U; } @@ -29220,7 +31449,7 @@ void HVAC_model_step(void) center_percent = UINT8_MAX; } - rtb_DataTypeConversion1_gy = g_aucREAR_SIDE_DRS_PERCENT_AF[center_percent - + rtb_DataTypeConversion3_c1 = g_aucREAR_SIDE_DRS_PERCENT_AF[center_percent - 1]; } @@ -29231,11 +31460,10 @@ void HVAC_model_step(void) } else { /* : else */ /* : center_percent = g_aucREAR_CENT_DRS_PERCENT_AF(index_start + 3 - DRS_RLC); */ - rtb_duct_select_index_dbg_c = rt_roundd((index_start + 3.0) - (double) - rtDW.DRS_CRL); - if (rtb_duct_select_index_dbg_c < 256.0) { - if (rtb_duct_select_index_dbg_c >= 0.0) { - center_percent = (uint8_t)rtb_duct_select_index_dbg_c; + rtb_Divide5 = rt_roundd((index_start + 3.0) - (double)rtDW.DRS_CRL); + if (rtb_Divide5 < 256.0) { + if (rtb_Divide5 >= 0.0) { + center_percent = (uint8_t)rtb_Divide5; } else { center_percent = 0U; } @@ -29248,2197 +31476,2200 @@ void HVAC_model_step(void) /* : percent = double(side_percent + center_percent) / 2 / 100; */ /* : y = uint16(double(AF_in) * percent); */ - i = (int32_t)((uint32_t)rtb_DataTypeConversion1_gy + center_percent); + i = (int32_t)((uint32_t)rtb_DataTypeConversion3_c1 + center_percent); if ((uint32_t)i > 255U) { i = 255; } - i = (int32_t)rt_roundd((double)i / 2.0 / 100.0 * (double)rtb_out_fze); + i = (int32_t)rt_roundd((double)i / 2.0 / 100.0 * (double)rtb_out_mf); if (i < 65536) { - rtb_out_fr3 = (uint16_t)i; + rtb_out_ew5 = (uint16_t)i; } else { - rtb_out_fr3 = UINT16_MAX; + rtb_out_ew5 = UINT16_MAX; } /* Saturate: '/Saturation2' incorporates: - * MATLAB Function: '/RL AF * percent DRS' + * MATLAB Function: '/RL AF * percent DRS' */ - if (rtb_out_fr3 > 160) { - rtb_out_fr3 = 160U; + if (rtb_out_ew5 > 160) { + rtb_out_ew5 = 160U; } /* End of Saturate: '/Saturation2' */ - /* Outputs for Enabled SubSystem: '/Rear Right AF - manual directions' */ - /* RelationalOperator: '/Equal1' incorporates: - * Constant: '/Constant3' + /* 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' + * DataStoreRead: '/Data Store Read45' */ RearLeftAFmanualdirections((rtDW.CCU_MODE_RR == 0), rtDW.CCU_BLOWERS_RR, rtDW.CCU_FACE_RR, rtDW.CCU_FOOT_RR, &rtB.MultiportSwitch_c); - /* End of Outputs for SubSystem: '/Rear Right AF - manual directions' */ + /* End of Outputs for SubSystem: '/Rear Right AF - manual directions' */ /* Saturate: '/Saturation8' incorporates: * DataStoreRead: '/Data Store Read33' */ /* : y = g_ascAUTO_STEP_AF_F(AF_STEP); */ if (rtDW.CCU_SET_RR > 290) { - rtb_out_fze = 290U; + rtb_out_mf = 290U; } else if (rtDW.CCU_SET_RR < 170) { - rtb_out_fze = 170U; + rtb_out_mf = 170U; } else { - rtb_out_fze = rtDW.CCU_SET_RR; + rtb_out_mf = rtDW.CCU_SET_RR; } /* End of Saturate: '/Saturation8' */ - /* Gain: '/Gain4' incorporates: - * Bias: '/Bias1' - * DataTypeConversion: '/Data Type Conversion4' - * Gain: '/Gain2' - * Gain: '/Gain2' + /* Gain: '/Gain2' incorporates: + * Sum: '/Minus' */ - i = ((int32_t)((52429U * rtb_out_fze) >> 19) + -15) << 14; + rtb_Minus_j = 52429U * rtb_out_mf; - /* DataTypeConversion: '/Data Type Conversion3' incorporates: - * Gain: '/Gain2' - * Saturate: '/Saturation1' + /* Gain: '/Gain4' incorporates: + * Bias: '/Bias1' + * DataTypeConversion: '/Data Type Conversion4' + * Gain: '/Gain2' + * Sum: '/Minus' */ - rtb_DataTypeConversion1_hy = (uint8_t)((((uint32_t)i & 16384U) != 0U) + (i >> + i = ((int32_t)(rtb_Minus_j >> 19) + -15) << 14; + + /* DataTypeConversion: '/Data Type Conversion3' incorporates: + * Gain: '/Gain2' + * Saturate: '/Saturation1' + */ + rtb_DataTypeConversion3_c1 = (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' + /* 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_Saturation4) { case 0: - rtb_u6FRU_tg_amb = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_fze, - rtConstP.pooled81, &g_assVTG_RR_LV0[0], 12U); + rtb_u8Vtg_FX_plus = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_mf, + rtConstP.pooled82, &g_assVTG_RR_LV0[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table3' - * Lookup_n-D: '/1-D Lookup Table' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table3' + * Lookup_n-D: '/1-D Lookup Table' * Saturate: '/Saturation8' */ - rtb_MultiportSwitch_if = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_fze, - rtConstP.pooled52, &g_assINCAR_TG_RR_LV0[0], 12U); + rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_mf, + rtConstP.pooled50, &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_lb[0] = g_assVR_INC_Y1_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[0] = g_assVR_INC_Y1_LV0[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[1] = g_assVR_INC_Y2_LV0[rtb_DataTypeConversion3_c1 - 1]; break; case 1: - rtb_u6FRU_tg_amb = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_fze, - rtConstP.pooled81, &g_assVTG_RR_LV1[0], 12U); + rtb_u8Vtg_FX_plus = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_mf, + rtConstP.pooled82, &g_assVTG_RR_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table4' - * Lookup_n-D: '/1-D Lookup Table1' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table4' + * Lookup_n-D: '/1-D Lookup Table1' * Saturate: '/Saturation8' */ - rtb_MultiportSwitch_if = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_fze, - rtConstP.pooled52, &g_assINCAR_TG_RR_LV1[0], 12U); + rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_mf, + rtConstP.pooled50, &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_lb[0] = g_assVR_INC_Y1_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[0] = g_assVR_INC_Y1_LV1[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[1] = g_assVR_INC_Y2_LV1[rtb_DataTypeConversion3_c1 - 1]; break; case 2: - rtb_u6FRU_tg_amb = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_fze, - rtConstP.pooled81, &g_assVTG_RR_LV1[0], 12U); + rtb_u8Vtg_FX_plus = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_mf, + rtConstP.pooled82, &g_assVTG_RR_LV1[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table5' - * Lookup_n-D: '/1-D Lookup Table2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table5' + * Lookup_n-D: '/1-D Lookup Table2' * Saturate: '/Saturation8' */ - rtb_MultiportSwitch_if = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_fze, - rtConstP.pooled52, &g_assINCAR_TG_RR_LV2[0], 12U); + rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_mf, + rtConstP.pooled50, &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_lb[0] = g_assVR_INC_Y1_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[0] = g_assVR_INC_Y1_LV2[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[1] = g_assVR_INC_Y2_LV2[rtb_DataTypeConversion3_c1 - 1]; break; case 3: - rtb_u6FRU_tg_amb = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_fze, - rtConstP.pooled81, &g_assVTG_RR_LV3[0], 12U); + rtb_u8Vtg_FX_plus = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_mf, + rtConstP.pooled82, &g_assVTG_RR_LV3[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table12' - * Lookup_n-D: '/1-D Lookup Table3' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table12' + * Lookup_n-D: '/1-D Lookup Table3' * Saturate: '/Saturation8' */ - rtb_MultiportSwitch_if = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_fze, - rtConstP.pooled52, &g_assINCAR_TG_RR_LV3[0], 12U); + rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_mf, + rtConstP.pooled50, &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_lb[0] = g_assVR_INC_Y1_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[0] = g_assVR_INC_Y1_LV3[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[1] = g_assVR_INC_Y2_LV3[rtb_DataTypeConversion3_c1 - 1]; break; case 4: - rtb_u6FRU_tg_amb = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_fze, - rtConstP.pooled81, &g_assVTG_RR_LV4[0], 12U); + rtb_u8Vtg_FX_plus = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_mf, + rtConstP.pooled82, &g_assVTG_RR_LV4[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table1' - * Lookup_n-D: '/1-D Lookup Table4' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table1' + * Lookup_n-D: '/1-D Lookup Table4' * Saturate: '/Saturation8' */ - rtb_MultiportSwitch_if = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_fze, - rtConstP.pooled52, &g_assINCAR_TG_RR_LV4[0], 12U); + rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_mf, + rtConstP.pooled50, &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_lb[0] = g_assVR_INC_Y1_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[0] = g_assVR_INC_Y1_LV4[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[1] = g_assVR_INC_Y2_LV4[rtb_DataTypeConversion3_c1 - 1]; break; default: - rtb_u6FRU_tg_amb = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_fze, - rtConstP.pooled81, &g_assVTG_RR_LV5[0], 12U); + rtb_u8Vtg_FX_plus = look1_iu16lu64n48ts16Ds32_binlcs(rtb_out_mf, + rtConstP.pooled82, &g_assVTG_RR_LV5[0], 12U); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Lookup_n-D: '/1-D Lookup Table2' - * Lookup_n-D: '/1-D Lookup Table5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Lookup_n-D: '/1-D Lookup Table2' + * Lookup_n-D: '/1-D Lookup Table5' * Saturate: '/Saturation8' */ - rtb_MultiportSwitch_if = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_fze, - rtConstP.pooled52, &g_assINCAR_TG_RR_LV5[0], 12U); + rtb_Bias4 = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_mf, + rtConstP.pooled50, &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_lb[0] = g_assVR_INC_Y1_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[0] = g_assVR_INC_Y1_LV5[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_lb[1] = g_assVR_INC_Y2_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[1] = g_assVR_INC_Y2_LV5[rtb_DataTypeConversion3_c1 - 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_lb[2] = 0; + rtb_VectorConcatenate_ls[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ + /* MultiPortSwitch: '/Multiport Switch3' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' */ - rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[3] = g_assVR_INC_Y3_LV0[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant20' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant20' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[4] = g_assVR_INC_Y4_LV0[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[0] = g_assVR_INC_X1_LV0[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[1] = g_assVR_INC_X2_LV0[rtb_DataTypeConversion3_c1 - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' */ - rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[3] = g_assVR_INC_Y3_LV1[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant21' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant21' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[4] = g_assVR_INC_Y4_LV1[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[0] = g_assVR_INC_X1_LV1[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[1] = g_assVR_INC_X2_LV1[rtb_DataTypeConversion3_c1 - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' */ - rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[3] = g_assVR_INC_Y3_LV2[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant22' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant22' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[4] = g_assVR_INC_Y4_LV2[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[0] = g_assVR_INC_X1_LV2[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[1] = g_assVR_INC_X2_LV2[rtb_DataTypeConversion3_c1 - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' */ - rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[3] = g_assVR_INC_Y3_LV3[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant23' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant23' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[4] = g_assVR_INC_Y4_LV3[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[0] = g_assVR_INC_X1_LV3[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[1] = g_assVR_INC_X2_LV3[rtb_DataTypeConversion3_c1 - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' */ - rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[3] = g_assVR_INC_Y3_LV4[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant18' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant18' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[4] = g_assVR_INC_Y4_LV4[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[0] = g_assVR_INC_X1_LV4[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[1] = g_assVR_INC_X2_LV4[rtb_DataTypeConversion3_c1 - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' */ - rtb_VectorConcatenate_lb[3] = g_assVR_INC_Y3_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[3] = g_assVR_INC_Y3_LV5[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector3' incorporates: - * Constant: '/Constant19' - * MultiPortSwitch: '/Multiport Switch4' - * Selector: '/Selector2' + /* Selector: '/Selector3' incorporates: + * Constant: '/Constant19' + * MultiPortSwitch: '/Multiport Switch4' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_lb[4] = g_assVR_INC_Y4_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_ls[4] = g_assVR_INC_Y4_LV5[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[0] = g_assVR_INC_X1_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[0] = g_assVR_INC_X1_LV5[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector2' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector2' */ - rtb_VectorConcatenate_jn[1] = g_assVR_INC_X2_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[1] = g_assVR_INC_X2_LV5[rtb_DataTypeConversion3_c1 - 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_jn[2] = 0; + rtb_VectorConcatenate_by[2] = 0; - /* MultiPortSwitch: '/Multiport Switch3' */ + /* MultiPortSwitch: '/Multiport Switch3' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant14' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant14' */ - rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[3] = g_assVR_INC_X3_LV0[rtb_DataTypeConversion3_c1 - 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_assVR_INC_X4_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[4] = g_assVR_INC_X4_LV0[rtb_DataTypeConversion3_c1 - 1]; break; case 1: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant15' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant15' */ - rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[3] = g_assVR_INC_X3_LV1[rtb_DataTypeConversion3_c1 - 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_assVR_INC_X4_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[4] = g_assVR_INC_X4_LV1[rtb_DataTypeConversion3_c1 - 1]; break; case 2: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant16' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant16' */ - rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[3] = g_assVR_INC_X3_LV2[rtb_DataTypeConversion3_c1 - 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_assVR_INC_X4_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[4] = g_assVR_INC_X4_LV2[rtb_DataTypeConversion3_c1 - 1]; break; case 3: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant17' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant17' */ - rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[3] = g_assVR_INC_X3_LV3[rtb_DataTypeConversion3_c1 - 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_assVR_INC_X4_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[4] = g_assVR_INC_X4_LV3[rtb_DataTypeConversion3_c1 - 1]; break; case 4: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant12' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant12' */ - rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[3] = g_assVR_INC_X3_LV4[rtb_DataTypeConversion3_c1 - 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_assVR_INC_X4_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[4] = g_assVR_INC_X4_LV4[rtb_DataTypeConversion3_c1 - 1]; break; default: - /* Selector: '/Selector2' incorporates: - * Constant: '/Constant13' + /* Selector: '/Selector2' incorporates: + * Constant: '/Constant13' */ - rtb_VectorConcatenate_jn[3] = g_assVR_INC_X3_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[3] = g_assVR_INC_X3_LV5[rtb_DataTypeConversion3_c1 - 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_assVR_INC_X4_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_by[4] = g_assVR_INC_X4_LV5[rtb_DataTypeConversion3_c1 - 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 Read38' - * Sum: '/2.5. X = Inc_Tg - Incar_fb' + * Sum: '/2.5. X = Inc_Tg - Incar_fb' */ - rtb_MultiportSwitch_if = look1_is16lu64n32Ds32_binlcn((int16_t) - (rtb_MultiportSwitch_if - rtDW.Incar_RR), rtb_VectorConcatenate_jn, - rtb_VectorConcatenate_lb, 4U); + rtb_Bias4 = look1_is16lu64n32Ds32_binlcn((int16_t)(rtb_Bias4 - rtDW.Incar_RR), + rtb_VectorConcatenate_by, rtb_VectorConcatenate_ls, 4U); - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' */ - rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV0[rtb_DataTypeConversion3_c1 - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' */ - rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV1[rtb_DataTypeConversion3_c1 - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' */ - rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV2[rtb_DataTypeConversion3_c1 - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' */ - rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV3[rtb_DataTypeConversion3_c1 - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' */ - rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV4[rtb_DataTypeConversion3_c1 - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' */ - rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[0] = g_assVR_AMB_Y1_LV5[rtb_DataTypeConversion3_c1 - 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_dw[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ + /* MultiPortSwitch: '/Multiport Switch2' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' */ - rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV0[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV0[rtb_DataTypeConversion3_c1 - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' */ - rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV1[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV1[rtb_DataTypeConversion3_c1 - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' */ - rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV2[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV2[rtb_DataTypeConversion3_c1 - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' */ - rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV3[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV3[rtb_DataTypeConversion3_c1 - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' */ - rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV4[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV4[rtb_DataTypeConversion3_c1 - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' */ - rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[2] = g_assVR_AMB_Y2_LV5[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' - * MultiPortSwitch: '/Multiport Switch1' - * Selector: '/Selector1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' + * MultiPortSwitch: '/Multiport Switch1' + * Selector: '/Selector1' */ - rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[0] = g_assVR_AMB_X1_LV5[rtb_DataTypeConversion3_c1 - 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_pg[1] = 0; - /* MultiPortSwitch: '/Multiport Switch2' */ + /* MultiPortSwitch: '/Multiport Switch2' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' */ - rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV0[rtb_DataTypeConversion3_c1 - 1]; break; case 1: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' */ - rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV1[rtb_DataTypeConversion3_c1 - 1]; break; case 2: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' */ - rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV2[rtb_DataTypeConversion3_c1 - 1]; break; case 3: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' */ - rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV3[rtb_DataTypeConversion3_c1 - 1]; break; case 4: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' */ - rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV4[rtb_DataTypeConversion3_c1 - 1]; break; default: - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' */ - rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[2] = g_assVR_AMB_X2_LV5[rtb_DataTypeConversion3_c1 - 1]; break; } - /* End of MultiPortSwitch: '/Multiport Switch2' */ + /* End of MultiPortSwitch: '/Multiport Switch2' */ - /* Lookup_n-D: '/2.6 FLU_tg_amb' */ - rtb_MultiportSwitch_az = look1_is16lu64n32Ds32_binlcn(rtb_MultiportSwitch_az, + /* Lookup_n-D: '/2.6 FLU_tg_amb' */ + rtb_u6FLU_tg_amb_ha = look1_is16lu64n32Ds32_binlcn(rtb_u6FLU_tg_amb_ha, rtb_VectorConcatenate_pg, rtb_VectorConcatenate_dw, 2U); - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant24' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant24' */ rtb_VectorConcatenate_pg[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' */ - rtb_VectorConcatenate_pg[1] = g_assVR_SUN_Y1_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[1] = g_assVR_SUN_Y1_LV0[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[2] = g_assVR_SUN_Y2_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[2] = g_assVR_SUN_Y2_LV0[rtb_DataTypeConversion3_c1 - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' */ - rtb_VectorConcatenate_pg[1] = g_assVR_SUN_Y1_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[1] = g_assVR_SUN_Y1_LV1[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[2] = g_assVR_SUN_Y2_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[2] = g_assVR_SUN_Y2_LV1[rtb_DataTypeConversion3_c1 - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' */ - rtb_VectorConcatenate_pg[1] = g_assVR_SUN_Y1_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[1] = g_assVR_SUN_Y1_LV2[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[2] = g_assVR_SUN_Y2_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[2] = g_assVR_SUN_Y2_LV2[rtb_DataTypeConversion3_c1 - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' */ - rtb_VectorConcatenate_pg[1] = g_assVR_SUN_Y1_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[1] = g_assVR_SUN_Y1_LV3[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[2] = g_assVR_SUN_Y2_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[2] = g_assVR_SUN_Y2_LV3[rtb_DataTypeConversion3_c1 - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' */ - rtb_VectorConcatenate_pg[1] = g_assVR_SUN_Y1_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[1] = g_assVR_SUN_Y1_LV4[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[2] = g_assVR_SUN_Y2_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[2] = g_assVR_SUN_Y2_LV4[rtb_DataTypeConversion3_c1 - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' */ - rtb_VectorConcatenate_pg[1] = g_assVR_SUN_Y1_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[1] = g_assVR_SUN_Y1_LV5[rtb_DataTypeConversion3_c1 - 1]; - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_pg[2] = g_assVR_SUN_Y2_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_pg[2] = g_assVR_SUN_Y2_LV5[rtb_DataTypeConversion3_c1 - 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_dw[0] = 0; - /* MultiPortSwitch: '/Multiport Switch1' */ + /* MultiPortSwitch: '/Multiport Switch1' */ switch (rtb_Saturation4) { case 0: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant' */ - rtb_VectorConcatenate_dw[1] = g_assVR_SUN_X1_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[1] = g_assVR_SUN_X1_LV0[rtb_DataTypeConversion3_c1 - 1]; - /* MultiPortSwitch: '/Multiport Switch2' incorporates: - * Constant: '/Constant6' + /* MultiPortSwitch: '/Multiport Switch2' incorporates: + * Constant: '/Constant6' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assVR_SUN_X2_LV0[i]; } - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant6' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant6' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[2] = g_assVR_SUN_X2_LV0[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[2] = g_assVR_SUN_X2_LV0[rtb_DataTypeConversion3_c1 - 1]; break; case 1: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant1' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant1' */ - rtb_VectorConcatenate_dw[1] = g_assVR_SUN_X1_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[1] = g_assVR_SUN_X1_LV1[rtb_DataTypeConversion3_c1 - 1]; - /* MultiPortSwitch: '/Multiport Switch2' incorporates: - * Constant: '/Constant7' + /* MultiPortSwitch: '/Multiport Switch2' incorporates: + * Constant: '/Constant7' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assVR_SUN_X2_LV1[i]; } - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant7' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant7' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[2] = g_assVR_SUN_X2_LV1[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[2] = g_assVR_SUN_X2_LV1[rtb_DataTypeConversion3_c1 - 1]; break; case 2: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant2' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant2' */ - rtb_VectorConcatenate_dw[1] = g_assVR_SUN_X1_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[1] = g_assVR_SUN_X1_LV2[rtb_DataTypeConversion3_c1 - 1]; - /* MultiPortSwitch: '/Multiport Switch2' incorporates: - * Constant: '/Constant8' + /* MultiPortSwitch: '/Multiport Switch2' incorporates: + * Constant: '/Constant8' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assVR_SUN_X2_LV2[i]; } - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant8' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant8' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[2] = g_assVR_SUN_X2_LV2[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[2] = g_assVR_SUN_X2_LV2[rtb_DataTypeConversion3_c1 - 1]; break; case 3: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant3' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant3' */ - rtb_VectorConcatenate_dw[1] = g_assVR_SUN_X1_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[1] = g_assVR_SUN_X1_LV3[rtb_DataTypeConversion3_c1 - 1]; - /* MultiPortSwitch: '/Multiport Switch2' incorporates: - * Constant: '/Constant9' + /* MultiPortSwitch: '/Multiport Switch2' incorporates: + * Constant: '/Constant9' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assVR_SUN_X2_LV3[i]; } - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant9' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant9' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[2] = g_assVR_SUN_X2_LV3[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[2] = g_assVR_SUN_X2_LV3[rtb_DataTypeConversion3_c1 - 1]; break; case 4: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant4' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant4' */ - rtb_VectorConcatenate_dw[1] = g_assVR_SUN_X1_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[1] = g_assVR_SUN_X1_LV4[rtb_DataTypeConversion3_c1 - 1]; - /* MultiPortSwitch: '/Multiport Switch2' incorporates: - * Constant: '/Constant10' + /* MultiPortSwitch: '/Multiport Switch2' incorporates: + * Constant: '/Constant10' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assVR_SUN_X2_LV4[i]; } - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant10' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant10' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[2] = g_assVR_SUN_X2_LV4[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[2] = g_assVR_SUN_X2_LV4[rtb_DataTypeConversion3_c1 - 1]; break; default: - /* Selector: '/Selector' incorporates: - * Constant: '/Constant5' + /* Selector: '/Selector' incorporates: + * Constant: '/Constant5' */ - rtb_VectorConcatenate_dw[1] = g_assVR_SUN_X1_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[1] = g_assVR_SUN_X1_LV5[rtb_DataTypeConversion3_c1 - 1]; - /* MultiPortSwitch: '/Multiport Switch2' incorporates: - * Constant: '/Constant11' + /* MultiPortSwitch: '/Multiport Switch2' incorporates: + * Constant: '/Constant11' */ for (i = 0; i < 7; i++) { rtb_uDLookupTable7_g[i] = g_assVR_SUN_X2_LV5[i]; } - /* Selector: '/Selector1' incorporates: - * Constant: '/Constant11' - * MultiPortSwitch: '/Multiport Switch2' - * Selector: '/Selector' + /* Selector: '/Selector1' incorporates: + * Constant: '/Constant11' + * MultiPortSwitch: '/Multiport Switch2' + * Selector: '/Selector' */ - rtb_VectorConcatenate_dw[2] = g_assVR_SUN_X2_LV5[rtb_DataTypeConversion1_hy + rtb_VectorConcatenate_dw[2] = g_assVR_SUN_X2_LV5[rtb_DataTypeConversion3_c1 - 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 Read41' */ - rtb_MultiportSwitch_cq = look1_bs16ts16Dd_binlc(rtDW.Sun_R, + rtb_u6FLU_tg_amb_l = look1_bs16ts16Dd_binlc(rtDW.Sun_R, rtb_VectorConcatenate_dw, rtb_VectorConcatenate_pg, 2U); - /* Switch: '/Switch3' incorporates: - * Constant: '/manual3' + /* Switch: '/Switch3' incorporates: + * Constant: '/manual3' * DataStoreWrite: '/Data Store Write3' - * RelationalOperator: '/Equal4' - * UnitDelay: '/Unit Delay3' + * RelationalOperator: '/Equal4' + * UnitDelay: '/Unit Delay3' */ if (rtDW.UnitDelay3_DSTATE == 0) { - rtb_out_fze = rtB.MultiportSwitch_c; + rtb_out_mf = rtB.MultiportSwitch_c; } else { - /* Sum: '/FLU_tg_correct' */ - rtb_DataTypeConversion1_oq = (int16_t)((int16_t)((int16_t)(rtb_u6FRU_tg_amb - + rtb_MultiportSwitch_if) + rtb_MultiportSwitch_az) + - rtb_MultiportSwitch_cq); + /* Sum: '/FLU_tg_correct' */ + rtb_FLU_tg_correct_aa = (int16_t)((int16_t)((int16_t)(rtb_u8Vtg_FX_plus + + rtb_Bias4) + rtb_u6FLU_tg_amb_ha) + rtb_u6FLU_tg_amb_l); - /* 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) { case 0: for (i = 0; i < 7; i++) { - rtb_MultiportSwitch1_d[i] = g_assVR_MAX_LV0[i]; + rtb_MultiportSwitch1_ck[i] = g_assVR_MAX_LV0[i]; } break; case 1: for (i = 0; i < 7; i++) { - rtb_MultiportSwitch1_d[i] = g_assVR_MAX_LV1[i]; + rtb_MultiportSwitch1_ck[i] = g_assVR_MAX_LV1[i]; } break; case 2: for (i = 0; i < 7; i++) { - rtb_MultiportSwitch1_d[i] = g_assVR_MAX_LV2[i]; + rtb_MultiportSwitch1_ck[i] = g_assVR_MAX_LV2[i]; } break; case 3: for (i = 0; i < 7; i++) { - rtb_MultiportSwitch1_d[i] = g_assVR_MAX_LV3[i]; + rtb_MultiportSwitch1_ck[i] = g_assVR_MAX_LV3[i]; } break; case 4: for (i = 0; i < 7; i++) { - rtb_MultiportSwitch1_d[i] = g_assVR_MAX_LV4[i]; + rtb_MultiportSwitch1_ck[i] = g_assVR_MAX_LV4[i]; } break; default: for (i = 0; i < 7; i++) { - rtb_MultiportSwitch1_d[i] = g_assVR_MAX_LV5[i]; + rtb_MultiportSwitch1_ck[i] = g_assVR_MAX_LV5[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' */ - rtb_X = rtb_MultiportSwitch1_d[rtb_DataTypeConversion1_hy - 1]; + /* Selector: '/Selector' */ + rtb_Switch2_ho = rtb_MultiportSwitch1_ck[rtb_DataTypeConversion3_c1 - 1]; - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ - if (rtb_DataTypeConversion1_oq <= rtb_X) { - /* MultiPortSwitch: '/Multiport Switch1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + if (rtb_FLU_tg_correct_aa <= rtb_Switch2_ho) { + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ switch (rtb_Saturation4) { case 0: for (i = 0; i < 7; i++) { - rtb_MultiportSwitch1_d[i] = g_assVR_MIN_LV0[i]; + rtb_MultiportSwitch1_ck[i] = g_assVR_MIN_LV0[i]; } break; case 1: for (i = 0; i < 7; i++) { - rtb_MultiportSwitch1_d[i] = g_assVR_MIN_LV1[i]; + rtb_MultiportSwitch1_ck[i] = g_assVR_MIN_LV1[i]; } break; case 2: for (i = 0; i < 7; i++) { - rtb_MultiportSwitch1_d[i] = g_assVR_MIN_LV2[i]; + rtb_MultiportSwitch1_ck[i] = g_assVR_MIN_LV2[i]; } break; case 3: for (i = 0; i < 7; i++) { - rtb_MultiportSwitch1_d[i] = g_assVR_MIN_LV3[i]; + rtb_MultiportSwitch1_ck[i] = g_assVR_MIN_LV3[i]; } break; case 4: for (i = 0; i < 7; i++) { - rtb_MultiportSwitch1_d[i] = g_assVR_MIN_LV4[i]; + rtb_MultiportSwitch1_ck[i] = g_assVR_MIN_LV4[i]; } break; default: for (i = 0; i < 7; i++) { - rtb_MultiportSwitch1_d[i] = g_assVR_MIN_LV5[i]; + rtb_MultiportSwitch1_ck[i] = g_assVR_MIN_LV5[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Selector: '/Selector' incorporates: - * Selector: '/Selector' + /* Selector: '/Selector' incorporates: + * Selector: '/Selector' */ - rtb_X = rtb_MultiportSwitch1_d[rtb_DataTypeConversion1_hy - 1]; + rtb_Switch2_ho = rtb_MultiportSwitch1_ck[rtb_DataTypeConversion3_c1 - 1]; - /* Switch: '/Switch' incorporates: - * RelationalOperator: '/UpperRelop' - * Selector: '/Selector' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' + * Selector: '/Selector' */ - if (rtb_DataTypeConversion1_oq >= rtb_X) { - rtb_X = rtb_DataTypeConversion1_oq; + if (rtb_FLU_tg_correct_aa >= rtb_Switch2_ho) { + rtb_Switch2_ho = rtb_FLU_tg_correct_aa; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Sum: '/Add' 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' 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' */ index_start = (double)g_ascAUTO_STEP_AF_F[(int8_t)rtDW.CCU_AUTOMODE_RR - 1] * - 0.01 * (double)(uint16_t)rtb_X + (double)(uint16_t)rtb_X; + 0.01 * (double)(uint16_t)rtb_Switch2_ho + (double)(uint16_t)rtb_Switch2_ho; - /* DataTypeConversion: '/Data Type Conversion2' incorporates: + /* DataTypeConversion: '/Data Type Conversion2' incorporates: * DataStoreWrite: '/Data Store Write3' */ if (fabs(index_start) >= 0.5) { - rtb_out_fze = (uint16_t)floor(index_start + 0.5); + rtb_out_mf = (uint16_t)floor(index_start + 0.5); } else { - rtb_out_fze = 0U; + rtb_out_mf = 0U; } - /* End of DataTypeConversion: '/Data Type Conversion2' */ + /* End of DataTypeConversion: '/Data Type Conversion2' */ } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * DataStoreRead: '/AF from Start Control' - * DataStoreRead: '/Data Store Read' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * DataStoreRead: '/AF from Start Control' + * DataStoreRead: '/Data Store Read' * DataStoreWrite: '/Data Store Write3' - * Logic: '/Logical Operator' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + * 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)) { - rtb_out_fm3 = rtDW.Blower_RR; + rtb_out_ip = rtDW.Blower_RR; } else { - rtb_out_fm3 = rtb_out_fze; + rtb_out_ip = rtb_out_mf; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 7.0, &rtb_out_mxq); + AFforspeed(rtb_out_fun, 7.0, &rtb_out_bf); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 7.0, &rtb_out_a2e); + AFforspeed(rtb_out_fun, 7.0, &rtb_out_et); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 6.0, &rtb_out_dam); + AFforspeed(rtb_out_fun, 6.0, &rtb_out_a3); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 7.0, &rtb_out_dam); + AFforspeed(rtb_out_fun, 7.0, &rtb_out_a3); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 7.0, &rtb_out_hf5); + AFforspeed(rtb_out_fun, 7.0, &rtb_out_hf5); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 6.0, &rtb_out_o1n); + AFforspeed(rtb_out_fun, 6.0, &rtb_out_o1n); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 6.0, &rtb_out_o1n); + AFforspeed(rtb_out_fun, 6.0, &rtb_out_o1n); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 6.0, &rtb_out_mug); + AFforspeed(rtb_out_fun, 6.0, &rtb_out_mug); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_RR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 5.0, &rtb_out_ilx); + AFforspeed(rtb_out_fun, 5.0, &rtb_out_ilx); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read2' */ switch (rtDW.LEVEL) { case 0: case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && @@ -31447,36 +33678,36 @@ void HVAC_model_step(void) break; case 2: - rtb_out_fm3 = rtb_out_mxq; + rtb_out_ip = rtb_out_bf; break; case 3: - rtb_out_fm3 = rtb_out_a2e; + rtb_out_ip = rtb_out_et; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; case 2: case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && @@ -31485,35 +33716,35 @@ void HVAC_model_step(void) break; case 2: - rtb_out_fm3 = rtb_out_dam; + rtb_out_ip = rtb_out_a3; break; case 3: - rtb_out_fm3 = rtb_out_hf5; + rtb_out_ip = rtb_out_hf5; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; default: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && @@ -31522,673 +33753,673 @@ void HVAC_model_step(void) break; case 2: - rtb_out_fm3 = rtb_out_o1n; + rtb_out_ip = rtb_out_o1n; break; case 3: - rtb_out_fm3 = rtb_out_mug; + rtb_out_ip = rtb_out_mug; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed 6' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed 6' */ - AFforspeed(rtb_out_ake, 6.0, &rtb_out_mxq); + AFforspeed(rtb_out_fun, 6.0, &rtb_out_bf); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 6.0, &rtb_out_a2e); + AFforspeed(rtb_out_fun, 6.0, &rtb_out_et); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed 6' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed 6' */ - AFforspeed(rtb_out_ake, 6.0, &rtb_out_dam); + AFforspeed(rtb_out_fun, 6.0, &rtb_out_a3); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 6.0, &rtb_out_hf5); + AFforspeed(rtb_out_fun, 6.0, &rtb_out_hf5); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed 6' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed 6' */ - AFforspeed(rtb_out_ake, 6.0, &rtb_out_o1n); + AFforspeed(rtb_out_fun, 6.0, &rtb_out_o1n); - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read5' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/AF for speed' incorporates: - * Constant: '/blower speed' + /* MATLAB Function: '/AF for speed' incorporates: + * Constant: '/blower speed' */ - AFforspeed(rtb_out_ake, 6.0, &rtb_out_mug); + AFforspeed(rtb_out_fun, 6.0, &rtb_out_mug); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read2' */ switch (rtDW.LEVEL) { case 0: case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && @@ -32197,36 +34428,36 @@ void HVAC_model_step(void) break; case 2: - rtb_out_fm3 = rtb_out_mxq; + rtb_out_ip = rtb_out_bf; break; case 3: - rtb_out_fm3 = rtb_out_a2e; + rtb_out_ip = rtb_out_et; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; case 2: case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && @@ -32235,35 +34466,35 @@ void HVAC_model_step(void) break; case 2: - rtb_out_fm3 = rtb_out_dam; + rtb_out_ip = rtb_out_a3; break; case 3: - rtb_out_fm3 = rtb_out_hf5; + rtb_out_ip = rtb_out_hf5; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; default: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && @@ -32272,55 +34503,54 @@ void HVAC_model_step(void) break; case 2: - rtb_out_fm3 = rtb_out_o1n; + rtb_out_ip = rtb_out_o1n; break; case 3: - rtb_out_fm3 = rtb_out_mug; + rtb_out_ip = rtb_out_mug; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' */ if (rtDW.CCU_MODE_RR > 0) { - rtb_out_mxq = rtDW.Index_mode_RR_auto; + rtb_out_bf = rtDW.Index_mode_RR_auto; } else { - rtb_out_mxq = rtDW.Index_mode_RR_manual; + rtb_out_bf = rtDW.Index_mode_RR_manual; } - /* MATLAB Function: '/param index for mode' incorporates: - * Switch: '/Switch' + /* MATLAB Function: '/param index for mode' incorporates: + * Switch: '/Switch' */ - paramindexformode_h(rtb_out_mxq, &rtb_duct_select_index_dbg_c); + paramindexformode(rtb_out_bf, &rtb_area_R_o); - /* MATLAB Function: '/RR AF * percent DRS' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' + /* MATLAB Function: '/RR AF * percent DRS' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' */ /* : index_start = (param_index - 1) * 3 + 1; */ - index_start = (rtb_duct_select_index_dbg_c - 1.0) * 3.0 + 1.0; + index_start = (rtb_area_R_o - 1.0) * 3.0 + 1.0; /* : if DRS_side == 0 */ if (rtDW.DRS_SRR == 0) { /* : side_percent = uint8(0); */ - rtb_DataTypeConversion1_gy = 0U; + rtb_DataTypeConversion3_c1 = 0U; } else { /* : else */ /* : side_percent = g_aucREAR_SIDE_DRS_PERCENT_AF(index_start + 3 - DRS_side); */ - rtb_duct_select_index_dbg_c = rt_roundd((index_start + 3.0) - (double) - rtDW.DRS_SRR); - if (rtb_duct_select_index_dbg_c < 256.0) { - if (rtb_duct_select_index_dbg_c >= 0.0) { - center_percent = (uint8_t)rtb_duct_select_index_dbg_c; + rtb_Divide5 = rt_roundd((index_start + 3.0) - (double)rtDW.DRS_SRR); + if (rtb_Divide5 < 256.0) { + if (rtb_Divide5 >= 0.0) { + center_percent = (uint8_t)rtb_Divide5; } else { center_percent = 0U; } @@ -32328,7 +34558,7 @@ void HVAC_model_step(void) center_percent = UINT8_MAX; } - rtb_DataTypeConversion1_gy = g_aucREAR_SIDE_DRS_PERCENT_AF[center_percent - + rtb_DataTypeConversion3_c1 = g_aucREAR_SIDE_DRS_PERCENT_AF[center_percent - 1]; } @@ -32339,11 +34569,10 @@ void HVAC_model_step(void) } else { /* : else */ /* : center_percent = g_aucREAR_CENT_DRS_PERCENT_AF(index_start + 3 - DRS_center); */ - rtb_duct_select_index_dbg_c = rt_roundd((index_start + 3.0) - (double) - rtDW.DRS_CRR); - if (rtb_duct_select_index_dbg_c < 256.0) { - if (rtb_duct_select_index_dbg_c >= 0.0) { - center_percent = (uint8_t)rtb_duct_select_index_dbg_c; + rtb_Divide5 = rt_roundd((index_start + 3.0) - (double)rtDW.DRS_CRR); + if (rtb_Divide5 < 256.0) { + if (rtb_Divide5 >= 0.0) { + center_percent = (uint8_t)rtb_Divide5; } else { center_percent = 0U; } @@ -32356,112 +34585,124 @@ void HVAC_model_step(void) /* : percent = double(side_percent + center_percent) / 2 / 100; */ /* : y = uint16(double(AF_in) * percent); */ - i = (int32_t)((uint32_t)rtb_DataTypeConversion1_gy + center_percent); + i = (int32_t)((uint32_t)rtb_DataTypeConversion3_c1 + center_percent); if ((uint32_t)i > 255U) { i = 255; } - i = (int32_t)rt_roundd((double)i / 2.0 / 100.0 * (double)rtb_out_fm3); + i = (int32_t)rt_roundd((double)i / 2.0 / 100.0 * (double)rtb_out_ip); if (i < 65536) { - rtb_out_fm3 = (uint16_t)i; + rtb_out_ip = (uint16_t)i; } else { - rtb_out_fm3 = UINT16_MAX; + rtb_out_ip = UINT16_MAX; } /* Saturate: '/Saturation3' incorporates: - * MATLAB Function: '/RR AF * percent DRS' + * MATLAB Function: '/RR AF * percent DRS' */ - if (rtb_out_fm3 > 160) { - rtb_out_fm3 = 160U; + if (rtb_out_ip > 160) { + rtb_out_ip = 160U; } /* End of Saturate: '/Saturation3' */ - /* MATLAB Function: '/is_ending_with_5' */ - is_ending_with_5(rtb_Saturation2, &rtb_RelationalOperator6_f); + /* MATLAB Function: '/is_ending_with_5' */ + is_ending_with_5(rtb_out_kez, &rtb_RelationalOperator6_f); - /* MATLAB Function: '/is_ending_with_5' */ + /* MATLAB Function: '/correction rate' incorporates: + * Gain: '/Gain2' + */ /* : 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]; */ - /* : disp('all correction rate:') */ - /* : disp(correct_rate) */ - /* : y = correct_rate(LVL + 1, idivide(SET - 16 + 1, 2)); */ - /* : disp('correction rate:') */ - /* : disp(y) */ + correctionrate_a((int16_t)(rtb_dt_i + (uint32_t)((rtb_Subtract & 262144U) != + 0U)), rtb_Saturation4, &rtb_FLU_tg_correct_aa); + + /* MATLAB Function: '/is_ending_with_5' */ /* : correct_after_time = [g_assCORRECT_AF_TIME_FL_LV0; g_assCORRECT_AF_TIME_FL_LV1; g_assCORRECT_AF_TIME_FL_LV2; g_assCORRECT_AF_TIME_FL_LV3; g_assCORRECT_AF_TIME_FL_LV4; g_assCORRECT_AF_TIME_FL_LV5]; */ /* : y = correct_after_time(LVL + 1, idivide(SET - 16 + 1, 2)); */ - is_ending_with_5(rtb_out_crw, &rtb_RelationalOperator6_f); + is_ending_with_5(rtb_out_oum, &rtb_RelationalOperator6_f); - /* DataStoreRead: '/Data Store Read1' incorporates: - * UnitDelay: '/Unit Delay1' + /* MATLAB Function: '/correction rate' incorporates: + * Gain: '/Gain2' */ /* : 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]; */ - /* : y = correct_rate(LVL + 1, idivide(SET - 16 + 1, 2)); */ + correctionrate_a((int16_t)(rtb_Gain2_k_tmp_tmp_0 + (uint32_t) + ((rtb_Gain2_k_tmp_tmp & 262144U) != 0U)), rtb_Saturation4, + &rtb_FLU_tg_correct_aa); + + /* DataStoreRead: '/Data Store Read46' incorporates: + * UnitDelay: '/Unit Delay' + */ /* : 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.UnitDelay1_DSTATE_j = rtDW.CCU_MODE_FR; + rtDW.UnitDelay_DSTATE_e = rtDW.CCU_MODE_FL; - /* DataStoreRead: '/Data Store Read2' incorporates: - * UnitDelay: '/Unit Delay2' + /* DataStoreRead: '/Data Store Read46' incorporates: + * UnitDelay: '/Unit Delay' */ - rtDW.UnitDelay2_DSTATE = rtDW.CCU_MODE_RL; + rtDW.UnitDelay_DSTATE_m3 = rtDW.CCU_MODE_FR; - /* DataStoreRead: '/Data Store Read3' incorporates: - * UnitDelay: '/Unit Delay3' - */ - rtDW.UnitDelay3_DSTATE = rtDW.CCU_MODE_RR; - - /* DataStoreRead: '/Data Store Read46' incorporates: - * UnitDelay: '/Unit Delay' + /* DataStoreRead: '/Data Store Read46' incorporates: + * UnitDelay: '/Unit Delay' */ rtDW.UnitDelay_DSTATE_ne = rtDW.CCU_MODE_FL; - /* Outputs for Enabled SubSystem: '/Front Left Valves - manual directions' incorporates: - * EnablePort: '/Enable' + /* DataStoreRead: '/Data Store Read1' incorporates: + * UnitDelay: '/Unit Delay1' */ - /* RelationalOperator: '/Equal2' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read44' + rtDW.UnitDelay1_DSTATE_j = rtDW.CCU_MODE_FR; + + /* DataStoreRead: '/Data Store Read2' incorporates: + * UnitDelay: '/Unit Delay2' + */ + rtDW.UnitDelay2_DSTATE = rtDW.CCU_MODE_RL; + + /* DataStoreRead: '/Data Store Read3' incorporates: + * UnitDelay: '/Unit Delay3' + */ + rtDW.UnitDelay3_DSTATE = rtDW.CCU_MODE_RR; + + /* Outputs for Enabled SubSystem: '/Front Left Valves - manual directions' incorporates: + * EnablePort: '/Enable' + */ + /* RelationalOperator: '/Equal2' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read44' */ if (rtDW.CCU_MODE_FL == 0) { - /* RelationalOperator: '/Relational Operator2' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read10' + /* RelationalOperator: '/Relational Operator2' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read10' */ rtb_RelationalOperator6_f = (rtDW.CCU_FOOT_FL == 1); - /* Sum: '/Add' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataTypeConversion: '/Data Type Conversion5' - * Gain: '/Gain1' - * Gain: '/Gain2' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant10' + * Constant: '/Constant11' + * Constant: '/Constant4' + * Constant: '/Constant5' + * Constant: '/Constant6' + * Constant: '/Constant7' + * Constant: '/Constant8' + * Constant: '/Constant9' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion5' + * Gain: '/Gain1' + * Gain: '/Gain2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * Sum: '/Add' */ - rtb_Saturation2 = (uint16_t)(((uint32_t)((rtDW.CCU_FACE_FL == 1) << 1) + - (uint32_t)(rtDW.CCU_DEF_FL == 1)) + (uint32_t)(rtb_RelationalOperator6_f << - 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' - */ - switch (rtb_Saturation2) { + switch ((int32_t)(((uint32_t)((rtDW.CCU_FACE_FL == 1) << 1) + (uint32_t) + (rtDW.CCU_DEF_FL == 1)) + (uint32_t) + (rtb_RelationalOperator6_f << 2))) { case 0: - rtDW.Index_mode_FL_manual = 0U; + rtDW.Index_mode_FL_manual = 10U; break; case 1: @@ -32493,95 +34734,25 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* MATLAB Function: '/Valves for Hi_Level' */ - /* : out = g_ausFLOW_FR_DE2VALVE; */ - /* : out = g_ausFLOW_FR_VE2VALVE; */ - ValvesforHi_Level(rtb_out_cj); - - /* MATLAB Function: '/Valves for Foot + Def' */ - /* : out = g_ausFLOW_FR_FO2VALVE; */ - ValvesforFootDef(rtb_out_cej); - - /* MATLAB Function: '/Valves for Bi Level' */ - ValvesforBiLevel(rtb_out_pdp); - - /* MATLAB Function: '/Valves for Tri-Level' */ - ValvesforTriLevel(rtB.MultiportSwitch_j); - - /* MultiPortSwitch: '/Multiport Switch' */ - switch (rtb_Saturation2) { - case 0: - /* MultiPortSwitch: '/Multiport Switch' */ - for (i = 0; i < 9; i++) { - rtB.MultiportSwitch_j[i] = 0U; - } - break; - - case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * MATLAB Function: '/Valves for Def' - */ - for (i = 0; i < 9; i++) { - rtB.MultiportSwitch_j[i] = g_ausFLOW_FR_DE2VALVE[i]; - } - break; - - case 2: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * MATLAB Function: '/Valves for Vent mode' - */ - for (i = 0; i < 9; i++) { - rtB.MultiportSwitch_j[i] = g_ausFLOW_FR_VE2VALVE[i]; - } - break; - - case 3: - /* MultiPortSwitch: '/Multiport Switch' */ - for (i = 0; i < 9; i++) { - rtB.MultiportSwitch_j[i] = rtb_out_cj[i]; - } - break; - - case 4: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * MATLAB Function: '/Valves for Foot' - */ - for (i = 0; i < 9; i++) { - rtB.MultiportSwitch_j[i] = g_ausFLOW_FR_FO2VALVE[i]; - } - break; - - case 5: - /* MultiPortSwitch: '/Multiport Switch' */ - for (i = 0; i < 9; i++) { - rtB.MultiportSwitch_j[i] = rtb_out_cej[i]; - } - break; - - case 6: - /* MultiPortSwitch: '/Multiport Switch' */ - for (i = 0; i < 9; i++) { - rtB.MultiportSwitch_j[i] = rtb_out_pdp[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* MATLAB Function: '/valves_front' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + valves_front(rtDW.Index_mode_FL_manual, rtB.get_valves); } - /* 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_LogicalOperator1 = (rtDW.CCU_MODE_FL == 0); + 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 = rtDW.LEVEL; @@ -32589,27 +34760,27 @@ void HVAC_model_step(void) rtb_Saturation4 = 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_mxq = 290U; + rtb_out_bf = 290U; } else if (rtDW.CCU_SET_FL < 170) { - rtb_out_mxq = 170U; + rtb_out_bf = 170U; } else { - rtb_out_mxq = rtDW.CCU_SET_FL; + rtb_out_bf = 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, (int16_t)((52429U * rtb_out_mxq) >> 19), - &rtb_DataTypeConversion1_hy); + MODE_for_set_and_lvl(rtb_Saturation4, (int16_t)((52429U * rtb_out_bf) >> 19), + &rtb_DataTypeConversion1_nc); - /* MATLAB Function: '/valves_front_left' */ + /* MATLAB Function: '/valves_front_left' */ /* : modes_array = [ */ /* : g_ausFLOW_FR_VE2VALVE; */ /* : g_ausFLOW_FR_BIVALVE; */ @@ -32618,7 +34789,7 @@ 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_DataTypeConversion1_hy / 10.0); + i = (int32_t)trunc((double)rtb_DataTypeConversion1_nc / 10.0); for (rtb_Cmd_3Way = 0; rtb_Cmd_3Way < 9; rtb_Cmd_3Way++) { tmp[5 * rtb_Cmd_3Way] = g_ausFLOW_FR_VE2VALVE[rtb_Cmd_3Way]; tmp[5 * rtb_Cmd_3Way + 1] = g_ausFLOW_FR_BIVALVE[rtb_Cmd_3Way]; @@ -32626,372 +34797,371 @@ void HVAC_model_step(void) tmp[5 * rtb_Cmd_3Way + 3] = g_ausFLOW_FR_AF2VALVE[rtb_Cmd_3Way]; tmp[5 * rtb_Cmd_3Way + 4] = g_ausFLOW_FR_AF2VALVE_SUMMER[rtb_Cmd_3Way]; - /* Switch: '/Switch' incorporates: - * Assignment: '/Присваивание в [3-4]' - * MultiPortSwitch: '/Multiport Switch' + /* Switch: '/Switch' incorporates: + * Assignment: '/Присваивание в [3-4]' */ - if (rtb_LogicalOperator1) { - rtb_out_cej[rtb_Cmd_3Way] = rtB.MultiportSwitch_j[rtb_Cmd_3Way]; + if (rtb_Compare_i5) { + rtb_u4[rtb_Cmd_3Way] = rtB.get_valves[rtb_Cmd_3Way]; } else { - rtb_out_cej[rtb_Cmd_3Way] = tmp[(5 * rtb_Cmd_3Way + i) - 1]; + rtb_u4[rtb_Cmd_3Way] = tmp[(5 * rtb_Cmd_3Way + i) - 1]; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of MATLAB Function: '/valves_front_left' */ + /* End of MATLAB Function: '/valves_front_left' */ - /* Assignment: '/set valves[5]' incorporates: - * DataStoreRead: '/Data Store Read1' - * Sum: '/Add' + /* Assignment: '/set valves[5]' incorporates: + * DataStoreRead: '/Data Store Read1' + * Sum: '/Add' */ - rtb_out_cej[4] += rtDW.Valve_individual_foot_FL; + rtb_u4[4] += rtDW.Valve_individual_foot_FL; - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/manual' - * Constant: '/manual1' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read1' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal2' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/manual' + * Constant: '/manual1' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read1' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal2' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_FR == 1) && (rtDW.CCU_MODE_FR == 0)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 0) && (rtDW.LO_HI_MODE_FL == 1)))) { case 1: - /* Assignment: '/valves[6]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[6]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_cej[5] = 0U; + rtb_u4[5] = 0U; break; case 2: - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_cej[7] = 0U; + rtb_u4[7] = 0U; break; case 3: - /* Assignment: '/valves[6]' incorporates: - * Assignment: '/valves[8]' - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[6]' incorporates: + * Assignment: '/valves[8]' + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_cej[5] = 0U; + rtb_u4[5] = 0U; - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_cej[7] = 0U; + rtb_u4[7] = 0U; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW' - * Constant: '/LOW3' - * Constant: '/manual' - * Constant: '/manual' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW' + * Constant: '/LOW3' + * Constant: '/manual' + * Constant: '/manual' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR == 0)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 0) && (rtDW.LO_HI_MODE_RL == 1)))) { case 1: - /* Assignment: '/valves[6]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[6]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_cej[5] = 0U; + rtb_u4[5] = 0U; break; case 2: - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_cej[7] = 0U; + rtb_u4[7] = 0U; break; case 3: - /* Assignment: '/valves[6]' incorporates: - * Assignment: '/valves[8]' - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[6]' incorporates: + * Assignment: '/valves[8]' + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_cej[5] = 0U; + rtb_u4[5] = 0U; - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_cej[7] = 0U; + rtb_u4[7] = 0U; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/manual' - * Constant: '/manual1' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read1' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * MultiPortSwitch: '/Multiport Switch' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal2' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/manual' + * Constant: '/manual1' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read1' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * MultiPortSwitch: '/Multiport Switch' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal2' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_FR == 2) && (rtDW.CCU_MODE_FR == 0)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 0) && (rtDW.LO_HI_MODE_FL == 2)))) { case 1: for (i = 0; i < 9; i++) { - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves[6]' - * Assignment: '/valves[8]' - * MultiPortSwitch: '/Multiport Switch' - * SignalConversion generated from: '/valves[6]' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves[6]' + * Assignment: '/valves[8]' + * MultiPortSwitch: '/Multiport Switch' + * SignalConversion generated from: '/valves[6]' */ - rtb_out_cj[i] = rtb_out_cej[i]; + rtb_MultiportSwitch_fd[i] = rtb_u4[i]; } - /* Assignment: '/valves[6]' incorporates: - * Assignment: '/valves[8]' - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[6]' incorporates: + * Assignment: '/valves[8]' + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_cj[5] = 0U; + rtb_MultiportSwitch_fd[5] = 0U; - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_cj[7] = 0U; + rtb_MultiportSwitch_fd[7] = 0U; break; case 2: for (i = 0; i < 9; i++) { - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves[6]' - * Assignment: '/valves[8]' - * MultiPortSwitch: '/Multiport Switch' - * SignalConversion generated from: '/valves[6]' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves[6]' + * Assignment: '/valves[8]' + * MultiPortSwitch: '/Multiport Switch' + * SignalConversion generated from: '/valves[6]' */ - rtb_out_cj[i] = rtb_out_cej[i]; + rtb_MultiportSwitch_fd[i] = rtb_u4[i]; } - /* Assignment: '/valves[6]' incorporates: - * Assignment: '/valves[8]' - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[6]' incorporates: + * Assignment: '/valves[8]' + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_cj[5] = 0U; + rtb_MultiportSwitch_fd[5] = 0U; - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_cj[7] = 0U; + rtb_MultiportSwitch_fd[7] = 0U; break; case 3: for (i = 0; i < 9; i++) { - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves[6]' - * Assignment: '/valves[8]' - * MultiPortSwitch: '/Multiport Switch' - * SignalConversion generated from: '/valves[6]' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves[6]' + * Assignment: '/valves[8]' + * MultiPortSwitch: '/Multiport Switch' + * SignalConversion generated from: '/valves[6]' */ - rtb_out_cj[i] = rtb_out_cej[i]; + rtb_MultiportSwitch_fd[i] = rtb_u4[i]; } - /* Assignment: '/valves[6]' incorporates: - * Assignment: '/valves[8]' - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[6]' incorporates: + * Assignment: '/valves[8]' + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_cj[5] = 0U; + rtb_MultiportSwitch_fd[5] = 0U; - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_cj[7] = 0U; + rtb_MultiportSwitch_fd[7] = 0U; break; default: for (i = 0; i < 9; i++) { - rtb_out_cj[i] = rtb_out_cej[i]; + rtb_MultiportSwitch_fd[i] = rtb_u4[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Switch: '/Switch2' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/HI2' - * Constant: '/HI3' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' + /* Switch: '/Switch2' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/HI2' + * Constant: '/HI3' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' */ if ((rtDW.LO_HI_MODE_FL != 2) || (rtDW.LO_HI_MODE_FR != 2) || (rtDW.LO_HI_MODE_RL != 2) || (rtDW.LO_HI_MODE_RR != 2)) { - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/manual' - * Constant: '/manual' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/manual' + * Constant: '/manual' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR == 0)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 0) && (rtDW.LO_HI_MODE_RL == 2)))) { case 1: for (i = 0; i < 9; i++) { - /* Switch: '/Switch2' incorporates: - * Assignment: '/valves[6]' - * MultiPortSwitch: '/Multiport Switch' - * SignalConversion generated from: '/valves[6]' + /* Switch: '/Switch2' incorporates: + * Assignment: '/valves[6]' + * MultiPortSwitch: '/Multiport Switch' + * SignalConversion generated from: '/valves[6]' */ - rtb_out_cej[i] = rtb_out_cj[i]; + rtb_u4[i] = rtb_MultiportSwitch_fd[i]; } - /* Assignment: '/valves[6]' incorporates: - * Constant: '/Constant' - * Switch: '/Switch2' + /* Assignment: '/valves[6]' incorporates: + * Constant: '/Constant' + * Switch: '/Switch2' */ - rtb_out_cej[5] = 0U; + rtb_u4[5] = 0U; break; case 2: for (i = 0; i < 9; i++) { - /* Switch: '/Switch2' incorporates: - * Assignment: '/valves[8]' - * MultiPortSwitch: '/Multiport Switch' - * SignalConversion generated from: '/valves[8]' + /* Switch: '/Switch2' incorporates: + * Assignment: '/valves[8]' + * MultiPortSwitch: '/Multiport Switch' + * SignalConversion generated from: '/valves[8]' */ - rtb_out_cej[i] = rtb_out_cj[i]; + rtb_u4[i] = rtb_MultiportSwitch_fd[i]; } break; case 3: for (i = 0; i < 9; i++) { - /* Switch: '/Switch2' incorporates: - * Assignment: '/valves[8]' - * MultiPortSwitch: '/Multiport Switch' - * SignalConversion generated from: '/valves[8]' + /* Switch: '/Switch2' incorporates: + * Assignment: '/valves[8]' + * MultiPortSwitch: '/Multiport Switch' + * SignalConversion generated from: '/valves[8]' */ - rtb_out_cej[i] = rtb_out_cj[i]; + rtb_u4[i] = rtb_MultiportSwitch_fd[i]; } break; default: - /* Switch: '/Switch2' incorporates: - * MultiPortSwitch: '/Multiport Switch' + /* Switch: '/Switch2' incorporates: + * MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 9; i++) { - rtb_out_cej[i] = rtb_out_cj[i]; + rtb_u4[i] = rtb_MultiportSwitch_fd[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read2' */ switch (rtDW.LEVEL) { case 0: case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/LOW3' - * Constant: '/LOW4' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/LOW3' + * Constant: '/LOW4' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && (rtDW.LO_HI_MODE_RL == 1) && (rtDW.LO_HI_MODE_RR == 1) && @@ -33000,13 +35170,13 @@ void HVAC_model_step(void) 1) && (rtDW.LO_HI_MODE_FL == 1)))) { case 1: case 5: - /* Assignment: '/valves[1,2,5]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[1,2,5]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_cej[0] = 100U; - rtb_out_cej[1] = 100U; - rtb_out_cej[4] = 20U; + rtb_u4[0] = 100U; + rtb_u4[1] = 100U; + rtb_u4[4] = 20U; break; case 2: @@ -33014,66 +35184,66 @@ void HVAC_model_step(void) break; case 3: - /* Assignment: '/valves[1, 2, 3, 4, 5, 7]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[1, 2, 3, 4, 5, 7]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 6; i++) { - rtb_out_cej[tmp_5[i]] = rtConstP.pooled105[i]; + rtb_u4[tmp_4[i]] = rtConstP.pooled106[i]; } - /* End of Assignment: '/valves[1, 2, 3, 4, 5, 7]' */ + /* End of Assignment: '/valves[1, 2, 3, 4, 5, 7]' */ break; case 7: - /* Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 8; i++) { - rtb_out_cej[i] = rtConstP.pooled104[i]; + rtb_u4[i] = rtConstP.pooled105[i]; } - /* End of Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' */ + /* End of Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' */ break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; case 2: case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/LOW3' - * Constant: '/LOW4' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/LOW3' + * Constant: '/LOW4' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && (rtDW.LO_HI_MODE_RL == 1) && (rtDW.LO_HI_MODE_RR == 1) && @@ -33082,13 +35252,13 @@ void HVAC_model_step(void) 1) && (rtDW.LO_HI_MODE_FL == 1)))) { case 1: case 5: - /* Assignment: '/valves[1,2,5]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[1,2,5]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_cej[0] = 100U; - rtb_out_cej[1] = 100U; - rtb_out_cej[4] = 20U; + rtb_u4[0] = 100U; + rtb_u4[1] = 100U; + rtb_u4[4] = 20U; break; case 2: @@ -33096,65 +35266,65 @@ void HVAC_model_step(void) break; case 3: - /* Assignment: '/valves[1, 2, 3, 4, 5, 7]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[1, 2, 3, 4, 5, 7]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 6; i++) { - rtb_out_cej[tmp_5[i]] = rtConstP.pooled105[i]; + rtb_u4[tmp_4[i]] = rtConstP.pooled106[i]; } - /* End of Assignment: '/valves[1, 2, 3, 4, 5, 7]' */ + /* End of Assignment: '/valves[1, 2, 3, 4, 5, 7]' */ break; case 7: - /* Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 8; i++) { - rtb_out_cej[i] = rtConstP.pooled104[i]; + rtb_u4[i] = rtConstP.pooled105[i]; } - /* End of Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' */ + /* End of Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' */ break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; default: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/LOW3' - * Constant: '/LOW4' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/LOW3' + * Constant: '/LOW4' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && (rtDW.LO_HI_MODE_RL == 1) && (rtDW.LO_HI_MODE_RR == 1) && @@ -33163,13 +35333,13 @@ void HVAC_model_step(void) 1) && (rtDW.LO_HI_MODE_FL == 1)))) { case 1: case 5: - /* Assignment: '/valves[1,2,5]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[1,2,5]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_cej[0] = 100U; - rtb_out_cej[1] = 100U; - rtb_out_cej[4] = 20U; + rtb_u4[0] = 100U; + rtb_u4[1] = 100U; + rtb_u4[4] = 20U; break; case 2: @@ -33177,154 +35347,154 @@ void HVAC_model_step(void) break; case 3: - /* Assignment: '/valves[1, 2, 3, 4, 5, 7]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[1, 2, 3, 4, 5, 7]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 6; i++) { - rtb_out_cej[tmp_5[i]] = rtConstP.pooled105[i]; + rtb_u4[tmp_4[i]] = rtConstP.pooled106[i]; } - /* End of Assignment: '/valves[1, 2, 3, 4, 5, 7]' */ + /* End of Assignment: '/valves[1, 2, 3, 4, 5, 7]' */ break; case 7: - /* Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 8; i++) { - rtb_out_cej[i] = rtConstP.pooled104[i]; + rtb_u4[i] = rtConstP.pooled105[i]; } - /* End of Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' */ + /* End of Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' */ + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + switch (rtDW.LEVEL) { + case 0: + case 1: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/HI2' + * Constant: '/HI3' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && + (rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2) && + (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR == + 1) && (rtDW.LO_HI_MODE_FR == 2)) << 1)) + (uint32_t)((rtDW.CCU_MODE_FL == + 1) && (rtDW.LO_HI_MODE_FL == 2)))) { + case 1: + case 5: + /* Assignment: '/valves[1,2,5]' incorporates: + * Assignment: '/Присваивание в [3-4]' + * Assignment: '/Присваивание в [7-8]' + * Constant: '/Constant' + */ + rtb_u4[0] = 60U; + rtb_u4[1] = 60U; + rtb_u4[4] = 100U; + break; + + case 2: + case 6: + break; + + case 3: + for (i = 0; i < 9; i++) { + /* Assignment: '/Присваивание в [7-8]' incorporates: + * Assignment: '/Присваивание в [3-4]' + * Assignment: '/valves all' + * Constant: '/Constant' + */ + rtb_u4[i] = rtConstP.pooled100[i]; + } + break; + + case 7: + for (i = 0; i < 9; i++) { + /* Assignment: '/Присваивание в [7-8]' incorporates: + * Assignment: '/Присваивание в [3-4]' + * Assignment: '/valves all' + * Constant: '/Constant' + */ + rtb_u4[i] = rtConstP.pooled99[i]; + } break; } /* End of MultiPortSwitch: '/Multiport Switch' */ break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - switch (rtDW.LEVEL) { - case 0: - case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/HI2' - * Constant: '/HI3' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && - (rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2) && - (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR == - 1) && (rtDW.LO_HI_MODE_FR == 2)) << 1)) + (uint32_t)((rtDW.CCU_MODE_FL == - 1) && (rtDW.LO_HI_MODE_FL == 2)))) { - case 1: - case 5: - /* Assignment: '/valves[1,2,5]' incorporates: - * Assignment: '/Присваивание в [3-4]' - * Assignment: '/Присваивание в [7-8]' - * Constant: '/Constant' - */ - rtb_out_cej[0] = 60U; - rtb_out_cej[1] = 60U; - rtb_out_cej[4] = 100U; - break; - - case 2: - case 6: - break; - - case 3: - for (i = 0; i < 9; i++) { - /* Assignment: '/Присваивание в [7-8]' incorporates: - * Assignment: '/Присваивание в [3-4]' - * Assignment: '/valves all' - * Constant: '/Constant' - */ - rtb_out_cej[i] = rtConstP.pooled99[i]; - } - break; - - case 7: - for (i = 0; i < 9; i++) { - /* Assignment: '/Присваивание в [7-8]' incorporates: - * Assignment: '/Присваивание в [3-4]' - * Assignment: '/valves all' - * Constant: '/Constant' - */ - rtb_out_cej[i] = rtConstP.pooled98[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; case 2: case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/HI2' - * Constant: '/HI3' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/HI2' + * Constant: '/HI3' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && (rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2) && @@ -33333,14 +35503,14 @@ void HVAC_model_step(void) 1) && (rtDW.LO_HI_MODE_FL == 2)))) { case 1: case 5: - /* Assignment: '/valves[1,2,5]' incorporates: - * Assignment: '/Присваивание в [3-4]' - * Assignment: '/Присваивание в [7-8]' - * Constant: '/Constant' + /* Assignment: '/valves[1,2,5]' incorporates: + * Assignment: '/Присваивание в [3-4]' + * Assignment: '/Присваивание в [7-8]' + * Constant: '/Constant' */ - rtb_out_cej[0] = 60U; - rtb_out_cej[1] = 60U; - rtb_out_cej[4] = 100U; + rtb_u4[0] = 60U; + rtb_u4[1] = 60U; + rtb_u4[4] = 100U; break; case 2: @@ -33349,62 +35519,62 @@ void HVAC_model_step(void) case 3: for (i = 0; i < 9; i++) { - /* Assignment: '/Присваивание в [7-8]' incorporates: - * Assignment: '/Присваивание в [3-4]' - * Assignment: '/valves all' - * Constant: '/Constant' + /* Assignment: '/Присваивание в [7-8]' incorporates: + * Assignment: '/Присваивание в [3-4]' + * Assignment: '/valves all' + * Constant: '/Constant' */ - rtb_out_cej[i] = rtConstP.pooled102[i]; + rtb_u4[i] = rtConstP.pooled103[i]; } break; case 7: for (i = 0; i < 9; i++) { - /* Assignment: '/Присваивание в [7-8]' incorporates: - * Assignment: '/Присваивание в [3-4]' - * Assignment: '/valves all' - * Constant: '/Constant' + /* Assignment: '/Присваивание в [7-8]' incorporates: + * Assignment: '/Присваивание в [3-4]' + * Assignment: '/valves all' + * Constant: '/Constant' */ - rtb_out_cej[i] = rtConstP.pooled101[i]; + rtb_u4[i] = rtConstP.pooled102[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; default: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/HI2' - * Constant: '/HI3' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/HI2' + * Constant: '/HI3' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && (rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2) && @@ -33413,14 +35583,14 @@ void HVAC_model_step(void) 1) && (rtDW.LO_HI_MODE_FL == 2)))) { case 1: case 5: - /* Assignment: '/valves[1,2,5]' incorporates: - * Assignment: '/Присваивание в [3-4]' - * Assignment: '/Присваивание в [7-8]' - * Constant: '/Constant' + /* Assignment: '/valves[1,2,5]' incorporates: + * Assignment: '/Присваивание в [3-4]' + * Assignment: '/Присваивание в [7-8]' + * Constant: '/Constant' */ - rtb_out_cej[0] = 60U; - rtb_out_cej[1] = 60U; - rtb_out_cej[4] = 100U; + rtb_u4[0] = 60U; + rtb_u4[1] = 60U; + rtb_u4[4] = 100U; break; case 2: @@ -33429,87 +35599,124 @@ void HVAC_model_step(void) case 3: for (i = 0; i < 9; i++) { - /* Assignment: '/Присваивание в [7-8]' incorporates: - * Assignment: '/Присваивание в [3-4]' - * Assignment: '/valves all' - * Constant: '/Constant' + /* Assignment: '/Присваивание в [7-8]' incorporates: + * Assignment: '/Присваивание в [3-4]' + * Assignment: '/valves all' + * Constant: '/Constant' */ - rtb_out_cej[i] = rtConstP.pooled103[i]; + rtb_u4[i] = rtConstP.pooled104[i]; } break; case 7: for (i = 0; i < 9; i++) { - /* Assignment: '/Присваивание в [7-8]' incorporates: - * Assignment: '/Присваивание в [3-4]' - * Assignment: '/valves all' - * Constant: '/Constant' + /* Assignment: '/Присваивание в [7-8]' incorporates: + * Assignment: '/Присваивание в [3-4]' + * Assignment: '/valves all' + * Constant: '/Constant' */ - rtb_out_cej[i] = rtConstP.pooled101[i]; + rtb_u4[i] = rtConstP.pooled102[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* 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' + /* MultiPortSwitch: '/Multiport Switch1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant10' + * Constant: '/Constant11' + * Constant: '/Constant2' + * Constant: '/Constant4' + * Constant: '/Constant5' + * Constant: '/Constant6' + * Constant: '/Constant7' + * Constant: '/Constant8' + * Constant: '/Constant9' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreWrite: '/Data Store Write' + * Gain: '/Gain1' + * Gain: '/Gain2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * Sum: '/Add' */ - rtb_Saturation2 = (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)); + switch ((int32_t)(((uint32_t)((rtDW.CCU_FACE_FR == 1) << 1) + (uint32_t) + (rtDW.CCU_DEF_FR == 1)) + (uint32_t)((rtDW.CCU_FOOT_FR == 1) + << 2))) { + case 0: + Index_mode_FR_manual = 10U; + break; - /* MATLAB Function: '/Valves for Hi_Level' */ - /* : out = g_ausFLOW_FR_DE2VALVE; */ - /* : out = g_ausFLOW_FR_VE2VALVE; */ - ValvesforHi_Level(rtb_out_pdp); + case 1: + Index_mode_FR_manual = 80U; + break; - /* MATLAB Function: '/Valves for Foot + Def' */ - /* : out = g_ausFLOW_FR_FO2VALVE; */ - ValvesforFootDef(rtb_out_gta); + case 2: + Index_mode_FR_manual = 10U; + break; - /* MATLAB Function: '/Valves for Bi Level' */ - ValvesforBiLevel(rtb_out_c); + case 3: + Index_mode_FR_manual = 100U; + break; - /* MATLAB Function: '/Valves for Tri-Level' */ - ValvesforTriLevel(rtb_out_cj); + case 4: + Index_mode_FR_manual = 60U; + break; - /* Saturate: '/Saturation1' incorporates: - * DataStoreRead: '/Data Store Read17' - */ - if (rtDW.CCU_SET_FR > 290) { - rtb_out_mxq = 290U; - } else if (rtDW.CCU_SET_FR < 170) { - rtb_out_mxq = 170U; - } else { - rtb_out_mxq = rtDW.CCU_SET_FR; + case 5: + Index_mode_FR_manual = 70U; + break; + + case 6: + Index_mode_FR_manual = 20U; + break; + + default: + Index_mode_FR_manual = 90U; + break; } - /* MATLAB Function: '/MODE_for_set_and_lvl1' incorporates: - * Gain: '/Gain1' - * Saturate: '/Saturation1' - */ - MODE_for_set_and_lvl(rtb_Saturation4, (int16_t)((52429U * rtb_out_mxq) >> 19), - &rtb_DataTypeConversion3_hs); + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* Switch: '/Switch1' incorporates: - * Constant: '/manual1' - * DataStoreRead: '/Data Store Read8' - * RelationalOperator: '/Equal2' + /* MATLAB Function: '/valves_front' incorporates: + * DataStoreWrite: '/Data Store Write' */ + valves_front(Index_mode_FR_manual, rtb_MultiportSwitch_fd); + + /* RelationalOperator: '/Equal2' incorporates: + * Constant: '/manual1' + * DataStoreRead: '/Data Store Read8' + */ + rtb_Compare_i5 = (rtDW.CCU_MODE_FR == 0); + + /* Saturate: '/Saturation1' incorporates: + * DataStoreRead: '/Data Store Read17' + */ + if (rtDW.CCU_SET_FR > 290) { + rtb_out_bf = 290U; + } else if (rtDW.CCU_SET_FR < 170) { + rtb_out_bf = 170U; + } else { + rtb_out_bf = rtDW.CCU_SET_FR; + } + + /* MATLAB Function: '/MODE_for_set_and_lvl1' incorporates: + * Gain: '/Gain1' + * Saturate: '/Saturation1' + */ + MODE_for_set_and_lvl(rtb_Saturation4, (int16_t)((52429U * rtb_out_bf) >> 19), + &rtb_Switch_bm); + + /* MATLAB Function: '/valves_front_right' */ /* : modes_array = [ */ /* : g_ausFLOW_FR_VE2VALVE; */ /* : g_ausFLOW_FR_BIVALVE; */ @@ -33518,442 +35725,383 @@ void HVAC_model_step(void) /* : g_ausFLOW_FR_AF2VALVE_SUMMER]; */ /* : index = idivide(MODE, 10); */ /* : get_valves = modes_array(index, :); */ - if (rtDW.CCU_MODE_FR == 0) { - /* MultiPortSwitch: '/Multiport Switch' */ - switch (rtb_Saturation2) { - case 0: - /* Switch: '/Switch5' */ - for (i = 0; i < 9; i++) { - rtb_out_cj[i] = 0U; - } - break; + i = (int32_t)trunc((double)rtb_Switch_bm / 10.0); + for (rtb_Cmd_3Way = 0; rtb_Cmd_3Way < 9; rtb_Cmd_3Way++) { + tmp[5 * rtb_Cmd_3Way] = g_ausFLOW_FR_VE2VALVE[rtb_Cmd_3Way]; + tmp[5 * rtb_Cmd_3Way + 1] = g_ausFLOW_FR_BIVALVE[rtb_Cmd_3Way]; + tmp[5 * rtb_Cmd_3Way + 2] = g_ausFLOW_FR_BI2VALVE[rtb_Cmd_3Way]; + tmp[5 * rtb_Cmd_3Way + 3] = g_ausFLOW_FR_AF2VALVE[rtb_Cmd_3Way]; + tmp[5 * rtb_Cmd_3Way + 4] = g_ausFLOW_FR_AF2VALVE_SUMMER[rtb_Cmd_3Way]; - case 1: - /* Switch: '/Switch5' incorporates: - * MATLAB Function: '/Valves for Def' - */ - for (i = 0; i < 9; i++) { - rtb_out_cj[i] = g_ausFLOW_FR_DE2VALVE[i]; - } - break; - - case 2: - /* Switch: '/Switch5' incorporates: - * MATLAB Function: '/Valves for Vent mode' - */ - for (i = 0; i < 9; i++) { - rtb_out_cj[i] = g_ausFLOW_FR_VE2VALVE[i]; - } - break; - - case 3: - /* Switch: '/Switch5' */ - for (i = 0; i < 9; i++) { - rtb_out_cj[i] = rtb_out_pdp[i]; - } - break; - - case 4: - /* Switch: '/Switch5' incorporates: - * MATLAB Function: '/Valves for Foot' - */ - for (i = 0; i < 9; i++) { - rtb_out_cj[i] = g_ausFLOW_FR_FO2VALVE[i]; - } - break; - - case 5: - /* Switch: '/Switch5' */ - for (i = 0; i < 9; i++) { - rtb_out_cj[i] = rtb_out_gta[i]; - } - break; - - case 6: - /* Switch: '/Switch5' */ - for (i = 0; i < 9; i++) { - rtb_out_cj[i] = rtb_out_c[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - } else { - /* MATLAB Function: '/valves_front_right' incorporates: - * Switch: '/Switch5' + /* Switch: '/Switch1' incorporates: + * Switch: '/Switch' */ - i = (int32_t)trunc((double)rtb_DataTypeConversion3_hs / 10.0); - for (rtb_Cmd_3Way = 0; rtb_Cmd_3Way < 9; rtb_Cmd_3Way++) { - tmp[5 * rtb_Cmd_3Way] = g_ausFLOW_FR_VE2VALVE[rtb_Cmd_3Way]; - tmp[5 * rtb_Cmd_3Way + 1] = g_ausFLOW_FR_BIVALVE[rtb_Cmd_3Way]; - tmp[5 * rtb_Cmd_3Way + 2] = g_ausFLOW_FR_BI2VALVE[rtb_Cmd_3Way]; - tmp[5 * rtb_Cmd_3Way + 3] = g_ausFLOW_FR_AF2VALVE[rtb_Cmd_3Way]; - tmp[5 * rtb_Cmd_3Way + 4] = g_ausFLOW_FR_AF2VALVE_SUMMER[rtb_Cmd_3Way]; - rtb_out_cj[rtb_Cmd_3Way] = tmp[(5 * rtb_Cmd_3Way + i) - 1]; + if (!rtb_Compare_i5) { + rtb_MultiportSwitch_fd[rtb_Cmd_3Way] = tmp[(5 * rtb_Cmd_3Way + i) - 1]; } - /* End of MATLAB Function: '/valves_front_right' */ + /* End of Switch: '/Switch1' */ } - /* End of Switch: '/Switch1' */ + /* End of MATLAB Function: '/valves_front_right' */ - /* Assignment: '/set valves[7]' incorporates: - * DataStoreRead: '/Data Store Read2' - * Sum: '/Add' + /* Assignment: '/set valves[7]' incorporates: + * DataStoreRead: '/Data Store Read2' + * Sum: '/Add' */ - rtb_out_cj[6] += rtDW.Valve_individual_foot_FR; + rtb_MultiportSwitch_fd[6] += rtDW.Valve_individual_foot_FR; - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/manual' - * Constant: '/manual1' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read1' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal2' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/manual' + * Constant: '/manual1' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read1' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal2' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_FR == 1) && (rtDW.CCU_MODE_FR == 0)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 0) && (rtDW.LO_HI_MODE_FL == 1)))) { case 1: - /* Assignment: '/valves[6]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[6]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_cj[5] = 0U; + rtb_MultiportSwitch_fd[5] = 0U; break; case 2: - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_cj[7] = 0U; + rtb_MultiportSwitch_fd[7] = 0U; break; case 3: - /* Assignment: '/valves[6]' incorporates: - * Assignment: '/valves[8]' - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[6]' incorporates: + * Assignment: '/valves[8]' + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_cj[5] = 0U; + rtb_MultiportSwitch_fd[5] = 0U; - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_cj[7] = 0U; + rtb_MultiportSwitch_fd[7] = 0U; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW' - * Constant: '/LOW3' - * Constant: '/manual' - * Constant: '/manual' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW' + * Constant: '/LOW3' + * Constant: '/manual' + * Constant: '/manual' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR == 0)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 0) && (rtDW.LO_HI_MODE_RL == 1)))) { case 1: - /* Assignment: '/valves[6]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[6]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_cj[5] = 0U; + rtb_MultiportSwitch_fd[5] = 0U; break; case 2: - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_cj[7] = 0U; + rtb_MultiportSwitch_fd[7] = 0U; break; case 3: - /* Assignment: '/valves[6]' incorporates: - * Assignment: '/valves[8]' - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[6]' incorporates: + * Assignment: '/valves[8]' + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_cj[5] = 0U; + rtb_MultiportSwitch_fd[5] = 0U; - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_cj[7] = 0U; + rtb_MultiportSwitch_fd[7] = 0U; break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/manual' - * Constant: '/manual1' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read1' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * MultiPortSwitch: '/Multiport Switch' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal2' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/manual' + * Constant: '/manual1' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read1' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * MultiPortSwitch: '/Multiport Switch' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal2' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_FR == 2) && (rtDW.CCU_MODE_FR == 0)) << 1) + (uint32_t)((rtDW.CCU_MODE_FL == 0) && (rtDW.LO_HI_MODE_FL == 2)))) { case 1: for (i = 0; i < 9; i++) { - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves[6]' - * Assignment: '/valves[8]' - * MultiPortSwitch: '/Multiport Switch' - * SignalConversion generated from: '/valves[6]' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves[6]' + * Assignment: '/valves[8]' + * MultiPortSwitch: '/Multiport Switch' + * SignalConversion generated from: '/valves[6]' */ - rtb_out_pdp[i] = rtb_out_cj[i]; + rtb_MultiportSwitch_lp[i] = rtb_MultiportSwitch_fd[i]; } - /* Assignment: '/valves[6]' incorporates: - * Assignment: '/valves[8]' - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[6]' incorporates: + * Assignment: '/valves[8]' + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_pdp[5] = 0U; + rtb_MultiportSwitch_lp[5] = 0U; - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_pdp[7] = 0U; + rtb_MultiportSwitch_lp[7] = 0U; break; case 2: for (i = 0; i < 9; i++) { - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves[6]' - * Assignment: '/valves[8]' - * MultiPortSwitch: '/Multiport Switch' - * SignalConversion generated from: '/valves[6]' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves[6]' + * Assignment: '/valves[8]' + * MultiPortSwitch: '/Multiport Switch' + * SignalConversion generated from: '/valves[6]' */ - rtb_out_pdp[i] = rtb_out_cj[i]; + rtb_MultiportSwitch_lp[i] = rtb_MultiportSwitch_fd[i]; } - /* Assignment: '/valves[6]' incorporates: - * Assignment: '/valves[8]' - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[6]' incorporates: + * Assignment: '/valves[8]' + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_pdp[5] = 0U; + rtb_MultiportSwitch_lp[5] = 0U; - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_pdp[7] = 0U; + rtb_MultiportSwitch_lp[7] = 0U; break; case 3: for (i = 0; i < 9; i++) { - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves[6]' - * Assignment: '/valves[8]' - * MultiPortSwitch: '/Multiport Switch' - * SignalConversion generated from: '/valves[6]' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves[6]' + * Assignment: '/valves[8]' + * MultiPortSwitch: '/Multiport Switch' + * SignalConversion generated from: '/valves[6]' */ - rtb_out_pdp[i] = rtb_out_cj[i]; + rtb_MultiportSwitch_lp[i] = rtb_MultiportSwitch_fd[i]; } - /* Assignment: '/valves[6]' incorporates: - * Assignment: '/valves[8]' - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[6]' incorporates: + * Assignment: '/valves[8]' + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_pdp[5] = 0U; + rtb_MultiportSwitch_lp[5] = 0U; - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_pdp[7] = 0U; + rtb_MultiportSwitch_lp[7] = 0U; break; default: for (i = 0; i < 9; i++) { - rtb_out_pdp[i] = rtb_out_cj[i]; + rtb_MultiportSwitch_lp[i] = rtb_MultiportSwitch_fd[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Switch: '/Switch2' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/HI2' - * Constant: '/HI3' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' + /* Switch: '/Switch2' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/HI2' + * Constant: '/HI3' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' */ if ((rtDW.LO_HI_MODE_FL != 2) || (rtDW.LO_HI_MODE_FR != 2) || (rtDW.LO_HI_MODE_RL != 2) || (rtDW.LO_HI_MODE_RR != 2)) { - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/manual' - * Constant: '/manual' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/manual' + * Constant: '/manual' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR == 0)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 0) && (rtDW.LO_HI_MODE_RL == 2)))) { case 1: for (i = 0; i < 9; i++) { - /* Switch: '/Switch2' incorporates: - * Assignment: '/valves[6]' - * MultiPortSwitch: '/Multiport Switch' - * SignalConversion generated from: '/valves[6]' + /* Switch: '/Switch2' incorporates: + * Assignment: '/valves[6]' + * MultiPortSwitch: '/Multiport Switch' + * SignalConversion generated from: '/valves[6]' */ - rtb_out_cj[i] = rtb_out_pdp[i]; + rtb_MultiportSwitch_fd[i] = rtb_MultiportSwitch_lp[i]; } break; case 2: for (i = 0; i < 9; i++) { - /* Switch: '/Switch2' incorporates: - * Assignment: '/valves[8]' - * MultiPortSwitch: '/Multiport Switch' - * SignalConversion generated from: '/valves[8]' + /* Switch: '/Switch2' incorporates: + * Assignment: '/valves[8]' + * MultiPortSwitch: '/Multiport Switch' + * SignalConversion generated from: '/valves[8]' */ - rtb_out_cj[i] = rtb_out_pdp[i]; + rtb_MultiportSwitch_fd[i] = rtb_MultiportSwitch_lp[i]; } - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * Switch: '/Switch2' + /* Assignment: '/valves[8]' incorporates: + * Constant: '/Constant' + * Switch: '/Switch2' */ - rtb_out_cj[7] = 0U; + rtb_MultiportSwitch_fd[7] = 0U; break; case 3: for (i = 0; i < 9; i++) { - /* Switch: '/Switch2' incorporates: - * Assignment: '/valves[8]' - * MultiPortSwitch: '/Multiport Switch' - * SignalConversion generated from: '/valves[8]' + /* Switch: '/Switch2' incorporates: + * Assignment: '/valves[8]' + * MultiPortSwitch: '/Multiport Switch' + * SignalConversion generated from: '/valves[8]' */ - rtb_out_cj[i] = rtb_out_pdp[i]; + rtb_MultiportSwitch_fd[i] = rtb_MultiportSwitch_lp[i]; } - /* Assignment: '/valves[8]' incorporates: - * Constant: '/Constant' - * Switch: '/Switch2' + /* Assignment: '/valves[8]' incorporates: + * Constant: '/Constant' + * Switch: '/Switch2' */ - rtb_out_cj[7] = 0U; + rtb_MultiportSwitch_fd[7] = 0U; break; default: - /* Switch: '/Switch2' incorporates: - * MultiPortSwitch: '/Multiport Switch' + /* Switch: '/Switch2' incorporates: + * MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 9; i++) { - rtb_out_cj[i] = rtb_out_pdp[i]; + rtb_MultiportSwitch_fd[i] = rtb_MultiportSwitch_lp[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read2' */ switch (rtDW.LEVEL) { case 0: case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/LOW3' - * Constant: '/LOW4' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/LOW3' + * Constant: '/LOW4' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && (rtDW.LO_HI_MODE_RL == 1) && (rtDW.LO_HI_MODE_RR == 1) && @@ -33966,76 +36114,76 @@ void HVAC_model_step(void) case 2: case 6: - /* Assignment: '/valves[3,4,7]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[3,4,7]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_cj[2] = 100U; - rtb_out_cj[3] = 100U; - rtb_out_cj[6] = 20U; + rtb_MultiportSwitch_fd[2] = 100U; + rtb_MultiportSwitch_fd[3] = 100U; + rtb_MultiportSwitch_fd[6] = 20U; break; case 3: - /* Assignment: '/valves[1, 2, 3, 4, 5, 7]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[1, 2, 3, 4, 5, 7]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 6; i++) { - rtb_out_cj[tmp_5[i]] = rtConstP.pooled105[i]; + rtb_MultiportSwitch_fd[tmp_4[i]] = rtConstP.pooled106[i]; } - /* End of Assignment: '/valves[1, 2, 3, 4, 5, 7]' */ + /* End of Assignment: '/valves[1, 2, 3, 4, 5, 7]' */ break; case 7: - /* Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 8; i++) { - rtb_out_cj[i] = rtConstP.pooled104[i]; + rtb_MultiportSwitch_fd[i] = rtConstP.pooled105[i]; } - /* End of Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' */ + /* End of Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' */ break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; case 2: case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/LOW3' - * Constant: '/LOW4' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/LOW3' + * Constant: '/LOW4' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && (rtDW.LO_HI_MODE_RL == 1) && (rtDW.LO_HI_MODE_RR == 1) && @@ -34048,75 +36196,75 @@ void HVAC_model_step(void) case 2: case 6: - /* Assignment: '/valves[3,4,7]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[3,4,7]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_cj[2] = 100U; - rtb_out_cj[3] = 100U; - rtb_out_cj[6] = 20U; + rtb_MultiportSwitch_fd[2] = 100U; + rtb_MultiportSwitch_fd[3] = 100U; + rtb_MultiportSwitch_fd[6] = 20U; break; case 3: - /* Assignment: '/valves[1, 2, 3, 4, 5, 7]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[1, 2, 3, 4, 5, 7]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 6; i++) { - rtb_out_cj[tmp_5[i]] = rtConstP.pooled105[i]; + rtb_MultiportSwitch_fd[tmp_4[i]] = rtConstP.pooled106[i]; } - /* End of Assignment: '/valves[1, 2, 3, 4, 5, 7]' */ + /* End of Assignment: '/valves[1, 2, 3, 4, 5, 7]' */ break; case 7: - /* Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 8; i++) { - rtb_out_cj[i] = rtConstP.pooled104[i]; + rtb_MultiportSwitch_fd[i] = rtConstP.pooled105[i]; } - /* End of Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' */ + /* End of Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' */ break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; default: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/LOW3' - * Constant: '/LOW4' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/LOW3' + * Constant: '/LOW4' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && (rtDW.LO_HI_MODE_RL == 1) && (rtDW.LO_HI_MODE_RR == 1) && @@ -34129,161 +36277,161 @@ void HVAC_model_step(void) case 2: case 6: - /* Assignment: '/valves[3,4,7]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[3,4,7]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ - rtb_out_cj[2] = 100U; - rtb_out_cj[3] = 100U; - rtb_out_cj[6] = 20U; + rtb_MultiportSwitch_fd[2] = 100U; + rtb_MultiportSwitch_fd[3] = 100U; + rtb_MultiportSwitch_fd[6] = 20U; break; case 3: - /* Assignment: '/valves[1, 2, 3, 4, 5, 7]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[1, 2, 3, 4, 5, 7]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 6; i++) { - rtb_out_cj[tmp_5[i]] = rtConstP.pooled105[i]; + rtb_MultiportSwitch_fd[tmp_4[i]] = rtConstP.pooled106[i]; } - /* End of Assignment: '/valves[1, 2, 3, 4, 5, 7]' */ + /* End of Assignment: '/valves[1, 2, 3, 4, 5, 7]' */ break; case 7: - /* Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 8; i++) { - rtb_out_cj[i] = rtConstP.pooled104[i]; + rtb_MultiportSwitch_fd[i] = rtConstP.pooled105[i]; } - /* End of Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' */ + /* End of Assignment: '/valves[1, 2, 3, 4, 5, 6, 7, 8]' */ + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + break; + } + + /* End of MultiPortSwitch: '/Multiport Switch' */ + + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + switch (rtDW.LEVEL) { + case 0: + case 1: + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/HI2' + * Constant: '/HI3' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' + */ + switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && + (rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2) && + (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR == + 1) && (rtDW.LO_HI_MODE_FR == 2)) << 1)) + (uint32_t)((rtDW.CCU_MODE_FL == + 1) && (rtDW.LO_HI_MODE_FL == 2)))) { + case 1: + case 5: + break; + + case 2: + case 6: + /* Assignment: '/valves[3,4,7]' incorporates: + * Constant: '/Constant' + * Switch: '/Switch' + */ + rtb_MultiportSwitch_fd[2] = 60U; + rtb_MultiportSwitch_fd[3] = 60U; + rtb_MultiportSwitch_fd[6] = 100U; + break; + + case 3: + /* Switch: '/Switch' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' + */ + for (i = 0; i < 9; i++) { + rtb_MultiportSwitch_fd[i] = rtConstP.pooled100[i]; + } + break; + + case 7: + /* Switch: '/Switch' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' + */ + for (i = 0; i < 9; i++) { + rtb_MultiportSwitch_fd[i] = rtConstP.pooled99[i]; + } break; } /* End of MultiPortSwitch: '/Multiport Switch' */ break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - switch (rtDW.LEVEL) { - case 0: - case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/HI2' - * Constant: '/HI3' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' - */ - switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && - (rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2) && - (rtDW.CCU_MODE_RR == 1)) << 2) + (uint32_t)(((rtDW.CCU_MODE_FR == - 1) && (rtDW.LO_HI_MODE_FR == 2)) << 1)) + (uint32_t)((rtDW.CCU_MODE_FL == - 1) && (rtDW.LO_HI_MODE_FL == 2)))) { - case 1: - case 5: - break; - - case 2: - case 6: - /* Assignment: '/valves[3,4,7]' incorporates: - * Constant: '/Constant' - * Switch: '/Switch5' - */ - rtb_out_cj[2] = 60U; - rtb_out_cj[3] = 60U; - rtb_out_cj[6] = 100U; - break; - - case 3: - /* Switch: '/Switch5' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' - */ - for (i = 0; i < 9; i++) { - rtb_out_cj[i] = rtConstP.pooled99[i]; - } - break; - - case 7: - /* Switch: '/Switch5' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' - */ - for (i = 0; i < 9; i++) { - rtb_out_cj[i] = rtConstP.pooled98[i]; - } - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch' */ - break; case 2: case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/HI2' - * Constant: '/HI3' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/HI2' + * Constant: '/HI3' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && (rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2) && @@ -34296,71 +36444,71 @@ void HVAC_model_step(void) case 2: case 6: - /* Assignment: '/valves[3,4,7]' incorporates: - * Constant: '/Constant' - * Switch: '/Switch5' + /* Assignment: '/valves[3,4,7]' incorporates: + * Constant: '/Constant' + * Switch: '/Switch' */ - rtb_out_cj[2] = 60U; - rtb_out_cj[3] = 60U; - rtb_out_cj[6] = 100U; + rtb_MultiportSwitch_fd[2] = 60U; + rtb_MultiportSwitch_fd[3] = 60U; + rtb_MultiportSwitch_fd[6] = 100U; break; case 3: - /* Switch: '/Switch5' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' */ for (i = 0; i < 9; i++) { - rtb_out_cj[i] = rtConstP.pooled102[i]; + rtb_MultiportSwitch_fd[i] = rtConstP.pooled103[i]; } break; case 7: - /* Switch: '/Switch5' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' */ for (i = 0; i < 9; i++) { - rtb_out_cj[i] = rtConstP.pooled101[i]; + rtb_MultiportSwitch_fd[i] = rtConstP.pooled102[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; default: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/HI2' - * Constant: '/HI3' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/HI2' + * Constant: '/HI3' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)(((uint32_t)(((rtDW.CCU_MODE_RL == 1) && (rtDW.LO_HI_MODE_RL == 2) && (rtDW.LO_HI_MODE_RR == 2) && @@ -34373,165 +36521,200 @@ void HVAC_model_step(void) case 2: case 6: - /* Assignment: '/valves[3,4,7]' incorporates: - * Constant: '/Constant' - * Switch: '/Switch5' + /* Assignment: '/valves[3,4,7]' incorporates: + * Constant: '/Constant' + * Switch: '/Switch' */ - rtb_out_cj[2] = 60U; - rtb_out_cj[3] = 60U; - rtb_out_cj[6] = 100U; + rtb_MultiportSwitch_fd[2] = 60U; + rtb_MultiportSwitch_fd[3] = 60U; + rtb_MultiportSwitch_fd[6] = 100U; break; case 3: - /* Switch: '/Switch5' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' */ for (i = 0; i < 9; i++) { - rtb_out_cj[i] = rtConstP.pooled103[i]; + rtb_MultiportSwitch_fd[i] = rtConstP.pooled104[i]; } break; case 7: - /* Switch: '/Switch5' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' */ for (i = 0; i < 9; i++) { - rtb_out_cj[i] = rtConstP.pooled101[i]; + rtb_MultiportSwitch_fd[i] = rtConstP.pooled102[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Assignment: '/Присваивание в [3-4]' incorporates: - * Assignment: '/Присваивание в [7-8]' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * Assignment: '/Присваивание в [7-8]' */ - rtb_out_cej[2] = rtb_out_cj[2]; + rtb_u4[2] = rtb_MultiportSwitch_fd[2]; - /* Assignment: '/Присваивание в [7-8]' */ - rtb_out_cej[6] = rtb_out_cj[6]; + /* Assignment: '/Присваивание в [7-8]' */ + rtb_u4[6] = rtb_MultiportSwitch_fd[6]; - /* Assignment: '/Присваивание в [3-4]' incorporates: - * Assignment: '/Присваивание в [7-8]' + /* Assignment: '/Присваивание в [3-4]' incorporates: + * Assignment: '/Присваивание в [7-8]' */ - rtb_out_cej[3] = rtb_out_cj[3]; + rtb_u4[3] = rtb_MultiportSwitch_fd[3]; - /* Assignment: '/Присваивание в [7-8]' */ - rtb_out_cej[7] = rtb_out_cj[7]; + /* Assignment: '/Присваивание в [7-8]' */ + rtb_u4[7] = rtb_MultiportSwitch_fd[7]; - /* Switch: '/Switch5' incorporates: - * DataStoreRead: '/Data Store Read15' + /* Switch: '/Switch6' incorporates: + * DataStoreRead: '/Data Store Read' + */ + if (rtDW.DifferentBlower_Front_isActive) { + /* Assignment: '/Присваивание в [7]' incorporates: + * DataStoreRead: '/Data Store Read1' + * Switch: '/Switch6' + */ + for (i = 0; i < 5; i++) { + rtb_u4[i] = rtDW.DifferentBlower_Front_valves[5]; + } + + /* End of Assignment: '/Присваивание в [7]' */ + } + + /* End of Switch: '/Switch6' */ + + /* Switch: '/Switch5' incorporates: + * DataStoreRead: '/Data Store Read15' */ if (rtDW.Foot2_control_FL_is_active) { - /* Assignment: '/в [6] (foot2 FL valve)' incorporates: - * DataStoreRead: '/Data Store Read1' - * Switch: '/Switch5' + /* Assignment: '/в [6] (foot2 FL valve)' incorporates: + * DataStoreRead: '/Data Store Read1' + * Switch: '/Switch5' */ - rtb_out_cej[5] = rtDW.Foot2_control_FL; + rtb_u4[5] = rtDW.Foot2_control_FL; } - /* End of Switch: '/Switch5' */ + /* End of Switch: '/Switch5' */ - /* Switch: '/Switch1' incorporates: - * DataStoreRead: '/Data Store Read3' + /* Switch: '/Switch1' incorporates: + * DataStoreRead: '/Data Store Read3' */ if (rtDW.Foot2_control_FR_is_active) { - /* Assignment: '/в [8] (foot2 FR valve)' incorporates: - * DataStoreRead: '/Data Store Read2' - * Switch: '/Switch1' + /* Assignment: '/в [8] (foot2 FR valve)' incorporates: + * DataStoreRead: '/Data Store Read2' + * Switch: '/Switch1' */ - rtb_out_cej[7] = rtDW.Foot2_control_FR; + rtb_u4[7] = rtDW.Foot2_control_FR; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Switch: '/Switch6' incorporates: - * DataStoreRead: '/Data Store Read' + /* Switch: '/Switch6' incorporates: + * DataStoreRead: '/Data Store Read' */ if (rtDW.def_valve_100_req) { - /* Assignment: '/в [9] (Def valve)' incorporates: - * Constant: '/Constant' - * Switch: '/Switch6' + /* Assignment: '/в [9] (Def valve)' incorporates: + * Constant: '/Constant' + * Switch: '/Switch6' */ - rtb_out_cej[8] = 100U; + rtb_u4[8] = 100U; } - /* End of Switch: '/Switch6' */ + /* End of Switch: '/Switch6' */ - /* Switch: '/Switch5' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read15' - * Logic: '/Logical Operator' - * Switch: '/Switch6' + /* Switch: '/Switch5' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read15' + * Logic: '/Logical Operator' */ if (rtDW.Max_def_algo_active || rtDW.Max_AC_algo_active) { - for (i = 0; i < 9; i++) { - /* Switch: '/Switch5' incorporates: - * Assignment: '/Присваивание в [6]' - * Assignment: '/Присваивание в [8]' - * Switch: '/Switch6' - */ - rtb_out_cj[i] = rtb_out_cej[i]; - } - - /* Assignment: '/Присваивание в [6]' incorporates: - * Assignment: '/Присваивание в [8]' - * Constant: '/Constant' - * Switch: '/Switch5' + /* Assignment: '/Присваивание в [6]' incorporates: + * Assignment: '/Присваивание в [8]' + * Constant: '/Constant' + * Switch: '/Switch5' */ - rtb_out_cj[5] = 0U; + rtb_u4[5] = 0U; - /* Assignment: '/Присваивание в [8]' incorporates: - * Constant: '/Constant1' - * Switch: '/Switch5' + /* Assignment: '/Присваивание в [8]' incorporates: + * Constant: '/Constant1' + * Switch: '/Switch5' */ - rtb_out_cj[7] = 0U; - } else { - for (i = 0; i < 9; i++) { - rtb_out_cj[i] = rtb_out_cej[i]; - } + rtb_u4[7] = 0U; } - /* End of Switch: '/Switch5' */ + /* End of Switch: '/Switch5' */ - /* Outputs for Enabled SubSystem: '/Rear valves left - manual directions' incorporates: - * EnablePort: '/Enable' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' + * Switch: '/Switch5' */ - /* RelationalOperator: '/Equal2' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read44' + if (rtDW.RearHVAC_present) { + for (i = 0; i < 9; i++) { + rtb_MultiportSwitch_fd[i] = rtb_u4[i]; + } + } else { + for (i = 0; i < 9; i++) { + /* Switch: '/Switch' incorporates: + * Assignment: '/Присваивание в [8]' + * SignalConversion generated from: '/Присваивание в [6]' + * Switch: '/Switch5' + */ + rtb_MultiportSwitch_fd[i] = rtb_u4[i]; + } + + /* Assignment: '/Присваивание в [6]' incorporates: + * Assignment: '/Присваивание в [8]' + * Switch: '/Switch' + */ + rtb_MultiportSwitch_fd[5] = rtb_u4[4]; + + /* Assignment: '/Присваивание в [8]' incorporates: + * Switch: '/Switch' + */ + rtb_MultiportSwitch_fd[7] = rtb_u4[6]; + } + + /* End of Switch: '/Switch' */ + + /* 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) { - /* RelationalOperator: '/Relational Operator2' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read24' + /* RelationalOperator: '/Relational Operator2' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read24' */ rtb_RelationalOperator6_f = (rtDW.CCU_FOOT_RL == 1); - /* Sum: '/Add' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read23' - * DataTypeConversion: '/Data Type Conversion5' - * Gain: '/Gain2' - * RelationalOperator: '/Relational Operator1' + /* Sum: '/Add' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read23' + * DataTypeConversion: '/Data Type Conversion5' + * Gain: '/Gain2' + * RelationalOperator: '/Relational Operator1' */ - rtb_out_crw = (uint16_t)((uint32_t)(rtDW.CCU_FACE_RL == 1) + (uint32_t) + rtb_out_kez = (uint16_t)((uint32_t)(rtDW.CCU_FACE_RL == 1) + (uint32_t) (rtb_RelationalOperator6_f << 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 (rtb_out_crw) { + switch (rtb_out_kez) { case 0: rtDW.Index_mode_RL_manual = 0U; break; @@ -34549,34 +36732,34 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* MATLAB Function: '/AF for Bi Level' */ + /* MATLAB Function: '/AF for Bi Level' */ AFforBiLevel_i(rtB.MultiportSwitch_h); - /* MATLAB Function: '/valves for Vent mode' */ + /* MATLAB Function: '/valves for Vent mode' */ /* : out = g_ausFLOW_RE_FO2VALVE; */ valvesforVentmode(rtb_Gain1_o3); - /* MultiPortSwitch: '/Multiport Switch' */ - switch (rtb_out_crw) { + /* MultiPortSwitch: '/Multiport Switch' */ + switch (rtb_out_kez) { case 0: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 6; i++) { rtB.MultiportSwitch_h[i] = 0U; } break; case 1: - /* MultiPortSwitch: '/Multiport Switch' */ + /* MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 6; i++) { rtB.MultiportSwitch_h[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_h[i] = g_ausFLOW_RE_FO2VALVE[i]; @@ -34584,13 +36767,13 @@ void HVAC_model_step(void) 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' */ - /* 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; */ @@ -34609,45 +36792,45 @@ void HVAC_model_step(void) rtb_get_mode[i] = tmp_0[6 * i + rtb_Saturation4]; } - /* End of MATLAB Function: '/MODE_by_duct_tg_R_for_LVL' */ + /* End of MATLAB Function: '/MODE_by_duct_tg_R_for_LVL' */ - /* If: '/If2' incorporates: - * DataStoreRead: '/Data Store Read6' - * Sum: '/Subtract' - * UnitDelay: '/Unit Delay' + /* If: '/If2' incorporates: + * DataStoreRead: '/Data Store Read6' + * Sum: '/Subtract' + * UnitDelay: '/Unit Delay' */ if ((int16_t)(rtb_Merge_b - rtDW.UnitDelay_DSTATE_fq) >= 0) { - /* 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: '/rear_mode_index' incorporates: - * MATLAB Function: '/increase' + /* SignalConversion generated from: '/rear_mode_index' incorporates: + * MATLAB Function: '/increase' */ increase(rtb_Merge_b, rtb_get_mode, &rtDW.Index_mode_RL_auto); - /* 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_Merge_b, rtb_get_mode, &rtDW.Index_mode_RL_auto); - /* End of Outputs for SubSystem: '/duct_tg уменьшается RL' */ + /* End of Outputs for SubSystem: '/duct_tg уменьшается RL' */ } - /* End of If: '/If2' */ + /* End of If: '/If2' */ - /* MATLAB Function: '/valves_rear_left' */ + /* MATLAB Function: '/valves_rear_left' */ valves_rear_left(rtDW.Index_mode_RL_auto, rtb_Gain1_o3); - /* Switch: '/Switch2' incorporates: - * Constant: '/manual2' - * DataStoreRead: '/Data Store Read9' - * MultiPortSwitch: '/Multiport Switch' - * RelationalOperator: '/Equal3' + /* Switch: '/Switch2' incorporates: + * Constant: '/manual2' + * DataStoreRead: '/Data Store Read9' + * MultiPortSwitch: '/Multiport Switch' + * RelationalOperator: '/Equal3' */ if (rtDW.CCU_MODE_RL == 0) { for (i = 0; i < 6; i++) { @@ -34655,39 +36838,39 @@ void HVAC_model_step(void) } } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read2' */ switch (rtDW.LEVEL) { case 0: case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && (rtDW.LO_HI_MODE_RL == 1)))) { case 1: - /* Assignment: '/valves[1,2,5]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[1,2,5]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ rtb_Gain1_o3[0] = 100U; rtb_Gain1_o3[1] = 100U; @@ -34698,46 +36881,46 @@ void HVAC_model_step(void) break; case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' */ for (i = 0; i < 6; i++) { - rtb_Gain1_o3[i] = rtConstP.pooled110[i]; + rtb_Gain1_o3[i] = rtConstP.pooled111[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; case 2: case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && (rtDW.LO_HI_MODE_RL == 1)))) { case 1: - /* Assignment: '/valves[1,2,5]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[1,2,5]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ rtb_Gain1_o3[0] = 100U; rtb_Gain1_o3[1] = 100U; @@ -34748,45 +36931,45 @@ void HVAC_model_step(void) break; case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' */ for (i = 0; i < 6; i++) { - rtb_Gain1_o3[i] = rtConstP.pooled110[i]; + rtb_Gain1_o3[i] = rtConstP.pooled111[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; default: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && (rtDW.LO_HI_MODE_RL == 1)))) { case 1: - /* Assignment: '/valves[1,2,5]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[1,2,5]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ rtb_Gain1_o3[0] = 100U; rtb_Gain1_o3[1] = 100U; @@ -34794,65 +36977,65 @@ void HVAC_model_step(void) break; case 2: - /* Assignment: '/valves[1, 2, 3, 4,6]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[1, 2, 3, 4,6]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 5; i++) { - rtb_Gain1_o3[tmp_6[i]] = rtConstP.pooled112[i]; + rtb_Gain1_o3[tmp_5[i]] = rtConstP.pooled113[i]; } - /* End of Assignment: '/valves[1, 2, 3, 4,6]' */ + /* End of Assignment: '/valves[1, 2, 3, 4,6]' */ break; case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' */ for (i = 0; i < 6; i++) { - rtb_Gain1_o3[i] = rtConstP.pooled110[i]; + rtb_Gain1_o3[i] = rtConstP.pooled111[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read2' */ switch (rtDW.LEVEL) { case 0: case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && (rtDW.LO_HI_MODE_RL == 2)))) { case 1: - /* Assignment: '/valves[1,2,5]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[1,2,5]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ rtb_Gain1_o3[0] = 70U; rtb_Gain1_o3[1] = 40U; @@ -34863,46 +37046,46 @@ void HVAC_model_step(void) break; case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' */ for (i = 0; i < 6; i++) { - rtb_Gain1_o3[i] = rtConstP.pooled107[i]; + rtb_Gain1_o3[i] = rtConstP.pooled108[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; case 2: case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && (rtDW.LO_HI_MODE_RL == 2)))) { case 1: - /* Assignment: '/valves[1,2,5]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[1,2,5]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ rtb_Gain1_o3[0] = 70U; rtb_Gain1_o3[1] = 40U; @@ -34913,45 +37096,45 @@ void HVAC_model_step(void) break; case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' */ for (i = 0; i < 6; i++) { - rtb_Gain1_o3[i] = rtConstP.pooled107[i]; + rtb_Gain1_o3[i] = rtConstP.pooled108[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; default: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && (rtDW.LO_HI_MODE_RL == 2)))) { case 1: - /* Assignment: '/valves[1,2,5]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[1,2,5]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ rtb_Gain1_o3[0] = 70U; rtb_Gain1_o3[1] = 40U; @@ -34962,24 +37145,24 @@ void HVAC_model_step(void) break; case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' */ for (i = 0; i < 6; i++) { - rtb_Gain1_o3[i] = rtConstP.pooled107[i]; + rtb_Gain1_o3[i] = rtConstP.pooled108[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/param index for mode' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/param index for mode' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : switch index_mode */ switch (rtDW.Index_mode_RL) { @@ -35050,11 +37233,11 @@ void HVAC_model_step(void) break; } - /* End of MATLAB Function: '/param index for mode' */ + /* End of MATLAB Function: '/param index for mode' */ - /* MATLAB Function: '/RL valves * percent DRS' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' + /* MATLAB Function: '/RL valves * percent DRS' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' */ /* : index_start = (param_index - 1) * 3 + 1; */ rtb_Cmd_3Way = (i - 1) * 3 + 1; @@ -35062,7 +37245,7 @@ void HVAC_model_step(void) /* : if DRS_RLS == 0 */ if (rtDW.DRS_SRL == 0) { /* : side_percent = uint8(0); */ - rtb_DataTypeConversion1_gy = 0U; + rtb_DataTypeConversion3_c1 = 0U; } else { /* : else */ /* : side_percent = g_aucREAR_SIDE_DRS_PERCENT_VALVE(index_start + 3 - DRS_RLS); */ @@ -35073,7 +37256,7 @@ void HVAC_model_step(void) center_percent = 0U; } - rtb_DataTypeConversion1_gy = g_aucREAR_SIDE_DRS_PERCENT_VALVE[center_percent + rtb_DataTypeConversion3_c1 = g_aucREAR_SIDE_DRS_PERCENT_VALVE[center_percent - 1]; } @@ -35096,7 +37279,7 @@ void HVAC_model_step(void) /* : y = valves; */ /* : y(1) = uint8(double(valves(1)) * (double(side_percent) / 100)); */ - i = (int32_t)rt_roundd((double)rtb_DataTypeConversion1_gy / 100.0 * (double) + i = (int32_t)rt_roundd((double)rtb_DataTypeConversion3_c1 / 100.0 * (double) rtb_Gain1_o3[0]); if (i < 256) { rtb_Gain1_o3[0] = (uint16_t)i; @@ -35112,40 +37295,40 @@ void HVAC_model_step(void) rtb_Gain1_o3[1] = 255U; } - /* End of MATLAB Function: '/RL valves * percent DRS' */ + /* End of MATLAB Function: '/RL valves * percent DRS' */ - /* 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) { - /* RelationalOperator: '/Relational Operator2' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read22' + /* RelationalOperator: '/Relational Operator2' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read22' */ rtb_RelationalOperator6_f = (rtDW.CCU_FOOT_RR == 1); - /* Sum: '/Add' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read21' - * DataTypeConversion: '/Data Type Conversion5' - * Gain: '/Gain2' - * RelationalOperator: '/Relational Operator1' + /* Sum: '/Add' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read21' + * DataTypeConversion: '/Data Type Conversion5' + * Gain: '/Gain2' + * RelationalOperator: '/Relational Operator1' */ - rtb_out_crw = (uint16_t)((uint32_t)(rtDW.CCU_FACE_RR == 1) + (uint32_t) + rtb_out_kez = (uint16_t)((uint32_t)(rtDW.CCU_FACE_RR == 1) + (uint32_t) (rtb_RelationalOperator6_f << 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 (rtb_out_crw) { + switch (rtb_out_kez) { case 0: rtDW.Index_mode_RR_manual = 0U; break; @@ -35163,34 +37346,34 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch1' */ + /* End of MultiPortSwitch: '/Multiport Switch1' */ - /* MATLAB Function: '/AF for Bi Level' */ + /* MATLAB Function: '/AF for Bi Level' */ AFforBiLevel_i(rtB.MultiportSwitch); - /* MATLAB Function: '/valves for Vent mode' */ + /* MATLAB Function: '/valves for Vent mode' */ /* : out = g_ausFLOW_RE_FO2VALVE; */ valvesforVentmode(rtb_out); - /* MultiPortSwitch: '/Multiport Switch' */ - switch (rtb_out_crw) { + /* MultiPortSwitch: '/Multiport Switch' */ + switch (rtb_out_kez) { 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_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]; @@ -35198,49 +37381,49 @@ 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' + /* 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, &rtb_out_crw); + increase(rtDW.Duct_RR_Tg, rtb_get_mode, &rtb_out_kez); - /* 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, &rtb_out_crw); + decrease(rtDW.Duct_RR_Tg, rtb_get_mode, &rtb_out_kez); - /* 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(rtb_out_crw, rtb_out); + /* MATLAB Function: '/valves_rear_right' */ + valves_rear_left(rtb_out_kez, rtb_out); - /* Switch: '/Switch3' incorporates: - * Constant: '/manual3' - * DataStoreRead: '/Data Store Read11' - * MultiPortSwitch: '/Multiport Switch' - * RelationalOperator: '/Equal4' + /* Switch: '/Switch3' incorporates: + * Constant: '/manual3' + * DataStoreRead: '/Data Store Read11' + * MultiPortSwitch: '/Multiport Switch' + * RelationalOperator: '/Equal4' */ if (rtDW.CCU_MODE_RR == 0) { for (i = 0; i < 6; i++) { @@ -35248,31 +37431,31 @@ void HVAC_model_step(void) } } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read2' */ switch (rtDW.LEVEL) { case 0: case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && @@ -35281,9 +37464,9 @@ void HVAC_model_step(void) break; case 2: - /* Assignment: '/valves[3,4,6]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[3,4,6]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ rtb_out[2] = 100U; rtb_out[3] = 100U; @@ -35291,38 +37474,38 @@ void HVAC_model_step(void) break; case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' */ for (i = 0; i < 6; i++) { - rtb_out[i] = rtConstP.pooled110[i]; + rtb_out[i] = rtConstP.pooled111[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; case 2: case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && @@ -35331,9 +37514,9 @@ void HVAC_model_step(void) break; case 2: - /* Assignment: '/valves[3,4,6]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[3,4,6]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ rtb_out[2] = 100U; rtb_out[3] = 100U; @@ -35341,37 +37524,37 @@ void HVAC_model_step(void) break; case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' */ for (i = 0; i < 6; i++) { - rtb_out[i] = rtConstP.pooled110[i]; + rtb_out[i] = rtConstP.pooled111[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; default: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/LOW1' - * Constant: '/LOW2' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/LOW1' + * Constant: '/LOW2' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 1) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && @@ -35380,57 +37563,57 @@ void HVAC_model_step(void) break; case 2: - /* Assignment: '/valves[1, 2, 3, 4,6]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[1, 2, 3, 4,6]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ for (i = 0; i < 5; i++) { - rtb_out[tmp_6[i]] = rtConstP.pooled112[i]; + rtb_out[tmp_5[i]] = rtConstP.pooled113[i]; } - /* End of Assignment: '/valves[1, 2, 3, 4,6]' */ + /* End of Assignment: '/valves[1, 2, 3, 4,6]' */ break; case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' */ for (i = 0; i < 6; i++) { - rtb_out[i] = rtConstP.pooled110[i]; + rtb_out[i] = rtConstP.pooled111[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read2' */ switch (rtDW.LEVEL) { case 0: case 1: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && @@ -35439,9 +37622,9 @@ void HVAC_model_step(void) break; case 2: - /* Assignment: '/valves[3,4,6]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[3,4,6]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ rtb_out[2] = 40U; rtb_out[3] = 70U; @@ -35449,38 +37632,38 @@ void HVAC_model_step(void) break; case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' */ for (i = 0; i < 6; i++) { - rtb_out[i] = rtConstP.pooled107[i]; + rtb_out[i] = rtConstP.pooled108[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; case 2: case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && @@ -35489,9 +37672,9 @@ void HVAC_model_step(void) break; case 2: - /* Assignment: '/valves[3,4,6]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[3,4,6]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ rtb_out[2] = 40U; rtb_out[3] = 70U; @@ -35499,37 +37682,37 @@ void HVAC_model_step(void) break; case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' */ for (i = 0; i < 6; i++) { - rtb_out[i] = rtConstP.pooled107[i]; + rtb_out[i] = rtConstP.pooled108[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; default: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/HI' - * Constant: '/HI1' - * Constant: '/auto' - * Constant: '/auto' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read46' - * DataStoreRead: '/Data Store Read46' - * Gain: '/Gain1' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal1' - * Sum: '/Add' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/HI' + * Constant: '/HI1' + * Constant: '/auto' + * Constant: '/auto' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read46' + * DataStoreRead: '/Data Store Read46' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * Sum: '/Add' */ switch ((int32_t)((uint32_t)(((rtDW.LO_HI_MODE_RR == 2) && (rtDW.CCU_MODE_RR == 1)) << 1) + (uint32_t)((rtDW.CCU_MODE_RL == 1) && @@ -35538,9 +37721,9 @@ void HVAC_model_step(void) break; case 2: - /* Assignment: '/valves[3,4,6]' incorporates: - * Constant: '/Constant' - * MultiPortSwitch: '/Multiport Switch' + /* Assignment: '/valves[3,4,6]' incorporates: + * Constant: '/Constant' + * MultiPortSwitch: '/Multiport Switch' */ rtb_out[2] = 40U; rtb_out[3] = 70U; @@ -35548,33 +37731,33 @@ void HVAC_model_step(void) break; case 3: - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Assignment: '/valves all' - * Constant: '/Constant' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Assignment: '/valves all' + * Constant: '/Constant' */ for (i = 0; i < 6; i++) { - rtb_out[i] = rtConstP.pooled107[i]; + rtb_out[i] = rtConstP.pooled108[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read4' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read4' */ /* : switch index_mode */ if (rtDW.CCU_MODE_RR <= 0) { rtDW.Index_mode_RR_auto = rtDW.Index_mode_RR_manual; } - /* MATLAB Function: '/param index for mode' incorporates: - * Switch: '/Switch' + /* MATLAB Function: '/param index for mode' incorporates: + * Switch: '/Switch' */ switch (rtDW.Index_mode_RR_auto) { case 0U: @@ -35644,11 +37827,11 @@ void HVAC_model_step(void) break; } - /* End of MATLAB Function: '/param index for mode' */ + /* End of MATLAB Function: '/param index for mode' */ - /* MATLAB Function: '/RR valves * percent DRS' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' + /* MATLAB Function: '/RR valves * percent DRS' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' */ /* : index_start = (param_index - 1) * 3 + 1; */ rtb_Cmd_3Way = (i - 1) * 3 + 1; @@ -35661,7 +37844,7 @@ void HVAC_model_step(void) /* : if DRS_RRS == 0 */ if (rtDW.DRS_SRR == 0) { /* : side_percent = uint8(0); */ - rtb_DataTypeConversion1_gy = 0U; + rtb_DataTypeConversion3_c1 = 0U; } else { /* : else */ /* : side_percent = g_aucREAR_SIDE_DRS_PERCENT_VALVE(index_start + 3 - DRS_RRS); */ @@ -35672,7 +37855,7 @@ void HVAC_model_step(void) center_percent = 0U; } - rtb_DataTypeConversion1_gy = g_aucREAR_SIDE_DRS_PERCENT_VALVE[center_percent + rtb_DataTypeConversion3_c1 = g_aucREAR_SIDE_DRS_PERCENT_VALVE[center_percent - 1]; } @@ -35708,175 +37891,114 @@ void HVAC_model_step(void) i = (int32_t)rt_roundd((double)center_percent / 100.0 * (double)rtb_out[2]); /* : y(4) = uint8(double(valves(4)) * (double(side_percent) / 100)); */ - rtb_Cmd_3Way = (int32_t)rt_roundd((double)rtb_DataTypeConversion1_gy / 100.0 * + rtb_Cmd_3Way = (int32_t)rt_roundd((double)rtb_DataTypeConversion3_c1 / 100.0 * (double)rtb_out[3]); - /* Switch: '/Switch6' incorporates: - * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/RR valves * percent DRS' + /* Switch: '/Switch6' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/RR valves * percent DRS' */ if (rtDW.DifferentBlower_Rear_isActive) { /* DataStoreWrite: '/Data Store Write24' incorporates: - * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read1' */ for (i = 0; i < 6; i++) { rtb_Gain1_o3[i] = rtDW.DifferentBlower_Rear_valves[i]; } } else { if (i < 256) { - /* MATLAB Function: '/RR valves * percent DRS' incorporates: - * Assignment: '/Присваивание в [3-4] rear' - * Assignment: '/Присваивание в [6] rear' + /* MATLAB Function: '/RR valves * percent DRS' incorporates: + * Assignment: '/Присваивание в [3-4] rear' + * Assignment: '/Присваивание в [6] rear' * DataStoreWrite: '/Data Store Write24' */ rtb_Gain1_o3[2] = (uint16_t)i; } else { - /* Assignment: '/Присваивание в [3-4] rear' incorporates: - * Assignment: '/Присваивание в [6] rear' + /* Assignment: '/Присваивание в [3-4] rear' incorporates: + * Assignment: '/Присваивание в [6] rear' * DataStoreWrite: '/Data Store Write24' - * MATLAB Function: '/RR valves * percent DRS' + * MATLAB Function: '/RR valves * percent DRS' */ rtb_Gain1_o3[2] = 255U; } - /* MATLAB Function: '/RR valves * percent DRS' */ + /* MATLAB Function: '/RR valves * percent DRS' */ if (rtb_Cmd_3Way < 256) { - /* Assignment: '/Присваивание в [3-4] rear' incorporates: - * Assignment: '/Присваивание в [6] rear' + /* Assignment: '/Присваивание в [3-4] rear' incorporates: + * Assignment: '/Присваивание в [6] rear' * DataStoreWrite: '/Data Store Write24' */ rtb_Gain1_o3[3] = (uint16_t)rtb_Cmd_3Way; } else { - /* Assignment: '/Присваивание в [3-4] rear' incorporates: - * Assignment: '/Присваивание в [6] rear' + /* Assignment: '/Присваивание в [3-4] rear' incorporates: + * Assignment: '/Присваивание в [6] rear' * DataStoreWrite: '/Data Store Write24' */ rtb_Gain1_o3[3] = 255U; } - /* Assignment: '/Присваивание в [6] rear' incorporates: + /* Assignment: '/Присваивание в [6] rear' incorporates: * DataStoreWrite: '/Data Store Write24' */ rtb_Gain1_o3[5] = rtb_out[5]; } - /* End of Switch: '/Switch6' */ + /* End of Switch: '/Switch6' */ - /* DataStoreWrite: '/Data Store Write' */ - rtDW.Index_mode_FL_auto = rtb_DataTypeConversion1_hy; + /* DataStoreWrite: '/Data Store Write' */ + rtDW.Index_mode_FL_auto = rtb_DataTypeConversion1_nc; - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.Index_mode_FR_auto = rtb_DataTypeConversion3_hs; + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.Index_mode_FR_auto = rtb_Switch_bm; - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write2' */ - rtDW.Index_mode_RR_auto = rtb_out_crw; + rtDW.Index_mode_RR_auto = rtb_out_kez; - /* MultiPortSwitch: '/Multiport Switch1' */ - switch (rtb_Saturation2) { - case 0: - /* Switch: '/Switch' incorporates: - * Constant: '/Constant4' - */ - rtDW.Index_mode_FR_manual = 0U; - break; - - case 1: - /* Switch: '/Switch' incorporates: - * Constant: '/Constant5' - */ - rtDW.Index_mode_FR_manual = 80U; - break; - - case 2: - /* Switch: '/Switch' incorporates: - * Constant: '/Constant6' - */ - rtDW.Index_mode_FR_manual = 10U; - break; - - case 3: - /* Switch: '/Switch' incorporates: - * Constant: '/Constant7' - */ - rtDW.Index_mode_FR_manual = 100U; - break; - - case 4: - /* Switch: '/Switch' incorporates: - * Constant: '/Constant8' - */ - rtDW.Index_mode_FR_manual = 60U; - break; - - case 5: - /* Switch: '/Switch' incorporates: - * Constant: '/Constant9' - */ - rtDW.Index_mode_FR_manual = 70U; - break; - - case 6: - /* Switch: '/Switch' incorporates: - * Constant: '/Constant10' - */ - rtDW.Index_mode_FR_manual = 20U; - break; - - default: - /* Switch: '/Switch' incorporates: - * Constant: '/Constant11' - */ - rtDW.Index_mode_FR_manual = 90U; - break; - } - - /* End of MultiPortSwitch: '/Multiport Switch1' */ - - /* Saturate: '/Saturation' incorporates: + /* Saturate: '/Saturation' incorporates: * DataStoreRead: '/Data Store Read' */ if (rtDW.AMB > 1000) { - rtb_DataTypeConversion1_oq = 1000; + rtb_FLU_tg_correct_aa = 1000; } else if (rtDW.AMB < -1000) { - rtb_DataTypeConversion1_oq = -1000; + rtb_FLU_tg_correct_aa = -1000; } else { - rtb_DataTypeConversion1_oq = rtDW.AMB; + rtb_FLU_tg_correct_aa = rtDW.AMB; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read' */ if (rtDW.Amb_Level_was_set) { - /* 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: '/In1' incorporates: - * DataStoreRead: '/Data Store Read' + /* SignalConversion generated from: '/In1' incorporates: + * DataStoreRead: '/Data Store Read' */ - rtb_DataTypeConversion1_hy = rtDW.LEVEL; + rtb_Switch_bm = rtDW.LEVEL; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/set level for the first time' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/set level for the first time' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.Amb_Level_was_set = true; - /* MATLAB Function: '/select AMB Level' */ + /* MATLAB Function: '/select AMB Level' */ /* : for k = 1:5 */ i = 0; do { exitg1 = 0; if (i < 5) { /* : if amb_temp > g_assAMB_LV_DN(k) */ - if (rtb_DataTypeConversion1_oq > g_assAMB_LV_DN[i]) { + if (rtb_FLU_tg_correct_aa > g_assAMB_LV_DN[i]) { /* : LVL = k - 1; */ exitg1 = 1; } else { @@ -35889,201 +38011,201 @@ void HVAC_model_step(void) } } while (exitg1 == 0); - /* DataTypeConversion: '/Data Type Conversion' */ - rtb_DataTypeConversion1_hy = (uint8_t)i; + /* DataTypeConversion: '/Data Type Conversion' */ + rtb_Switch_bm = (uint8_t)i; - /* End of Outputs for SubSystem: '/set level for the first time' */ + /* End of Outputs for SubSystem: '/set level for the first time' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* SwitchCase: '/Switch Case' */ - switch (rtb_DataTypeConversion1_hy) { + /* SwitchCase: '/Switch Case' */ + switch (rtb_Switch_bm) { case 0: - /* Outputs for IfAction SubSystem: '/Current Level 0' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Current Level 0' 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.LEVEL = (uint8_t)(rtb_DataTypeConversion1_oq <= g_assAMB_LV_UP[0]); + rtB.LEVEL = (uint8_t)(rtb_FLU_tg_correct_aa <= g_assAMB_LV_UP[0]); - /* End of Outputs for SubSystem: '/Current Level 0' */ + /* End of Outputs for SubSystem: '/Current Level 0' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Current Level 1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Current Level 1' 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_DataTypeConversion1_oq > g_assAMB_LV_UP[1]) { - /* Merge: '/Merge' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_DN_1' - * RelationalOperator: '/Relational Operator1' + if (rtb_FLU_tg_correct_aa > g_assAMB_LV_UP[1]) { + /* Merge: '/Merge' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_DN_1' + * RelationalOperator: '/Relational Operator1' */ - rtB.LEVEL = (uint8_t)(rtb_DataTypeConversion1_oq <= g_assAMB_LV_DN[0]); + rtB.LEVEL = (uint8_t)(rtb_FLU_tg_correct_aa <= g_assAMB_LV_DN[0]); } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv2' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv2' */ rtB.LEVEL = 2U; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Current Level 1' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Current Level 1' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Current Level 2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Current Level 2' 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_DataTypeConversion1_oq > g_assAMB_LV_UP[2]) { - /* Switch: '/Switch3' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_DN_2' - * RelationalOperator: '/Relational Operator1' + if (rtb_FLU_tg_correct_aa > g_assAMB_LV_UP[2]) { + /* Switch: '/Switch3' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_DN_2' + * RelationalOperator: '/Relational Operator1' */ - if (rtb_DataTypeConversion1_oq > g_assAMB_LV_DN[1]) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv1' + if (rtb_FLU_tg_correct_aa > g_assAMB_LV_DN[1]) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv1' */ rtB.LEVEL = 1U; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv2' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv2' */ rtB.LEVEL = 2U; } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv3' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv3' */ rtB.LEVEL = 3U; } - /* End of Switch: '/Switch2' */ - /* End of Outputs for SubSystem: '/Current Level 2' */ + /* End of Switch: '/Switch2' */ + /* End of Outputs for SubSystem: '/Current Level 2' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Current Level 3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Current Level 3' 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_DataTypeConversion1_oq > g_assAMB_LV_UP[3]) { - /* Switch: '/Switch3' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_DN_3' - * RelationalOperator: '/Relational Operator1' + if (rtb_FLU_tg_correct_aa > g_assAMB_LV_UP[3]) { + /* Switch: '/Switch3' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_DN_3' + * RelationalOperator: '/Relational Operator1' */ - if (rtb_DataTypeConversion1_oq > g_assAMB_LV_DN[2]) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv2' + if (rtb_FLU_tg_correct_aa > g_assAMB_LV_DN[2]) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv2' */ rtB.LEVEL = 2U; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv3' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv3' */ rtB.LEVEL = 3U; } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv4' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv4' */ rtB.LEVEL = 4U; } - /* End of Switch: '/Switch2' */ - /* End of Outputs for SubSystem: '/Current Level 3' */ + /* End of Switch: '/Switch2' */ + /* End of Outputs for SubSystem: '/Current Level 3' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Current Level 4' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Current Level 4' 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_DataTypeConversion1_oq > g_assAMB_LV_UP[4]) { - /* Switch: '/Switch3' incorporates: - * MATLAB Function: '/Convert_g_assAMB_LV_DN_4' - * RelationalOperator: '/Relational Operator1' + if (rtb_FLU_tg_correct_aa > g_assAMB_LV_UP[4]) { + /* Switch: '/Switch3' incorporates: + * MATLAB Function: '/Convert_g_assAMB_LV_DN_4' + * RelationalOperator: '/Relational Operator1' */ - if (rtb_DataTypeConversion1_oq > g_assAMB_LV_DN[3]) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv3' + if (rtb_FLU_tg_correct_aa > g_assAMB_LV_DN[3]) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv3' */ rtB.LEVEL = 3U; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv4' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv4' */ rtB.LEVEL = 4U; } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv5' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv5' */ rtB.LEVEL = 5U; } - /* End of Switch: '/Switch2' */ - /* End of Outputs for SubSystem: '/Current Level 4' */ + /* End of Switch: '/Switch2' */ + /* End of Outputs for SubSystem: '/Current Level 4' */ break; case 5: - /* Outputs for IfAction SubSystem: '/Current Level 5' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Current Level 5' 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_DataTypeConversion1_oq > g_assAMB_LV_DN[4]) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv4' + if (rtb_FLU_tg_correct_aa > g_assAMB_LV_DN[4]) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv4' */ rtB.LEVEL = 4U; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant_Lv5' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant_Lv5' */ rtB.LEVEL = 5U; } - /* End of Switch: '/Switch1' */ - /* End of Outputs for SubSystem: '/Current Level 5' */ + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Current Level 5' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ /* Saturate: '/Saturation' incorporates: * DataStoreRead: '/Data Store Read1' @@ -36096,13 +38218,13 @@ void HVAC_model_step(void) i = rtDW.CCU_SET_FL; } - /* Gain: '/Gain' incorporates: + /* Gain: '/Gain' incorporates: * Saturate: '/Saturation' */ i *= 13107; rtb_Saturation4 = (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; */ @@ -36119,28 +38241,28 @@ 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_DataTypeConversion3_hs = look2_iu8bu8s16lu64n32_binlcse(rtB.LEVEL, - rtb_Saturation4, rtConstP.pooled157, rtConstP.pooled68, - rtb_get_modes_for_levels, rtConstP.pooled49, 6U); + rtb_DataTypeConversion1_nc = look2_iu8bu8s16lu64n32_binlcse(rtB.LEVEL, + rtb_Saturation4, rtConstP.pooled160, rtConstP.pooled67, + rtb_get_modes_for_levels, rtConstP.pooled46, 6U); - /* MATLAB Function: '/Начальные положения заслонок left' */ - left(rtb_DataTypeConversion3_hs, rtb_out_cej); + /* MATLAB Function: '/Начальные положения заслонок left' */ + left(rtb_DataTypeConversion1_nc, rtb_u4); /* Saturate: '/Saturation1' incorporates: * DataStoreRead: '/Data Store Read2' */ if (rtDW.CCU_SET_FR > 290) { - rtb_DataTypeConversion1_oq = 290; + rtb_DataTypeConversion1_gq = 290; } else if (rtDW.CCU_SET_FR < 170) { - rtb_DataTypeConversion1_oq = 170; + rtb_DataTypeConversion1_gq = 170; } else { - rtb_DataTypeConversion1_oq = (int16_t)rtDW.CCU_SET_FR; + rtb_DataTypeConversion1_gq = (int16_t)rtDW.CCU_SET_FR; } if (rtDW.CCU_SET_FR > 290) { @@ -36151,278 +38273,263 @@ void HVAC_model_step(void) i = rtDW.CCU_SET_FR; } - /* Gain: '/Gain2' incorporates: + /* Gain: '/Gain2' incorporates: * Saturate: '/Saturation1' */ i = 13107 * (int16_t)i; - rtb_DataTypeConversion1_hy = (uint8_t)((((uint32_t)i & 65536U) != 0U) + (i >> + rtb_DataTypeConversion3_c1 = (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_DataTypeConversion3_hs) { + switch (rtb_DataTypeConversion1_nc) { 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_pdp[i] = rtb_out_cej[i]; + rtb_MultiportSwitch_lp[i] = rtb_u4[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.LEVEL, rtb_out_pdp, rtb_Saturation4, - rtb_DataTypeConversion1_hy); + Bilevel(rtDW.AMB, rtB.LEVEL, rtb_MultiportSwitch_lp, rtb_Saturation4, + rtb_DataTypeConversion3_c1); - /* 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: + /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: + * ActionPort: '/Action Port' + */ + rtb_MultiportSwitch_lp[i] = rtb_u4[i]; + + /* End of Outputs for SubSystem: '/Bilevel2' */ + } + + /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: + * ActionPort: '/Action Port' + */ + Bilevel2(rtDW.AMB, rtB.LEVEL, rtb_MultiportSwitch_lp, rtb_Saturation4, + rtb_DataTypeConversion3_c1); + + /* End of Outputs for SubSystem: '/Bilevel2' */ + break; + + case 40: + for (i = 0; i < 9; i++) { + /* Outputs for IfAction SubSystem: '/Afoot' incorporates: * ActionPort: '/Action Port' */ - rtb_out_pdp[i] = rtb_out_cej[i]; + rtb_MultiportSwitch_lp[i] = rtb_u4[i]; - /* End of Outputs for SubSystem: '/Bilevel2' */ + /* End of Outputs for SubSystem: '/Afoot' */ } - /* Outputs for IfAction SubSystem: '/Bilevel2' incorporates: + /* Outputs for IfAction SubSystem: '/Afoot' incorporates: * ActionPort: '/Action Port' */ - Bilevel2(rtDW.AMB, rtB.LEVEL, rtb_out_pdp, rtb_Saturation4, - rtb_DataTypeConversion1_hy); + Afoot(rtDW.AMB, rtB.LEVEL, rtb_MultiportSwitch_lp, rtb_Saturation4, + rtb_DataTypeConversion3_c1); - /* End of Outputs for SubSystem: '/Bilevel2' */ - break; - - case 40: - for (i = 0; i < 9; i++) { - /* Outputs for IfAction SubSystem: '/Afoot' incorporates: - * ActionPort: '/Action Port' - */ - rtb_out_pdp[i] = rtb_out_cej[i]; - - /* End of Outputs for SubSystem: '/Afoot' */ - } - - /* Outputs for IfAction SubSystem: '/Afoot' incorporates: - * ActionPort: '/Action Port' - */ - Afoot(rtDW.AMB, rtB.LEVEL, rtb_out_pdp, rtb_Saturation4, - rtb_DataTypeConversion1_hy); - - /* 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_pdp[i] = rtb_out_cej[i]; + rtb_MultiportSwitch_lp[i] = rtb_u4[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.LEVEL, rtb_out_pdp, rtb_Saturation4, - rtb_DataTypeConversion1_hy); + Afoot_Summer(rtDW.AMB, rtB.LEVEL, rtb_MultiportSwitch_lp, rtb_Saturation4, + rtb_DataTypeConversion3_c1); - /* 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_DataTypeConversion3_hs = look2_iu8bu8s16lu64n32_binlcse(rtB.LEVEL, - rtb_DataTypeConversion1_hy, rtConstP.pooled157, rtConstP.pooled68, - rtb_get_modes_for_levels, rtConstP.pooled49, 6U); + rtb_DataTypeConversion1_nc = look2_iu8bu8s16lu64n32_binlcse(rtB.LEVEL, + rtb_DataTypeConversion3_c1, rtConstP.pooled160, rtConstP.pooled67, + rtb_get_modes_for_levels, rtConstP.pooled46, 6U); - /* MATLAB Function: '/Начальные положения заслонок right' */ - left(rtb_DataTypeConversion3_hs, rtb_out_cej); + /* MATLAB Function: '/Начальные положения заслонок right' */ + left(rtb_DataTypeConversion1_nc, rtb_u4); - /* SwitchCase: '/Switch for Left ' incorporates: + /* SwitchCase: '/Switch for Left ' incorporates: * DataStoreRead: '/Data Store Read' */ - switch (rtb_DataTypeConversion3_hs) { + switch (rtb_DataTypeConversion1_nc) { 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_pdp[i] = rtb_out_cej[i]; + rtb_MultiportSwitch_lp[i] = rtb_u4[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.LEVEL, rtb_out_pdp, rtb_Saturation4, - rtb_DataTypeConversion1_hy); + Bilevel(rtDW.AMB, rtB.LEVEL, rtb_MultiportSwitch_lp, rtb_Saturation4, + rtb_DataTypeConversion3_c1); - /* 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_pdp[i] = rtb_out_cej[i]; + rtb_MultiportSwitch_lp[i] = rtb_u4[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.LEVEL, rtb_out_pdp, rtb_Saturation4, - rtb_DataTypeConversion1_hy); + Bilevel2(rtDW.AMB, rtB.LEVEL, rtb_MultiportSwitch_lp, rtb_Saturation4, + rtb_DataTypeConversion3_c1); - /* 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_pdp[i] = rtb_out_cej[i]; + rtb_MultiportSwitch_lp[i] = rtb_u4[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.LEVEL, rtb_out_pdp, rtb_Saturation4, - rtb_DataTypeConversion1_hy); + Afoot(rtDW.AMB, rtB.LEVEL, rtb_MultiportSwitch_lp, rtb_Saturation4, + rtb_DataTypeConversion3_c1); - /* 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_pdp[i] = rtb_out_cej[i]; + rtb_MultiportSwitch_lp[i] = rtb_u4[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.LEVEL, rtb_out_pdp, rtb_Saturation4, - rtb_DataTypeConversion1_hy); + Afoot_Summer(rtDW.AMB, rtB.LEVEL, rtb_MultiportSwitch_lp, rtb_Saturation4, + rtb_DataTypeConversion3_c1); - /* 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.LEVEL; - /* Chart: '/Spd_OSA_Trigger' */ + /* Chart: '/Spd_OSA_Trigger' incorporates: + * DataStoreWrite: '/Data Store Write2' + */ 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; */ - rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Spd_Sts = 0U; + rtb_Saturation4 = 0U; /* Switch: '/Switch' incorporates: * Constant: '/Constant' */ - rtb_DataTypeConversion1_hy = 100U; + rtb_Switch_bm = 100U; } else if (rtDW.is_c834_HVAC_model == IN_OSA_OFF) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Spd_Sts = 0U; + rtb_Saturation4 = 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; */ - rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Spd_Sts = 1U; + rtb_Saturation4 = 1U; /* Switch: '/Switch' incorporates: * DataStoreRead: '/Data Store Read6' * Lookup_n-D: '/1-D Lookup Table2' */ - rtb_DataTypeConversion1_hy = look1_iu16lu64n48tu8_binlcse - (rtDW.VehicleSpeed, &g_ausVALVE_VEH_SPD[0], &g_aucPREC_VEH_SPD_OSA[0], - 12U); + rtb_Switch_bm = look1_iu16lu64n48tu8_binlcse(rtDW.VehicleSpeed, + &g_ausVALVE_VEH_SPD[0], &g_aucPREC_VEH_SPD_OSA[0], 12U); } else { /* Switch: '/Switch' incorporates: * Constant: '/Constant' */ - rtb_DataTypeConversion1_hy = 100U; + rtb_Switch_bm = 100U; } } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - */ /* case IN_OSA_ON: */ - rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Spd_Sts = 1U; + rtb_Saturation4 = 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; */ - rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Spd_Sts = 0U; + rtb_Saturation4 = 0U; /* Switch: '/Switch' incorporates: * Constant: '/Constant' */ - rtb_DataTypeConversion1_hy = 100U; + rtb_Switch_bm = 100U; } else { /* Switch: '/Switch' incorporates: * DataStoreRead: '/Data Store Read6' * Lookup_n-D: '/1-D Lookup Table2' */ - rtb_DataTypeConversion1_hy = look1_iu16lu64n48tu8_binlcse - (rtDW.VehicleSpeed, &g_ausVALVE_VEH_SPD[0], &g_aucPREC_VEH_SPD_OSA[0], - 12U); + rtb_Switch_bm = look1_iu16lu64n48tu8_binlcse(rtDW.VehicleSpeed, + &g_ausVALVE_VEH_SPD[0], &g_aucPREC_VEH_SPD_OSA[0], 12U); } } /* End of Chart: '/Spd_OSA_Trigger' */ - /* Chart: '/Partial REC' incorporates: + /* Chart: '/Partial REC Summer' incorporates: * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read1' * DataStoreRead: '/Data Store Read2' @@ -36431,16 +38538,16 @@ void HVAC_model_step(void) * Gain: '/Gain' * Lookup_n-D: '/1-D Lookup Table' * Lookup_n-D: '/1-D Lookup Table1' - * MATLAB Function: '/MATLAB Function' + * MATLAB Function: '/MATLAB Function' */ if (rtDW.is_active_c776_HVAC_model == 0U) { rtDW.is_active_c776_HVAC_model = 1U; rtDW.is_c776_HVAC_model = IN_PARTIAL_REC_OFF; /* : Comp_Active = 0; */ - rtb_Saturation4 = 0U; + rtb_DataTypeConversion3_c1 = 0U; } else if (rtDW.is_c776_HVAC_model == IN_PARTIAL_REC_OFF) { - rtb_Saturation4 = 0U; + rtb_DataTypeConversion3_c1 = 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)) { @@ -36448,24 +38555,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]) && (min_side_L >= g_ausPREC_ENTRY_RPM[2]))) { + g_aucPREC_EVA_DIFF[2]) && (side_percent_L >= g_ausPREC_ENTRY_RPM[2]))) + { rtDW.is_PARTIAL_REC_ON = IN_COND_3; /* : Comp_Active = 3; */ - rtb_Saturation4 = 3U; + rtb_DataTypeConversion3_c1 = 3U; /* : sf_internal_predicateOutput = E_comp_speed >= g_ausPREC_ENTRY_RPM(2); */ - } else if (min_side_L >= g_ausPREC_ENTRY_RPM[1]) { + } else if (side_percent_L >= g_ausPREC_ENTRY_RPM[1]) { rtDW.is_PARTIAL_REC_ON = IN_COND_2; /* : Comp_Active = 2; */ - rtb_Saturation4 = 2U; + rtb_DataTypeConversion3_c1 = 2U; rtDW.is_COND_2 = IN_TRACKING; } else { rtDW.is_PARTIAL_REC_ON = IN_COND_1; /* : Comp_Active = 1; */ - rtb_Saturation4 = 1U; + rtb_DataTypeConversion3_c1 = 1U; } } @@ -36477,36 +38585,36 @@ void HVAC_model_step(void) rtDW.is_c776_HVAC_model = IN_PARTIAL_REC_OFF; /* : Comp_Active = 0; */ - rtb_Saturation4 = 0U; + rtb_DataTypeConversion3_c1 = 0U; } else { switch (rtDW.is_PARTIAL_REC_ON) { case IN_COND_1: - rtb_Saturation4 = 1U; + rtb_DataTypeConversion3_c1 = 1U; /* Gain: '/Gain' incorporates: * Gain: '/Gain1' - * MATLAB Function: '/MATLAB Function' + * MATLAB Function: '/MATLAB Function' */ /* : req_OSA =PREC_OSA_SUMMER_1; */ - rtb_Saturation2 = (uint16_t)(5U * min_side_L); - rtB.req_OSA = look1_iu16lu64n48tu8_binlcse(rtb_Saturation2, + rtb_out_kez = (uint16_t)(5U * side_percent_L); + rtB.req_OSA = look1_iu16lu64n48tu8_binlcse(rtb_out_kez, &g_ausPREC_COMP_SPD_1[0], &g_aucPREC_OSA_SUMMER_1[0], 2U); /* : req_REC =PREC_REC_SUMMER_1; */ - rtB.req_REC = look1_iu16lu64n48tu8_binlcse(rtb_Saturation2, + rtB.req_REC = look1_iu16lu64n48tu8_binlcse(rtb_out_kez, &g_ausPREC_COMP_SPD_1[0], &g_aucPREC_REC_SUMMER_1[0], 2U); break; case IN_COND_2: - rtb_Saturation4 = 2U; + rtb_DataTypeConversion3_c1 = 2U; /* : sf_internal_predicateOutput = E_comp_speed X_prev; */ - } else if (rtb_Switch2_nb > rtDW.X_prev) { + } else if (rtb_Switch5_l > rtDW.X_prev) { rtDW.is_COND_2 = IN_TRACKING; } else { /* : X_prev = X; */ - rtDW.X_prev = rtb_Switch2_nb; + rtDW.X_prev = rtb_Switch5_l; } } else { /* case IN_TRACKING: */ @@ -36555,15 +38663,16 @@ void HVAC_model_step(void) default: /* case IN_COND_3: */ - rtb_Saturation4 = 3U; + rtb_DataTypeConversion3_c1 = 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]) && (min_side_L < g_ausPREC_EXIT_RPM[2]))) { + g_aucPREC_EVA_DIFF[3]) && (side_percent_L < g_ausPREC_EXIT_RPM[2]))) + { rtDW.is_PARTIAL_REC_ON = IN_COND_2; /* : Comp_Active = 2; */ - rtb_Saturation4 = 2U; + rtb_DataTypeConversion3_c1 = 2U; rtDW.is_COND_2 = IN_TRACKING; } else { /* : req_OSA = g_ucPREC_OSA_SUMMER_3; */ @@ -36576,411 +38685,457 @@ void HVAC_model_step(void) } } - /* End of Chart: '/Partial REC' */ + /* End of Chart: '/Partial REC Summer' */ /* Switch: '/Switch10' incorporates: + * Constant: '/Auto recirc' + * Constant: '/Constant10' + * Constant: '/Constant9' + * Constant: '/MODE_ACTIVE_CONDITIONS1_MAX_AC' * Constant: '/MODE_ACTIVE_CONDITIONS2' + * DataStoreRead: '/Data Store Read10' * DataStoreRead: '/Data Store Read11' * DataStoreRead: '/Data Store Read16' + * DataStoreRead: '/Data Store Read17' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read74' * DataStoreRead: '/Data Store Read9' + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/OR1' * RelationalOperator: '/Equal' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator3' + * Switch: '/Switch1' * Switch: '/Switch11' * Switch: '/Switch12' + * Switch: '/Switch3' + * Switch: '/Switch4' + * Switch: '/Switch5' + * Switch: '/Switch6' * Switch: '/Switch7' * Switch: '/Switch8' * Switch: '/Switch9' */ if (rtDW.Door_ajar_is_active) { - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant10' - * DataStoreWrite: '/Data Store Write' - */ - rtDW.Max_def_OSA_valve = 0U; - - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant9' - */ - rtDW.Max_def_Rec_valve = 100U; + rtb_DataTypeConversion1_nc = 0U; + rtb_Switch_bm = 100U; } else if (rtDW.Max_AC_mode == 11) { - /* Switch: '/Switch1' incorporates: + /* DataStoreWrite: '/Data Store Write' incorporates: * DataStoreRead: '/Data Store Read18' - * DataStoreWrite: '/Data Store Write' * Switch: '/Switch11' */ - rtDW.Max_def_OSA_valve = rtDW.Max_AC_OSA_valve; + rtb_DataTypeConversion1_nc = rtDW.Max_AC_OSA_valve; - /* Switch: '/Switch2' incorporates: + /* DataStoreWrite: '/Data Store Write1' incorporates: * DataStoreRead: '/Data Store Read19' - * DataStoreWrite: '/Data Store Write1' * Switch: '/Switch12' */ - rtDW.Max_def_Rec_valve = rtDW.Max_AC_REC_valve; - } else if (!rtDW.Max_def_algo_active) { - /* Switch: '/Switch3' incorporates: - * Constant: '/Auto recirc' - * Constant: '/MODE_ACTIVE_CONDITIONS1_MAX_AC' - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read17' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read74' - * Logic: '/OR1' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator3' - * Switch: '/Switch1' + rtb_Switch_bm = rtDW.Max_AC_REC_valve; + } else if (rtDW.Max_def_algo_active) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read12' * Switch: '/Switch11' + * Switch: '/Switch8' + */ + rtb_DataTypeConversion1_nc = rtDW.Max_def_OSA_valve; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read14' + * Switch: '/Switch12' + * Switch: '/Switch7' + */ + rtb_Switch_bm = rtDW.Max_def_Rec_valve; + } else if (rtDW.Full_Rec > 0) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant4' + * Switch: '/Switch11' + * Switch: '/Switch3' + * Switch: '/Switch8' + */ + rtb_DataTypeConversion1_nc = 0U; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant5' + * Switch: '/Switch12' + * Switch: '/Switch4' + * Switch: '/Switch7' + */ + rtb_Switch_bm = 100U; + } else if ((rtDW.Max_AC_mode == 10) || (rtDW.CCU_RECIRC == 2) || + rtDW.recirc_auto_request_from_autodemist) { + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant1' + */ + if (rtb_DataTypeConversion3_c1 > 0) { + rtb_DataTypeConversion1_nc = rtB.req_OSA; + } else { + rtb_DataTypeConversion1_nc = 100U; + } + + /* Lookup_n-D: '/1-D Lookup Table3' incorporates: + * DataStoreRead: '/Data Store Read3' + * Switch: '/Switch11' + * Switch: '/Switch3' + * Switch: '/Switch5' + * Switch: '/Switch8' + */ + rtb_PWM_out_a = look1_iu8lu64n56_binlcse(rtDW.AirQS_COLvl, + rtConstP.pooled137, &g_aucAQS_OSA_LV_CO[0], 6U); + + /* Lookup_n-D: '/1-D Lookup Table4' incorporates: + * DataStoreRead: '/Data Store Read4' + * Switch: '/Switch11' + * Switch: '/Switch3' + * Switch: '/Switch5' + * Switch: '/Switch8' + */ + center_percent = look1_iu8lu64n56_binlcse(rtDW.AirQS_NOxLvl, + rtConstP.pooled137, &g_aucAQS_OSA_LV_NOX[0], 6U); + + /* MinMax: '/MinMax1' incorporates: + * Switch: '/Switch11' + * Switch: '/Switch3' + * Switch: '/Switch5' + * Switch: '/Switch8' + */ + if (rtb_PWM_out_a >= center_percent) { + center_percent = rtb_PWM_out_a; + } + + /* Lookup_n-D: '/1-D Lookup Table5' incorporates: + * DataStoreRead: '/Data Store Read5' + * Switch: '/Switch11' + * Switch: '/Switch3' + * Switch: '/Switch5' + * Switch: '/Switch8' + */ + rtb_PWM_out_a = look1_iu8lu64n56_binlcse(rtDW.AirQS_NH3Lvl, + rtConstP.pooled137, &g_aucAQS_OSA_LV_NH3[0], 6U); + + /* MinMax: '/MinMax1' incorporates: + * Switch: '/Switch11' + * Switch: '/Switch3' + * Switch: '/Switch5' + * Switch: '/Switch8' + */ + if (center_percent >= rtb_PWM_out_a) { + rtb_PWM_out_a = center_percent; + } + + /* MinMax: '/MinMax' incorporates: + * Switch: '/Switch1' + */ + if (rtb_Switch_bm <= rtb_DataTypeConversion1_nc) { + rtb_DataTypeConversion1_nc = rtb_Switch_bm; + } + + /* MinMax: '/MinMax1' incorporates: + * Switch: '/Switch11' + * Switch: '/Switch3' + * Switch: '/Switch5' + * Switch: '/Switch8' + */ + if (rtb_PWM_out_a <= rtb_DataTypeConversion1_nc) { + /* DataStoreWrite: '/Data Store Write' */ + rtb_DataTypeConversion1_nc = rtb_PWM_out_a; + } + + /* End of MinMax: '/MinMax1' */ + + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant2' + */ + if (rtb_DataTypeConversion3_c1 > 0) { + rtb_Switch_bm = rtB.req_REC; + } else { + rtb_Switch_bm = 0U; + } + + /* Lookup_n-D: '/1-D Lookup Table' incorporates: + * DataStoreRead: '/Data Store Read' + * Switch: '/Switch12' + * Switch: '/Switch4' + * Switch: '/Switch6' + * Switch: '/Switch7' + */ + rtb_PWM_out_a = look1_iu8lu64n56_binlcse(rtDW.AirQS_COLvl, + rtConstP.pooled138, &g_aucAQS_REC_LV_CO[0], 7U); + + /* Lookup_n-D: '/1-D Lookup Table1' incorporates: + * DataStoreRead: '/Data Store Read1' + * Switch: '/Switch12' + * Switch: '/Switch4' + * Switch: '/Switch6' + * Switch: '/Switch7' + */ + center_percent = look1_iu8lu64n56_binlcse(rtDW.AirQS_NOxLvl, + rtConstP.pooled138, &g_aucAQS_REC_LV_NOX[0], 7U); + + /* MinMax: '/MinMax' incorporates: + * Switch: '/Switch12' + * Switch: '/Switch4' + * Switch: '/Switch6' + * Switch: '/Switch7' + */ + if (rtb_PWM_out_a >= center_percent) { + center_percent = rtb_PWM_out_a; + } + + /* Lookup_n-D: '/1-D Lookup Table2' incorporates: + * DataStoreRead: '/Data Store Read2' + * Switch: '/Switch12' + * Switch: '/Switch4' + * Switch: '/Switch6' + * Switch: '/Switch7' + */ + rtb_PWM_out_a = look1_iu8lu64n56_binlcse(rtDW.AirQS_NH3Lvl, + rtConstP.pooled138, &g_aucAQS_REC_LV_NH3[0], 7U); + + /* MinMax: '/MinMax' incorporates: + * Switch: '/Switch12' + * Switch: '/Switch4' + * Switch: '/Switch6' + * Switch: '/Switch7' + */ + if (center_percent >= rtb_PWM_out_a) { + rtb_PWM_out_a = center_percent; + } + + /* MinMax: '/MinMax2' incorporates: * Switch: '/Switch12' * Switch: '/Switch2' * Switch: '/Switch4' - * Switch: '/Switch5' * Switch: '/Switch6' * Switch: '/Switch7' - * Switch: '/Switch8' */ - if (rtDW.Full_Rec > 0) { - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant4' - * DataStoreWrite: '/Data Store Write' - */ - rtDW.Max_def_OSA_valve = 0U; + if (rtb_PWM_out_a <= rtb_Switch_bm) { + /* DataStoreWrite: '/Data Store Write1' */ + rtb_Switch_bm = rtb_PWM_out_a; + } - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant5' - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.Max_def_Rec_valve = 100U; - } else if ((rtDW.Max_AC_mode == 10) || (rtDW.CCU_RECIRC == 2) || - rtDW.recirc_auto_request_from_autodemist) { + /* End of MinMax: '/MinMax2' */ + } else { + if (rtb_DataTypeConversion3_c1 > 0) { + /* Switch: '/Switch1' */ + rtb_DataTypeConversion1_nc = rtB.req_OSA; + } else { /* Switch: '/Switch1' incorporates: * Constant: '/Constant1' */ - if (rtb_Saturation4 > 0) { - rtDW.Max_def_OSA_valve = rtB.req_OSA; - } else { - rtDW.Max_def_OSA_valve = 100U; - } - - /* Lookup_n-D: '/1-D Lookup Table3' incorporates: - * DataStoreRead: '/Data Store Read3' - * Switch: '/Switch5' - */ - rtb_DataTypeConversion1_gy = look1_iu8lu64n56_binlcse(rtDW.AirQS_COLvl, - rtConstP.pooled135, &g_aucAQS_OSA_LV_CO[0], 6U); - - /* Lookup_n-D: '/1-D Lookup Table4' incorporates: - * DataStoreRead: '/Data Store Read4' - * Switch: '/Switch5' - */ - rtb_DataTypeConversion3_hs = look1_iu8lu64n56_binlcse(rtDW.AirQS_NOxLvl, - rtConstP.pooled135, &g_aucAQS_OSA_LV_NOX[0], 6U); - - /* MinMax: '/MinMax1' incorporates: - * Switch: '/Switch5' - */ - if (rtb_DataTypeConversion1_gy >= rtb_DataTypeConversion3_hs) { - rtb_DataTypeConversion3_hs = rtb_DataTypeConversion1_gy; - } - - /* Lookup_n-D: '/1-D Lookup Table5' incorporates: - * DataStoreRead: '/Data Store Read5' - * Switch: '/Switch5' - */ - rtb_DataTypeConversion1_gy = look1_iu8lu64n56_binlcse(rtDW.AirQS_NH3Lvl, - rtConstP.pooled135, &g_aucAQS_OSA_LV_NH3[0], 6U); - - /* MinMax: '/MinMax1' incorporates: - * Switch: '/Switch5' - */ - if (rtb_DataTypeConversion3_hs >= rtb_DataTypeConversion1_gy) { - rtb_DataTypeConversion1_gy = rtb_DataTypeConversion3_hs; - } - - /* MinMax: '/MinMax' incorporates: - * Switch: '/Switch1' - */ - if (rtb_DataTypeConversion1_hy <= rtDW.Max_def_OSA_valve) { - rtDW.Max_def_OSA_valve = rtb_DataTypeConversion1_hy; - } - - /* MinMax: '/MinMax1' incorporates: - * Switch: '/Switch5' - */ - if (rtb_DataTypeConversion1_gy <= rtDW.Max_def_OSA_valve) { - /* Switch: '/Switch1' incorporates: - * DataStoreWrite: '/Data Store Write' - */ - rtDW.Max_def_OSA_valve = rtb_DataTypeConversion1_gy; - } - - /* End of MinMax: '/MinMax1' */ - - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant2' - */ - if (rtb_Saturation4 > 0) { - rtDW.Max_def_Rec_valve = rtB.req_REC; - } else { - rtDW.Max_def_Rec_valve = 0U; - } - - /* Lookup_n-D: '/1-D Lookup Table' incorporates: - * DataStoreRead: '/Data Store Read' - * Switch: '/Switch6' - */ - rtb_DataTypeConversion1_gy = look1_iu8lu64n56_binlcse(rtDW.AirQS_COLvl, - rtConstP.pooled136, &g_aucAQS_REC_LV_CO[0], 7U); - - /* Lookup_n-D: '/1-D Lookup Table1' incorporates: - * DataStoreRead: '/Data Store Read1' - * Switch: '/Switch6' - */ - rtb_DataTypeConversion3_hs = look1_iu8lu64n56_binlcse(rtDW.AirQS_NOxLvl, - rtConstP.pooled136, &g_aucAQS_REC_LV_NOX[0], 7U); - - /* MinMax: '/MinMax' incorporates: - * Switch: '/Switch6' - */ - if (rtb_DataTypeConversion1_gy >= rtb_DataTypeConversion3_hs) { - rtb_DataTypeConversion3_hs = rtb_DataTypeConversion1_gy; - } - - /* Lookup_n-D: '/1-D Lookup Table2' incorporates: - * DataStoreRead: '/Data Store Read2' - * Switch: '/Switch6' - */ - rtb_DataTypeConversion1_gy = look1_iu8lu64n56_binlcse(rtDW.AirQS_NH3Lvl, - rtConstP.pooled136, &g_aucAQS_REC_LV_NH3[0], 7U); - - /* MinMax: '/MinMax' incorporates: - * Switch: '/Switch6' - */ - if (rtb_DataTypeConversion3_hs >= rtb_DataTypeConversion1_gy) { - rtb_DataTypeConversion1_gy = rtb_DataTypeConversion3_hs; - } - - /* MinMax: '/MinMax2' incorporates: - * Switch: '/Switch2' - * Switch: '/Switch6' - */ - if (rtb_DataTypeConversion1_gy <= rtDW.Max_def_Rec_valve) { - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.Max_def_Rec_valve = rtb_DataTypeConversion1_gy; - } - - /* End of MinMax: '/MinMax2' */ - } else { - if (rtb_Saturation4 > 0) { - /* Switch: '/Switch1' */ - rtDW.Max_def_OSA_valve = rtB.req_OSA; - - /* Switch: '/Switch2' incorporates: - * DataStoreWrite: '/Data Store Write1' - * Switch: '/Switch6' - */ - rtDW.Max_def_Rec_valve = rtB.req_REC; - } else { - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant1' - */ - rtDW.Max_def_OSA_valve = 100U; - - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant2' - * DataStoreWrite: '/Data Store Write1' - * Switch: '/Switch6' - */ - rtDW.Max_def_Rec_valve = 0U; - } - - /* MinMax: '/MinMax' incorporates: - * Switch: '/Switch1' - */ - if (rtb_DataTypeConversion1_hy <= rtDW.Max_def_OSA_valve) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Switch: '/Switch5' - */ - rtDW.Max_def_OSA_valve = rtb_DataTypeConversion1_hy; - } + rtb_DataTypeConversion1_nc = 100U; } - /* End of Switch: '/Switch3' */ + /* MinMax: '/MinMax' incorporates: + * Switch: '/Switch1' + */ + if (rtb_Switch_bm <= rtb_DataTypeConversion1_nc) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Switch: '/Switch11' + * Switch: '/Switch3' + * Switch: '/Switch5' + * Switch: '/Switch8' + */ + rtb_DataTypeConversion1_nc = rtb_Switch_bm; + } + + /* Switch: '/Switch2' */ + if (rtb_DataTypeConversion3_c1 > 0) { + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Switch: '/Switch12' + * Switch: '/Switch4' + * Switch: '/Switch6' + * Switch: '/Switch7' + */ + rtb_Switch_bm = rtB.req_REC; + } else { + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant2' + * Switch: '/Switch12' + * Switch: '/Switch4' + * Switch: '/Switch6' + * Switch: '/Switch7' + */ + rtb_Switch_bm = 0U; + } } /* End of Switch: '/Switch10' */ - /* RelationalOperator: '/Relational Operator2' incorporates: - * Constant: '/auto recirc' - * DataStoreRead: '/Data Store Read9' + /* RelationalOperator: '/Relational Operator2' incorporates: + * Constant: '/auto recirc' + * DataStoreRead: '/Data Store Read9' */ - rtb_RelationalOperator2_p = (rtDW.CCU_RECIRC == 2); + rtb_Compare_i5 = (rtDW.CCU_RECIRC == 2); - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read' */ switch (rtDW.CCU_FootTempCorr_FL) { 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' */ SwitchCaseActionSubsystem(rtDW.Index_mode_FL, &rtB.Merge_j, &rtB.Merge1); - /* 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' */ SwitchCaseActionSubsystem1(rtDW.Index_mode_FL, &rtB.Merge_j, &rtB.Merge1); - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem1' */ + /* 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' */ SwitchCaseActionSubsystem2(rtDW.Index_mode_FL, &rtB.Merge_j, &rtB.Merge1); - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ + /* 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' */ SwitchCaseActionSubsystem3(&rtB.Merge_j, &rtB.Merge1); - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem3' */ + /* 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' */ SwitchCaseActionSubsystem4(rtDW.Index_mode_FL, &rtB.Merge_j, &rtB.Merge1); - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ + /* 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' */ SwitchCaseActionSubsystem5(rtDW.Index_mode_FL, &rtB.Merge_j, &rtB.Merge1); - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem5' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem5' */ break; case 6: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem6' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem6' incorporates: + * ActionPort: '/Action Port' */ SwitchCaseActionSubsystem6(rtDW.Index_mode_FL, &rtB.Merge_j, &rtB.Merge1); - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem6' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem6' */ 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; - /* 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_FL = look1_iu8lu64n48ts16Ds32_binlcs - (rtDW.CCU_FootTempCorr_FL, rtConstP.pooled158, &g_assFOOT_STEP_DUCT_TGT[0], + (rtDW.CCU_FootTempCorr_FL, rtConstP.pooled161, &g_assFOOT_STEP_DUCT_TGT[0], 6U); - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read1' */ switch (rtDW.CCU_SET_FOOT_FR) { 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' */ SwitchCaseActionSubsystem(rtDW.Index_mode_FR, &rtB.Merge_g, &rtB.Merge1_m); - /* 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' */ SwitchCaseActionSubsystem1(rtDW.Index_mode_FR, &rtB.Merge_g, &rtB.Merge1_m); - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem1' */ + /* 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' */ SwitchCaseActionSubsystem2(rtDW.Index_mode_FR, &rtB.Merge_g, &rtB.Merge1_m); - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem2' */ + /* 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' */ SwitchCaseActionSubsystem3(&rtB.Merge_g, &rtB.Merge1_m); - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem3' */ + /* 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' */ SwitchCaseActionSubsystem4(rtDW.Index_mode_FR, &rtB.Merge_g, &rtB.Merge1_m); - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem4' */ + /* 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' */ SwitchCaseActionSubsystem5(rtDW.Index_mode_FR, &rtB.Merge_g, &rtB.Merge1_m); - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem5' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem5' */ break; case 6: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem6' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem6' incorporates: + * ActionPort: '/Action Port' */ SwitchCaseActionSubsystem6(rtDW.Index_mode_FR, &rtB.Merge_g, &rtB.Merge1_m); - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem6' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem6' */ 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_g; - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.Blower_individual_foot_FR = rtB.Merge1_m; - /* 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.pooled158, &g_assFOOT_STEP_DUCT_TGT[0], 6U); + (rtDW.CCU_SET_FOOT_FR, rtConstP.pooled161, &g_assFOOT_STEP_DUCT_TGT[0], 6U); /* BusCreator: '/Bus Creator' incorporates: * DataStoreRead: '/Data Store Read10' @@ -37014,107 +39169,108 @@ void HVAC_model_step(void) Status_Sensor_Model.Duct_Side_RR = 0; Status_Sensor_Model.AQS = 0; - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + * Product: '/Divide' */ index_start = (double)rtDW.ADC_Data_Model.Sensor_Evap_Temp / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_AND2_b = (index_start < 0.1); + rtb_Compare_eu = (index_start < 0.062); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_byy = (index_start > 4.9); + rtb_Compare_e3 = (index_start > 4.85); - /* Logic: '/Logical Operator' */ - rtb_LogicalOperator1 = (rtb_AND2_b || rtb_Compare_byy); + /* Logic: '/Logical Operator' */ + rtb_FailCond = (rtb_Compare_eu || rtb_Compare_e3); - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* MATLAB Function: '/error timer' incorporates: + * DataStoreRead: '/Data Store Read1' */ - rtb_LogicalOperator1_f1 = (rtb_LogicalOperator1 && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE >= 3000U)); + errortimer(rtb_FailCond, rtDW.t_now, &rtb_Minus_j, &rtDW.sf_errortimer); - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write' + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/Constant' + * RelationalOperator: '/Compare' */ - rtDW.CCU_EvaTempSenErrF_Stat = rtb_LogicalOperator1_f1; + rtb_FailCond = (rtb_FailCond && (rtb_Minus_j >= 3000U)); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + rtDW.CCU_EvaTempSenErrF_Stat = rtb_FailCond; + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant2' * DataStoreRead: '/Data Store Read1' - * Lookup_n-D: '/1-D Lookup Table' + * Lookup_n-D: '/1-D Lookup Table' */ - if (rtb_LogicalOperator1_f1) { - rtb_X = -100; + if (rtb_FailCond) { + rtb_FLU_tg_correct_aa = -100; } else { - rtb_X = look1_iu16lu64n48ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Evap_Temp, rtConstP.pooled82, - rtConstP.pooled55, 1023U); + rtb_FLU_tg_correct_aa = look1_iu16lu64n48ts16Ds32_binlcs + (rtDW.ADC_Data_Model.Sensor_Evap_Temp, rtConstP.pooled83, + rtConstP.pooled53, 1023U); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' */ is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, &rtDW.sf_is3secafterT15passed); - /* MATLAB Function: '/filter AC Pressure' incorporates: - * DataStoreRead: '/Data Store Read44' + /* MATLAB Function: '/filter AC Pressure' incorporates: + * DataStoreRead: '/Data Store Read44' */ - filterACPressure(rtb_X, rtb_RelationalOperator6_f, rtDW.t_now, - &rtb_DataTypeConversion1_oq, &rtDW.sf_filterACPressure); + filterACPressure(rtb_FLU_tg_correct_aa, rtb_RelationalOperator6_f, rtDW.t_now, + &rtb_DataTypeConversion1_gq, &rtDW.sf_filterACPressure); - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.Eva_F = rtb_DataTypeConversion1_oq; + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.Eva_F = rtb_DataTypeConversion1_gq; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * 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_f1; + rtDW.dtc_state_error_model[12] = rtb_FailCond; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ - if (rtb_LogicalOperator1_f1) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + if (rtb_FailCond) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[13] = rtb_AND2_b; + rtDW.dtc_state_error_model[13] = rtb_Compare_eu; - /* 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_byy; + rtDW.dtc_state_error_model[12] = rtb_Compare_e3; } 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_f1) { + if ((rtDW.LOGGER_ACP != 0.0) && rtb_FailCond) { /* : 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", @@ -37122,134 +39278,122 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ - /* MATLAB Function: '/Write Eva_F' incorporates: - * DataStoreRead: '/Data Store Read' + /* MATLAB Function: '/Write Eva_F' incorporates: + * DataStoreRead: '/Data Store Read' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('Eva_F = %d * 0.1 C\n',Eva_F); */ - printf("Eva_F = %d * 0.1 C\n", rtb_X); + printf("Eva_F = %d * 0.1 C\n", rtb_FLU_tg_correct_aa); 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 ' - */ - if (rtb_LogicalOperator1 && (!rtDW.Cond_prev_private_DSTATE)) { - rtDW.t_start_delay_private_DSTATE = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + * Product: '/Divide' */ index_start = (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_byy = (index_start < 0.1); + rtb_Compare_eu = (index_start < 0.062); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_LogicalOperator1_f1 = (index_start > 4.9); + rtb_Compare_e3 = (index_start > 4.85); - /* Logic: '/Logical Operator' */ - rtb_AND2_b = (rtb_Compare_byy || rtb_LogicalOperator1_f1); + /* Logic: '/Logical Operator' */ + rtb_FailCond = (rtb_Compare_eu || rtb_Compare_e3); - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* MATLAB Function: '/error timer' incorporates: + * DataStoreRead: '/Data Store Read1' */ - rtb_LogicalOperator1_f = (rtb_AND2_b && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_c >= 3000U)); + errortimer(rtb_FailCond, rtDW.t_now, &rtb_Minus_j, &rtDW.sf_errortimer_b); - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write' + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/Constant' + * RelationalOperator: '/Compare' */ - rtDW.CCU_EvaTempSenErrR_Stat = rtb_LogicalOperator1_f; + rtb_FailCond = (rtb_FailCond && (rtb_Minus_j >= 3000U)); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + rtDW.CCU_EvaTempSenErrR_Stat = rtb_FailCond; + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant2' * DataStoreRead: '/Data Store Read1' - * Lookup_n-D: '/1-D Lookup Table' + * Lookup_n-D: '/1-D Lookup Table' */ - if (rtb_LogicalOperator1_f) { - rtb_X = -100; + if (rtb_FailCond) { + rtb_FLU_tg_correct_aa = -100; } else { - rtb_X = look1_iu16lu64n48ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Rear_Evap_Temp, rtConstP.pooled82, - rtConstP.pooled55, 1023U); + rtb_FLU_tg_correct_aa = look1_iu16lu64n48ts16Ds32_binlcs + (rtDW.ADC_Data_Model.Sensor_Rear_Evap_Temp, rtConstP.pooled83, + rtConstP.pooled53, 1023U); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' */ is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, &rtDW.sf_is3secafterT15passed_a); - /* MATLAB Function: '/filter AC Pressure' incorporates: - * DataStoreRead: '/Data Store Read44' + /* MATLAB Function: '/filter AC Pressure' incorporates: + * DataStoreRead: '/Data Store Read44' */ - filterACPressure(rtb_X, rtb_RelationalOperator6_f, rtDW.t_now, - &rtb_DataTypeConversion1_oq, &rtDW.sf_filterACPressure_p); + filterACPressure(rtb_FLU_tg_correct_aa, rtb_RelationalOperator6_f, rtDW.t_now, + &rtb_DataTypeConversion1_gq, &rtDW.sf_filterACPressure_p); - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.Eva_R = rtb_DataTypeConversion1_oq; + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.Eva_R = rtb_DataTypeConversion1_gq; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * 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_f; + rtDW.dtc_state_error_model[14] = rtb_FailCond; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ - if (rtb_LogicalOperator1_f) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + if (rtb_FailCond) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[15] = rtb_Compare_byy; + rtDW.dtc_state_error_model[15] = rtb_Compare_eu; - /* 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_LogicalOperator1_f1; + rtDW.dtc_state_error_model[14] = rtb_Compare_e3; } 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_f) { + if ((rtDW.LOGGER_ACP != 0.0) && rtb_FailCond) { /* : 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", @@ -37257,45 +39401,32 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ - /* MATLAB Function: '/Write Eva_F' incorporates: - * DataStoreRead: '/Data Store Read' + /* MATLAB Function: '/Write Eva_F' incorporates: + * DataStoreRead: '/Data Store Read' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('Eva_R = %d * 0.1 C\n',Eva_R); */ - printf("Eva_R = %d * 0.1 C\n", rtb_X); + printf("Eva_R = %d * 0.1 C\n", rtb_FLU_tg_correct_aa); 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 ' - */ - if (rtb_AND2_b && (!rtDW.Cond_prev_private_DSTATE_p)) { - rtDW.t_start_delay_private_DSTATE_c = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write' - * Product: '/Divide' + * DataStoreWrite: '/Data Store Write' + * Product: '/Divide' */ IGN_voltage = (double)rtDW.ADC_Data_Model.IGN_ANS / 4095.0 * 27.75; - /* 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) { @@ -37304,20 +39435,20 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write' - * Product: '/Divide' + * DataStoreWrite: '/Data Store Write' + * Product: '/Divide' */ index_start = (double)rtDW.ADC_Data_Model.PBATT_CHECK / 4095.0 * 33.4375; - /* 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) { @@ -37326,84 +39457,85 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + * Product: '/Divide' */ rtb_Divide1_jg = (double)rtDW.ADC_Data_Model.Sensor_AC_Pressure / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_LogicalOperator1_f1 = (rtb_Divide1_jg < 0.1); + rtb_Compare_eu = (rtb_Divide1_jg < 0.062); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_LogicalOperator1_f = (rtb_Divide1_jg > 4.9); + rtb_Compare_e3 = (rtb_Divide1_jg > 4.85); - /* Logic: '/Logical Operator' */ - rtb_Compare_byy = (rtb_LogicalOperator1_f1 || rtb_LogicalOperator1_f); + /* Logic: '/Logical Operator' */ + rtb_FailCond = (rtb_Compare_eu || rtb_Compare_e3); - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* MATLAB Function: '/error timer' incorporates: + * DataStoreRead: '/Data Store Read1' */ - rtb_LogicalOperator1_nf = (rtb_Compare_byy && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_h >= 3000U)); + errortimer(rtb_FailCond, rtDW.t_now, &rtb_Minus_j, &rtDW.sf_errortimer_h); - /* Switch: '/Switch' incorporates: - * Bias: '/Add Constant' - * Constant: '/Constant2' - * Gain: '/Gain' - * Gain: '/Gain3' - * Gain: '/Единицы измерения - в 0.1 атм' - * Saturate: '/Saturation' + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/Constant' + * RelationalOperator: '/Compare' */ - if (rtb_LogicalOperator1_nf) { - rtb_DataTypeConversion1_oq = 320; + rtb_FailCond = (rtb_FailCond && (rtb_Minus_j >= 3000U)); + + /* Switch: '/Switch' incorporates: + * Bias: '/Add Constant' + * Constant: '/Constant2' + * Gain: '/Gain' + * Gain: '/Gain3' + * Gain: '/Единицы измерения - в 0.1 атм' + * Saturate: '/Saturation' + */ + if (rtb_FailCond) { + rtb_FLU_tg_correct_aa = 320; } else { if (rtb_Divide1_jg > 4.5) { - /* Saturate: '/Saturation' */ - rtb_duct_select_index_dbg_c = 4.5; + /* Saturate: '/Saturation' */ + rtb_Divide5 = 4.5; } else if (rtb_Divide1_jg < 0.5) { - /* Saturate: '/Saturation' */ - rtb_duct_select_index_dbg_c = 0.5; + /* Saturate: '/Saturation' */ + rtb_Divide5 = 0.5; } else { - /* Saturate: '/Saturation' */ - rtb_duct_select_index_dbg_c = rtb_Divide1_jg; + /* Saturate: '/Saturation' */ + rtb_Divide5 = rtb_Divide1_jg; } - rtb_DataTypeConversion1_oq = (int16_t)floor((8.0 * - rtb_duct_select_index_dbg_c - 4.0) * 0.96784 * 10.0); + rtb_FLU_tg_correct_aa = (int16_t)floor((8.0 * rtb_Divide5 - 4.0) * 0.96784 * + 10.0); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' */ is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, &rtDW.sf_is3secafterT15passed_d); - /* MATLAB Function: '/filter AC Pressure' incorporates: - * DataStoreRead: '/Data Store Read44' - * DataStoreWrite: '/Data Store Write' + /* MATLAB Function: '/filter AC Pressure' incorporates: + * DataStoreRead: '/Data Store Read44' + * DataStoreWrite: '/Data Store Write' */ /* : MAX_SPEED_RISING = 10; */ /* : MAX_SPEED_FALLING = 10; */ /* : if isempty(prev_value) */ if (!rtDW.prev_value_not_empty) { /* : prev_value = double(pressure_in); */ - rtDW.prev_value = rtb_DataTypeConversion1_oq; + rtDW.prev_value = rtb_FLU_tg_correct_aa; rtDW.prev_value_not_empty = true; /* : prev_time = double(t_now); */ @@ -37416,14 +39548,12 @@ void HVAC_model_step(void) /* : max_up = MAX_SPEED_RISING * dt * 10; */ /* : max_down = MAX_SPEED_FALLING * dt * 10; */ /* : value_filtered = int16(min(max(double(pressure_in), prev_value - max_down), prev_value + max_up)); */ - rtb_duct_select_index_dbg_c = ((double)rtDW.t_now - rtDW.prev_time) / 1000.0 - * 10.0 * 10.0; - rtb_duct_select_index_dbg_c = rt_roundd(fmin(fmax(rtb_DataTypeConversion1_oq, - rtDW.prev_value - rtb_duct_select_index_dbg_c), - rtb_duct_select_index_dbg_c + rtDW.prev_value)); - if (rtb_duct_select_index_dbg_c < 32768.0) { - if (rtb_duct_select_index_dbg_c >= -32768.0) { - rtDW.Pressure = (int16_t)rtb_duct_select_index_dbg_c; + rtb_Divide5 = ((double)rtDW.t_now - rtDW.prev_time) / 1000.0 * 10.0 * 10.0; + rtb_Divide5 = rt_roundd(fmin(fmax(rtb_FLU_tg_correct_aa, rtDW.prev_value - + rtb_Divide5), rtb_Divide5 + rtDW.prev_value)); + if (rtb_Divide5 < 32768.0) { + if (rtb_Divide5 >= -32768.0) { + rtDW.Pressure = (int16_t)rtb_Divide5; } else { rtDW.Pressure = INT16_MIN; } @@ -37433,7 +39563,7 @@ void HVAC_model_step(void) } else { /* : else */ /* : value_filtered = pressure_in; */ - rtDW.Pressure = rtb_DataTypeConversion1_oq; + rtDW.Pressure = rtb_FLU_tg_correct_aa; } /* : prev_value = double(value_filtered); */ @@ -37442,59 +39572,59 @@ void HVAC_model_step(void) /* : prev_time = double(t_now); */ rtDW.prev_time = rtDW.t_now; - /* End of MATLAB Function: '/filter AC Pressure' */ + /* End of MATLAB Function: '/filter AC Pressure' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.CCU_PressSenErr_Stat = rtb_LogicalOperator1_nf; + rtDW.CCU_PressSenErr_Stat = rtb_FailCond; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' */ - rtDW.dtc_state_error_model[51] = rtb_LogicalOperator1_nf; + rtDW.dtc_state_error_model[51] = rtb_FailCond; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ - if (rtb_LogicalOperator1_nf) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + if (rtb_FailCond) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[50] = rtb_LogicalOperator1_f1; + rtDW.dtc_state_error_model[50] = rtb_Compare_eu; - /* 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_LogicalOperator1_f; + rtDW.dtc_state_error_model[51] = rtb_Compare_e3; } 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' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('AC_Pressure = %d ATM\n',AC_Pressure); */ - printf("AC_Pressure = %d ATM\n", rtb_DataTypeConversion1_oq); + printf("AC_Pressure = %d ATM\n", rtb_FLU_tg_correct_aa); 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_nf) { + if ((rtDW.LOGGER_ACP != 0.0) && rtb_FailCond) { /* : 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", @@ -37502,230 +39632,220 @@ void HVAC_model_step(void) 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 ' - */ - if (rtb_Compare_byy && (!rtDW.Cond_prev_private_DSTATE_a)) { - rtDW.t_start_delay_private_DSTATE_h = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + * Product: '/Divide' */ rtb_Divide1_jg = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct1 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_pw3 = (rtb_Divide1_jg < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_nh = (rtb_Divide1_jg > 4.9); - - /* Logic: '/Logical Operator' */ - rtb_LogicalOperator1_f1 = (rtb_Compare_pw3 || rtb_Compare_nh); - - /* Logic: '/Logical Operator1' incorporates: + /* RelationalOperator: '/Compare' incorporates: * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write5' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' */ - Duct1_R_error = (rtb_LogicalOperator1_f1 && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_o >= 3000U)); + rtb_FailCond = (rtb_Divide1_jg < 0.15); - /* Product: '/Divide3' incorporates: - * Constant: '/Constant3' - * Constant: '/Constant4' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_eb = (rtb_Divide1_jg > 4.85); + + /* Logic: '/Logical Operator' */ + rtb_Compare_eu = (rtb_FailCond || rtb_Compare_eb); + + /* MATLAB Function: '/error timer' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + errortimer(rtb_Compare_eu, rtDW.t_now, &rtb_Minus_j, &rtDW.sf_errortimer_e); + + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/Constant' + * DataStoreWrite: '/Data Store Write5' + * RelationalOperator: '/Compare' + */ + Duct1_R_error = (rtb_Compare_eu && (rtb_Minus_j >= 3000U)); + + /* Product: '/Divide3' incorporates: + * Constant: '/Constant3' + * Constant: '/Constant4' * DataStoreRead: '/Data Store Read1' - * Product: '/Divide2' + * Product: '/Divide2' */ rtb_Divide3 = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct2 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_ee = (rtb_Divide3 < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_n4 = (rtb_Divide3 > 4.9); - - /* Logic: '/Logical Operator2' */ - rtb_LogicalOperator1_f = (rtb_Compare_ee || rtb_Compare_n4); - - /* Logic: '/Logical Operator3' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write6' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - Duct2_R_error = (rtb_LogicalOperator1_f && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_oy >= 3000U)); - - /* Product: '/Divide5' incorporates: - * Constant: '/Constant6' - * Constant: '/Constant7' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide4' - */ - rtb_duct_select_index_dbg_c = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct3 / - 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_cp = (rtb_duct_select_index_dbg_c < 0.15); - /* RelationalOperator: '/Compare' incorporates: * Constant: '/Constant' */ - rtb_Compare_ca = (rtb_duct_select_index_dbg_c > 4.9); + rtb_Compare_ee = (rtb_Divide3 < 0.15); - /* Logic: '/Logical Operator5' */ - rtb_LogicalOperator1_nf = (rtb_Compare_cp || rtb_Compare_ca); - - /* Logic: '/Logical Operator6' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write7' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - Duct3_R_error = (rtb_LogicalOperator1_nf && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_cd >= 3000U)); + rtb_Compare_n0 = (rtb_Divide3 > 4.85); - /* Product: '/Divide7' incorporates: - * Constant: '/Constant10' - * Constant: '/Constant9' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide6' + /* Logic: '/Logical Operator2' */ + rtb_Compare_eu = (rtb_Compare_ee || rtb_Compare_n0); + + /* MATLAB Function: '/error timer1' incorporates: + * DataStoreRead: '/Data Store Read5' */ - rtb_D = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct4 / 4095.0 * 5.0; + errortimer(rtb_Compare_eu, rtDW.t_now, &rtb_Minus_j, &rtDW.sf_errortimer1); - /* RelationalOperator: '/Compare' incorporates: + /* Logic: '/Logical Operator3' incorporates: * Constant: '/Constant' + * DataStoreWrite: '/Data Store Write6' + * RelationalOperator: '/Compare' */ - rtb_Compare_kp = (rtb_D < 0.15); + Duct2_R_error = (rtb_Compare_eu && (rtb_Minus_j >= 3000U)); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_jj = (rtb_D > 4.9); - - /* Logic: '/Logical Operator7' */ - rtb_FailCond_of = (rtb_Compare_kp || rtb_Compare_jj); - - /* Logic: '/Logical Operator8' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write8' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - Duct4_R_error = (rtb_FailCond_of && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_or >= 3000U)); - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant2' + /* Product: '/Divide5' incorporates: + * Constant: '/Constant6' + * Constant: '/Constant7' * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * DataStoreWrite: '/Data Store Write5' - * Lookup_n-D: '/1-D Lookup Table4' - * SignalConversion generated from: '/1-D Lookup Table4' + * Product: '/Divide4' + */ + rtb_Divide5 = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct3 / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_cp = (rtb_Divide5 < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_h0 = (rtb_Divide5 > 4.85); + + /* Logic: '/Logical Operator5' */ + rtb_Compare_eu = (rtb_Compare_cp || rtb_Compare_h0); + + /* MATLAB Function: '/error timer2' incorporates: + * DataStoreRead: '/Data Store Read6' + */ + errortimer(rtb_Compare_eu, rtDW.t_now, &rtb_Minus_j, &rtDW.sf_errortimer2); + + /* Logic: '/Logical Operator6' incorporates: + * Constant: '/Constant' + * DataStoreWrite: '/Data Store Write7' + * RelationalOperator: '/Compare' + */ + rtb_Compare_eu = (rtb_Compare_eu && (rtb_Minus_j >= 3000U)); + + /* Product: '/Divide7' incorporates: + * Constant: '/Constant10' + * Constant: '/Constant9' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide6' + */ + rtb_area_R_o = (double)rtDW.ADC_Data_Model.Sensor_Rear_Duct4 / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_RelationalOperator6_f = (rtb_area_R_o < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_bp = (rtb_area_R_o > 4.85); + + /* Logic: '/Logical Operator7' */ + rtb_Compare_e3 = (rtb_RelationalOperator6_f || rtb_Compare_bp); + + /* MATLAB Function: '/error timer3' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + errortimer(rtb_Compare_e3, rtDW.t_now, &rtb_Minus_j, &rtDW.sf_errortimer3); + + /* Logic: '/Logical Operator8' incorporates: + * Constant: '/Constant' + * DataStoreWrite: '/Data Store Write8' + * RelationalOperator: '/Compare' + */ + rtb_Compare_e3 = (rtb_Compare_e3 && (rtb_Minus_j >= 3000U)); + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * DataStoreWrite: '/Data Store Write5' + * Lookup_n-D: '/1-D Lookup Table4' + * SignalConversion generated from: '/1-D Lookup Table4' */ if (Duct1_R_error) { - rtb_X = 230; + rtb_FLU_tg_correct_aa = 230; } else { - rtb_X = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Rear_Duct1, rtConstP.pooled70, - rtConstP.pooled69, 1023U); + rtb_FLU_tg_correct_aa = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtDW.ADC_Data_Model.Sensor_Rear_Duct1, rtConstP.pooled69, + rtConstP.pooled68, 1023U); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant5' + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant5' * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write6' - * Lookup_n-D: '/1-D Lookup Table4' - * SignalConversion generated from: '/1-D Lookup Table4' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write6' + * Lookup_n-D: '/1-D Lookup Table4' + * SignalConversion generated from: '/1-D Lookup Table4' */ if (Duct2_R_error) { - rtb_MultiportSwitch_ac = 230; + rtb_Switch2_ho = 230; } else { - rtb_MultiportSwitch_ac = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Rear_Duct2, rtConstP.pooled70, - rtConstP.pooled69, 1023U); + rtb_Switch2_ho = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtDW.ADC_Data_Model.Sensor_Rear_Duct2, rtConstP.pooled69, + rtConstP.pooled68, 1023U); } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant8' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant8' * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write3' - * DataStoreWrite: '/Data Store Write7' - * Lookup_n-D: '/1-D Lookup Table4' - * SignalConversion generated from: '/1-D Lookup Table4' + * DataStoreWrite: '/Data Store Write3' + * DataStoreWrite: '/Data Store Write7' + * Lookup_n-D: '/1-D Lookup Table4' + * SignalConversion generated from: '/1-D Lookup Table4' */ - if (Duct3_R_error) { - rtb_Bias1_h = 230; + if (rtb_Compare_eu) { + Duct3_R = 230; } else { - rtb_Bias1_h = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Rear_Duct3, rtConstP.pooled70, - rtConstP.pooled69, 1023U); + Duct3_R = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtDW.ADC_Data_Model.Sensor_Rear_Duct3, rtConstP.pooled69, + rtConstP.pooled68, 1023U); } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch3' incorporates: - * Constant: '/Constant11' + /* Switch: '/Switch3' incorporates: + * Constant: '/Constant11' * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write4' - * DataStoreWrite: '/Data Store Write8' - * Lookup_n-D: '/1-D Lookup Table4' - * SignalConversion generated from: '/1-D Lookup Table4' + * DataStoreWrite: '/Data Store Write4' + * DataStoreWrite: '/Data Store Write8' + * Lookup_n-D: '/1-D Lookup Table4' + * SignalConversion generated from: '/1-D Lookup Table4' */ - if (Duct4_R_error) { - rtb_FLU_tg_correct_ot = 230; + if (rtb_Compare_e3) { + Duct4_R = 230; } else { - rtb_FLU_tg_correct_ot = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Rear_Duct4, rtConstP.pooled70, - rtConstP.pooled69, 1023U); + Duct4_R = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtDW.ADC_Data_Model.Sensor_Rear_Duct4, rtConstP.pooled69, + rtConstP.pooled68, 1023U); } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreWrite: '/Data Store Write5' + * DataStoreWrite: '/Data Store Write5' * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[29] = Duct1_R_error; /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write5' + * DataStoreWrite: '/Data Store Write5' * DataTypeConversion: '/Data Type Conversion' * Switch: '/Switch1' */ @@ -37733,12 +39853,12 @@ void HVAC_model_step(void) /* DataStoreWrite: '/Data Store Write' incorporates: * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[30] = rtb_Compare_pw3; + rtDW.dtc_state_error_model[30] = rtb_FailCond; /* DataStoreWrite: '/Data Store Write1' incorporates: * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[29] = rtb_Compare_nh; + rtDW.dtc_state_error_model[29] = rtb_Compare_eb; } else { /* DataStoreWrite: '/Data Store Write' incorporates: * Constant: '/Constant' @@ -37749,13 +39869,13 @@ void HVAC_model_step(void) /* End of Switch: '/Switch' */ /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreWrite: '/Data Store Write6' + * DataStoreWrite: '/Data Store Write6' * DataTypeConversion: '/Data Type Conversion' */ rtDW.dtc_state_error_model[31] = Duct2_R_error; /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write6' + * DataStoreWrite: '/Data Store Write6' * DataTypeConversion: '/Data Type Conversion' * Switch: '/Switch1' */ @@ -37768,7 +39888,7 @@ void HVAC_model_step(void) /* DataStoreWrite: '/Data Store Write1' incorporates: * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[31] = rtb_Compare_n4; + rtDW.dtc_state_error_model[31] = rtb_Compare_n0; } else { /* DataStoreWrite: '/Data Store Write' incorporates: * Constant: '/Constant' @@ -37779,17 +39899,17 @@ void HVAC_model_step(void) /* End of Switch: '/Switch' */ /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreWrite: '/Data Store Write7' + * DataStoreWrite: '/Data Store Write7' * DataTypeConversion: '/Data Type Conversion' */ - rtDW.dtc_state_error_model[33] = Duct3_R_error; + rtDW.dtc_state_error_model[33] = rtb_Compare_eu; /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write7' + * DataStoreWrite: '/Data Store Write7' * DataTypeConversion: '/Data Type Conversion' * Switch: '/Switch1' */ - if (Duct3_R_error) { + if (rtb_Compare_eu) { /* DataStoreWrite: '/Data Store Write' incorporates: * DataTypeConversion: '/Data Type Conversion1' */ @@ -37798,7 +39918,7 @@ void HVAC_model_step(void) /* DataStoreWrite: '/Data Store Write1' incorporates: * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[33] = rtb_Compare_ca; + rtDW.dtc_state_error_model[33] = rtb_Compare_h0; } else { /* DataStoreWrite: '/Data Store Write' incorporates: * Constant: '/Constant' @@ -37809,26 +39929,26 @@ void HVAC_model_step(void) /* End of Switch: '/Switch' */ /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreWrite: '/Data Store Write8' + * DataStoreWrite: '/Data Store Write8' * DataTypeConversion: '/Data Type Conversion' */ - rtDW.dtc_state_error_model[35] = Duct4_R_error; + rtDW.dtc_state_error_model[35] = rtb_Compare_e3; /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write8' + * DataStoreWrite: '/Data Store Write8' * DataTypeConversion: '/Data Type Conversion' * Switch: '/Switch1' */ - if (Duct4_R_error) { + if (rtb_Compare_e3) { /* DataStoreWrite: '/Data Store Write' incorporates: * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[36] = rtb_Compare_kp; + rtDW.dtc_state_error_model[36] = rtb_RelationalOperator6_f; /* DataStoreWrite: '/Data Store Write1' incorporates: * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[35] = rtb_Compare_jj; + rtDW.dtc_state_error_model[35] = rtb_Compare_bp; } else { /* DataStoreWrite: '/Data Store Write' incorporates: * Constant: '/Constant' @@ -37838,87 +39958,86 @@ void HVAC_model_step(void) /* End of Switch: '/Switch' */ - /* MATLAB Function: '/Write ' incorporates: - * DataStoreRead: '/Data Store Read' + /* MATLAB Function: '/Write ' incorporates: + * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' + * 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_mxq = rtDW.ADC_Data_Model.Sensor_Rear_Duct1; + rtb_out_bf = rtDW.ADC_Data_Model.Sensor_Rear_Duct1; if (rtDW.ADC_Data_Model.Sensor_Rear_Duct1 > 32767) { - rtb_out_mxq = 32767U; + rtb_out_bf = 32767U; } - printf("Duct1_R = %d * 0.1 C %d V\n", rtb_X, (int16_t)rtb_out_mxq); + printf("Duct1_R = %d * 0.1 C %d V\n", rtb_FLU_tg_correct_aa, (int16_t) + rtb_out_bf); fflush(stdout); } - /* End of MATLAB Function: '/Write ' */ + /* End of MATLAB Function: '/Write ' */ - /* MATLAB Function: '/Write 1' incorporates: - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/Write 1' incorporates: + * DataStoreRead: '/Data Store Read1' * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write2' + * 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_mxq = rtDW.ADC_Data_Model.Sensor_Rear_Duct2; + rtb_out_bf = rtDW.ADC_Data_Model.Sensor_Rear_Duct2; if (rtDW.ADC_Data_Model.Sensor_Rear_Duct2 > 32767) { - rtb_out_mxq = 32767U; + rtb_out_bf = 32767U; } - printf("Duct2_R = %d * 0.1 C %d V\n", rtb_MultiportSwitch_ac, (int16_t) - rtb_out_mxq); + printf("Duct2_R = %d * 0.1 C %d V\n", rtb_Switch2_ho, (int16_t)rtb_out_bf); fflush(stdout); } - /* End of MATLAB Function: '/Write 1' */ + /* End of MATLAB Function: '/Write 1' */ - /* MATLAB Function: '/Write 2' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MATLAB Function: '/Write 2' incorporates: + * DataStoreRead: '/Data Store Read2' * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write3' + * 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_mxq = rtDW.ADC_Data_Model.Sensor_Rear_Duct3; + rtb_out_bf = rtDW.ADC_Data_Model.Sensor_Rear_Duct3; if (rtDW.ADC_Data_Model.Sensor_Rear_Duct3 > 32767) { - rtb_out_mxq = 32767U; + rtb_out_bf = 32767U; } - printf("Duct3_R = %d * 0.1 C %d V\n", rtb_Bias1_h, (int16_t)rtb_out_mxq); + printf("Duct3_R = %d * 0.1 C %d V\n", Duct3_R, (int16_t)rtb_out_bf); fflush(stdout); } - /* End of MATLAB Function: '/Write 2' */ + /* End of MATLAB Function: '/Write 2' */ - /* MATLAB Function: '/Write 3' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write 3' incorporates: + * DataStoreRead: '/Data Store Read3' * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write4' + * 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_mxq = rtDW.ADC_Data_Model.Sensor_Rear_Duct4; + rtb_out_bf = rtDW.ADC_Data_Model.Sensor_Rear_Duct4; if (rtDW.ADC_Data_Model.Sensor_Rear_Duct4 > 32767) { - rtb_out_mxq = 32767U; + rtb_out_bf = 32767U; } - printf("Duct4_R = %d * 0.1 C %d V\n", rtb_FLU_tg_correct_ot, (int16_t) - rtb_out_mxq); + printf("Duct4_R = %d * 0.1 C %d V\n", Duct4_R, (int16_t)rtb_out_bf); fflush(stdout); } - /* End of MATLAB Function: '/Write 3' */ + /* End of MATLAB Function: '/Write 3' */ - /* MATLAB Function: '/Write ERROR' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write5' + /* MATLAB Function: '/Write ERROR' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write5' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && Duct1_R_error) { @@ -37929,11 +40048,11 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ - /* MATLAB Function: '/Write ERROR1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write6' + /* MATLAB Function: '/Write ERROR1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write6' */ /* : if(LOGGER) */ if ((rtDW.LOGGER_ACP != 0.0) && Duct2_R_error) { @@ -37944,284 +40063,237 @@ 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' - * DataStoreWrite: '/Data Store Write7' + /* MATLAB Function: '/Write ERROR2' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write7' */ /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && Duct3_R_error) { + if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_eu) { /* : 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", - rtb_duct_select_index_dbg_c); + rtb_Divide5); fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR2' */ + /* End of MATLAB Function: '/Write ERROR2' */ - /* MATLAB Function: '/Write ERROR3' incorporates: - * DataStoreRead: '/Data Store Read3' - * DataStoreWrite: '/Data Store Write8' + /* MATLAB Function: '/Write ERROR3' incorporates: + * DataStoreRead: '/Data Store Read3' + * DataStoreWrite: '/Data Store Write8' */ /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && Duct4_R_error) { + if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_e3) { /* : 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", - rtb_D); + rtb_area_R_o); 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 ' - */ - if (rtb_LogicalOperator1_f1 && (!rtDW.Cond_prev_private_DSTATE_l)) { - rtDW.t_start_delay_private_DSTATE_o = rtDW.t_now; - } - - /* 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 ' - */ - if (rtb_LogicalOperator1_f && (!rtDW.Cond_prev_private_DSTATE_j)) { - rtDW.t_start_delay_private_DSTATE_oy = rtDW.t_now; - } - - /* 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 ' - */ - if (rtb_LogicalOperator1_nf && (!rtDW.Cond_prev_private_DSTATE_g)) { - rtDW.t_start_delay_private_DSTATE_cd = rtDW.t_now; - } - - /* 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 ' - */ - if (rtb_FailCond_of && (!rtDW.Cond_prev_private_DSTATE_c)) { - rtDW.t_start_delay_private_DSTATE_or = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* Product: '/Divide3' incorporates: - * Constant: '/Constant3' - * Constant: '/Constant4' + /* Product: '/Divide3' incorporates: + * Constant: '/Constant3' + * Constant: '/Constant4' * DataStoreRead: '/Data Store Read1' - * Product: '/Divide2' + * Product: '/Divide2' */ rtb_Divide1_jg = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct1 / 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_kp = (rtb_Divide1_jg < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_jj = (rtb_Divide1_jg > 4.9); - - /* Logic: '/Logical Operator2' */ - rtb_Compare_pw3 = (rtb_Compare_kp || rtb_Compare_jj); - - /* Logic: '/Logical Operator3' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write7' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - Duct1_F_error = (rtb_Compare_pw3 && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_k >= 3000U)); - - /* Product: '/Divide4' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide1' - */ - rtb_Divide3 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct2 / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_f4 = (rtb_Divide3 < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_k2 = (rtb_Divide3 > 4.9); - - /* Logic: '/Logical Operator1' */ - rtb_Compare_nh = (rtb_Compare_f4 || rtb_Compare_k2); - - /* Logic: '/Logical Operator4' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write8' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - Duct2_F_error = (rtb_Compare_nh && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_m >= 3000U)); - - /* Product: '/Divide6' incorporates: - * Constant: '/Constant7' - * Constant: '/Constant8' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide5' - */ - rtb_duct_select_index_dbg_c = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct3 / - 4095.0 * 5.0; - /* RelationalOperator: '/Compare' incorporates: * Constant: '/Constant' */ - rtb_Compare_e = (rtb_duct_select_index_dbg_c < 0.15); + rtb_Compare_bp = (rtb_Divide1_jg < 0.15); /* RelationalOperator: '/Compare' incorporates: * Constant: '/Constant' */ - rtb_Compare_pnq = (rtb_duct_select_index_dbg_c > 4.9); + rtb_Compare_kv = (rtb_Divide1_jg > 4.85); - /* Logic: '/Logical Operator5' */ - rtb_Compare_ee = (rtb_Compare_e || rtb_Compare_pnq); + /* Logic: '/Logical Operator2' */ + rtb_FailCond = (rtb_Compare_bp || rtb_Compare_kv); - /* Logic: '/Logical Operator6' incorporates: + /* MATLAB Function: '/error timer' incorporates: + * DataStoreRead: '/Data Store Read' + */ + errortimer(rtb_FailCond, rtDW.t_now, &rtb_Minus_j, &rtDW.sf_errortimer_j); + + /* Logic: '/Logical Operator3' incorporates: * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write9' + * DataStoreWrite: '/Data Store Write7' * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' */ - Duct3_F_error = (rtb_Compare_ee && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_p >= 3000U)); + rtb_FailCond = (rtb_FailCond && (rtb_Minus_j >= 3000U)); - /* Product: '/Divide8' incorporates: - * Constant: '/Constant10' - * Constant: '/Constant11' + /* Product: '/Divide4' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant2' * DataStoreRead: '/Data Store Read1' - * Product: '/Divide7' + * Product: '/Divide1' */ - rtb_D = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct4 / 4095.0 * 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_ff = (rtb_D < 0.15); - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_mg = (rtb_D > 4.9); - - /* Logic: '/Logical Operator7' */ - rtb_Compare_n4 = (rtb_Compare_ff || rtb_Compare_mg); - - /* Logic: '/Logical Operator8' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write10' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' - */ - Duct4_F_error = (rtb_Compare_n4 && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_hb >= 3000U)); - - /* 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; + rtb_Divide3 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct2 / 4095.0 * 5.0; /* RelationalOperator: '/Compare' incorporates: * Constant: '/Constant' */ - rtb_Compare_gq = (rtb_Divide10 < 0.15); + rtb_Compare_i3s = (rtb_Divide3 < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_hdv = (rtb_Divide3 > 4.85); + + /* Logic: '/Logical Operator1' */ + rtb_Compare_eb = (rtb_Compare_i3s || rtb_Compare_hdv); + + /* MATLAB Function: '/error timer1' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + errortimer(rtb_Compare_eb, rtDW.t_now, &rtb_Minus_j, &rtDW.sf_errortimer1_k); + + /* Logic: '/Logical Operator4' incorporates: + * Constant: '/Constant' + * DataStoreWrite: '/Data Store Write8' + * RelationalOperator: '/Compare' + */ + rtb_Compare_eb = (rtb_Compare_eb && (rtb_Minus_j >= 3000U)); + + /* Product: '/Divide6' incorporates: + * Constant: '/Constant7' + * Constant: '/Constant8' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide5' + */ + rtb_Divide5 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct3 / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_e1 = (rtb_Divide5 < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_em = (rtb_Divide5 > 4.85); + + /* Logic: '/Logical Operator5' */ + rtb_Compare_ee = (rtb_Compare_e1 || rtb_Compare_em); + + /* MATLAB Function: '/error timer2' incorporates: + * DataStoreRead: '/Data Store Read8' + */ + errortimer(rtb_Compare_ee, rtDW.t_now, &rtb_Minus_j, &rtDW.sf_errortimer2_d); + + /* Logic: '/Logical Operator6' incorporates: + * Constant: '/Constant' + * DataStoreWrite: '/Data Store Write9' + * RelationalOperator: '/Compare' + */ + rtb_Compare_ee = (rtb_Compare_ee && (rtb_Minus_j >= 3000U)); + + /* Product: '/Divide8' incorporates: + * Constant: '/Constant10' + * Constant: '/Constant11' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide7' + */ + rtb_area_R_o = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct4 / 4095.0 * 5.0; /* RelationalOperator: '/Compare' incorporates: * Constant: '/Constant' */ - rtb_Compare_de = (rtb_Divide10 > 4.9); + rtb_Compare_d1 = (rtb_area_R_o < 0.15); - /* Logic: '/Logical Operator9' */ - rtb_Compare_cp = (rtb_Compare_gq || rtb_Compare_de); - - /* Logic: '/Logical Operator10' incorporates: + /* RelationalOperator: '/Compare' incorporates: * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write11' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' */ - Duct5_F_error = (rtb_Compare_cp && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_i >= 3000U)); + rtb_Compare_mk = (rtb_area_R_o > 4.85); - /* Product: '/Divide11' incorporates: - * Constant: '/Constant16' - * Constant: '/Constant17' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide12' + /* Logic: '/Logical Operator7' */ + rtb_Compare_n0 = (rtb_Compare_d1 || rtb_Compare_mk); + + /* MATLAB Function: '/error timer3' incorporates: + * DataStoreRead: '/Data Store Read9' */ - rtb_Divide11 = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct6 / 4095.0 * 5.0; + errortimer(rtb_Compare_n0, rtDW.t_now, &rtb_Minus_j, &rtDW.sf_errortimer3_f); - /* RelationalOperator: '/Compare' incorporates: + /* Logic: '/Logical Operator8' incorporates: * Constant: '/Constant' + * DataStoreWrite: '/Data Store Write10' + * RelationalOperator: '/Compare' */ - rtb_Compare_dw = (rtb_Divide11 < 0.15); + rtb_Compare_n0 = (rtb_Compare_n0 && (rtb_Minus_j >= 3000U)); + + /* 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' */ - rtb_Compare_pm = (rtb_Divide11 > 4.9); + rtb_Compare_ng = (rtb_Divide10 < 0.15); - /* Logic: '/Logical Operator12' */ - rtb_Compare_ca = (rtb_Compare_dw || rtb_Compare_pm); - - /* Logic: '/Logical Operator11' incorporates: + /* RelationalOperator: '/Compare' incorporates: * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write12' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' */ - Duct6_F_error = (rtb_Compare_ca && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_cc >= 3000U)); + rtb_Compare_dr = (rtb_Divide10 > 4.85); - /* SignalConversion generated from: '/1-D Lookup Table7' incorporates: + /* Logic: '/Logical Operator9' */ + rtb_Compare_cp = (rtb_Compare_ng || rtb_Compare_dr); + + /* MATLAB Function: '/error timer4' incorporates: + * DataStoreRead: '/Data Store Read10' + */ + errortimer(rtb_Compare_cp, rtDW.t_now, &rtb_Minus_j, &rtDW.sf_errortimer4); + + /* Logic: '/Logical Operator10' incorporates: + * Constant: '/Constant' + * DataStoreWrite: '/Data Store Write11' + * RelationalOperator: '/Compare' + */ + rtb_Compare_cp = (rtb_Compare_cp && (rtb_Minus_j >= 3000U)); + + /* Product: '/Divide11' incorporates: + * Constant: '/Constant16' + * Constant: '/Constant17' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide12' + */ + rtb_D = (double)rtDW.ADC_Data_Model.Sensor_Front_Duct6 / 4095.0 * 5.0; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_j1 = (rtb_D < 0.15); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_bg = (rtb_D > 4.85); + + /* Logic: '/Logical Operator12' */ + rtb_Compare_h0 = (rtb_Compare_j1 || rtb_Compare_bg); + + /* MATLAB Function: '/error timer5' incorporates: + * DataStoreRead: '/Data Store Read11' + */ + errortimer(rtb_Compare_h0, rtDW.t_now, &rtb_Minus_j, &rtDW.sf_errortimer5); + + /* Logic: '/Logical Operator11' incorporates: + * Constant: '/Constant' + * DataStoreWrite: '/Data Store Write12' + * RelationalOperator: '/Compare' + */ + rtb_Compare_h0 = (rtb_Compare_h0 && (rtb_Minus_j >= 3000U)); + + /* SignalConversion generated from: '/1-D Lookup Table7' incorporates: * DataStoreRead: '/Data Store Read1' */ rtb_out[0] = rtDW.ADC_Data_Model.Sensor_Front_Duct1; @@ -38231,364 +40303,364 @@ void HVAC_model_step(void) 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' */ + /* Lookup_n-D: '/1-D Lookup Table7' */ for (i = 0; i < 6; i++) { rtb_uDLookupTable7_g[i] = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out[i], - rtConstP.pooled70, rtConstP.pooled69, 1023U); + rtConstP.pooled69, rtConstP.pooled68, 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 Write8' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant6' + * DataStoreWrite: '/Data Store Write8' */ - if (Duct2_F_error) { - rtb_Switch2_nb = 230; + if (rtb_Compare_eb) { + rtb_Switch2_ac = 230; } else { - rtb_Switch2_nb = rtb_uDLookupTable7_g[1]; + rtb_Switch2_ac = rtb_uDLookupTable7_g[1]; } - /* End of Switch: '/Switch2' */ - - /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - */ - is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, - &rtDW.sf_is3secafterT15passed_m); - - /* MATLAB Function: '/filter duct' incorporates: - * DataStoreRead: '/Data Store Read44' - */ - filterduct(rtb_Switch2_nb, rtb_RelationalOperator6_f, rtDW.t_now, - &rtb_DataTypeConversion1_oq, &rtDW.sf_filterduct_k); - - /* DataStoreWrite: '/Data Store Write1' */ - Duct2_F = rtb_DataTypeConversion1_oq; - - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant5' - * DataStoreWrite: '/Data Store Write7' - */ - if (Duct1_F_error) { - rtb_Switch1_pd = 230; - } else { - rtb_Switch1_pd = rtb_uDLookupTable7_g[0]; - } - - /* End of Switch: '/Switch1' */ - - /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - */ - is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, - &rtDW.sf_is3secafterT15passed_f); - - /* MATLAB Function: '/filter duct' incorporates: - * DataStoreRead: '/Data Store Read44' - */ - filterduct(rtb_Switch1_pd, rtb_RelationalOperator6_f, rtDW.t_now, - &rtb_DataTypeConversion1_oq, &rtDW.sf_filterduct); - - /* DataStoreWrite: '/Data Store Write2' */ - Duct1_F = rtb_DataTypeConversion1_oq; - - /* Switch: '/Switch3' incorporates: - * Constant: '/Constant9' - * DataStoreWrite: '/Data Store Write9' - */ - if (Duct3_F_error) { - rtb_Switch3_no = 230; - } else { - rtb_Switch3_no = rtb_uDLookupTable7_g[2]; - } - - /* End of Switch: '/Switch3' */ - - /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - */ - is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, - &rtDW.sf_is3secafterT15passed_o); - - /* MATLAB Function: '/filter duct' incorporates: - * DataStoreRead: '/Data Store Read44' - */ - filterduct(rtb_Switch3_no, rtb_RelationalOperator6_f, rtDW.t_now, - &rtb_DataTypeConversion1_oq, &rtDW.sf_filterduct_c); - - /* DataStoreWrite: '/Data Store Write3' */ - Duct3_F = rtb_DataTypeConversion1_oq; - - /* Switch: '/Switch4' incorporates: - * Constant: '/Constant12' - * DataStoreWrite: '/Data Store Write10' - */ - if (Duct4_F_error) { - rtb_Switch4_f5 = 230; - } else { - rtb_Switch4_f5 = rtb_uDLookupTable7_g[3]; - } - - /* End of Switch: '/Switch4' */ - - /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - */ - is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, - &rtDW.sf_is3secafterT15passed_h); - - /* MATLAB Function: '/filter duct' incorporates: - * DataStoreRead: '/Data Store Read44' - */ - filterduct(rtb_Switch4_f5, rtb_RelationalOperator6_f, rtDW.t_now, - &rtb_DataTypeConversion1_oq, &rtDW.sf_filterduct_o); - - /* DataStoreWrite: '/Data Store Write4' */ - Duct4_F = rtb_DataTypeConversion1_oq; - - /* Switch: '/Switch5' incorporates: - * Constant: '/Constant15' - * DataStoreWrite: '/Data Store Write11' - */ - if (Duct5_F_error) { - rtb_Switch5_l = 230; - } else { - rtb_Switch5_l = rtb_uDLookupTable7_g[4]; - } - - /* End of Switch: '/Switch5' */ - - /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - */ - is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, - &rtDW.sf_is3secafterT15passed_e); - - /* MATLAB Function: '/filter duct' incorporates: - * DataStoreRead: '/Data Store Read44' - */ - filterduct(rtb_Switch5_l, rtb_RelationalOperator6_f, rtDW.t_now, - &rtb_DataTypeConversion1_oq, &rtDW.sf_filterduct_h); - - /* DataStoreWrite: '/Data Store Write5' */ - Duct5_F = rtb_DataTypeConversion1_oq; - - /* Switch: '/Switch6' incorporates: - * Constant: '/Constant18' - * DataStoreWrite: '/Data Store Write12' - */ - if (Duct6_F_error) { - rtb_Switch6_c = 230; - } else { - rtb_Switch6_c = rtb_uDLookupTable7_g[5]; - } - - /* End of Switch: '/Switch6' */ + /* End of Switch: '/Switch2' */ /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: * DataStoreRead: '/Data Store Read7' * DataStoreRead: '/Data Store Read8' */ is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, - &rtDW.sf_is3secafterT15passed_c); + &rtDW.sf_is3secafterT15passed_m); /* MATLAB Function: '/filter duct' incorporates: * DataStoreRead: '/Data Store Read44' */ - filterduct(rtb_Switch6_c, rtb_RelationalOperator6_f, rtDW.t_now, - &rtb_DataTypeConversion1_oq, &rtDW.sf_filterduct_j); + filterduct(rtb_Switch2_ac, rtb_RelationalOperator6_f, rtDW.t_now, + &rtb_DataTypeConversion1_gq, &rtDW.sf_filterduct_k); - /* DataStoreWrite: '/Data Store Write6' */ - Duct6_F = rtb_DataTypeConversion1_oq; + /* DataStoreWrite: '/Data Store Write1' */ + Duct2_F = rtb_DataTypeConversion1_gq; + + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant5' + * DataStoreWrite: '/Data Store Write7' + */ + if (rtb_FailCond) { + rtb_Switch1_pd = 230; + } else { + rtb_Switch1_pd = rtb_uDLookupTable7_g[0]; + } + + /* End of Switch: '/Switch1' */ + + /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + */ + is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, + &rtDW.sf_is3secafterT15passed_f); + + /* MATLAB Function: '/filter duct' incorporates: + * DataStoreRead: '/Data Store Read44' + */ + filterduct(rtb_Switch1_pd, rtb_RelationalOperator6_f, rtDW.t_now, + &rtb_DataTypeConversion1_gq, &rtDW.sf_filterduct); + + /* DataStoreWrite: '/Data Store Write2' */ + Duct1_F = rtb_DataTypeConversion1_gq; + + /* Switch: '/Switch3' incorporates: + * Constant: '/Constant9' + * DataStoreWrite: '/Data Store Write9' + */ + if (rtb_Compare_ee) { + rtb_Switch3_no = 230; + } else { + rtb_Switch3_no = rtb_uDLookupTable7_g[2]; + } + + /* End of Switch: '/Switch3' */ + + /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + */ + is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, + &rtDW.sf_is3secafterT15passed_o); + + /* MATLAB Function: '/filter duct' incorporates: + * DataStoreRead: '/Data Store Read44' + */ + filterduct(rtb_Switch3_no, rtb_RelationalOperator6_f, rtDW.t_now, + &rtb_DataTypeConversion1_gq, &rtDW.sf_filterduct_c); + + /* DataStoreWrite: '/Data Store Write3' */ + Duct3_F = rtb_DataTypeConversion1_gq; + + /* Switch: '/Switch4' incorporates: + * Constant: '/Constant12' + * DataStoreWrite: '/Data Store Write10' + */ + if (rtb_Compare_n0) { + rtb_Switch4_f5 = 230; + } else { + rtb_Switch4_f5 = rtb_uDLookupTable7_g[3]; + } + + /* End of Switch: '/Switch4' */ + + /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + */ + is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, + &rtDW.sf_is3secafterT15passed_h); + + /* MATLAB Function: '/filter duct' incorporates: + * DataStoreRead: '/Data Store Read44' + */ + filterduct(rtb_Switch4_f5, rtb_RelationalOperator6_f, rtDW.t_now, + &rtb_DataTypeConversion1_gq, &rtDW.sf_filterduct_o); + + /* DataStoreWrite: '/Data Store Write4' */ + Duct4_F = rtb_DataTypeConversion1_gq; + + /* Switch: '/Switch5' incorporates: + * Constant: '/Constant15' + * DataStoreWrite: '/Data Store Write11' + */ + if (rtb_Compare_cp) { + rtb_Switch5_l = 230; + } else { + rtb_Switch5_l = rtb_uDLookupTable7_g[4]; + } + + /* End of Switch: '/Switch5' */ + + /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + */ + is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, + &rtDW.sf_is3secafterT15passed_e); + + /* MATLAB Function: '/filter duct' incorporates: + * DataStoreRead: '/Data Store Read44' + */ + filterduct(rtb_Switch5_l, rtb_RelationalOperator6_f, rtDW.t_now, + &rtb_DataTypeConversion1_gq, &rtDW.sf_filterduct_h); + + /* DataStoreWrite: '/Data Store Write5' */ + Duct5_F = rtb_DataTypeConversion1_gq; + + /* Switch: '/Switch6' incorporates: + * Constant: '/Constant18' + * DataStoreWrite: '/Data Store Write12' + */ + if (rtb_Compare_h0) { + rtb_Bias_ct = 230; + } else { + rtb_Bias_ct = rtb_uDLookupTable7_g[5]; + } + + /* End of Switch: '/Switch6' */ + + /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + */ + is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, + &rtDW.sf_is3secafterT15passed_c); + + /* MATLAB Function: '/filter duct' incorporates: + * DataStoreRead: '/Data Store Read44' + */ + filterduct(rtb_Bias_ct, rtb_RelationalOperator6_f, rtDW.t_now, + &rtb_DataTypeConversion1_gq, &rtDW.sf_filterduct_j); + + /* DataStoreWrite: '/Data Store Write6' */ + Duct6_F = rtb_DataTypeConversion1_gq; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreWrite: '/Data Store Write7' + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[17] = rtb_FailCond; + + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write7' + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' + */ + if (rtb_FailCond) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.dtc_state_error_model[18] = rtb_Compare_bp; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[17] = rtb_Compare_kv; + } else { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.dtc_state_error_model[18] = 0U; + } + + /* End of Switch: '/Switch' */ + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreWrite: '/Data Store Write8' + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.dtc_state_error_model[19] = rtb_Compare_eb; + + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write8' + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' + */ + if (rtb_Compare_eb) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.dtc_state_error_model[20] = rtb_Compare_i3s; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + rtDW.dtc_state_error_model[19] = rtb_Compare_hdv; + } else { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' + */ + rtDW.dtc_state_error_model[20] = 0U; + } + + /* End of Switch: '/Switch' */ /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreWrite: '/Data Store Write7' + * DataStoreWrite: '/Data Store Write9' * DataTypeConversion: '/Data Type Conversion' */ - rtDW.dtc_state_error_model[17] = Duct1_F_error; + rtDW.dtc_state_error_model[21] = rtb_Compare_ee; /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write7' + * DataStoreWrite: '/Data Store Write9' * DataTypeConversion: '/Data Type Conversion' * Switch: '/Switch1' */ - if (Duct1_F_error) { + if (rtb_Compare_ee) { /* DataStoreWrite: '/Data Store Write' incorporates: * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[18] = rtb_Compare_kp; + rtDW.dtc_state_error_model[22] = rtb_Compare_e1; /* DataStoreWrite: '/Data Store Write1' incorporates: * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[17] = rtb_Compare_jj; + rtDW.dtc_state_error_model[21] = rtb_Compare_em; } else { /* DataStoreWrite: '/Data Store Write' incorporates: * Constant: '/Constant' */ - rtDW.dtc_state_error_model[18] = 0U; + rtDW.dtc_state_error_model[22] = 0U; } /* End of Switch: '/Switch' */ /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreWrite: '/Data Store Write8' + * DataStoreWrite: '/Data Store Write10' * DataTypeConversion: '/Data Type Conversion' */ - rtDW.dtc_state_error_model[19] = Duct2_F_error; + rtDW.dtc_state_error_model[23] = rtb_Compare_n0; /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write8' + * DataStoreWrite: '/Data Store Write10' * DataTypeConversion: '/Data Type Conversion' * Switch: '/Switch1' */ - if (Duct2_F_error) { + if (rtb_Compare_n0) { /* DataStoreWrite: '/Data Store Write' incorporates: * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[20] = rtb_Compare_f4; + rtDW.dtc_state_error_model[24] = rtb_Compare_d1; /* DataStoreWrite: '/Data Store Write1' incorporates: * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[19] = rtb_Compare_k2; + rtDW.dtc_state_error_model[23] = rtb_Compare_mk; } else { /* DataStoreWrite: '/Data Store Write' incorporates: * Constant: '/Constant' */ - rtDW.dtc_state_error_model[20] = 0U; + rtDW.dtc_state_error_model[24] = 0U; } /* End of Switch: '/Switch' */ /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreWrite: '/Data Store Write9' + * DataStoreWrite: '/Data Store Write11' * DataTypeConversion: '/Data Type Conversion' */ - rtDW.dtc_state_error_model[21] = Duct3_F_error; + rtDW.dtc_state_error_model[25] = rtb_Compare_cp; /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write9' + * DataStoreWrite: '/Data Store Write11' * DataTypeConversion: '/Data Type Conversion' * Switch: '/Switch1' */ - if (Duct3_F_error) { + if (rtb_Compare_cp) { /* DataStoreWrite: '/Data Store Write' incorporates: * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[22] = rtb_Compare_e; + rtDW.dtc_state_error_model[26] = rtb_Compare_ng; /* DataStoreWrite: '/Data Store Write1' incorporates: * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[21] = rtb_Compare_pnq; + rtDW.dtc_state_error_model[25] = rtb_Compare_dr; } else { /* DataStoreWrite: '/Data Store Write' incorporates: * Constant: '/Constant' */ - rtDW.dtc_state_error_model[22] = 0U; + rtDW.dtc_state_error_model[26] = 0U; } /* End of Switch: '/Switch' */ /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreWrite: '/Data Store Write10' + * DataStoreWrite: '/Data Store Write12' * DataTypeConversion: '/Data Type Conversion' */ - rtDW.dtc_state_error_model[23] = Duct4_F_error; + rtDW.dtc_state_error_model[27] = rtb_Compare_h0; /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write10' + * DataStoreWrite: '/Data Store Write12' * DataTypeConversion: '/Data Type Conversion' * Switch: '/Switch1' */ - if (Duct4_F_error) { + if (rtb_Compare_h0) { /* DataStoreWrite: '/Data Store Write' incorporates: * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[24] = rtb_Compare_ff; + rtDW.dtc_state_error_model[28] = rtb_Compare_j1; /* DataStoreWrite: '/Data Store Write1' incorporates: * DataTypeConversion: '/Data Type Conversion2' */ - rtDW.dtc_state_error_model[23] = rtb_Compare_mg; + rtDW.dtc_state_error_model[27] = rtb_Compare_bg; } else { /* DataStoreWrite: '/Data Store Write' incorporates: * Constant: '/Constant' */ - rtDW.dtc_state_error_model[24] = 0U; + rtDW.dtc_state_error_model[28] = 0U; } /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreWrite: '/Data Store Write11' - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[25] = Duct5_F_error; - - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write11' - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (Duct5_F_error) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[26] = rtb_Compare_gq; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[25] = rtb_Compare_de; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[26] = 0U; - } - - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreWrite: '/Data Store Write12' - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.dtc_state_error_model[27] = Duct6_F_error; - - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write12' - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (Duct6_F_error) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.dtc_state_error_model[28] = rtb_Compare_dw; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion2' - */ - rtDW.dtc_state_error_model[27] = rtb_Compare_pm; - } else { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' - */ - rtDW.dtc_state_error_model[28] = 0U; - } - - /* End of Switch: '/Switch' */ - - /* MATLAB Function: '/Write 1' incorporates: - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/Write 1' incorporates: + * DataStoreRead: '/Data Store Read1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -38597,22 +40669,22 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write 1' */ + /* End of MATLAB Function: '/Write 1' */ - /* MATLAB Function: '/Write 2' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MATLAB Function: '/Write 2' incorporates: + * DataStoreRead: '/Data Store Read2' */ /* : 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_Switch2_nb); + printf("Duct2_F = %d * 0.1 C\n", rtb_Switch2_ac); fflush(stdout); } - /* End of MATLAB Function: '/Write 2' */ + /* End of MATLAB Function: '/Write 2' */ - /* MATLAB Function: '/Write 3' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write 3' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -38621,10 +40693,10 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write 3' */ + /* End of MATLAB Function: '/Write 3' */ - /* MATLAB Function: '/Write 4' incorporates: - * DataStoreRead: '/Data Store Read4' + /* MATLAB Function: '/Write 4' incorporates: + * DataStoreRead: '/Data Store Read4' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -38633,10 +40705,10 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write 4' */ + /* End of MATLAB Function: '/Write 4' */ - /* MATLAB Function: '/Write 5' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/Write 5' incorporates: + * DataStoreRead: '/Data Store Read5' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -38645,26 +40717,26 @@ 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' + /* MATLAB Function: '/Write 6' incorporates: + * DataStoreRead: '/Data Store Read6' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('Duct6_F = %d * 0.1 C\n',Sensor); */ - printf("Duct6_F = %d * 0.1 C\n", rtb_Switch6_c); + printf("Duct6_F = %d * 0.1 C\n", rtb_Bias_ct); fflush(stdout); } - /* End of MATLAB Function: '/Write 6' */ + /* End of MATLAB Function: '/Write 6' */ - /* MATLAB Function: '/Write ERROR1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write7' + /* MATLAB Function: '/Write ERROR1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write7' */ /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && Duct1_F_error) { + if ((rtDW.LOGGER_ACP != 0.0) && rtb_FailCond) { /* : 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", @@ -38672,14 +40744,14 @@ 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' - * DataStoreWrite: '/Data Store Write8' + /* MATLAB Function: '/Write ERROR2' incorporates: + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write8' */ /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && Duct2_F_error) { + if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_eb) { /* : if(Err) */ /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct2_F = %f V\n',Sensor); */ printf("CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct2_F = %f V\n", @@ -38687,44 +40759,44 @@ 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' - * DataStoreWrite: '/Data Store Write9' + /* MATLAB Function: '/Write ERROR3' incorporates: + * DataStoreRead: '/Data Store Read3' + * DataStoreWrite: '/Data Store Write9' */ /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && Duct3_F_error) { + if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_ee) { /* : if(Err) */ /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct3_F = %f V\n',Sensor); */ printf("CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct3_F = %f V\n", - rtb_duct_select_index_dbg_c); + rtb_Divide5); fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR3' */ + /* End of MATLAB Function: '/Write ERROR3' */ - /* MATLAB Function: '/Write ERROR4' incorporates: - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write10' + /* MATLAB Function: '/Write ERROR4' incorporates: + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write10' */ /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && Duct4_F_error) { + if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_n0) { /* : if(Err) */ /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct4_F = %f V\n',Sensor); */ printf("CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct4_F = %f V\n", - rtb_D); + rtb_area_R_o); fflush(stdout); } - /* End of MATLAB Function: '/Write ERROR4' */ + /* End of MATLAB Function: '/Write ERROR4' */ - /* MATLAB Function: '/Write ERROR5' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreWrite: '/Data Store Write11' + /* MATLAB Function: '/Write ERROR5' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreWrite: '/Data Store Write11' */ /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && Duct5_F_error) { + if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_cp) { /* : if(Err) */ /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct5_F = %f V\n',Sensor); */ printf("CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct5_F = %f V\n", @@ -38732,1302 +40804,1227 @@ 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' - * DataStoreWrite: '/Data Store Write12' + /* MATLAB Function: '/Write ERROR6' incorporates: + * DataStoreRead: '/Data Store Read6' + * DataStoreWrite: '/Data Store Write12' */ /* : if(LOGGER) */ - if ((rtDW.LOGGER_ACP != 0.0) && Duct6_F_error) { + if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_h0) { /* : if(Err) */ /* : fprintf('CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct6_F = %f V\n',Sensor); */ printf("CCU_Body_Err.CCU_DuctTempSenErrF_Stat = 0x1 (Failure), Sensor_Duct6_F = %f V\n", - rtb_Divide11); + rtb_D); 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 ' - */ - if (rtb_Compare_pw3 && (!rtDW.Cond_prev_private_DSTATE_h)) { - rtDW.t_start_delay_private_DSTATE_k = rtDW.t_now; - } - - /* 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 ' - */ - if (rtb_Compare_nh && (!rtDW.Cond_prev_private_DSTATE_cr)) { - rtDW.t_start_delay_private_DSTATE_m = rtDW.t_now; - } - - /* 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 ' - */ - if (rtb_Compare_ee && (!rtDW.Cond_prev_private_DSTATE_m)) { - rtDW.t_start_delay_private_DSTATE_p = rtDW.t_now; - } - - /* 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 ' - */ - if (rtb_Compare_n4 && (!rtDW.Cond_prev_private_DSTATE_jr)) { - rtDW.t_start_delay_private_DSTATE_hb = rtDW.t_now; - } - - /* 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 ' - */ - if (rtb_Compare_cp && (!rtDW.Cond_prev_private_DSTATE_f)) { - rtDW.t_start_delay_private_DSTATE_i = rtDW.t_now; - } - - /* 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 ' - */ - if (rtb_Compare_ca && (!rtDW.Cond_prev_private_DSTATE_cn)) { - rtDW.t_start_delay_private_DSTATE_cc = rtDW.t_now; - } - - /* End of Switch: '/Switch' */ - - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + * Product: '/Divide' */ rtb_Divide1_jg = (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_de = (rtb_Divide1_jg < 0.05); + rtb_Compare_em = (rtb_Divide1_jg < 0.062); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_dw = (rtb_Divide1_jg > 4.8); + rtb_Compare_d1 = (rtb_Divide1_jg > 4.85); - /* Logic: '/Logical Operator' */ - rtb_Compare_kp = (rtb_Compare_de || rtb_Compare_dw); + /* Logic: '/Logical Operator' */ + rtb_RelationalOperator6_f = (rtb_Compare_em || rtb_Compare_d1); - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* MATLAB Function: '/error timer' incorporates: + * DataStoreRead: '/Data Store Read1' */ - rtb_Compare_pnq = (rtb_Compare_kp && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_f >= 3000U)); + errortimer(rtb_RelationalOperator6_f, rtDW.t_now, &rtb_Minus_j, + &rtDW.sf_errortimer_f); - /* Product: '/Divide5' incorporates: - * Constant: '/Constant6' - * Constant: '/Constant7' + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/Constant' + * RelationalOperator: '/Compare' + */ + rtb_Compare_bp = (rtb_RelationalOperator6_f && (rtb_Minus_j >= 3000U)); + + /* Product: '/Divide5' incorporates: + * Constant: '/Constant6' + * Constant: '/Constant7' * DataStoreRead: '/Data Store Read1' - * Product: '/Divide4' + * Product: '/Divide4' */ rtb_Divide3 = (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_pm = (rtb_Divide3 < 0.05); + rtb_Compare_mk = (rtb_Divide3 < 0.062); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_le = (rtb_Divide3 > 4.8); + rtb_Compare_ng = (rtb_Divide3 > 4.85); - /* Logic: '/Logical Operator5' */ - rtb_Compare_jj = (rtb_Compare_pm || rtb_Compare_le); + /* Logic: '/Logical Operator5' */ + rtb_RelationalOperator6_f = (rtb_Compare_mk || rtb_Compare_ng); - /* Logic: '/Logical Operator6' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* MATLAB Function: '/error timer' incorporates: + * DataStoreRead: '/Data Store Read' */ - rtb_Compare_ff = (rtb_Compare_jj && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_il >= 3000U)); + errortimer(rtb_RelationalOperator6_f, rtDW.t_now, &rtb_Minus_j, + &rtDW.sf_errortimer_c); - /* Lookup_n-D: '/1-D Lookup Table4' incorporates: + /* Logic: '/Logical Operator6' incorporates: + * Constant: '/Constant' + * RelationalOperator: '/Compare' + */ + rtb_Compare_kv = (rtb_RelationalOperator6_f && (rtb_Minus_j >= 3000U)); + + /* Lookup_n-D: '/1-D Lookup Table4' incorporates: * DataStoreRead: '/Data Store Read1' */ - rtb_Switch1_pd = look1_iu16bs16lu64n32ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Incar_Temp_FR, rtConstP.pooled70, - rtConstP.pooled71, 1023U); + rtb_Switch2_ac = look1_iu16bs16lu64n32ts16Ds32_binlcs + (rtDW.ADC_Data_Model.Sensor_Incar_Temp_FR, rtConstP.pooled69, + rtConstP.pooled70, 1023U); - /* Lookup_n-D: '/1-D Lookup Table2' incorporates: + /* Lookup_n-D: '/1-D Lookup Table2' incorporates: * DataStoreRead: '/Data Store Read1' */ - rtb_DataTypeConversion1_oq = look1_iu16lu64n48ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Incar_Temp_FL, rtConstP.pooled82, - rtConstP.pooled71, 1023U); + rtb_DataTypeConversion1_gq = look1_iu16lu64n48ts16Ds32_binlcs + (rtDW.ADC_Data_Model.Sensor_Incar_Temp_FL, rtConstP.pooled83, + rtConstP.pooled70, 1023U); - /* Logic: '/Logical Operator1' incorporates: - * Logic: '/Logical Operator2' + /* Logic: '/Logical Operator1' incorporates: + * Logic: '/Logical Operator2' */ - rtb_Compare_e = (rtb_Compare_pnq && rtb_Compare_ff); + rtb_Compare_e1 = (rtb_Compare_bp && rtb_Compare_kv); - /* Switch: '/Switch' incorporates: - * Constant: '/Температура для состояния ошибки' - * DataStoreWrite: '/Data Store Write1' - * Logic: '/Logical Operator1' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * Constant: '/Температура для состояния ошибки' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/Logical Operator1' + * Switch: '/Switch1' */ - if (rtb_Compare_e) { - rtb_Switch3_no = 200; - } else if (rtb_Compare_pnq) { - /* Switch: '/Switch1' incorporates: - * DataStoreWrite: '/Data Store Write1' + if (rtb_Compare_e1) { + rtb_Switch1_pd = 200; + } else if (rtb_Compare_bp) { + /* Switch: '/Switch1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtb_Switch3_no = rtb_Switch1_pd; + rtb_Switch1_pd = rtb_Switch2_ac; } else { - rtb_Switch3_no = rtb_DataTypeConversion1_oq; + rtb_Switch1_pd = rtb_DataTypeConversion1_gq; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: + * DataStoreRead: '/Data Store Read1' * DataStoreRead: '/Data Store Read12' */ is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, &rtDW.sf_is3secafterT15passed_mv); - /* If: '/If' */ + /* If: '/If' */ if (rtb_RelationalOperator6_f) { - /* Outputs for IfAction SubSystem: '/Фильтрация FL температуры' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Фильтрация FL температуры' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' */ 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' */ - /* MATLAB Function: '/g_ausINCARRATE_RISING_DIFF_F[8]' */ - g_ausINCARRATE_RISING_DIFF_F8(&rtb_Saturation2); + /* MATLAB Function: '/g_ausINCARRATE_RISING_DIFF_F[8]' */ + g_ausINCARRATE_RISING_DIFF_F8(&rtb_out_kez); - /* If: '/If' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write1' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' + * DataStoreWrite: '/Data Store Write1' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ - if (fabs((double)rtb_Switch3_no - rtDW.Temp_FL_store) <= rtb_Saturation2) - { - /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: - * ActionPort: '/Action Port' + if (fabs((double)rtb_Switch1_pd - rtDW.Temp_FL_store) <= rtb_out_kez) { + /* 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: + /* SignalConversion generated from: '/out' incorporates: * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/обычное повышение темп.' + * MATLAB Function: '/обычное повышение темп.' */ - u_h(rtDW.LEVEL, &rtb_Saturation2); + u_h(rtDW.LEVEL, &rtb_out_kez); - /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ + /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: - * ActionPort: '/Action Port' - */ - u_lz(rtDW.LEVEL, &rtb_Saturation2); - - /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ - } - - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ - } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' - */ - /* MATLAB Function: '/INCARRATE_RISING_DIFF_F[7]' */ - INCARRATE_RISING_DIFF_F7(&rtb_Saturation2); - - /* If: '/If' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write1' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - */ - if (fabs((double)rtb_Switch3_no - rtDW.Temp_FL_store) > rtb_Saturation2) { - /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: + /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + u_lz(rtDW.LEVEL, &rtb_out_kez); + + /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/INCARRATE_RISING_DIFF_F[7]' */ + INCARRATE_RISING_DIFF_F7(&rtb_out_kez); + + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write1' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + */ + if (fabs((double)rtb_Switch1_pd - rtDW.Temp_FL_store) > rtb_out_kez) { + /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.KEEP_RISING_FL_UNTIL_LIMIT = 1.0; - /* SignalConversion generated from: '/out' incorporates: + /* SignalConversion generated from: '/out' incorporates: * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/ускоренное повышение темп.' + * MATLAB Function: '/ускоренное повышение темп.' */ - u_k(rtDW.LEVEL, &rtb_Saturation2); + u_k(rtDW.LEVEL, &rtb_out_kez); - /* 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); + u_f(rtDW.LEVEL, &rtb_out_kez); - /* 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' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write1' + * 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(rtb_Switch3_no, rtDW.LEVEL, &rtb_out_crw, + u_c(rtb_Switch1_pd, rtDW.LEVEL, &rtb_out_oum, &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(rtb_Switch3_no, rtDW.LEVEL, &rtb_out_crw, + u_l(rtb_Switch1_pd, rtDW.LEVEL, &rtb_out_oum, &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)rtb_Switch3_no - rtDW.Temp_FL_store) <= 0.01) { - /* SignalConversion generated from: '/temp_out' */ + if (fabs((double)rtb_Switch1_pd - rtDW.Temp_FL_store) <= 0.01) { + /* SignalConversion generated from: '/temp_out' */ rtb_D = rtDW.Temp_FL_store; } else { - if (rtb_Switch3_no > rtDW.Temp_FL_store) { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' + if (rtb_Switch1_pd > rtDW.Temp_FL_store) { + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtb_Switch2_nb = (int16_t)rtb_Saturation2; + rtb_Switch5_l = (int16_t)rtb_out_kez; } else { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * UnaryMinus: '/Unary Minus' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * UnaryMinus: '/Unary Minus' */ - rtb_Switch2_nb = (int16_t)-(int16_t)rtb_out_crw; + rtb_Switch5_l = (int16_t)-(int16_t)rtb_out_oum; } - /* SignalConversion generated from: '/temp_out' incorporates: - * Constant: '/Constant' + /* 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' + * Product: '/Divide' + * Product: '/Product' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ rtb_D = (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_o) / 60000.0 * (double) - rtb_Switch2_nb + rtDW.Temp_FL_store; + rtb_Switch5_l + rtDW.Temp_FL_store; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Update for UnitDelay: '/Unit Delay' incorporates: + /* 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 температуры' */ } else { - /* Outputs for IfAction SubSystem: '/Инициализация FL' incorporates: - * ActionPort: '/Action Port' + /* 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_D = rtb_Switch3_no; + rtb_D = rtb_Switch1_pd; - /* End of Outputs for SubSystem: '/Инициализация FL' */ + /* End of Outputs for SubSystem: '/Инициализация FL' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write2' */ rtDW.Incar_FL = (int16_t)floor(rtb_D); - /* Switch: '/Switch2' incorporates: - * Constant: '/Температура для состояния ошибки1' - * DataStoreWrite: '/Data Store Write3' - * Switch: '/Switch3' + /* Switch: '/Switch2' incorporates: + * Constant: '/Температура для состояния ошибки1' + * DataStoreWrite: '/Data Store Write3' + * Switch: '/Switch3' */ - if (rtb_Compare_e) { - rtb_Switch1_pd = 200; - } else if (rtb_Compare_ff) { - /* Switch: '/Switch3' incorporates: - * DataStoreWrite: '/Data Store Write3' + if (rtb_Compare_e1) { + rtb_Switch2_ac = 200; + } else if (rtb_Compare_kv) { + /* Switch: '/Switch3' incorporates: + * DataStoreWrite: '/Data Store Write3' */ - rtb_Switch1_pd = rtb_DataTypeConversion1_oq; + rtb_Switch2_ac = rtb_DataTypeConversion1_gq; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Product: '/Divide3' incorporates: - * Constant: '/Constant3' - * Constant: '/Constant4' + /* Product: '/Divide3' incorporates: + * Constant: '/Constant3' + * Constant: '/Constant4' * DataStoreRead: '/Data Store Read1' - * Product: '/Divide2' + * Product: '/Divide2' */ - rtb_duct_select_index_dbg_c = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_RL - / 4095.0 * 5.0; + rtb_area_R_o = (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_e = (rtb_duct_select_index_dbg_c < 0.05); + rtb_Compare_e1 = (rtb_area_R_o < 0.062); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ - rtb_Compare_a = (rtb_duct_select_index_dbg_c > 4.8); + rtb_Compare_dr = (rtb_area_R_o > 4.85); - /* Logic: '/Logical Operator2' */ - rtb_Compare_f4 = (rtb_Compare_e || rtb_Compare_a); + /* Logic: '/Logical Operator2' */ + rtb_RelationalOperator6_f = (rtb_Compare_e1 || rtb_Compare_dr); - /* Logic: '/Logical Operator3' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* MATLAB Function: '/error timer' incorporates: + * DataStoreRead: '/Data Store Read' */ - rtb_Compare_mg = (rtb_Compare_f4 && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_k1 >= 3000U)); + errortimer(rtb_RelationalOperator6_f, rtDW.t_now, &rtb_Minus_j, + &rtDW.sf_errortimer_d); - /* Product: '/Divide7' incorporates: - * Constant: '/Constant10' - * Constant: '/Constant9' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide6' - */ - rtb_Divide7_d = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_RR / 4095.0 * - 5.0; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - */ - rtb_Compare_ds = (rtb_Divide7_d < 0.05); - - /* RelationalOperator: '/Compare' incorporates: + /* Logic: '/Logical Operator3' incorporates: * Constant: '/Constant' + * RelationalOperator: '/Compare' */ - rtb_Compare_ls = (rtb_Divide7_d > 4.8); + rtb_Compare_i3s = (rtb_RelationalOperator6_f && (rtb_Minus_j >= 3000U)); - /* Logic: '/Logical Operator7' */ - rtb_Compare_k2 = (rtb_Compare_ds || rtb_Compare_ls); - - /* Logic: '/Logical Operator8' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Compare' - * Sum: '/Subtract' - * UnitDelay: '/t_start_delay_private ' + /* Product: '/Divide7' incorporates: + * Constant: '/Constant10' + * Constant: '/Constant9' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide6' */ - rtb_Compare_gq = (rtb_Compare_k2 && (rtDW.t_now - - rtDW.t_start_delay_private_DSTATE_pe >= 3000U)); + rtb_Divide10 = (double)rtDW.ADC_Data_Model.Sensor_Incar_Temp_RR / 4095.0 * 5.0; - /* Lookup_n-D: '/1-D Lookup Table3' incorporates: + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_j1 = (rtb_Divide10 < 0.062); + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + */ + rtb_Compare_bg = (rtb_Divide10 > 4.85); + + /* Logic: '/Logical Operator7' */ + rtb_RelationalOperator6_f = (rtb_Compare_j1 || rtb_Compare_bg); + + /* MATLAB Function: '/error timer' incorporates: + * DataStoreRead: '/Data Store Read' + */ + errortimer(rtb_RelationalOperator6_f, rtDW.t_now, &rtb_Minus_j, + &rtDW.sf_errortimer_n); + + /* Logic: '/Logical Operator8' incorporates: + * Constant: '/Constant' + * RelationalOperator: '/Compare' + */ + rtb_Compare_hdv = (rtb_RelationalOperator6_f && (rtb_Minus_j >= 3000U)); + + /* Lookup_n-D: '/1-D Lookup Table3' incorporates: * DataStoreRead: '/Data Store Read1' */ - rtb_Switch4_f5 = look1_iu16lu64n48ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Incar_Temp_RR, rtConstP.pooled82, - rtConstP.pooled71, 1023U); + rtb_Switch3_no = look1_iu16lu64n48ts16Ds32_binlcs + (rtDW.ADC_Data_Model.Sensor_Incar_Temp_RR, rtConstP.pooled83, + rtConstP.pooled70, 1023U); - /* Lookup_n-D: '/1-D Lookup Table1' incorporates: + /* Lookup_n-D: '/1-D Lookup Table1' incorporates: * DataStoreRead: '/Data Store Read1' */ - rtb_DataTypeConversion1_oq = look1_iu16lu64n48ts16Ds32_binlcs - (rtDW.ADC_Data_Model.Sensor_Incar_Temp_RL, rtConstP.pooled82, - rtConstP.pooled71, 1023U); + rtb_DataTypeConversion1_gq = look1_iu16lu64n48ts16Ds32_binlcs + (rtDW.ADC_Data_Model.Sensor_Incar_Temp_RL, rtConstP.pooled83, + rtConstP.pooled70, 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_Compare_mg && rtb_Compare_gq) { - rtb_Switch5_l = 200; - } else if (rtb_Compare_mg) { - /* Switch: '/Switch1' incorporates: - * DataStoreWrite: '/Data Store Write4' - */ - rtb_Switch5_l = rtb_Switch4_f5; - } else { - rtb_Switch5_l = rtb_DataTypeConversion1_oq; - } - - /* End of Switch: '/Switch' */ - - /* Switch: '/Switch2' incorporates: - * Constant: '/Температура для состояния ошибки1' - * DataStoreWrite: '/Data Store Write5' - * Logic: '/Logical Operator2' - * Switch: '/Switch3' - */ - if (rtb_Compare_mg && (rtb_Switch4_f5 != 0)) { + if (rtb_Compare_i3s && rtb_Compare_hdv) { rtb_Switch4_f5 = 200; - } else if (rtb_Compare_gq) { - /* Switch: '/Switch3' incorporates: - * DataStoreWrite: '/Data Store Write5' + } else if (rtb_Compare_i3s) { + /* Switch: '/Switch1' incorporates: + * DataStoreWrite: '/Data Store Write4' */ - rtb_Switch4_f5 = rtb_DataTypeConversion1_oq; + rtb_Switch4_f5 = rtb_Switch3_no; + } else { + rtb_Switch4_f5 = rtb_DataTypeConversion1_gq; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Switch: '/Switch2' incorporates: + * Constant: '/Температура для состояния ошибки1' + * DataStoreWrite: '/Data Store Write5' + * Logic: '/Logical Operator2' + * Switch: '/Switch3' + */ + if (rtb_Compare_i3s && (rtb_Switch3_no != 0)) { + rtb_Switch3_no = 200; + } else if (rtb_Compare_hdv) { + /* Switch: '/Switch3' incorporates: + * DataStoreWrite: '/Data Store Write5' + */ + rtb_Switch3_no = rtb_DataTypeConversion1_gq; + } + + /* End of Switch: '/Switch2' */ + + /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: + * DataStoreRead: '/Data Store Read1' * DataStoreRead: '/Data Store Read12' */ is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, &rtDW.sf_is3secafterT15passed_fq); - /* If: '/If' */ + /* If: '/If' */ if (rtb_RelationalOperator6_f) { - /* Outputs for IfAction SubSystem: '/Фильтрация FR температуры' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Фильтрация FR температуры' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' */ 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' */ - /* MATLAB Function: '/g_ausINCARRATE_RISING_DIFF_F[8]' */ - g_ausINCARRATE_RISING_DIFF_F8(&rtb_Saturation2); + /* MATLAB Function: '/g_ausINCARRATE_RISING_DIFF_F[8]' */ + g_ausINCARRATE_RISING_DIFF_F8(&rtb_out_kez); - /* If: '/If' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write3' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' + * DataStoreWrite: '/Data Store Write3' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ - if (fabs((double)rtb_Switch1_pd - rtDW.Temp_FR_store) <= rtb_Saturation2) - { - /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: - * ActionPort: '/Action Port' + if (fabs((double)rtb_Switch2_ac - rtDW.Temp_FR_store) <= rtb_out_kez) { + /* 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: + /* SignalConversion generated from: '/out' incorporates: * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/обычное повышение темп.' + * MATLAB Function: '/обычное повышение темп.' */ - u_h(rtDW.LEVEL, &rtb_Saturation2); + u_h(rtDW.LEVEL, &rtb_out_kez); - /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ + /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: - * ActionPort: '/Action Port' - */ - u_lz(rtDW.LEVEL, &rtb_Saturation2); - - /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ - } - - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ - } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' - */ - /* MATLAB Function: '/INCARRATE_RISING_DIFF_F[7]' */ - INCARRATE_RISING_DIFF_F7(&rtb_Saturation2); - - /* If: '/If' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write3' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - */ - if (fabs((double)rtb_Switch1_pd - rtDW.Temp_FR_store) > rtb_Saturation2) { - /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: + /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + u_lz(rtDW.LEVEL, &rtb_out_kez); + + /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/INCARRATE_RISING_DIFF_F[7]' */ + INCARRATE_RISING_DIFF_F7(&rtb_out_kez); + + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write3' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + */ + if (fabs((double)rtb_Switch2_ac - rtDW.Temp_FR_store) > rtb_out_kez) { + /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.KEEP_RISING_FR_UNTIL_LIMIT = 1.0; - /* SignalConversion generated from: '/out' incorporates: + /* SignalConversion generated from: '/out' incorporates: * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/ускоренное повышение темп.' + * MATLAB Function: '/ускоренное повышение темп.' */ - u_k(rtDW.LEVEL, &rtb_Saturation2); + u_k(rtDW.LEVEL, &rtb_out_kez); - /* 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); + u_f(rtDW.LEVEL, &rtb_out_kez); - /* 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' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write3' + * 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(rtb_Switch1_pd, rtDW.LEVEL, &rtb_out_crw, + u_c(rtb_Switch2_ac, rtDW.LEVEL, &rtb_out_oum, &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(rtb_Switch1_pd, rtDW.LEVEL, &rtb_out_crw, + u_l(rtb_Switch2_ac, rtDW.LEVEL, &rtb_out_oum, &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)rtb_Switch1_pd - rtDW.Temp_FR_store) <= 0.01) { - /* SignalConversion generated from: '/temp_out' */ - rtb_Divide10 = rtDW.Temp_FR_store; + if (fabs((double)rtb_Switch2_ac - rtDW.Temp_FR_store) <= 0.01) { + /* SignalConversion generated from: '/temp_out' */ + rtb_P = rtDW.Temp_FR_store; } else { - if (rtb_Switch1_pd > rtDW.Temp_FR_store) { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' + if (rtb_Switch2_ac > rtDW.Temp_FR_store) { + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtb_Switch2_nb = (int16_t)rtb_Saturation2; + rtb_Switch5_l = (int16_t)rtb_out_kez; } else { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * UnaryMinus: '/Unary Minus' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * UnaryMinus: '/Unary Minus' */ - rtb_Switch2_nb = (int16_t)-(int16_t)rtb_out_crw; + rtb_Switch5_l = (int16_t)-(int16_t)rtb_out_oum; } - /* SignalConversion generated from: '/temp_out' incorporates: - * Constant: '/Constant' + /* 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' + * Product: '/Divide' + * Product: '/Product' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ - rtb_Divide10 = (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_cr) / 60000.0 * - (double)rtb_Switch2_nb + rtDW.Temp_FR_store; + rtb_P = (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_cr) / 60000.0 * + (double)rtb_Switch5_l + rtDW.Temp_FR_store; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Update for UnitDelay: '/Unit Delay' incorporates: + /* Update for UnitDelay: '/Unit Delay' incorporates: * DataStoreRead: '/Data Store Read12' */ rtDW.UnitDelay_DSTATE_cr = rtDW.t_now; - /* 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' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write3' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write3' */ - rtb_Divide10 = rtb_Switch1_pd; + rtb_P = rtb_Switch2_ac; - /* End of Outputs for SubSystem: '/Инициализация FR' */ + /* End of Outputs for SubSystem: '/Инициализация FR' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write6' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write6' */ - rtDW.Incar_FR = (int16_t)floor(rtb_Divide10); + rtDW.Incar_FR = (int16_t)floor(rtb_P); - /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: + * DataStoreRead: '/Data Store Read1' * DataStoreRead: '/Data Store Read12' */ is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, &rtDW.sf_is3secafterT15passed_n); - /* If: '/If' incorporates: - * DataStoreWrite: '/Data Store Write4' + /* If: '/If' incorporates: + * DataStoreWrite: '/Data Store Write4' */ if (rtb_RelationalOperator6_f) { - /* Outputs for IfAction SubSystem: '/Фильтрация RL температуры' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Фильтрация RL температуры' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' */ 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' */ - /* MATLAB Function: '/g_ausINCARRATE_RISING_DIFF_R[8]' */ - g_ausINCARRATE_RISING_DIFF_R8(&rtb_Saturation2); + /* MATLAB Function: '/g_ausINCARRATE_RISING_DIFF_R[8]' */ + g_ausINCARRATE_RISING_DIFF_R8(&rtb_out_kez); - /* If: '/If' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write4' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' + * DataStoreWrite: '/Data Store Write4' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ - if (fabs((double)rtb_Switch5_l - rtDW.Temp_RL_store) <= rtb_Saturation2) { - /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: - * ActionPort: '/Action Port' + if (fabs((double)rtb_Switch4_f5 - rtDW.Temp_RL_store) <= rtb_out_kez) { + /* 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: + /* SignalConversion generated from: '/out' incorporates: * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/обычное повышение темп.' + * MATLAB Function: '/обычное повышение темп.' */ - u_m(rtDW.LEVEL, &rtb_Saturation2); + u_m(rtDW.LEVEL, &rtb_out_kez); - /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ + /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: - * ActionPort: '/Action Port' - */ - u_gq(rtDW.LEVEL, &rtb_Saturation2); - - /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ - } - - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ - } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' - */ - /* MATLAB Function: '/INCARRATE_RISING_DIFF_R[7]' */ - INCARRATE_RISING_DIFF_R7(&rtb_Saturation2); - - /* If: '/If' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write4' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - */ - if (fabs((double)rtb_Switch5_l - rtDW.Temp_RL_store) > rtb_Saturation2) { - /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: + /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + u_gq(rtDW.LEVEL, &rtb_out_kez); + + /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/INCARRATE_RISING_DIFF_R[7]' */ + INCARRATE_RISING_DIFF_R7(&rtb_out_kez); + + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write4' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + */ + if (fabs((double)rtb_Switch4_f5 - rtDW.Temp_RL_store) > rtb_out_kez) { + /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.KEEP_RISING_RL_UNTIL_LIMIT = 1.0; - /* SignalConversion generated from: '/out' incorporates: + /* SignalConversion generated from: '/out' incorporates: * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/ускоренное повышение темп.' + * MATLAB Function: '/ускоренное повышение темп.' */ - u_o(rtDW.LEVEL, &rtb_Saturation2); + u_o(rtDW.LEVEL, &rtb_out_kez); - /* 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); + u_b3(rtDW.LEVEL, &rtb_out_kez); - /* 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' */ - /* 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_crw); + /* MATLAB Function: '/AMBRATE_RISING_DIFF[8]' */ + AMBRATE_RISING_DIFF8(&rtb_out_oum); - /* 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)rtb_Switch5_l - rtDW.Temp_RL_store) <= rtb_out_crw) { - /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: - * ActionPort: '/Action Port' + if (fabs((double)rtb_Switch4_f5 - rtDW.Temp_RL_store) <= rtb_out_oum) { + /* 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: + /* SignalConversion generated from: '/out' incorporates: * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/обычное понижение темп.' + * MATLAB Function: '/обычное понижение темп.' */ - u_kk(rtDW.LEVEL, &rtb_out_crw); + u_kk(rtDW.LEVEL, &rtb_out_oum); - /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ + /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: - * ActionPort: '/Action Port' - */ - /* SignalConversion generated from: '/out' incorporates: - * DataStoreRead: '/Data Store Read' - */ - u_hr(rtDW.LEVEL, &rtb_out_crw); - - /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ - } - - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ - } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' - */ - /* MATLAB Function: '/AMBRATE_FALLING_DIFF[7]' */ - AMBRATE_FALLING_DIFF7(&rtb_out_crw); - - /* If: '/If' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * DataStoreWrite: '/Data Store Write4' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - */ - if (fabs((double)rtb_Switch5_l - rtDW.Temp_RL_store) > rtb_out_crw) { - /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: + /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + */ + u_hr(rtDW.LEVEL, &rtb_out_oum); + + /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/AMBRATE_FALLING_DIFF[7]' */ + AMBRATE_FALLING_DIFF7(&rtb_out_oum); + + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreWrite: '/Data Store Write4' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + */ + if (fabs((double)rtb_Switch4_f5 - rtDW.Temp_RL_store) > rtb_out_oum) { + /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.KEEP_FALLING_RL_UNTIL_LIMIT = 1.0; - /* SignalConversion generated from: '/rise per minute' incorporates: + /* SignalConversion generated from: '/rise per minute' incorporates: * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/ускоренное повышение темп.' + * MATLAB Function: '/ускоренное повышение темп.' */ - u_b(rtDW.LEVEL, &rtb_out_crw); + u_b(rtDW.LEVEL, &rtb_out_oum); - /* 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: + /* SignalConversion generated from: '/rise per minute' incorporates: * DataStoreRead: '/Data Store Read' */ - u_g(rtDW.LEVEL, &rtb_out_crw); + u_g(rtDW.LEVEL, &rtb_out_oum); - /* 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)rtb_Switch5_l - rtDW.Temp_RL_store) <= 0.01) { - /* SignalConversion generated from: '/temp_out' */ - rtb_Divide11 = rtDW.Temp_RL_store; + if (fabs((double)rtb_Switch4_f5 - rtDW.Temp_RL_store) <= 0.01) { + /* SignalConversion generated from: '/temp_out' */ + rtb_output_h = rtDW.Temp_RL_store; } else { - if (rtb_Switch5_l > rtDW.Temp_RL_store) { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' + if (rtb_Switch4_f5 > rtDW.Temp_RL_store) { + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtb_Switch2_nb = (int16_t)rtb_Saturation2; + rtb_Switch5_l = (int16_t)rtb_out_kez; } else { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * UnaryMinus: '/Unary Minus' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * UnaryMinus: '/Unary Minus' */ - rtb_Switch2_nb = (int16_t)-(int16_t)rtb_out_crw; + rtb_Switch5_l = (int16_t)-(int16_t)rtb_out_oum; } - /* SignalConversion generated from: '/temp_out' incorporates: - * Constant: '/Constant' + /* 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' + * Product: '/Divide' + * Product: '/Product' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ - rtb_Divide11 = (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_lf) / 60000.0 * - (double)rtb_Switch2_nb + rtDW.Temp_RL_store; + rtb_output_h = (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_lf) / 60000.0 * + (double)rtb_Switch5_l + rtDW.Temp_RL_store; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Update for UnitDelay: '/Unit Delay' incorporates: + /* Update for UnitDelay: '/Unit Delay' incorporates: * DataStoreRead: '/Data Store Read12' */ rtDW.UnitDelay_DSTATE_lf = rtDW.t_now; - /* 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' */ - RL(rtb_Switch5_l, &rtb_Divide11); + RL(rtb_Switch4_f5, &rtb_output_h); - /* End of Outputs for SubSystem: '/Инициализация RL' */ + /* End of Outputs for SubSystem: '/Инициализация RL' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write7' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write7' */ - rtDW.Incar_RL = (int16_t)floor(rtb_Divide11); + rtDW.Incar_RL = (int16_t)floor(rtb_output_h); - /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: + * DataStoreRead: '/Data Store Read1' * DataStoreRead: '/Data Store Read12' */ is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, &rtDW.sf_is3secafterT15passed_mt); - /* If: '/If' incorporates: - * DataStoreWrite: '/Data Store Write5' + /* If: '/If' incorporates: + * DataStoreWrite: '/Data Store Write5' */ if (rtb_RelationalOperator6_f) { - /* Outputs for IfAction SubSystem: '/Фильтрация RR температуры' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Фильтрация RR температуры' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If1' incorporates: - * DataStoreRead: '/Data Store Read' + /* If: '/If1' incorporates: + * DataStoreRead: '/Data Store Read' */ 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' */ - /* MATLAB Function: '/g_ausINCARRATE_RISING_DIFF_R[8]' */ - g_ausINCARRATE_RISING_DIFF_R8(&rtb_Saturation2); + /* MATLAB Function: '/g_ausINCARRATE_RISING_DIFF_R[8]' */ + g_ausINCARRATE_RISING_DIFF_R8(&rtb_out_kez); - /* If: '/If' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write5' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' + * DataStoreWrite: '/Data Store Write5' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' */ - if (fabs((double)rtb_Switch4_f5 - rtDW.Temp_RR_store) <= rtb_Saturation2) - { - /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: - * ActionPort: '/Action Port' + if (fabs((double)rtb_Switch3_no - rtDW.Temp_RR_store) <= rtb_out_kez) { + /* 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: + /* SignalConversion generated from: '/out' incorporates: * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/обычное повышение темп.' + * MATLAB Function: '/обычное повышение темп.' */ - u_m(rtDW.LEVEL, &rtb_Saturation2); + u_m(rtDW.LEVEL, &rtb_out_kez); - /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ + /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: - * ActionPort: '/Action Port' - */ - u_gq(rtDW.LEVEL, &rtb_Saturation2); - - /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ - } - - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ - } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' - */ - /* MATLAB Function: '/INCARRATE_RISING_DIFF_R[7]' */ - INCARRATE_RISING_DIFF_R7(&rtb_Saturation2); - - /* If: '/If' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write5' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - */ - if (fabs((double)rtb_Switch4_f5 - rtDW.Temp_RR_store) > rtb_Saturation2) { - /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: + /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + u_gq(rtDW.LEVEL, &rtb_out_kez); + + /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/INCARRATE_RISING_DIFF_R[7]' */ + INCARRATE_RISING_DIFF_R7(&rtb_out_kez); + + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write5' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + */ + if (fabs((double)rtb_Switch3_no - rtDW.Temp_RR_store) > rtb_out_kez) { + /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.KEEP_RISING_RR_UNTIL_LIMIT = 1.0; - /* SignalConversion generated from: '/out' incorporates: + /* SignalConversion generated from: '/out' incorporates: * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/ускоренное повышение темп.' + * MATLAB Function: '/ускоренное повышение темп.' */ - u_o(rtDW.LEVEL, &rtb_Saturation2); + u_o(rtDW.LEVEL, &rtb_out_kez); - /* 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); + u_b3(rtDW.LEVEL, &rtb_out_kez); - /* 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' */ - /* 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_crw); + /* MATLAB Function: '/AMBRATE_RISING_DIFF[8]' */ + AMBRATE_RISING_DIFF8(&rtb_out_oum); - /* 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)rtb_Switch4_f5 - rtDW.Temp_RR_store) <= rtb_out_crw) { - /* Outputs for IfAction SubSystem: '/Отключаем ускоренный режим' incorporates: - * ActionPort: '/Action Port' + if (fabs((double)rtb_Switch3_no - rtDW.Temp_RR_store) <= rtb_out_oum) { + /* 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: + /* SignalConversion generated from: '/out' incorporates: * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/обычное понижение темп.' + * MATLAB Function: '/обычное понижение темп.' */ - u_kk(rtDW.LEVEL, &rtb_out_crw); + u_kk(rtDW.LEVEL, &rtb_out_oum); - /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ + /* End of Outputs for SubSystem: '/Отключаем ускоренный режим' */ } else { - /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: - * ActionPort: '/Action Port' - */ - /* SignalConversion generated from: '/out' incorporates: - * DataStoreRead: '/Data Store Read' - */ - u_hr(rtDW.LEVEL, &rtb_out_crw); - - /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ - } - - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/включен ускоренный режим' */ - } else { - /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: - * ActionPort: '/Action Port' - */ - /* MATLAB Function: '/AMBRATE_FALLING_DIFF[7]' */ - AMBRATE_FALLING_DIFF7(&rtb_out_crw); - - /* If: '/If' incorporates: - * Abs: '/ABS(AMBraw - AMB)' - * DataStoreRead: '/Read Amb' - * DataStoreWrite: '/Data Store Write5' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - */ - if (fabs((double)rtb_Switch4_f5 - rtDW.Temp_RR_store) > rtb_out_crw) { - /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: + /* Outputs for IfAction SubSystem: '/Продолжаем в ускоренном' incorporates: * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* SignalConversion generated from: '/out' incorporates: + * DataStoreRead: '/Data Store Read' + */ + u_hr(rtDW.LEVEL, &rtb_out_oum); + + /* End of Outputs for SubSystem: '/Продолжаем в ускоренном' */ + } + + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/включен ускоренный режим' */ + } else { + /* Outputs for IfAction SubSystem: '/обычный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* MATLAB Function: '/AMBRATE_FALLING_DIFF[7]' */ + AMBRATE_FALLING_DIFF7(&rtb_out_oum); + + /* If: '/If' incorporates: + * Abs: '/ABS(AMBraw - AMB)' + * DataStoreRead: '/Read Amb' + * DataStoreWrite: '/Data Store Write5' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + */ + if (fabs((double)rtb_Switch3_no - rtDW.Temp_RR_store) > rtb_out_oum) { + /* Outputs for IfAction SubSystem: '/включаем ускоренный режим' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.KEEP_FALLING_RR_UNTIL_LIMIT = 1.0; - /* SignalConversion generated from: '/rise per minute' incorporates: + /* SignalConversion generated from: '/rise per minute' incorporates: * DataStoreRead: '/Data Store Read' - * MATLAB Function: '/ускоренное повышение темп.' + * MATLAB Function: '/ускоренное повышение темп.' */ - u_b(rtDW.LEVEL, &rtb_out_crw); + u_b(rtDW.LEVEL, &rtb_out_oum); - /* 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: + /* SignalConversion generated from: '/rise per minute' incorporates: * DataStoreRead: '/Data Store Read' */ - u_g(rtDW.LEVEL, &rtb_out_crw); + u_g(rtDW.LEVEL, &rtb_out_oum); - /* 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)rtb_Switch4_f5 - rtDW.Temp_RR_store) <= 0.01) { - /* SignalConversion generated from: '/temp_out' */ - rtb_Add_p4 = rtDW.Temp_RR_store; + if (fabs((double)rtb_Switch3_no - rtDW.Temp_RR_store) <= 0.01) { + /* SignalConversion generated from: '/temp_out' */ + rtb_Divide5 = rtDW.Temp_RR_store; } else { - if (rtb_Switch4_f5 > rtDW.Temp_RR_store) { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' + if (rtb_Switch3_no > rtDW.Temp_RR_store) { + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtb_Switch2_nb = (int16_t)rtb_Saturation2; + rtb_Switch5_l = (int16_t)rtb_out_kez; } else { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * UnaryMinus: '/Unary Minus' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * UnaryMinus: '/Unary Minus' */ - rtb_Switch2_nb = (int16_t)-(int16_t)rtb_out_crw; + rtb_Switch5_l = (int16_t)-(int16_t)rtb_out_oum; } - /* SignalConversion generated from: '/temp_out' incorporates: - * Constant: '/Constant' + /* 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' + * Product: '/Divide' + * Product: '/Product' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ - rtb_Add_p4 = (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_m) / 60000.0 * - (double)rtb_Switch2_nb + rtDW.Temp_RR_store; + rtb_Divide5 = (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_m) / 60000.0 * + (double)rtb_Switch5_l + rtDW.Temp_RR_store; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Update for UnitDelay: '/Unit Delay' incorporates: + /* 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 температуры' */ } else { - /* Outputs for IfAction SubSystem: '/Инициализация RR' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Инициализация RR' incorporates: + * ActionPort: '/Action Port' */ - RL(rtb_Switch4_f5, &rtb_Add_p4); + RL(rtb_Switch3_no, &rtb_Divide5); - /* End of Outputs for SubSystem: '/Инициализация RR' */ + /* End of Outputs for SubSystem: '/Инициализация RR' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write8' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write8' */ - rtDW.Incar_RR = (int16_t)floor(rtb_Add_p4); + rtDW.Incar_RR = (int16_t)floor(rtb_Divide5); - /* DataStoreWrite: '/Write new FL' */ + /* DataStoreWrite: '/Write new FL' */ rtDW.Temp_FL_store = rtb_D; - /* DataStoreWrite: '/Write new FR' */ - rtDW.Temp_FR_store = rtb_Divide10; + /* DataStoreWrite: '/Write new FR' */ + rtDW.Temp_FR_store = rtb_P; - /* DataStoreWrite: '/Write new FL' */ - rtDW.Temp_RL_store = rtb_Divide11; + /* DataStoreWrite: '/Write new FL' */ + rtDW.Temp_RL_store = rtb_output_h; - /* DataStoreWrite: '/Write new FL' */ - rtDW.Temp_RR_store = rtb_Add_p4; + /* DataStoreWrite: '/Write new FL' */ + rtDW.Temp_RR_store = rtb_Divide5; - /* 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_Compare_pnq; + rtDW.dtc_state_error_model[2] = rtb_Compare_bp; - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ - if (rtb_Compare_pnq) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + if (rtb_Compare_bp) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[3] = rtb_Compare_de; + rtDW.dtc_state_error_model[3] = rtb_Compare_em; - /* 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_dw; + rtDW.dtc_state_error_model[2] = rtb_Compare_d1; } 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_Compare_pnq) { + if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_bp) { /* : 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", @@ -40035,54 +42032,41 @@ void HVAC_model_step(void) 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 ' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - if (rtb_Compare_kp && (!rtDW.Cond_prev_private_DSTATE_k)) { - rtDW.t_start_delay_private_DSTATE_f = rtDW.t_now; - } + rtDW.dtc_state_error_model[4] = rtb_Compare_kv; - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ - rtDW.dtc_state_error_model[4] = rtb_Compare_ff; - - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_Compare_ff) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + if (rtb_Compare_kv) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[5] = rtb_Compare_pm; + rtDW.dtc_state_error_model[5] = rtb_Compare_mk; - /* 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_le; + rtDW.dtc_state_error_model[4] = rtb_Compare_ng; } 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_Compare_ff) { + if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_kv) { /* : if(IncarRLErr) */ /* : fprintf('CCU_Body_Err.CCU_IncarTempErrR_Stat = 0x1 (Failure), Sensor_Incar_Temp_FR = %f V\n',Sensor_Incar_Temp_FR); */ printf("CCU_Body_Err.CCU_IncarTempErrR_Stat = 0x1 (Failure), Sensor_Incar_Temp_FR = %f V\n", @@ -40090,300 +42074,157 @@ 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 ' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - if (rtb_Compare_jj && (!rtDW.Cond_prev_private_DSTATE_d)) { - rtDW.t_start_delay_private_DSTATE_il = rtDW.t_now; - } + rtDW.dtc_state_error_model[6] = rtb_Compare_i3s; - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ - rtDW.dtc_state_error_model[6] = rtb_Compare_mg; - - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_Compare_mg) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + if (rtb_Compare_i3s) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[7] = rtb_Compare_e; + rtDW.dtc_state_error_model[7] = 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[6] = rtb_Compare_a; + rtDW.dtc_state_error_model[6] = rtb_Compare_dr; } 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_Compare_mg) { + if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_i3s) { /* : if(IncarRLErr) */ /* : fprintf('CCU_Body_Err.CCU_IncarTempErrF_Stat = 0x1 (Failure), Sensor_Incar_Temp_RL = %f V\n',Sensor_Incar_Temp_RL); */ printf("CCU_Body_Err.CCU_IncarTempErrF_Stat = 0x1 (Failure), Sensor_Incar_Temp_RL = %f V\n", - rtb_duct_select_index_dbg_c); + rtb_area_R_o); 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 ' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - if (rtb_Compare_f4 && (!rtDW.Cond_prev_private_DSTATE_hw)) { - rtDW.t_start_delay_private_DSTATE_k1 = rtDW.t_now; - } + rtDW.dtc_state_error_model[8] = rtb_Compare_hdv; - /* End of Switch: '/Switch' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Switch: '/Switch1' */ - rtDW.dtc_state_error_model[8] = rtb_Compare_gq; - - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Switch: '/Switch1' - */ - if (rtb_Compare_gq) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + if (rtb_Compare_hdv) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ - rtDW.dtc_state_error_model[9] = rtb_Compare_ds; + rtDW.dtc_state_error_model[9] = rtb_Compare_j1; - /* 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_ls; + rtDW.dtc_state_error_model[8] = rtb_Compare_bg; } 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_Compare_gq) { + if ((rtDW.LOGGER_ACP != 0.0) && rtb_Compare_hdv) { /* : if(IncarRLErr) */ /* : fprintf('CCU_Body_Err.CCU_IncarTempErrR_Stat = 0x1 (Failure), Sensor_Incar_Temp_RR = %f V\n',Sensor_Incar_Temp_RR); */ printf("CCU_Body_Err.CCU_IncarTempErrR_Stat = 0x1 (Failure), Sensor_Incar_Temp_RR = %f V\n", - rtb_Divide7_d); + rtb_Divide10); 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 ' - */ - if (rtb_Compare_k2 && (!rtDW.Cond_prev_private_DSTATE_i)) { - rtDW.t_start_delay_private_DSTATE_pe = rtDW.t_now; - } - - /* 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) { /* : fprintf('IncarFL = %d * 0.1 C\n',IncarFL); */ - printf("IncarFL = %d * 0.1 C\n", rtb_Switch3_no); + printf("IncarFL = %d * 0.1 C\n", rtb_Switch1_pd); 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) { /* : fprintf('IncarFR = %d * 0.1 C\n',IncarFR); */ - printf("IncarFR = %d * 0.1 C\n", rtb_Switch1_pd); + printf("IncarFR = %d * 0.1 C\n", rtb_Switch2_ac); 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) { /* : fprintf('IncarRL = %d * 0.1 C\n',IncarRL); */ - printf("IncarRL = %d * 0.1 C\n", rtb_Switch5_l); + printf("IncarRL = %d * 0.1 C\n", rtb_Switch4_f5); 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) { /* : fprintf('IncarRR = %d * 0.1 C\n',IncarRR); */ - printf("IncarRR = %d * 0.1 C\n", rtb_Switch4_f5); + printf("IncarRR = %d * 0.1 C\n", rtb_Switch3_no); fflush(stdout); } - /* End of MATLAB Function: '/Write IncarRR' */ + /* End of MATLAB Function: '/Write IncarRR' */ /* 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' - */ - rtb_Divide1_jg = (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' - */ - /* : 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_Divide1_jg, rtb_Divide1_jg / 1200.0 * 550.0); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - */ - rtb_Divide1_jg = (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' - */ - /* : 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_Divide1_jg, rtb_Divide1_jg / 1200.0 * 550.0); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - */ - rtb_Divide1_jg = (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' - */ - /* : 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_Divide1_jg, - rtb_Divide1_jg / 1200.0 * 550.0); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - */ - rtb_Divide1_jg = (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' - */ - /* : 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_Divide1_jg, - rtb_Divide1_jg / 1200.0 * 550.0); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - /* Product: '/Divide1' incorporates: * Constant: '/Constant' * Constant: '/Constant1' * DataStoreRead: '/Data Store Read1' * Product: '/Divide' */ - rtb_Divide1_jg = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_FrontIncarMotor / - 4095.0 * 5.0; + rtb_Divide1_jg = (double) + rtDW.ADC_Data_Model.BTS5120_2EKA_ShutoffValvePowerTXV1 / 4095.0 * 5.0; /* MATLAB Function: '/Write' incorporates: * Constant: '/Constant2' @@ -40394,9 +42235,9 @@ void HVAC_model_step(void) */ /* : 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_Divide1_jg, - rtb_Divide1_jg / 1200.0 * 550.0); + /* : fprintf('BTS5120_2EKA_ShutoffValvePowerTXV1 V = %f Iout = %f\n',U,I); */ + printf("BTS5120_2EKA_ShutoffValvePowerTXV1 V = %f Iout = %f\n", + rtb_Divide1_jg, rtb_Divide1_jg / 1200.0 * 550.0); fflush(stdout); } @@ -40408,8 +42249,8 @@ void HVAC_model_step(void) * DataStoreRead: '/Data Store Read1' * Product: '/Divide' */ - rtb_Divide1_jg = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_RearIncarMotor / - 4095.0 * 5.0; + rtb_Divide1_jg = (double) + rtDW.ADC_Data_Model.BTS5120_2EKA_ShutoffValvePowerTXV2 / 4095.0 * 5.0; /* MATLAB Function: '/Write' incorporates: * Constant: '/Constant2' @@ -40420,9 +42261,9 @@ void HVAC_model_step(void) */ /* : 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_Divide1_jg, - rtb_Divide1_jg / 1200.0 * 550.0); + /* : fprintf('BTS5120_2EKA_ShutoffValvePowerTXV2 V = %f Iout = %f\n',U,I); */ + printf("BTS5120_2EKA_ShutoffValvePowerTXV2 V = %f Iout = %f\n", + rtb_Divide1_jg, rtb_Divide1_jg / 1200.0 * 550.0); fflush(stdout); } @@ -40434,7 +42275,7 @@ void HVAC_model_step(void) * DataStoreRead: '/Data Store Read1' * Product: '/Divide' */ - rtb_Divide1_jg = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ReservePowerSupply / + rtb_Divide1_jg = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ChannelPTCPower1 / 4095.0 * 5.0; /* MATLAB Function: '/Write' incorporates: @@ -40446,8 +42287,8 @@ void HVAC_model_step(void) */ /* : 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_Divide1_jg, + /* : fprintf('BTS5180_2EKA_ChannelPTCPower1 V = %f Iout = %f\n',U,I); */ + printf("BTS5180_2EKA_ChannelPTCPower1 V = %f Iout = %f\n", rtb_Divide1_jg, rtb_Divide1_jg / 1200.0 * 550.0); fflush(stdout); } @@ -40460,7 +42301,7 @@ void HVAC_model_step(void) * DataStoreRead: '/Data Store Read1' * Product: '/Divide' */ - rtb_Divide1_jg = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ShutOFFValveFront / + rtb_Divide1_jg = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ChannelPTCPower2 / 4095.0 * 5.0; /* MATLAB Function: '/Write' incorporates: @@ -40472,8 +42313,8 @@ void HVAC_model_step(void) */ /* : 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_Divide1_jg, + /* : fprintf('BTS5180_2EKA_ChannelPTCPower2 V = %f Iout = %f\n',U,I); */ + printf("BTS5180_2EKA_ChannelPTCPower2 V = %f Iout = %f\n", rtb_Divide1_jg, rtb_Divide1_jg / 1200.0 * 550.0); fflush(stdout); } @@ -40486,7 +42327,7 @@ void HVAC_model_step(void) * DataStoreRead: '/Data Store Read1' * Product: '/Divide' */ - rtb_Divide1_jg = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_ShutOFFValveRear / + rtb_Divide1_jg = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_FrontIncarMotor / 4095.0 * 5.0; /* MATLAB Function: '/Write' incorporates: @@ -40498,8 +42339,8 @@ void HVAC_model_step(void) */ /* : 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_Divide1_jg, + /* : fprintf('BTS5180_2EKA_FrontIncarMotor V = %f Iout = %f\n',U,I); */ + printf("BTS5180_2EKA_FrontIncarMotor V = %f Iout = %f\n", rtb_Divide1_jg, rtb_Divide1_jg / 1200.0 * 550.0); fflush(stdout); } @@ -40512,8 +42353,8 @@ void HVAC_model_step(void) * DataStoreRead: '/Data Store Read1' * Product: '/Divide' */ - rtb_Divide1_jg = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_TwoWayValve / 4095.0 - * 5.0; + rtb_Divide1_jg = (double)rtDW.ADC_Data_Model.BTS5180_2EKA_RearIncarMotor / + 4095.0 * 5.0; /* MATLAB Function: '/Write' incorporates: * Constant: '/Constant2' @@ -40524,68 +42365,118 @@ void HVAC_model_step(void) */ /* : 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_Divide1_jg, + /* : fprintf('BTS5180_2EKA_RearIncarMotor V = %f Iout = %f\n',U,I); */ + printf("BTS5180_2EKA_RearIncarMotor V = %f Iout = %f\n", rtb_Divide1_jg, rtb_Divide1_jg / 1200.0 * 550.0); fflush(stdout); } /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' + * Product: '/Divide' + */ + rtb_Divide1_jg = (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' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Pressure_DIAG V = %f\n',U); */ - printf("Pressure_DIAG V = %f\n", (double)rtDW.ADC_Data_Model.Pressure_DIAG / - 4095.0 * 6.0638); + /* : fprintf('BTS5180_2EKA_ReservePowerSupply V = %f Iout = %f\n',U,I); */ + printf("BTS5180_2EKA_ReservePowerSupply V = %f Iout = %f\n", rtb_Divide1_jg, + rtb_Divide1_jg / 1200.0 * 550.0); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + */ + rtb_Divide1_jg = (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' + */ + /* : 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_Divide1_jg, + rtb_Divide1_jg / 1200.0 * 550.0); + fflush(stdout); + } + + /* End of MATLAB Function: '/Write' */ + + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * Product: '/Divide' + */ + rtb_Divide1_jg = (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' + */ + /* : 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_Divide1_jg, + rtb_Divide1_jg / 1200.0 * 550.0); fflush(stdout); } /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: + /* Product: '/Divide1' incorporates: * Constant: '/Constant' * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read1' * Product: '/Divide' - * Product: '/Divide1' + */ + rtb_Divide1_jg = (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' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Reserve_Sensor_Duct_Temp_1 V = %f\n',U); */ - printf("Reserve_Sensor_Duct_Temp_1 V = %f\n", (double) - rtDW.ADC_Data_Model.Reserve_Sensor_Duct_Temp_1 / 4095.0 * 5.0); + /* : fprintf('BTS5180_2EKA_TwoWayValve V = %f Iout = %f\n',U,I); */ + printf("BTS5180_2EKA_TwoWayValve V = %f Iout = %f\n", rtb_Divide1_jg, + rtb_Divide1_jg / 1200.0 * 550.0); fflush(stdout); } /* 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' - */ - /* : if(LOGGER) */ - if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Reserve_Sensor_Duct_Temp_2 V = %f\n',U); */ - printf("Reserve_Sensor_Duct_Temp_2 V = %f\n", (double) - rtDW.ADC_Data_Model.Reserve_Sensor_Duct_Temp_2 / 4095.0 * 5.0); - fflush(stdout); - } - - /* End of MATLAB Function: '/Write' */ - /* MATLAB Function: '/Write' incorporates: * Constant: '/Constant' * Constant: '/Constant1' @@ -40596,9 +42487,9 @@ void HVAC_model_step(void) */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Sensor_Front_Duct5 V = %f\n',U); */ - printf("Sensor_Front_Duct5 V = %f\n", (double) - rtDW.ADC_Data_Model.Sensor_Rear_Duct5 / 4095.0 * 5.0); + /* : fprintf('Pressure_DIAG V = %f\n',U); */ + printf("Pressure_DIAG V = %f\n", (double)rtDW.ADC_Data_Model.Pressure_DIAG / + 4095.0 * 6.0638); fflush(stdout); } @@ -40614,9 +42505,9 @@ void HVAC_model_step(void) */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { - /* : fprintf('Sensor_Front_Duct V = %f\n',U); */ - printf("Sensor_Front_Duct V = %f\n", (double) - rtDW.ADC_Data_Model.Sensor_Rear_Duct6 / 4095.0 * 5.0); + /* : fprintf('Reserve_Sensor_Duct_Temp_1 V = %f\n',U); */ + printf("Reserve_Sensor_Duct_Temp_1 V = %f\n", (double) + rtDW.ADC_Data_Model.Reserve_Sensor_Duct_Temp_1 / 4095.0 * 5.0); fflush(stdout); } @@ -40631,6 +42522,60 @@ void HVAC_model_step(void) * Product: '/Divide1' */ /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('Reserve_Sensor_Duct_Temp_2 V = %f\n',U); */ + printf("Reserve_Sensor_Duct_Temp_2 V = %f\n", (double) + rtDW.ADC_Data_Model.Reserve_Sensor_Duct_Temp_2 / 4095.0 * 5.0); + fflush(stdout); + } + + /* 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' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('Sensor_Front_Duct5 V = %f\n',U); */ + printf("Sensor_Front_Duct5 V = %f\n", (double) + rtDW.ADC_Data_Model.Sensor_Rear_Duct5 / 4095.0 * 5.0); + fflush(stdout); + } + + /* 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' + */ + /* : if(LOGGER) */ + if (rtDW.LOGGER_ACP != 0.0) { + /* : fprintf('Sensor_Front_Duct V = %f\n',U); */ + printf("Sensor_Front_Duct V = %f\n", (double) + rtDW.ADC_Data_Model.Sensor_Rear_Duct6 / 4095.0 * 5.0); + fflush(stdout); + } + + /* 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' + */ + /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { /* : fprintf('VN7008AJ_DIAG_FrontLINActuatorPowerDriverAB V = %f\n',U); */ printf("VN7008AJ_DIAG_FrontLINActuatorPowerDriverAB V = %f\n", (double) @@ -40639,15 +42584,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' + /* MATLAB Function: '/Write' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' - * Product: '/Divide1' + * Product: '/Divide' + * Product: '/Divide1' */ /* : if(LOGGER) */ if (rtDW.LOGGER_ACP != 0.0) { @@ -40658,23 +42603,23 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + * Product: '/Divide' */ rtb_Divide1_jg = (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) { @@ -40684,23 +42629,23 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' * DataStoreRead: '/Data Store Read1' - * Product: '/Divide' + * Product: '/Divide' */ rtb_Divide1_jg = (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) { @@ -40710,7 +42655,7 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/Write' */ + /* End of MATLAB Function: '/Write' */ /* MATLAB Function: '/Write' incorporates: * DataStoreRead: '/Data Store Read2' @@ -40788,8 +42733,8 @@ void HVAC_model_step(void) * DataStoreWrite: '/Data Store Write1' */ Zone_Climate_Logic_Auto_RL(0, rtDW.CCU_FACE_RL, rtDW.CCU_FOOT_RL, - rtDW.CCU_MODE_RL, &rtb_DataTypeConversion1_hy, &rtDW.CCU_FACE_RL, - &rtDW.CCU_FOOT_RL, &rtB.out_auto_b, &rtDW.sf_Zone_Climate_Logic_Auto_RL); + rtDW.CCU_MODE_RL, &rtb_PWM_out_a, &rtDW.CCU_FACE_RL, &rtDW.CCU_FOOT_RL, + &rtB.out_auto_b, &rtDW.sf_Zone_Climate_Logic_Auto_RL); /* DataStoreWrite: '/Data Store Write3' */ rtDW.CCU_MODE_RL = rtB.out_auto_b; @@ -40803,8 +42748,8 @@ void HVAC_model_step(void) * DataStoreWrite: '/Data Store Write4' */ Zone_Climate_Logic_Auto_RL(0, rtDW.CCU_FACE_RR, rtDW.CCU_FOOT_RR, - rtDW.CCU_MODE_RR, &rtb_DataTypeConversion1_hy, &rtDW.CCU_FACE_RR, - &rtDW.CCU_FOOT_RR, &rtB.out_auto, &rtDW.sf_Zone_Climate_Logic_Auto_RR); + rtDW.CCU_MODE_RR, &rtb_PWM_out_a, &rtDW.CCU_FACE_RR, &rtDW.CCU_FOOT_RR, + &rtB.out_auto, &rtDW.sf_Zone_Climate_Logic_Auto_RR); /* DataStoreWrite: '/Data Store Write6' */ rtDW.CCU_MODE_RR = rtB.out_auto; @@ -40846,57 +42791,58 @@ void HVAC_model_step(void) rtDW.CCU_DEF_FR = rtDW.CCU_DEF_FL; /* Outputs for Enabled SubSystem: '/Determine directions RL' incorporates: - * EnablePort: '/Enable' + * EnablePort: '/Enable' */ - /* 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 */ if (rtB.out_auto_b < rtDW.DelayInput1_DSTATE) { - /* MATLAB Function: '/direction for REAR index mode' incorporates: - * DataStoreRead: '/Data Store Read' + /* MATLAB Function: '/direction for REAR index mode' incorporates: + * DataStoreRead: '/Data Store Read' */ - directionforREARindexmode(rtDW.Index_mode_RL_auto, &rtb_y_hu[0]); + directionforREARindexmode(rtDW.Index_mode_RL_auto, + &rtb_valve_space_foot_R_a[0]); - /* DataStoreWrite: '/Data Store Write2' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtDW.CCU_FACE_RL = (uint8_t)rtb_y_hu[1]; + rtDW.CCU_FACE_RL = (uint8_t)rtb_valve_space_foot_R_a[1]; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtDW.CCU_FOOT_RL = (uint8_t)rtb_y_hu[2]; + rtDW.CCU_FOOT_RL = (uint8_t)rtb_valve_space_foot_R_a[2]; - /* DataStoreWrite: '/Data Store Write4' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtDW.Index_mode_RL_manual = (uint8_t)rtb_y_hu[3]; + rtDW.Index_mode_RL_manual = (uint8_t)rtb_valve_space_foot_R_a[3]; - /* MATLAB Function: '/AF REAR VENT AUTO' */ - AFREARVENTAUTO(rtb_out_fzy); + /* MATLAB Function: '/AF REAR VENT AUTO' */ + AFREARVENTAUTO(rtb_out_bd1); - /* MATLAB Function: '/AF REAR Bi Level' */ - AFREARBiLevel(rtb_out_nz4); + /* MATLAB Function: '/AF REAR Bi Level' */ + AFREARBiLevel(rtb_out_b1n); - /* MATLAB Function: '/AF REAR Foot' */ - AFREARFoot(rtb_out_ovc); + /* MATLAB Function: '/AF REAR Foot' */ + AFREARFoot(rtb_out_k5); - /* MATLAB Function: '/AF REAR VENT AUTO1' */ - AFREARVENTAUTO(rtb_out_gkh); + /* MATLAB Function: '/AF REAR VENT AUTO1' */ + AFREARVENTAUTO(rtb_out_po3); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read' */ switch (rtDW.Index_mode_RL_auto) { case 120: case 150: case 170: for (i = 0; i < 8; i++) { - rtb_out_gkh[i] = rtb_out_fzy[i]; + rtb_out_po3[i] = rtb_out_bd1[i]; } break; @@ -40904,83 +42850,84 @@ void HVAC_model_step(void) case 160: case 180: for (i = 0; i < 8; i++) { - rtb_out_gkh[i] = rtb_out_nz4[i]; + rtb_out_po3[i] = rtb_out_b1n[i]; } break; case 140: for (i = 0; i < 8; i++) { - rtb_out_gkh[i] = rtb_out_ovc[i]; + rtb_out_po3[i] = rtb_out_k5[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/closest speed' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MATLAB Function: '/closest speed' incorporates: + * DataStoreRead: '/Data Store Read2' */ - closestspeed(rtb_out_gkh, rtb_out_fr3, &rtb_DataTypeConversion1_hy); + closestspeed(rtb_out_po3, rtb_out_ew5, &rtb_PWM_out_a); - /* DataStoreWrite: '/Data Store Write5' */ - rtDW.CCU_BLOWERS_RL = rtb_DataTypeConversion1_hy; + /* DataStoreWrite: '/Data Store Write5' */ + rtDW.CCU_BLOWERS_RL = rtb_PWM_out_a; } - /* End of RelationalOperator: '/FixPt Relational Operator' */ + /* End of RelationalOperator: '/FixPt Relational Operator' */ /* End of Outputs for SubSystem: '/Determine directions RL' */ /* Outputs for Enabled SubSystem: '/Determine directions RR' incorporates: - * EnablePort: '/Enable' + * EnablePort: '/Enable' */ - /* 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 */ if (rtB.out_auto < rtDW.DelayInput1_DSTATE_f) { - /* MATLAB Function: '/direction for REAR index mode1' incorporates: - * DataStoreRead: '/Data Store Read' + /* MATLAB Function: '/direction for REAR index mode1' incorporates: + * DataStoreRead: '/Data Store Read' */ - directionforREARindexmode(rtDW.Index_mode_RR_auto, &rtb_y_hu[0]); + directionforREARindexmode(rtDW.Index_mode_RR_auto, + &rtb_valve_space_foot_R_a[0]); - /* DataStoreWrite: '/Data Store Write2' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtDW.CCU_FACE_RR = (uint8_t)rtb_y_hu[1]; + rtDW.CCU_FACE_RR = (uint8_t)rtb_valve_space_foot_R_a[1]; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtDW.CCU_FOOT_RR = (uint8_t)rtb_y_hu[2]; + rtDW.CCU_FOOT_RR = (uint8_t)rtb_valve_space_foot_R_a[2]; - /* DataStoreWrite: '/Data Store Write4' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtDW.Index_mode_RR_manual = (uint8_t)rtb_y_hu[3]; + rtDW.Index_mode_RR_manual = (uint8_t)rtb_valve_space_foot_R_a[3]; - /* MATLAB Function: '/AF REAR VENT AUTO' */ - AFREARVENTAUTO(rtb_out_fzy); + /* MATLAB Function: '/AF REAR VENT AUTO' */ + AFREARVENTAUTO(rtb_out_bd1); - /* MATLAB Function: '/AF REAR Bi Level' */ - AFREARBiLevel(rtb_out_nz4); + /* MATLAB Function: '/AF REAR Bi Level' */ + AFREARBiLevel(rtb_out_b1n); - /* MATLAB Function: '/AF REAR Foot' */ - AFREARFoot(rtb_out_ovc); + /* MATLAB Function: '/AF REAR Foot' */ + AFREARFoot(rtb_out_k5); - /* MATLAB Function: '/AF REAR VENT AUTO1' */ - AFREARVENTAUTO(rtb_out_gkh); + /* MATLAB Function: '/AF REAR VENT AUTO1' */ + AFREARVENTAUTO(rtb_out_po3); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read' */ switch (rtDW.Index_mode_RR_auto) { case 120: case 150: case 170: for (i = 0; i < 8; i++) { - rtb_out_gkh[i] = rtb_out_fzy[i]; + rtb_out_po3[i] = rtb_out_bd1[i]; } break; @@ -40988,44 +42935,44 @@ void HVAC_model_step(void) case 160: case 180: for (i = 0; i < 8; i++) { - rtb_out_gkh[i] = rtb_out_nz4[i]; + rtb_out_po3[i] = rtb_out_b1n[i]; } break; case 140: for (i = 0; i < 8; i++) { - rtb_out_gkh[i] = rtb_out_ovc[i]; + rtb_out_po3[i] = rtb_out_k5[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/closest speed' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MATLAB Function: '/closest speed' incorporates: + * DataStoreRead: '/Data Store Read2' */ - closestspeed(rtb_out_gkh, rtb_out_fm3, &rtb_DataTypeConversion1_hy); + closestspeed(rtb_out_po3, rtb_out_ip, &rtb_PWM_out_a); - /* DataStoreWrite: '/Data Store Write5' */ - rtDW.CCU_BLOWERS_RR = rtb_DataTypeConversion1_hy; + /* DataStoreWrite: '/Data Store Write5' */ + rtDW.CCU_BLOWERS_RR = rtb_PWM_out_a; } - /* End of RelationalOperator: '/FixPt Relational Operator' */ + /* End of RelationalOperator: '/FixPt Relational Operator' */ /* End of Outputs for SubSystem: '/Determine directions RR' */ /* Outputs for Enabled SubSystem: '/Determine directions FL' incorporates: - * EnablePort: '/Enable' + * EnablePort: '/Enable' */ - /* 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 */ if (rtB.out_auto_l < rtDW.DelayInput1_DSTATE_e) { - /* MATLAB Function: '/direction for front index mode' incorporates: - * DataStoreRead: '/Data Store Read' + /* MATLAB Function: '/direction for front index mode' incorporates: + * DataStoreRead: '/Data Store Read' */ /* : switch index_mode */ switch (rtDW.Index_mode_FL_auto) { @@ -41147,159 +43094,159 @@ void HVAC_model_step(void) break; } - /* End of MATLAB Function: '/direction for front index mode' */ + /* End of MATLAB Function: '/direction for front index mode' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.CCU_DEF_FL = (uint8_t)i; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' */ rtDW.CCU_DEF_FR = (uint8_t)i; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.CCU_FACE_FL = (uint8_t)rtb_Cmd_3Way; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.CCU_FOOT_FL = (uint8_t)rtb_Y_o_idx_2; - /* DataStoreWrite: '/Data Store Write4' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.Index_mode_FL_manual = (uint8_t)rtb_Y_o_idx_3; - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read' */ switch (rtDW.Index_mode_FL_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/closest speed' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MATLAB Function: '/closest speed' incorporates: + * DataStoreRead: '/Data Store Read2' */ - closestspeed(rtb_out_ake, rtb_Saturation_as, &rtb_DataTypeConversion1_hy); + closestspeed(rtb_out_fun, rtb_Saturation_as, &rtb_PWM_out_a); - /* DataStoreWrite: '/Data Store Write5' */ - rtDW.CCU_BLOWERS_FL = rtb_DataTypeConversion1_hy; + /* DataStoreWrite: '/Data Store Write5' */ + rtDW.CCU_BLOWERS_FL = rtb_PWM_out_a; } - /* End of RelationalOperator: '/FixPt Relational Operator' */ + /* End of RelationalOperator: '/FixPt Relational Operator' */ /* End of Outputs for SubSystem: '/Determine directions FL' */ /* Outputs for Enabled SubSystem: '/Determine directions FR' incorporates: - * EnablePort: '/Enable' + * EnablePort: '/Enable' */ - /* 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 */ if (rtB.out_auto_bb < rtDW.DelayInput1_DSTATE_ee) { - /* MATLAB Function: '/direction for front index mode' incorporates: - * DataStoreRead: '/Data Store Read' + /* MATLAB Function: '/direction for front index mode' incorporates: + * DataStoreRead: '/Data Store Read' */ /* : switch index_mode */ switch (rtDW.Index_mode_FR_auto) { @@ -41421,151 +43368,150 @@ void HVAC_model_step(void) break; } - /* End of MATLAB Function: '/direction for front index mode' */ + /* End of MATLAB Function: '/direction for front index mode' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.CCU_DEF_FL = (uint8_t)i; - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' */ rtDW.CCU_DEF_FR = (uint8_t)i; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.CCU_FACE_FR = (uint8_t)rtb_Cmd_3Way; - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtDW.CCU_FOOT_FR = (uint8_t)rtb_Y_o_idx_2; - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write4' - * DataTypeConversion: '/Data Type Conversion' + /* DataStoreWrite: '/Data Store Write4' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtDW.Index_mode_FR_manual = (uint8_t)rtb_Y_o_idx_3; + Index_mode_FR_manual = (uint8_t)rtb_Y_o_idx_3; - /* MATLAB Function: '/AF VENT' */ - AFVENT(rtb_out_fzy); + /* MATLAB Function: '/AF VENT' */ + AFVENT(rtb_out_bd1); - /* MATLAB Function: '/AF Bi level' */ - AFBilevel(rtb_out_nz4); + /* MATLAB Function: '/AF Bi level' */ + AFBilevel(rtb_out_b1n); - /* MATLAB Function: '/AF Bi level 2' */ - AFBilevel2(rtb_out_ovc); + /* MATLAB Function: '/AF Bi level 2' */ + AFBilevel2(rtb_out_k5); - /* MATLAB Function: '/AF AutoFoot' */ - AFAutoFoot(rtb_out_gkh); + /* MATLAB Function: '/AF AutoFoot' */ + AFAutoFoot(rtb_out_po3); - /* MATLAB Function: '/AF AutoFoot summer' */ - AFAutoFootsummer(rtb_out_d23); + /* MATLAB Function: '/AF AutoFoot summer' */ + AFAutoFootsummer(rtb_out_hpp); - /* MATLAB Function: '/AF Foot' */ - AFFoot(rtb_out_c5x); + /* MATLAB Function: '/AF Foot' */ + AFFoot(rtb_out_pj); - /* MATLAB Function: '/AF Foot + Def' */ - AFFootDef(rtb_out_jh3); + /* MATLAB Function: '/AF Foot + Def' */ + AFFootDef(rtb_out_cc4); - /* MATLAB Function: '/AF Defrost' */ - AFDefrost(rtb_out_bjx); + /* MATLAB Function: '/AF Defrost' */ + AFDefrost(rtb_out_fey); - /* MATLAB Function: '/AF Tri mode' */ - AFTrimode(rtb_out_pha); + /* MATLAB Function: '/AF Tri mode' */ + AFTrimode(rtb_out_mzr); - /* MATLAB Function: '/AF Hi (def + vent)' */ - AFHidefvent(rtb_out_gr4); + /* MATLAB Function: '/AF Hi (def + vent)' */ + AFHidefvent(rtb_out_cf0); - /* MATLAB Function: '/AF VENT (fail safe)' */ - AFVENT(rtb_out_ake); + /* MATLAB Function: '/AF VENT (fail safe)' */ + AFVENT(rtb_out_fun); - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * DataStoreRead: '/Data Store Read' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * DataStoreRead: '/Data Store Read' */ switch (rtDW.Index_mode_FR_auto) { case 10: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_fzy[i]; + rtb_out_fun[i] = rtb_out_bd1[i]; } break; case 20: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_nz4[i]; + rtb_out_fun[i] = rtb_out_b1n[i]; } break; case 30: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_ovc[i]; + rtb_out_fun[i] = rtb_out_k5[i]; } break; case 40: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gkh[i]; + rtb_out_fun[i] = rtb_out_po3[i]; } break; case 50: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_d23[i]; + rtb_out_fun[i] = rtb_out_hpp[i]; } break; case 60: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_c5x[i]; + rtb_out_fun[i] = rtb_out_pj[i]; } break; case 70: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_jh3[i]; + rtb_out_fun[i] = rtb_out_cc4[i]; } break; case 80: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_bjx[i]; + rtb_out_fun[i] = rtb_out_fey[i]; } break; case 90: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_pha[i]; + rtb_out_fun[i] = rtb_out_mzr[i]; } break; case 100: for (i = 0; i < 8; i++) { - rtb_out_ake[i] = rtb_out_gr4[i]; + rtb_out_fun[i] = rtb_out_cf0[i]; } break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* MATLAB Function: '/closest speed' incorporates: - * DataStoreRead: '/Data Store Read2' + /* MATLAB Function: '/closest speed' incorporates: + * DataStoreRead: '/Data Store Read2' */ - closestspeed(rtb_out_ake, Gain1, &rtb_DataTypeConversion1_hy); + closestspeed(rtb_out_fun, rtb_Saturation2, &rtb_PWM_out_a); - /* DataStoreWrite: '/Data Store Write5' */ - rtDW.CCU_BLOWERS_FR = rtb_DataTypeConversion1_hy; + /* DataStoreWrite: '/Data Store Write5' */ + rtDW.CCU_BLOWERS_FR = rtb_PWM_out_a; } - /* End of RelationalOperator: '/FixPt Relational Operator' */ + /* End of RelationalOperator: '/FixPt Relational Operator' */ /* End of Outputs for SubSystem: '/Determine directions FR' */ /* Outputs for Atomic SubSystem: '/AromaLogic' */ - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write32' - * MATLAB Function: '/ccuAromaLogic' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write32' + * MATLAB Function: '/ccuAromaLogic' */ /* : AROMA_CFG_PRESENT = 0x01; */ /* : ALGO_CFG_STANDARD = 0x00; */ @@ -41586,37 +43532,38 @@ void HVAC_model_step(void) /* : CCU_GloveBox_Stat = uint8(0); */ rtDW.LIN4_CCU_Req_Model.CCU_GloveBox_Stat = 0U; - /* MATLAB Function: '/ccuAromaLogic' */ + /* MATLAB Function: '/ccuAromaLogic' */ /* : CCU_AromaCartridgeFlavor_Stat = uint8(0); */ /* : CCU_AromaCartridgeCapacity_Stat = uint8(0); */ /* : CCU_AromaFaultReason_Stat = FAULT_NONE; */ - rtb_DataTypeConversion3_hs = 0U; + center_percent = 0U; /* : CCU_AromaIntens_Stat = uint8(0); */ - rtb_DataTypeConversion1_hy = 0U; + rtb_PWM_out_a = 0U; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write32' - * MATLAB Function: '/ccuAromaLogic' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write32' + * MATLAB Function: '/ccuAromaLogic' */ /* : CCU_AromaIntens_Req = uint8(0); */ rtDW.LIN4_CCU_Req_Model.CCU_AromaIntens_Req = 0U; - /* MATLAB Function: '/ccuAromaLogic' incorporates: - * Constant: '/auto1' - * Constant: '/auto3' - * Constant: '/auto5' + /* MATLAB Function: '/ccuAromaLogic' incorporates: + * Constant: '/auto1' + * Constant: '/auto3' + * Constant: '/auto5' * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read2' * DataStoreRead: '/Data Store Read4' * DataStoreRead: '/Data Store Read5' * DataStoreRead: '/Data Store Read57' * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' * DataStoreRead: '/Data Store Read77' * DataStoreRead: '/Data Store Read8' * DataTypeConversion: '/Data Type Conversion3' - * Gain: '/Gain' - * Gain: '/Gain1' + * Gain: '/Gain' + * Gain: '/Gain1' */ /* : if (aromaConfig ~= AROMA_CFG_PRESENT) || ... */ /* : (CAL_VARIANT < CAL_VARIANT_SEDANL) || (CAL_VARIANT > CAL_VARIANT_MPV) */ @@ -41628,9 +43575,9 @@ void HVAC_model_step(void) /* : prevAromaIntensStat = uint8(0); */ rtDW.prevAromaIntensStat = 0U; } else { - /* BusCreator: '/Bus Creator' incorporates: + /* BusCreator: '/Bus Creator' incorporates: * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write32' + * DataStoreWrite: '/Data Store Write32' */ /* : CCU_GloveBox_Stat = BCM_GloveBox_Stat; */ rtDW.LIN4_CCU_Req_Model.CCU_GloveBox_Stat = rtDW.BCM_GloveBox_stat; @@ -41638,35 +43585,36 @@ void HVAC_model_step(void) /* : CCU_AromaCartridgeFlavor_Stat = Aroma_CartridgeFlavor_Stat; */ /* : CCU_AromaCartridgeCapacity_Stat = Aroma_CartridgeCapacity_Stat; */ /* : if (CAL_VARIANT == CAL_VARIANT_SEDANL) || (CAL_VARIANT == CAL_VARIANT_LIMO) */ - if ((g_ucCAL_VARIANT != 1) && (g_ucCAL_VARIANT != 3)) { + if ((g_ucCAL_VARIANT == 1) || (g_ucCAL_VARIANT == 3)) { + /* : hvacFanPwm = rearHvacFanPwm; */ + hvacFanPwm = rtDW.PWM_rear; + } else { /* : else */ /* : hvacFanPwm = frontHvacFanPwm; */ - rtDW.PWM_rear = rtDW.PWM_front; - } else { - /* : hvacFanPwm = rearHvacFanPwm; */ + hvacFanPwm = rtDW.PWM_front; } /* : if Aroma_CommErr_Flag */ if (rtDW.CCU_AromaErr_Stat != 0) { /* : CCU_AromaFaultReason_Stat = FAULT_COMM_OR_HW; */ - rtb_DataTypeConversion3_hs = 5U; + center_percent = 5U; } else if ((rtDW.Aroma_CartridgeSw != 0) || (rtDW.Aroma_CartridgeCapacity == 0)) { /* : elseif (Aroma_CartridgeSw_Stat ~= 0) || (Aroma_CartridgeCapacity_Stat == 0) */ /* : CCU_AromaFaultReason_Stat = FAULT_CARTRIDGE; */ - rtb_DataTypeConversion3_hs = 4U; - } else if (rtDW.PWM_rear == 0) { + center_percent = 4U; + } else if (hvacFanPwm == 0) { /* : elseif hvacFanPwm == 0 */ /* : CCU_AromaFaultReason_Stat = FAULT_HVAC_FAN_OFF; */ - rtb_DataTypeConversion3_hs = 1U; - } else if (rtDW.PWM_rear < (uint8_t)((52429U * g_usAromaPwm_Min) >> 19)) { + center_percent = 1U; + } else if (hvacFanPwm < (uint8_t)((52429U * g_usAromaPwm_Min) >> 19)) { /* : elseif hvacFanPwm < aromaPWMmin */ /* : CCU_AromaFaultReason_Stat = FAULT_HVAC_FAN_LOW; */ - rtb_DataTypeConversion3_hs = 2U; - } else if (rtDW.PWM_rear > (uint8_t)((52429U * g_usAromaPwm_Max) >> 19)) { + center_percent = 2U; + } else if (hvacFanPwm > (uint8_t)((52429U * g_usAromaPwm_Max) >> 19)) { /* : elseif hvacFanPwm > aromaPWMmax */ /* : CCU_AromaFaultReason_Stat = FAULT_HVAC_FAN_HIGH; */ - rtb_DataTypeConversion3_hs = 3U; + center_percent = 3U; } else { /* : else */ /* : CCU_AromaFaultReason_Stat = FAULT_NONE; */ @@ -41681,19 +43629,19 @@ void HVAC_model_step(void) /* : if T15_On */ if (rtDW.BCM_T15_Stat != 0) { /* : CCU_AromaIntens_Stat = prevAromaIntensStat; */ - rtb_DataTypeConversion1_hy = rtDW.prevAromaIntensStat; + rtb_PWM_out_a = rtDW.prevAromaIntensStat; } else { /* : else */ /* : CCU_AromaIntens_Stat = uint8(0); */ } /* : if (CCU_AromaFaultReason_Stat == FAULT_COMM_OR_HW) || (FIU_Aroma_Req == FIU_AROMA_REQ_OFF) */ - if ((rtb_DataTypeConversion3_hs == 5) || (rtDW.CCU_Aroma == 2)) { + if ((center_percent == 5) || (rtDW.CCU_Aroma == 2)) { /* : CCU_AromaIntens_Stat = uint8(0); */ - rtb_DataTypeConversion1_hy = 0U; + rtb_PWM_out_a = 0U; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write32' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write32' */ /* : CCU_AromaIntens_Req = uint8(0); */ rtDW.LIN4_CCU_Req_Model.CCU_AromaIntens_Req = 0U; @@ -41702,21 +43650,21 @@ void HVAC_model_step(void) /* : if (CCU_AromaFaultReason_Stat ~= FAULT_COMM_OR_HW) && (FIU_Aroma_Req == FIU_AROMA_REQ_ON) */ if (rtDW.CCU_Aroma == 1) { /* : CCU_AromaIntens_Stat = savedIntensity; */ - rtb_DataTypeConversion1_hy = rtDW.savedIntensity; + rtb_PWM_out_a = rtDW.savedIntensity; } /* : if (CCU_AromaFaultReason_Stat == FAULT_NONE) && ... */ /* : (CCU_AromaIntens_Stat ~= 0) && T15_On */ - if ((rtb_DataTypeConversion3_hs == 0) && (rtb_DataTypeConversion1_hy != 0) - && (rtDW.BCM_T15_Stat != 0)) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write32' + if ((center_percent == 0) && (rtb_PWM_out_a != 0) && (rtDW.BCM_T15_Stat != + 0)) { + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write32' */ /* : CCU_AromaIntens_Req = CCU_AromaIntens_Stat; */ - rtDW.LIN4_CCU_Req_Model.CCU_AromaIntens_Req = rtb_DataTypeConversion1_hy; + rtDW.LIN4_CCU_Req_Model.CCU_AromaIntens_Req = rtb_PWM_out_a; } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write32' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write32' */ /* : else */ /* : CCU_AromaIntens_Req = uint8(0); */ @@ -41727,14 +43675,14 @@ void HVAC_model_step(void) /* : if T15_On */ if (rtDW.BCM_T15_Stat != 0) { /* : prevAromaIntensStat = CCU_AromaIntens_Stat; */ - rtDW.prevAromaIntensStat = rtb_DataTypeConversion1_hy; + rtDW.prevAromaIntensStat = rtb_PWM_out_a; } } /* DataStoreWrite: '/Data Store Write1' incorporates: - * MATLAB Function: '/ccuAromaLogic' + * MATLAB Function: '/ccuAromaLogic' */ - rtDW.CCU_AromaIntens_stat = rtb_DataTypeConversion1_hy; + rtDW.CCU_AromaIntens_stat = rtb_PWM_out_a; /* End of Outputs for SubSystem: '/AromaLogic' */ @@ -41742,11 +43690,11 @@ void HVAC_model_step(void) * DataStoreRead: '/Data Store Read16' */ if (rtDW.CCU_SET_FL > 290) { - rtb_out_crw = 290U; + rtb_out_oum = 290U; } else if (rtDW.CCU_SET_FL < 170) { - rtb_out_crw = 170U; + rtb_out_oum = 170U; } else { - rtb_out_crw = rtDW.CCU_SET_FL; + rtb_out_oum = rtDW.CCU_SET_FL; } /* End of Saturate: '/Saturation' */ @@ -41755,35 +43703,35 @@ void HVAC_model_step(void) * DataStoreRead: '/Data Store Read17' */ if (rtDW.CCU_SET_FR > 290) { - rtb_Saturation2 = 290U; + rtb_out_kez = 290U; } else if (rtDW.CCU_SET_FR < 170) { - rtb_Saturation2 = 170U; + rtb_out_kez = 170U; } else { - rtb_Saturation2 = rtDW.CCU_SET_FR; + rtb_out_kez = rtDW.CCU_SET_FR; } /* End of Saturate: '/Saturation1' */ /* Outputs for Atomic SubSystem: '/Autodemist (all-season mode and winter mode)' */ - /* MATLAB Function: '/Calculate_Autodemist_Level' incorporates: - * Constant: '/auto10' - * Constant: '/auto11' - * Constant: '/auto12' - * Constant: '/auto4' - * Constant: '/auto5' - * Constant: '/auto6' + /* MATLAB Function: '/Calculate_Autodemist_Level' incorporates: + * Constant: '/auto10' + * Constant: '/auto11' + * Constant: '/auto12' + * Constant: '/auto4' + * Constant: '/auto5' + * Constant: '/auto6' * DataStoreRead: '/Data Store Read1' * DataStoreRead: '/Data Store Read3' * DataStoreRead: '/Data Store Read6' * DataStoreRead: '/Data Store Read7' * DataStoreRead: '/Data Store Read8' - * Gain: '/Gain2' - * Logic: '/AND2' - * Logic: '/AND3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Relational Operator6' - * RelationalOperator: '/Relational Operator7' - * RelationalOperator: '/Relational Operator8' + * Gain: '/Gain2' + * Logic: '/AND2' + * Logic: '/AND3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Relational Operator6' + * RelationalOperator: '/Relational Operator7' + * RelationalOperator: '/Relational Operator8' */ /* : if isempty(current_level_FL) */ /* : if isempty(current_level_FR) */ @@ -41817,28 +43765,29 @@ void HVAC_model_step(void) /* : if active_mode == 0 */ guard1 = false; if (rtDW.active_mode == 0.0) { - /* Logic: '/AND1' incorporates: + /* Logic: '/AND1' incorporates: * Constant: '/Constant' * Constant: '/Constant1' - * Constant: '/Auto' + * Constant: '/Auto' * DataStoreRead: '/Data Store Read10' * DataStoreRead: '/Data Store Read11' * DataStoreRead: '/Data Store Read2' * Logic: '/Logical Operator' - * Logic: '/AND' + * Logic: '/AND' * RelationalOperator: '/Relational Operator1' * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator2' */ /* : if entry_conditions_winter == 1 */ - rtb_Compare_e = ((rtDW.CCU_MODE_FL == 1) && ((rtDW.step_start_controle_front - > 1) || (rtDW.step_start_controle_front == -1)) && (rtDW.ECT > 45)); - if (rtb_Compare_e && (rtDW.AMB <= 10 * g_assAUTODEMIST_WINTER[0])) { + rtb_Compare_e1 = ((rtDW.CCU_MODE_FL == 1) && + ((rtDW.step_start_controle_front > 1) || + (rtDW.step_start_controle_front == -1)) && (rtDW.ECT > 45)); + if (rtb_Compare_e1 && (rtDW.AMB <= 10 * g_assAUTODEMIST_WINTER[0])) { /* : active_mode = 2; */ rtDW.active_mode = 2.0; guard1 = true; - } else if (rtb_Compare_e && (rtDW.Dew_point <= g_assAUTODEMIST_STEP_UP[0])) + } else if (rtb_Compare_e1 && (rtDW.Dew_point <= g_assAUTODEMIST_STEP_UP[0])) { /* : elseif entry_conditions_all_season == 1 */ /* : active_mode = 1; */ @@ -41853,7 +43802,7 @@ void HVAC_model_step(void) rtb_Divide3 = 0.0; /* : new_active_mode = 0; */ - rtb_duct_select_index_dbg_c = 0.0; + rtb_Divide5 = 0.0; } } else { guard1 = true; @@ -42003,74 +43952,74 @@ void HVAC_model_step(void) rtDW.current_level_FR = rtb_Divide3; /* : new_active_mode = active_mode; */ - rtb_duct_select_index_dbg_c = rtDW.active_mode; + rtb_Divide5 = rtDW.active_mode; } - /* MATLAB Function: '/MATLAB Function' incorporates: - * MATLAB Function: '/Calculate_Autodemist_Level' + /* MATLAB Function: '/MATLAB Function' incorporates: + * MATLAB Function: '/Calculate_Autodemist_Level' */ /* : if active_mode == 2 */ - if (rtb_duct_select_index_dbg_c == 2.0) { + if (rtb_Divide5 == 2.0) { /* : lvl_winter = uint8(autodemist_lvl_FL); */ - rtb_duct_select_index_dbg_c = rt_roundd(rtb_Divide1_jg); - if (rtb_duct_select_index_dbg_c < 256.0) { - if (rtb_duct_select_index_dbg_c >= 0.0) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + rtb_Divide5 = rt_roundd(rtb_Divide1_jg); + if (rtb_Divide5 < 256.0) { + if (rtb_Divide5 >= 0.0) { + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Lv_Winter = (uint8_t) - rtb_duct_select_index_dbg_c; + rtb_Divide5; } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Lv_Winter = 0U; } } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Lv_Winter = UINT8_MAX; } - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - * MATLAB Function: '/Calculate_Autodemist_Level' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + * MATLAB Function: '/Calculate_Autodemist_Level' */ /* : lvl_summer = uint8(0); */ rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Lv_Summer = 0U; - } else if (rtb_duct_select_index_dbg_c == 1.0) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + } else if (rtb_Divide5 == 1.0) { + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* : elseif active_mode == 1 */ /* : lvl_winter = uint8(0); */ rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Lv_Winter = 0U; /* : lvl_summer = uint8(autodemist_lvl_FL); */ - rtb_duct_select_index_dbg_c = rt_roundd(rtb_Divide1_jg); - if (rtb_duct_select_index_dbg_c < 256.0) { - if (rtb_duct_select_index_dbg_c >= 0.0) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + rtb_Divide5 = rt_roundd(rtb_Divide1_jg); + if (rtb_Divide5 < 256.0) { + if (rtb_Divide5 >= 0.0) { + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Lv_Summer = (uint8_t) - rtb_duct_select_index_dbg_c; + rtb_Divide5; } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Lv_Summer = 0U; } } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Lv_Summer = UINT8_MAX; } } else { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* : else */ /* : lvl_winter = uint8(0); */ @@ -42080,73 +44029,73 @@ void HVAC_model_step(void) rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Lv_Summer = 0U; } - /* End of MATLAB Function: '/MATLAB Function' */ + /* End of MATLAB Function: '/MATLAB Function' */ - /* Logic: '/AND5' incorporates: - * Constant: '/auto13' - * Constant: '/auto14' + /* Logic: '/AND5' incorporates: + * Constant: '/auto13' + * Constant: '/auto14' * DataStoreRead: '/Data Store Read1' * DataStoreWrite: '/Data Store Write23' - * Logic: '/AND4' - * RelationalOperator: '/Relational Operator10' - * RelationalOperator: '/Relational Operator11' - * RelationalOperator: '/Relational Operator9' + * Logic: '/AND4' + * RelationalOperator: '/Relational Operator10' + * RelationalOperator: '/Relational Operator11' + * RelationalOperator: '/Relational Operator9' */ rtb_RelationalOperator6_f = (((rtDW.CCU_MODE_FL == 0) || (rtDW.CCU_MODE_FL == - 2)) && (rtb_out_cj[8] == 100)); + 2)) && (rtb_MultiportSwitch_fd[8] == 100)); - /* Gain: '/Gain4' incorporates: + /* Gain: '/Gain4' incorporates: * DataStoreRead: '/Data Store Read8' */ - rtb_DataTypeConversion1_oq = (int16_t)((13107 * rtDW.AMB) >> 17); + rtb_DataTypeConversion1_gq = (int16_t)((13107 * rtDW.AMB) >> 17); - /* Gain: '/Gain' incorporates: - * Gain: '/Gain4' - * Lookup_n-D: '/AUTODEMIST_OFFSET_VENT_TEMP' + /* Gain: '/Gain' incorporates: + * Gain: '/Gain4' + * Lookup_n-D: '/AUTODEMIST_OFFSET_VENT_TEMP' */ - rtb_Switch2_nb = (int16_t)(10 * look1_is16lu64n32Ds32_binlcs - (rtb_DataTypeConversion1_oq, &g_assAUTODEMIST_OFFSET_AMB_TEMP[0], + rtb_Switch5_l = (int16_t)(10 * look1_is16lu64n32Ds32_binlcs + (rtb_DataTypeConversion1_gq, &g_assAUTODEMIST_OFFSET_AMB_TEMP[0], &g_assAUTODEMIST_OFFSET_VENT_TEMP[0], 8U)); - /* Lookup_n-D: '/FL_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' incorporates: + /* Lookup_n-D: '/FL_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' incorporates: * Saturate: '/Saturation' */ - rtb_Switch6_c = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_crw, - rtConstP.pooled58, rtConstP.pooled57, 3U); + rtb_Bias_ct = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_oum, + rtConstP.pooled56, rtConstP.pooled55, 3U); - /* MATLAB Function: '/Autodemist_Actions_FL' incorporates: - * Constant: '/auto7' - * Constant: '/auto8' + /* MATLAB Function: '/Autodemist_Actions_FL' incorporates: + * Constant: '/auto7' + * Constant: '/auto8' * DataStoreRead: '/Data Store Read4' * DataStoreWrite: '/Data Store Write' - * MATLAB Function: '/Calculate_Autodemist_Level' + * MATLAB Function: '/Calculate_Autodemist_Level' */ /* : recirculation_auto = false; */ - rtb_Compare_le = false; + rtb_Compare_ng = false; /* : ac_on = false; */ /* : fl_blower_af = uint16(0); */ rtDW.FL_blower_AF_offset_autodemist = 0U; /* : def_valve = false; */ - rtb_Compare_e = false; + rtb_Compare_e1 = false; /* : flu_duct_target = int16(0); */ rtDW.FLU_duct_target_offset_autodemist = 0; /* : max_def_active_and_rate_15 = false; */ - rtb_Compare_dw = false; + rtb_Compare_d1 = false; /* : if new_level_FL >= 1 && new_level_FL <= 3 */ if ((rtb_Divide1_jg >= 1.0) && (rtb_Divide1_jg <= 3.0)) { /* : recirculation_auto = true; */ - rtb_Compare_le = true; + rtb_Compare_ng = true; /* : ac_on = true; */ /* : if new_level_FL >= 2 */ if (rtb_Divide1_jg >= 2.0) { /* : def_valve = true; */ - rtb_Compare_e = true; + rtb_Compare_e1 = true; } } @@ -42163,15 +44112,14 @@ void HVAC_model_step(void) } /* : if (fl_temperature_set > 200) */ - if (rtb_out_crw > 200) { + if (rtb_out_oum > 200) { /* : flu_duct_target = total_offset_vent; */ - rtDW.FLU_duct_target_offset_autodemist = rtb_Switch2_nb; + rtDW.FLU_duct_target_offset_autodemist = rtb_Switch5_l; } else { /* : else */ /* : flu_duct_target = pct_of(total_offset_vent, temp_percentage_vent); */ /* : result = int16(round(double(number) * (double(percent) / 100))); */ - i = (int32_t)rt_roundd((double)rtb_Switch6_c / 100.0 * (double) - rtb_Switch2_nb); + i = (int32_t)rt_roundd((double)rtb_Bias_ct / 100.0 * (double)rtb_Switch5_l); if (i < 32768) { if (i >= -32768) { rtDW.FLU_duct_target_offset_autodemist = (int16_t)i; @@ -42197,15 +44145,14 @@ void HVAC_model_step(void) } /* : if (fl_temperature_set > 200) */ - if (rtb_out_crw > 200) { + if (rtb_out_oum > 200) { /* : flu_duct_target = total_offset_vent; */ - rtDW.FLU_duct_target_offset_autodemist = rtb_Switch2_nb; + rtDW.FLU_duct_target_offset_autodemist = rtb_Switch5_l; } else { /* : else */ /* : flu_duct_target = pct_of(total_offset_vent, temp_percentage_vent); */ /* : result = int16(round(double(number) * (double(percent) / 100))); */ - i = (int32_t)rt_roundd((double)rtb_Switch6_c / 100.0 * (double) - rtb_Switch2_nb); + i = (int32_t)rt_roundd((double)rtb_Bias_ct / 100.0 * (double)rtb_Switch5_l); if (i < 32768) { if (i >= -32768) { rtDW.FLU_duct_target_offset_autodemist = (int16_t)i; @@ -42227,50 +44174,50 @@ void HVAC_model_step(void) rtDW.FL_blower_AF_offset_autodemist = 0U; /* : max_def_active_and_rate_15 = true; */ - rtb_Compare_dw = true; + rtb_Compare_d1 = true; } - /* End of MATLAB Function: '/Autodemist_Actions_FL' */ + /* End of MATLAB Function: '/Autodemist_Actions_FL' */ - /* Lookup_n-D: '/FR_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' incorporates: + /* Lookup_n-D: '/FR_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' incorporates: * Saturate: '/Saturation1' */ - rtb_Switch6_c = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_Saturation2, - rtConstP.pooled58, rtConstP.pooled57, 3U); + rtb_Bias_ct = look1_iu16bs16lu64n32ts16Ds32_binlcs(rtb_out_kez, + rtConstP.pooled56, rtConstP.pooled55, 3U); - /* MATLAB Function: '/Autodemist_Actions_FR' incorporates: - * Constant: '/auto7' - * Constant: '/auto8' + /* MATLAB Function: '/Autodemist_Actions_FR' incorporates: + * Constant: '/auto7' + * Constant: '/auto8' * DataStoreRead: '/Data Store Read5' * DataStoreWrite: '/Data Store Write1' - * MATLAB Function: '/Calculate_Autodemist_Level' + * MATLAB Function: '/Calculate_Autodemist_Level' */ /* : recirculation_auto = false; */ - rtb_Compare_a = false; + rtb_Compare_dr = false; /* : ac_on = false; */ /* : fr_blower_af = uint16(0); */ rtDW.FR_blower_AF_offset_autodemist = 0U; /* : def_valve = false; */ - rtb_Compare_de = false; + rtb_Compare_em = false; /* : fru_duct_target = int16(0); */ rtDW.FRU_duct_target_offset_autodemist = 0; /* : max_def_active_and_rate_15 = false; */ - rtb_Compare_pm = false; + rtb_Compare_mk = false; /* : if new_level_FR >= 1 && new_level_FR <= 3 */ if ((rtb_Divide3 >= 1.0) && (rtb_Divide3 <= 3.0)) { /* : recirculation_auto = true; */ - rtb_Compare_a = true; + rtb_Compare_dr = true; /* : ac_on = true; */ /* : if new_level_FR >= 2 */ if (rtb_Divide3 >= 2.0) { /* : def_valve = true; */ - rtb_Compare_de = true; + rtb_Compare_em = true; } } @@ -42279,7 +44226,7 @@ void HVAC_model_step(void) /* : fr_blower_af = uint16(pct_of(fr_blower_current, AUTODEMIST_LV2_BLR_PLUS)); */ /* : result = int16(round(double(number) * (double(percent) / 100))); */ i = (int32_t)rt_roundd((double)g_usAUTODEMIST_LV2_BLR_PLUS / 100.0 * (double) - Gain1); + rtb_Saturation2); if (i < 32768) { rtDW.FR_blower_AF_offset_autodemist = (uint16_t)i; } else { @@ -42287,15 +44234,14 @@ void HVAC_model_step(void) } /* : if (fr_temperature_set > 200) */ - if (rtb_Saturation2 > 200) { + if (rtb_out_kez > 200) { /* : fru_duct_target = total_offset_vent; */ - rtDW.FRU_duct_target_offset_autodemist = rtb_Switch2_nb; + rtDW.FRU_duct_target_offset_autodemist = rtb_Switch5_l; } else { /* : else */ /* : fru_duct_target = pct_of(total_offset_vent, temp_percentage_vent); */ /* : result = int16(round(double(number) * (double(percent) / 100))); */ - i = (int32_t)rt_roundd((double)rtb_Switch6_c / 100.0 * (double) - rtb_Switch2_nb); + i = (int32_t)rt_roundd((double)rtb_Bias_ct / 100.0 * (double)rtb_Switch5_l); if (i < 32768) { if (i >= -32768) { rtDW.FRU_duct_target_offset_autodemist = (int16_t)i; @@ -42313,7 +44259,7 @@ void HVAC_model_step(void) /* : fr_blower_af = uint16(pct_of(fr_blower_current, AUTODEMIST_LV3_BLR_PLUS)); */ /* : result = int16(round(double(number) * (double(percent) / 100))); */ i = (int32_t)rt_roundd((double)g_usAUTODEMIST_LV3_BLR_PLUS / 100.0 * (double) - Gain1); + rtb_Saturation2); if (i < 32768) { rtDW.FR_blower_AF_offset_autodemist = (uint16_t)i; } else { @@ -42321,15 +44267,14 @@ void HVAC_model_step(void) } /* : if (fr_temperature_set > 200) */ - if (rtb_Saturation2 > 200) { + if (rtb_out_kez > 200) { /* : fru_duct_target = total_offset_vent; */ - rtDW.FRU_duct_target_offset_autodemist = rtb_Switch2_nb; + rtDW.FRU_duct_target_offset_autodemist = rtb_Switch5_l; } else { /* : else */ /* : fru_duct_target = pct_of(total_offset_vent, temp_percentage_vent); */ /* : result = int16(round(double(number) * (double(percent) / 100))); */ - i = (int32_t)rt_roundd((double)rtb_Switch6_c / 100.0 * (double) - rtb_Switch2_nb); + i = (int32_t)rt_roundd((double)rtb_Bias_ct / 100.0 * (double)rtb_Switch5_l); if (i < 32768) { if (i >= -32768) { rtDW.FRU_duct_target_offset_autodemist = (int16_t)i; @@ -42351,31 +44296,31 @@ void HVAC_model_step(void) rtDW.FR_blower_AF_offset_autodemist = 0U; /* : max_def_active_and_rate_15 = true; */ - rtb_Compare_pm = true; + rtb_Compare_mk = true; } - /* End of MATLAB Function: '/Autodemist_Actions_FR' */ + /* End of MATLAB Function: '/Autodemist_Actions_FR' */ - /* Logic: '/Logical Operator' incorporates: - * Logic: '/Logical Operator1' + /* Logic: '/Logical Operator' incorporates: + * Logic: '/Logical Operator1' */ - rtDW.recirc_auto_request_from_autodemist = (rtb_Compare_le || rtb_Compare_a); + rtDW.recirc_auto_request_from_autodemist = (rtb_Compare_ng || rtb_Compare_dr); - /* Logic: '/Logical Operator1' incorporates: + /* Logic: '/Logical Operator1' incorporates: * DataStoreWrite: '/Data Store Write5' */ rtDW.AC_front_on_req_from_autodemist = rtDW.recirc_auto_request_from_autodemist; - /* Logic: '/Logical Operator2' */ - rtb_Compare_dw = (rtb_Compare_dw || rtb_Compare_pm); + /* Logic: '/Logical Operator2' */ + rtb_Compare_d1 = (rtb_Compare_d1 || rtb_Compare_mk); - /* Logic: '/Logical Operator3' incorporates: + /* Logic: '/Logical Operator3' incorporates: * DataStoreWrite: '/Data Store Write7' */ - rtDW.def_valve_100_req = (rtb_Compare_e || rtb_Compare_de); + rtDW.def_valve_100_req = (rtb_Compare_e1 || rtb_Compare_em); - /* MATLAB Function: '/MATLAB Function' incorporates: + /* MATLAB Function: '/MATLAB Function' incorporates: * DataStoreWrite: '/Data Store Write6' */ /* : REQ_NONE = uint8(0); */ @@ -42384,71 +44329,71 @@ void HVAC_model_step(void) /* : if isempty(req_prev) */ if (!rtDW.req_prev_not_empty) { /* : req_prev = current_req; */ - rtDW.req_prev = rtb_Compare_dw; + rtDW.req_prev = rtb_Compare_d1; rtDW.req_prev_not_empty = true; } /* : if current_req ~= req_prev && current_req == true */ - if ((rtb_Compare_dw != rtDW.req_prev) && rtb_Compare_dw) { + if ((rtb_Compare_d1 != rtDW.req_prev) && rtb_Compare_d1) { /* : maxdef_req = REQ_ON; */ - rtb_DataTypeConversion1_hy = 1U; - } else if ((rtb_Compare_dw != rtDW.req_prev) && (!rtb_Compare_dw)) { + rtb_PWM_out_a = 1U; + } else if ((rtb_Compare_d1 != rtDW.req_prev) && (!rtb_Compare_d1)) { /* : elseif current_req ~= req_prev && current_req == false */ /* : maxdef_req = REQ_OFF; */ - rtb_DataTypeConversion1_hy = 2U; + rtb_PWM_out_a = 2U; } else { /* : else */ /* : maxdef_req = REQ_NONE; */ - rtb_DataTypeConversion1_hy = 0U; + rtb_PWM_out_a = 0U; } /* : req_prev = current_req; */ - rtDW.req_prev = rtb_Compare_dw; + rtDW.req_prev = rtb_Compare_d1; - /* End of MATLAB Function: '/MATLAB Function' */ + /* End of MATLAB Function: '/MATLAB Function' */ - /* Switch: '/Switch' incorporates: - * Gain: '/Gain4' - * Lookup_n-D: '/AUTODEMIST_OFFSET_LEFT' - * Lookup_n-D: '/AUTODEMIST_OFFSET_RIGHT' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * Gain: '/Gain4' + * Lookup_n-D: '/AUTODEMIST_OFFSET_LEFT' + * Lookup_n-D: '/AUTODEMIST_OFFSET_RIGHT' + * Switch: '/Switch1' */ if (rtb_RelationalOperator6_f) { rtDW.FLU_duct_target_offset_autodemist = look1_is16lu64n32Ds32_binlcs - (rtb_DataTypeConversion1_oq, rtConstP.pooled56, + (rtb_DataTypeConversion1_gq, rtConstP.pooled54, &g_assDUCT_TGT_DEF_VALVE_L[0], 10U); rtDW.FRU_duct_target_offset_autodemist = look1_is16lu64n32Ds32_binlcs - (rtb_DataTypeConversion1_oq, rtConstP.pooled56, + (rtb_DataTypeConversion1_gq, rtConstP.pooled54, &g_assDUCT_TGT_DEF_VALVE_R[0], 10U); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ /* End of Outputs for SubSystem: '/Autodemist (all-season mode and winter mode)' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Bias: '/Bias' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Bias: '/Bias' * DataStoreRead: '/Data Store Read3' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' */ - rtb_Switch6_c = (int16_t)floor(0.5 * (double) + BMS_ActualTemp_Val_ro = (int16_t)floor(0.5 * (double) rtDW.CCUCAN_EMS_Veh_02_model.BMS_ActualTemp_Val_ro - 40.0); - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.eCompChiller_Err = 0.0; - /* Gain: '/Gain' incorporates: + /* Gain: '/Gain' incorporates: * DataStoreRead: '/Data Store Read10' - * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write' */ rtDW.eComp_InputC = (uint16_t) (rtDW.HVC_ERR_STATUS_MSG_MODEL.HVC_CompInputC_Val_ro << 7); - /* Bias: '/Bias' incorporates: + /* Bias: '/Bias' incorporates: * DataStoreRead: '/Data Store Read10' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' */ rtDW.eComp_Temp = (int16_t) (rtDW.HVC_ERR_STATUS_MSG_MODEL.HVC_CompInvTemp_Val_ro - 50); @@ -42459,367 +44404,375 @@ void HVAC_model_step(void) rtDW.AromaConfiguration = rtDW.CCUCAN_tStatus_CCU_Configuration_model.AromaConfiguration; - /* If: '/If' incorporates: + /* RelationalOperator: '/Equal' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read17' + * DataStoreWrite: '/Data Store Write19' + */ + rtDW.RearHVAC_present = + (rtDW.CCUCAN_tStatus_CCU_Configuration_model.RearHVACConfiguration == 1); + + /* If: '/If' incorporates: * DataStoreRead: '/Data Store Read' - * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' * SignalConversion generated from: '/Bus Selector3' */ if (rtDW.CCUCAN_BCM_Powertrain_model.BCM_AmbTempRaw_ro == 65534) { - /* Outputs for IfAction SubSystem: '/sensor error' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/sensor error' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.CCU_AmbTempSensErr_Stat = 1U; - /* SignalConversion generated from: '/Out1' incorporates: - * Constant: '/failsafe = 10C after factor and offset' + /* SignalConversion generated from: '/Out1' incorporates: + * Constant: '/failsafe = 10C after factor and offset' */ - rtb_out_mxq = 5000U; + rtb_out_bf = 5000U; - /* End of Outputs for SubSystem: '/sensor error' */ + /* End of Outputs for SubSystem: '/sensor error' */ } else { - /* Outputs for IfAction SubSystem: '/sensor OK' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/sensor OK' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion generated from: '/In1' */ - rtb_out_mxq = rtDW.CCUCAN_BCM_Powertrain_model.BCM_AmbTempRaw_ro; + /* SignalConversion generated from: '/In1' */ + rtb_out_bf = rtDW.CCUCAN_BCM_Powertrain_model.BCM_AmbTempRaw_ro; - /* End of Outputs for SubSystem: '/sensor OK' */ + /* End of Outputs for SubSystem: '/sensor OK' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Bias: '/Bias' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain1' - * Gain: '/Gain2' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Bias: '/Bias' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain1' + * Gain: '/Gain2' */ - AMB_RAW = (int16_t)floor((0.01 * (double)rtb_out_mxq - 40.0) * 10.0); + AMB_RAW = (int16_t)floor((0.01 * (double)rtb_out_bf - 40.0) * 10.0); - /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: - * DataStoreRead: '/Data Store Read15' - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: + * DataStoreRead: '/Data Store Read15' + * DataStoreRead: '/Data Store Read1' */ is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, &rtDW.sf_is3secafterT15passed_k3); - /* If: '/If' */ + /* If: '/If' */ if (rtb_RelationalOperator6_f) { - /* 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_DataTypeConversion1_oq = + rtb_DataTypeConversion1_gq = rtConstP.GetLVLfortemp_tableData[plook_u32s16_bincka(AMB_RAW, 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(AMB_RAW, rtb_DataTypeConversion1_oq, &rtb_DataTypeConversion1_gy, - &rtDW.AMB_store, &rtDW.KEEP_RISING_UNTIL_LIMIT); + u_p(AMB_RAW, rtb_DataTypeConversion1_gq, &hvacFanPwm, &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(AMB_RAW, rtb_DataTypeConversion1_oq, &rtb_DataTypeConversion1_gy, - &rtDW.AMB_store, &rtDW.KEEP_RISING_UNTIL_LIMIT); + u_g2(AMB_RAW, rtb_DataTypeConversion1_gq, &hvacFanPwm, &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(AMB_RAW, rtb_DataTypeConversion1_oq, ¢er_percent, &rtDW.AMB_store, + u_kb(AMB_RAW, rtb_DataTypeConversion1_gq, &rtb_Merge_np, &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(AMB_RAW, rtb_DataTypeConversion1_oq, ¢er_percent, &rtDW.AMB_store, + u_my(AMB_RAW, rtb_DataTypeConversion1_gq, &rtb_Merge_np, &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_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(AMB_RAW, rtb_DataTypeConversion1_oq, &rtb_Merge_c5, &rtDW.AMB_store, + u_p(AMB_RAW, rtb_DataTypeConversion1_gq, &rtb_Merge_h, &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(AMB_RAW, rtb_DataTypeConversion1_oq, &rtb_Merge_c5, &rtDW.AMB_store, + u_g2(AMB_RAW, rtb_DataTypeConversion1_gq, &rtb_Merge_h, &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(AMB_RAW, rtb_DataTypeConversion1_oq, &rtb_Merge_m4, &rtDW.AMB_store, + u_kb(AMB_RAW, rtb_DataTypeConversion1_gq, &rtb_Merge_md, &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(AMB_RAW, rtb_DataTypeConversion1_oq, &rtb_Merge_m4, &rtDW.AMB_store, + u_my(AMB_RAW, rtb_DataTypeConversion1_gq, &rtb_Merge_md, &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)AMB_RAW - rtDW.AMB_store) <= 0.01) { - /* SignalConversion generated from: '/AMB_new' */ + /* SignalConversion generated from: '/AMB_new' */ rtb_Divide1_jg = rtDW.AMB_store; } else { if (AMB_RAW > rtDW.AMB_store) { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtb_Switch2_nb = rtb_Merge_c5; + rtb_Switch5_l = rtb_Merge_h; } else { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * UnaryMinus: '/Unary Minus' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * UnaryMinus: '/Unary Minus' */ - rtb_Switch2_nb = (int16_t)-rtb_Merge_m4; + rtb_Switch5_l = (int16_t)-rtb_Merge_md; } - /* 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_Divide1_jg = (double)rtb_Subtract / 60000.0 * (double)rtb_Switch2_nb + rtb_Divide1_jg = (double)rtb_Subtract / 60000.0 * (double)rtb_Switch5_l + 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(AMB_RAW, rtb_DataTypeConversion1_oq, &rtb_Merge_c5, &rtDW.AMB_store, + u_p(AMB_RAW, rtb_DataTypeConversion1_gq, &rtb_Merge_h, &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(AMB_RAW, rtb_DataTypeConversion1_oq, &rtb_Merge_c5, &rtDW.AMB_store, + u_g2(AMB_RAW, rtb_DataTypeConversion1_gq, &rtb_Merge_h, &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(AMB_RAW, rtb_DataTypeConversion1_oq, &rtb_Merge_m4, &rtDW.AMB_store, + u_kb(AMB_RAW, rtb_DataTypeConversion1_gq, &rtb_Merge_md, &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(AMB_RAW, rtb_DataTypeConversion1_oq, &rtb_Merge_m4, &rtDW.AMB_store, + u_my(AMB_RAW, rtb_DataTypeConversion1_gq, &rtb_Merge_md, &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)AMB_RAW - rtDW.AMB_store) <= 0.01) { - /* SignalConversion generated from: '/AMB_new' */ + /* SignalConversion generated from: '/AMB_new' */ rtb_Divide1_jg = rtDW.AMB_store; } else { if (AMB_RAW > rtDW.AMB_store) { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtb_Switch2_nb = rtb_Merge_c5; + rtb_Switch5_l = rtb_Merge_h; } else { - /* Switch: '/Switch' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * UnaryMinus: '/Unary Minus' + /* Switch: '/Switch' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * UnaryMinus: '/Unary Minus' */ - rtb_Switch2_nb = (int16_t)-rtb_Merge_m4; + rtb_Switch5_l = (int16_t)-rtb_Merge_md; } - /* 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_Divide1_jg = (double)rtb_Subtract / 60000.0 * (double)rtb_Switch2_nb + rtb_Divide1_jg = (double)rtb_Subtract / 60000.0 * (double)rtb_Switch5_l + 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_DataTypeConversion1_oq + 1; - if (rtb_DataTypeConversion1_oq + 1 > 32767) { + i = rtb_DataTypeConversion1_gq + 1; + if (rtb_DataTypeConversion1_gq + 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_DataTypeConversion1_oq); + printf("lvl = %d\n", rtb_DataTypeConversion1_gq); fflush(stdout); - /* 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' + /* 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)AMB_RAW - rtDW.AMB_store) <= 0.01) { rtb_Divide1_jg = AMB_RAW; } else { if (AMB_RAW > 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_Divide1_jg = look1_iu16td_binlc(rtDW.VehicleSpeed, rtConstP.uDLookupTable1_bp01Data, rtb_f_lower_upper_bounds, 1U); @@ -42827,20 +44780,20 @@ void HVAC_model_step(void) rtb_Divide1_jg = 0.5; } - /* End of Switch: '/Скорость >10' */ + /* End of Switch: '/Скорость >10' */ } else { - /* MATLAB Function: '/обычное понижение темп.' incorporates: - * MATLAB Function: '/границы' + /* MATLAB Function: '/обычное понижение темп.' incorporates: + * MATLAB Function: '/границы' */ - i = rtb_DataTypeConversion1_oq + 1; - if (rtb_DataTypeConversion1_oq + 1 > 32767) { + i = rtb_DataTypeConversion1_gq + 1; + if (rtb_DataTypeConversion1_gq + 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_Divide1_jg = -(double)g_aucAMBRATE_FALLING[i - 1]; } @@ -42849,189 +44802,188 @@ void HVAC_model_step(void) 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' - * Gain: '/Gain' - * MATLAB Function: '/Coolant temp threshold' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * Gain: '/Gain' + * MATLAB Function: '/Coolant temp threshold' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' */ if (10 * 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)AMB_RAW - 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 (AMB_RAW > rtDW.AMB_store) { - rtb_Switch2_nb = rtb_DataTypeConversion1_gy; + rtb_Switch5_l = hvacFanPwm; } else { - rtb_Switch2_nb = (int16_t)-center_percent; + rtb_Switch5_l = (int16_t)-rtb_Merge_np; } - /* 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_nb; + rtDW.AMB_store += (double)rtb_Subtract / 60000.0 * (double)rtb_Switch5_l; } - /* 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_Divide1_jg; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* SignalConversion generated from: '/AMB_out' incorporates: - * DataStoreWrite: '/Write new AMB' + /* SignalConversion generated from: '/AMB_out' incorporates: + * DataStoreWrite: '/Write new AMB' */ - rtb_Add_p4 = rtDW.AMB_store; + rtb_Divide5 = rtDW.AMB_store; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/Data Store Read15' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/Data Store Read15' */ rtDW.UnitDelay_DSTATE_c = rtDW.t_now; - /* 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' */ - /* 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 = AMB_RAW; - /* SignalConversion generated from: '/AMB_out' incorporates: - * DataStoreWrite: '/Data Store Write' + /* SignalConversion generated from: '/AMB_out' incorporates: + * DataStoreWrite: '/Data Store Write' */ - rtb_Add_p4 = rtDW.AMB_store; + rtb_Divide5 = rtDW.AMB_store; - /* End of Outputs for SubSystem: '/Инициализация температуры' */ + /* End of Outputs for SubSystem: '/Инициализация температуры' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.AMB = (int16_t)floor(rtb_Add_p4); + rtDW.AMB = (int16_t)floor(rtb_Divide5); - /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' */ is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, &rtDW.sf_is3secafterT15passed_k); - /* MATLAB Function: '/filter sensor' incorporates: + /* MATLAB Function: '/filter sensor' incorporates: * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read44' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read44' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' */ filtersensor(4.01575 * (double) rtDW.CCUCAN_BCM_Climatic_model.SolarSensLeftVal_ro, - rtb_RelationalOperator6_f, rtDW.t_now, rtDW.LEVEL, - &rtb_duct_select_index_dbg_c, &rtDW.sf_filtersensor); + rtb_RelationalOperator6_f, rtDW.t_now, rtDW.LEVEL, &rtb_area_R_o, + &rtDW.sf_filtersensor); - /* DataStoreWrite: '/Data Store Write' */ - rtDW.Sun_L = rtb_duct_select_index_dbg_c; + /* DataStoreWrite: '/Data Store Write' */ + rtDW.Sun_L = rtb_area_R_o; - /* Gain: '/Gain1' incorporates: - * Bias: '/Bias' + /* Gain: '/Gain1' incorporates: + * Bias: '/Bias' * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' */ rtb_Divide1_jg = (0.5 * (double) rtDW.CCUCAN_BCM_Climatic_model.WindshieldTemp_ro - 40.0) * 10.0; - /* Gain: '/Gain' incorporates: + /* Gain: '/Gain' incorporates: * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' */ rtb_Divide3 = 0.5 * (double) rtDW.CCUCAN_BCM_Climatic_model.WindshieldHumidity_ro; - /* DataStoreWrite: '/Data Store Write' incorporates: + /* DataStoreWrite: '/Data Store Write' incorporates: * DataStoreRead: '/Data Store Read4' */ rtDW.BCM_GloveBox_stat = rtDW.CCUCAN_BCM_Climatic_model.BCM_GloveBox_Stat; - /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/is 3 sec after T15 passed' incorporates: + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' */ is3secafterT15passed(rtDW.t_now, rtDW.BCM_T15_Stat, &rtb_RelationalOperator6_f, &rtDW.sf_is3secafterT15passed_p); - /* MATLAB Function: '/filter sensor' incorporates: + /* MATLAB Function: '/filter sensor' incorporates: * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read44' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read44' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' */ filtersensor(4.01575 * (double) rtDW.CCUCAN_BCM_Climatic_model.SolarSensRightVal_ro, - rtb_RelationalOperator6_f, rtDW.t_now, rtDW.LEVEL, - &rtb_duct_select_index_dbg_c, &rtDW.sf_filtersensor_a); + rtb_RelationalOperator6_f, rtDW.t_now, rtDW.LEVEL, &rtb_area_R_o, + &rtDW.sf_filtersensor_a); - /* DataStoreWrite: '/Data Store Write' */ - rtDW.Sun_R = rtb_duct_select_index_dbg_c; + /* DataStoreWrite: '/Data Store Write' */ + rtDW.Sun_R = rtb_area_R_o; - /* Bias: '/Bias' incorporates: + /* Bias: '/Bias' incorporates: * DataStoreRead: '/Data Store Read5' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion1' + * 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: + /* Gain: '/Gain' incorporates: * DataStoreRead: '/Data Store Read5' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion1' + * 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: + /* DataTypeConversion: '/Data Type Conversion1' incorporates: * DataStoreRead: '/Data Store Read6' - * DataStoreWrite: '/Data Store Write2' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' + * 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); @@ -43052,12 +45004,12 @@ void HVAC_model_step(void) rtDW.SeatOccupiedRL = rtDW.CCUCAN_OCURL_MSG_model.OCURL_SeatOccupied_Stat; /* Outputs for Enabled SubSystem: '/Subsystem45' incorporates: - * EnablePort: '/Enable' + * EnablePort: '/Enable' */ /* DataStoreRead: '/Data Store Read11' */ if (rtDW.FIU_CCU3_MODEL.FIU_Defrost_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write' + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.CCU_Defrost = (uint8_t)(rtDW.FIU_CCU3_MODEL.FIU_Defrost_Req <= 1); } @@ -43065,11 +45017,11 @@ void HVAC_model_step(void) /* End of Outputs for SubSystem: '/Subsystem45' */ /* Outputs for Enabled SubSystem: '/Subsystem5' incorporates: - * EnablePort: '/Enable' + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU3_MODEL.FIU_RLfootBlowDis_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.CCU_foot_blower_dis_RL = (uint8_t) (rtDW.FIU_CCU3_MODEL.FIU_RLfootBlowDis_Req <= 1); @@ -43078,21 +45030,23 @@ void HVAC_model_step(void) /* End of Outputs for SubSystem: '/Subsystem5' */ /* Outputs for Enabled SubSystem: '/Subsystem51' incorporates: - * EnablePort: '/Enable' + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU3_MODEL.FIU_Aroma_Req > 0) { - /* DataStoreWrite: '/Data Store Write13' */ - rtDW.CCU_Aroma = rtDW.FIU_CCU3_MODEL.FIU_Aroma_Req; + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write13' + */ + rtDW.CCU_Aroma = (uint8_t)(rtDW.FIU_CCU3_MODEL.FIU_Aroma_Req <= 1); } /* End of Outputs for SubSystem: '/Subsystem51' */ /* Outputs for Enabled SubSystem: '/Subsystem52' incorporates: - * EnablePort: '/Enable' + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU3_MODEL.FIU_Ionization_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.CCU_Ionization = (uint8_t)(rtDW.FIU_CCU3_MODEL.FIU_Ionization_Req <= 1); } @@ -43100,11 +45054,11 @@ void HVAC_model_step(void) /* End of Outputs for SubSystem: '/Subsystem52' */ /* Outputs for Enabled SubSystem: '/Subsystem6' incorporates: - * EnablePort: '/Enable' + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU3_MODEL.FIU_RRfootBlowDis_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.CCU_foot_blower_dis_RR = (uint8_t) (rtDW.FIU_CCU3_MODEL.FIU_RRfootBlowDis_Req <= 1); @@ -43113,426 +45067,992 @@ void HVAC_model_step(void) /* End of Outputs for SubSystem: '/Subsystem6' */ /* Outputs for Enabled SubSystem: '/Subsystem7' incorporates: - * EnablePort: '/Enable' + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU3_MODEL.FIU_AromaIntens_Req > 0) { - /* DataStoreWrite: '/Data Store Write13' */ + /* DataStoreWrite: '/Data Store Write13' */ rtDW.CCU_AromaIntens_stat = rtDW.FIU_CCU3_MODEL.FIU_AromaIntens_Req; } /* End of Outputs for SubSystem: '/Subsystem7' */ + /* Outputs for Enabled SubSystem: '/Subsystem8' incorporates: + * EnablePort: '/Enable' + */ + if (rtDW.FIU_CCU3_MODEL.FIU_Rest_Req > 0) { + /* DataStoreWrite: '/Data Store Write13' */ + rtDW.CCU_Rest_req = rtDW.FIU_CCU3_MODEL.FIU_Rest_Req; + } + + /* End of Outputs for SubSystem: '/Subsystem8' */ + /* Outputs for Enabled SubSystem: '/Subsystem9' incorporates: - * EnablePort: '/Enable' + * EnablePort: '/Enable' */ if (rtDW.FIU_CCU3_MODEL.FIU_ACmax_Req > 0) { - /* DataStoreWrite: '/Data Store Write' */ - rtDW.CCU_AC_MAX = rtDW.FIU_CCU3_MODEL.FIU_ACmax_Req; + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + rtDW.CCU_AC_MAX = (uint8_t)(rtDW.FIU_CCU3_MODEL.FIU_ACmax_Req <= 1); } /* End of DataStoreRead: '/Data Store Read11' */ /* End of Outputs for SubSystem: '/Subsystem9' */ - /* Outputs for Enabled SubSystem: '/TM_CP and FIU - только при зажигании' incorporates: + /* Outputs for Enabled SubSystem: '/Sleep_mode' incorporates: + * EnablePort: '/Enable' + */ + /* DataStoreRead: '/Data Store Read13' */ + if (rtDW.sleep_model > 0) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_MODE_FL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_ModeFL_Stat; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_MODE_FR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_ModeFR_Stat; + + /* DataStoreWrite: '/Data Store Write10' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_FACE_RR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionRR_Face_Stat; + + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_FOOT_RR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionRR_Foot_Stat; + + /* DataStoreWrite: '/Data Store Write12' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_DEF_FL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionFL_Def_Stat; + + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_FACE_FL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionFL_Face_Stat; + + /* DataStoreWrite: '/Data Store Write14' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_FOOT_FL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionFL_Foot_Stat; + + /* DataStoreWrite: '/Data Store Write15' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_DEF_FR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionFR_Def_Stat; + + /* DataStoreWrite: '/Data Store Write16' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_FACE_FR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionFR_Face_Stat; + + /* DataStoreWrite: '/Data Store Write17' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_FOOT_FR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionFR_Foot_Stat; + + /* DataStoreWrite: '/Data Store Write18' incorporates: + * DataStoreRead: '/Data Store Read' + */ + rtDW.CCU_RECIRC = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_Recirculation_Stat; + + /* 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' + * Gain: '/Gain' + * Gain: '/Gain1' + */ + rtDW.CCU_SET_RL = (uint16_t)((0.5 * (double) + rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_TargetTempRL_Stat_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' */ + + /* 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 > 295) { + /* 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' */ + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Bias: '/Bias' + * DataStoreRead: '/Data Store Read' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + */ + rtDW.CCU_SET_RR = (uint16_t)((0.5 * (double) + rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_TargetTempRR_Stat_ro + 15.5) * 10.0); + + /* Saturate: '/Saturation' */ + if (rtDW.CCU_SET_RR > 305) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_RR = 305U; + } + + /* End of Saturate: '/Saturation' */ + + /* 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' + */ + rtDW.LO_HI_MODE_RR = 1U; + + /* 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' + */ + 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' */ + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Bias: '/Bias' + * DataStoreRead: '/Data Store Read' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + */ + rtDW.CCU_SET_FL = (uint16_t)((0.5 * (double) + rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_TargetTempFL_Stat_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' */ + + /* 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 > 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' */ + + /* Gain: '/Gain1' incorporates: + * Bias: '/Bias' + * DataStoreRead: '/Data Store Read' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + */ + rtb_area_R_o = (0.5 * (double) + rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_TargetTempFR_Stat_ro + 15.5) + * 10.0; + + /* DataTypeConversion: '/Data Type Conversion1' */ + rtb_out_kez = (uint16_t)rtb_area_R_o; + + /* Saturate: '/Saturation' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + if ((uint16_t)rtb_area_R_o > 305) { + rtDW.CCU_SET_FR = 305U; + } else { + rtDW.CCU_SET_FR = (uint16_t)rtb_area_R_o; + } + + /* End of Saturate: '/Saturation' */ + + /* 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' + */ + 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 { + /* 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' */ + + /* DataStoreWrite: '/Data Store Write27' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.CCU_FRONT_SYNC = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_FrontZoneSync_Stat; + + /* DataStoreWrite: '/Data Store Write28' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.CCU_REAR_SYNC = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_RearZoneSync_Stat; + + /* DataStoreWrite: '/Data Store Write29' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + rtDW.CCU_ALL_ZONE_SYNC = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_AllZoneSync_Stat; + + /* DataStoreWrite: '/Data Store Write30' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + 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_FootTempCorr_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 Write42' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + rtDW.REST_mode_CCU_stat = rtDW.CCU_STAT3_WAKEUP_MODEL.CCU_RestMode2_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 DataStoreRead: '/Data Store Read13' */ + /* End of Outputs for SubSystem: '/Sleep_mode' */ + + /* Outputs for Enabled SubSystem: '/Reset Start Control step' incorporates: * EnablePort: '/Enable' */ - /* DataStoreRead: '/Data Store Read1' incorporates: - * Switch: '/Switch' - * Switch: '/Switch' + /* Logic: '/NOT' incorporates: + * DataStoreRead: '/Data Store Read18' */ - if (rtDW.BCM_T15_Stat > 0) { - /* Switch: '/Switch' incorporates: - * Constant: '/MODE_OFF' - * Constant: '/MODE_ENTRY_STEP1_MAX_AC' - * Constant: '/MODE_ENTRY_STEP2_MAX_AC' - * Constant: '/MODE_ENTRY_STEP3_MAX_AC' - * Constant: '/MODE_EXIT_MAX_AC' - * Constant: '/MODE_ENTRY_STEP1_MAX_DEF' - * Constant: '/MODE_ENTRY_STEP2_MAX_DEF' - * Constant: '/MODE_ENTRY_STEP3_MAX_DEF1' - * Constant: '/MODE_EXIT_MAX_DEF' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal2' - * RelationalOperator: '/Equal3' - * RelationalOperator: '/Equal' - * RelationalOperator: '/Equal1' - * RelationalOperator: '/Equal2' - * RelationalOperator: '/Equal3' - * Switch: '/Switch' - * Switch: '/Switch' + if (rtDW.BCM_T15_Stat == 0) { + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/No start control' */ - if (rtDW.EAC_OR_FIRE_mode != 0) { - rtb_DataTypeConversion1_gy = - rtDW.FIU_CCU1_EAC_or_FIRE.FIU_TargetTempFL_Val_ro; - center_percent = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_FootTempCorFL_Req; - rtb_Merge_c5 = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_TargetTempFR_Val_ro; - rtb_Merge_m4 = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_FootTempCorFR_Req; - rtb_Switch_f_FIU_CCmodeFL_Req = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_CCmodeFL_Req; - rtb_Switch_f_FIU_AirDirectionFL_Def_Req = + rtDW.step_start_controle_front = -1; + + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/No start control' + */ + rtDW.step_start_controle_rear = -1; + } + + /* End of Logic: '/NOT' */ + /* End of Outputs for SubSystem: '/Reset Start Control step' */ + + /* Outputs for Enabled SubSystem: '/FIU 1, 2 - при зажигании или REST' incorporates: + * EnablePort: '/Enable' + */ + /* Logic: '/Logical Operator' incorporates: + * Constant: '/MODE_OFF' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * RelationalOperator: '/Equal1' + * SignalConversion generated from: '/Bus Selector' + * Switch: '/Switch' + * Switch: '/Switch' + */ + if ((rtDW.BCM_T15_Stat != 0) || (rtDW.RestMode_mode != 0)) { + /* Switch: '/Switch' incorporates: + * Constant: '/MODE_OFF' + * Constant: '/MODE_ENTRY_STEP1_MAX_AC' + * Constant: '/MODE_ENTRY_STEP2_MAX_AC' + * Constant: '/MODE_ENTRY_STEP3_MAX_AC' + * Constant: '/MODE_EXIT_MAX_AC' + * Constant: '/MODE_OFF' + * Constant: '/MODE_ENTRY_STEP1_MAX_DEF' + * Constant: '/MODE_ENTRY_STEP2_MAX_DEF' + * Constant: '/MODE_ENTRY_STEP3_MAX_DEF1' + * Constant: '/MODE_EXIT_MAX_DEF' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal2' + * RelationalOperator: '/Equal3' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal2' + * RelationalOperator: '/Equal3' + * Switch: '/Switch' + * Switch: '/Switch' + * Switch: '/Switch' + */ + if (rtDW.RestMode_mode != 0) { + hvacFanPwm = rtDW.FIU_CCU1_REST.FIU_TargetTempFL_Val_ro; + rtb_Merge_np = rtDW.FIU_CCU1_REST.FIU_FootTempCorFL_Req; + rtb_Merge_h = rtDW.FIU_CCU1_REST.FIU_TargetTempFR_Val_ro; + rtb_Merge_md = rtDW.FIU_CCU1_REST.FIU_FootTempCorFR_Req; + rtb_Switch_k_FIU_CCmodeFL_Req = rtDW.FIU_CCU1_REST.FIU_CCmodeFL_Req; + rtb_Switch_k_FIU_AirDirectionFL_Def_Req = + rtDW.FIU_CCU1_REST.FIU_AirDirectionFL_Def_Req; + rtb_Switch_k_FIU_AirDirectionFL_Face_Req = + rtDW.FIU_CCU1_REST.FIU_AirDirectionFL_Face_Req; + rtb_Switch_k_FIU_AirDirectionFL_Foot_Req = + rtDW.FIU_CCU1_REST.FIU_AirDirectionFL_Foot_Req; + rtb_Switch_k_FIU_CCmodeFR_Req = rtDW.FIU_CCU1_REST.FIU_CCmodeFR_Req; + rtb_Switch_k_FIU_AirDirectionFR_Def_Req = + rtDW.FIU_CCU1_REST.FIU_AirDirectionFR_Def_Req; + rtb_Switch_k_FIU_AirDirectionFR_Face_Req = + rtDW.FIU_CCU1_REST.FIU_AirDirectionFR_Face_Req; + rtb_Switch_k_FIU_AirDirectionFR_Foot_Req = + rtDW.FIU_CCU1_REST.FIU_AirDirectionFR_Foot_Req; + rtb_Switch_k_FIU_BlowerSpeedFL_Req = + rtDW.FIU_CCU1_REST.FIU_BlowerSpeedFL_Req; + rtb_Switch_k_FIU_BlowerSpeedFR_Req = + rtDW.FIU_CCU1_REST.FIU_BlowerSpeedFR_Req; + rtb_Switch_k_FIU_CCautoModeFL_Req = + rtDW.FIU_CCU1_REST.FIU_CCautoModeFL_Req; + rtb_Switch_k_FIU_CCautoModeFR_Req = + rtDW.FIU_CCU1_REST.FIU_CCautoModeFR_Req; + rtb_Switch_k_FIU_Recirculation_Req = + rtDW.FIU_CCU1_REST.FIU_Recirculation_Req; + rtb_Switch_k_FIU_DeflectorSwDL_Req = + rtDW.FIU_CCU1_REST.FIU_DeflectorSwDL_Req; + rtb_Switch_k_FIU_DeflectorSwDR_Req = + rtDW.FIU_CCU1_REST.FIU_DeflectorSwDR_Req; + rtb_Switch_k_FIU_ACfrontOFF_Req = rtDW.FIU_CCU1_REST.FIU_ACfrontOFF_Req; + rtb_Switch_k_FIU_DeflectorSwFPL_Req = + rtDW.FIU_CCU1_REST.FIU_DeflectorSwFPL_Req; + rtb_Switch_k_FIU_DeflectorSwFPR_Req = + rtDW.FIU_CCU1_REST.FIU_DeflectorSwFPR_Req; + rtb_Switch_k_FIU_FrontZoneSync_Req = + rtDW.FIU_CCU1_REST.FIU_FrontZoneSync_Req; + } else if (rtDW.EAC_OR_FIRE_mode != 0) { + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read2' + * Switch: '/Switch' + */ + hvacFanPwm = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_TargetTempFL_Val_ro; + rtb_Merge_np = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_FootTempCorFL_Req; + rtb_Merge_h = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_TargetTempFR_Val_ro; + rtb_Merge_md = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_FootTempCorFR_Req; + rtb_Switch_k_FIU_CCmodeFL_Req = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_CCmodeFL_Req; + rtb_Switch_k_FIU_AirDirectionFL_Def_Req = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_AirDirectionFL_Def_Req; - rtb_Switch_f_FIU_AirDirectionFL_Face_Req = + rtb_Switch_k_FIU_AirDirectionFL_Face_Req = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_AirDirectionFL_Face_Req; - rtb_Switch_f_FIU_AirDirectionFL_Foot_Req = + rtb_Switch_k_FIU_AirDirectionFL_Foot_Req = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_AirDirectionFL_Foot_Req; - rtb_Switch_f_FIU_CCmodeFR_Req = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_CCmodeFR_Req; - rtb_Switch_f_FIU_AirDirectionFR_Def_Req = + rtb_Switch_k_FIU_CCmodeFR_Req = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_CCmodeFR_Req; + rtb_Switch_k_FIU_AirDirectionFR_Def_Req = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_AirDirectionFR_Def_Req; - rtb_Switch_f_FIU_AirDirectionFR_Face_Req = + rtb_Switch_k_FIU_AirDirectionFR_Face_Req = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_AirDirectionFR_Face_Req; - min_center_L = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_AirDirectionFR_Foot_Req; - max_center_L = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_BlowerSpeedFL_Req; - min_center_R = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_BlowerSpeedFR_Req; - max_center_R = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_CCautoModeFL_Req; - min_foot_L = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_CCautoModeFR_Req; - max_foot_L = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_Recirculation_Req; - min_foot_R = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_DeflectorSwDL_Req; - max_foot_R = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_DeflectorSwDR_Req; - rtb_Switch_f_FIU_ACfrontOFF_Req = + rtb_Switch_k_FIU_AirDirectionFR_Foot_Req = + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_AirDirectionFR_Foot_Req; + rtb_Switch_k_FIU_BlowerSpeedFL_Req = + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_BlowerSpeedFL_Req; + rtb_Switch_k_FIU_BlowerSpeedFR_Req = + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_BlowerSpeedFR_Req; + rtb_Switch_k_FIU_CCautoModeFL_Req = + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_CCautoModeFL_Req; + rtb_Switch_k_FIU_CCautoModeFR_Req = + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_CCautoModeFR_Req; + rtb_Switch_k_FIU_Recirculation_Req = + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_Recirculation_Req; + rtb_Switch_k_FIU_DeflectorSwDL_Req = + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_DeflectorSwDL_Req; + rtb_Switch_k_FIU_DeflectorSwDR_Req = + rtDW.FIU_CCU1_EAC_or_FIRE.FIU_DeflectorSwDR_Req; + rtb_Switch_k_FIU_ACfrontOFF_Req = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_ACfrontOFF_Req; - rtb_Switch_f_FIU_DeflectorSwFPL_Req = + rtb_Switch_k_FIU_DeflectorSwFPL_Req = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_DeflectorSwFPL_Req; - rtb_Switch_f_FIU_DeflectorSwFPR_Req = + rtb_Switch_k_FIU_DeflectorSwFPR_Req = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_DeflectorSwFPR_Req; - rtb_Switch_f_FIU_FrontZoneSync_Req = + rtb_Switch_k_FIU_FrontZoneSync_Req = rtDW.FIU_CCU1_EAC_or_FIRE.FIU_FrontZoneSync_Req; } else if ((rtDW.Max_AC_mode == 1) || (rtDW.Max_AC_mode == 2) || (rtDW.Max_AC_mode == 3) || (rtDW.Max_AC_mode == 15)) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read2' - * Switch: '/Switch' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read2' + * Switch: '/Switch' + * Switch: '/Switch' */ - rtb_DataTypeConversion1_gy = rtDW.FIU_CCU1_MaxAC.FIU_TargetTempFL_Val_ro; - center_percent = rtDW.FIU_CCU1_MaxAC.FIU_FootTempCorFL_Req; - rtb_Merge_c5 = rtDW.FIU_CCU1_MaxAC.FIU_TargetTempFR_Val_ro; - rtb_Merge_m4 = rtDW.FIU_CCU1_MaxAC.FIU_FootTempCorFR_Req; - rtb_Switch_f_FIU_CCmodeFL_Req = rtDW.FIU_CCU1_MaxAC.FIU_CCmodeFL_Req; - rtb_Switch_f_FIU_AirDirectionFL_Def_Req = + hvacFanPwm = rtDW.FIU_CCU1_MaxAC.FIU_TargetTempFL_Val_ro; + rtb_Merge_np = rtDW.FIU_CCU1_MaxAC.FIU_FootTempCorFL_Req; + rtb_Merge_h = rtDW.FIU_CCU1_MaxAC.FIU_TargetTempFR_Val_ro; + rtb_Merge_md = rtDW.FIU_CCU1_MaxAC.FIU_FootTempCorFR_Req; + rtb_Switch_k_FIU_CCmodeFL_Req = rtDW.FIU_CCU1_MaxAC.FIU_CCmodeFL_Req; + rtb_Switch_k_FIU_AirDirectionFL_Def_Req = rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFL_Def_Req; - rtb_Switch_f_FIU_AirDirectionFL_Face_Req = + rtb_Switch_k_FIU_AirDirectionFL_Face_Req = rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFL_Face_Req; - rtb_Switch_f_FIU_AirDirectionFL_Foot_Req = + rtb_Switch_k_FIU_AirDirectionFL_Foot_Req = rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFL_Foot_Req; - rtb_Switch_f_FIU_CCmodeFR_Req = rtDW.FIU_CCU1_MaxAC.FIU_CCmodeFR_Req; - rtb_Switch_f_FIU_AirDirectionFR_Def_Req = + rtb_Switch_k_FIU_CCmodeFR_Req = rtDW.FIU_CCU1_MaxAC.FIU_CCmodeFR_Req; + rtb_Switch_k_FIU_AirDirectionFR_Def_Req = rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFR_Def_Req; - rtb_Switch_f_FIU_AirDirectionFR_Face_Req = + rtb_Switch_k_FIU_AirDirectionFR_Face_Req = rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFR_Face_Req; - min_center_L = rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFR_Foot_Req; - max_center_L = rtDW.FIU_CCU1_MaxAC.FIU_BlowerSpeedFL_Req; - min_center_R = rtDW.FIU_CCU1_MaxAC.FIU_BlowerSpeedFR_Req; - max_center_R = rtDW.FIU_CCU1_MaxAC.FIU_CCautoModeFL_Req; - min_foot_L = rtDW.FIU_CCU1_MaxAC.FIU_CCautoModeFR_Req; - max_foot_L = rtDW.FIU_CCU1_MaxAC.FIU_Recirculation_Req; - min_foot_R = rtDW.FIU_CCU1_MaxAC.FIU_DeflectorSwDL_Req; - max_foot_R = rtDW.FIU_CCU1_MaxAC.FIU_DeflectorSwDR_Req; - rtb_Switch_f_FIU_ACfrontOFF_Req = rtDW.FIU_CCU1_MaxAC.FIU_ACfrontOFF_Req; - rtb_Switch_f_FIU_DeflectorSwFPL_Req = + rtb_Switch_k_FIU_AirDirectionFR_Foot_Req = + rtDW.FIU_CCU1_MaxAC.FIU_AirDirectionFR_Foot_Req; + rtb_Switch_k_FIU_BlowerSpeedFL_Req = + rtDW.FIU_CCU1_MaxAC.FIU_BlowerSpeedFL_Req; + rtb_Switch_k_FIU_BlowerSpeedFR_Req = + rtDW.FIU_CCU1_MaxAC.FIU_BlowerSpeedFR_Req; + rtb_Switch_k_FIU_CCautoModeFL_Req = + rtDW.FIU_CCU1_MaxAC.FIU_CCautoModeFL_Req; + rtb_Switch_k_FIU_CCautoModeFR_Req = + rtDW.FIU_CCU1_MaxAC.FIU_CCautoModeFR_Req; + rtb_Switch_k_FIU_Recirculation_Req = + rtDW.FIU_CCU1_MaxAC.FIU_Recirculation_Req; + rtb_Switch_k_FIU_DeflectorSwDL_Req = + rtDW.FIU_CCU1_MaxAC.FIU_DeflectorSwDL_Req; + rtb_Switch_k_FIU_DeflectorSwDR_Req = + rtDW.FIU_CCU1_MaxAC.FIU_DeflectorSwDR_Req; + rtb_Switch_k_FIU_ACfrontOFF_Req = rtDW.FIU_CCU1_MaxAC.FIU_ACfrontOFF_Req; + rtb_Switch_k_FIU_DeflectorSwFPL_Req = rtDW.FIU_CCU1_MaxAC.FIU_DeflectorSwFPL_Req; - rtb_Switch_f_FIU_DeflectorSwFPR_Req = + rtb_Switch_k_FIU_DeflectorSwFPR_Req = rtDW.FIU_CCU1_MaxAC.FIU_DeflectorSwFPR_Req; - rtb_Switch_f_FIU_FrontZoneSync_Req = + rtb_Switch_k_FIU_FrontZoneSync_Req = rtDW.FIU_CCU1_MaxAC.FIU_FrontZoneSync_Req; } else if ((rtDW.Max_def_mode == 1) || (rtDW.Max_def_mode == 2) || (rtDW.Max_def_mode == 3) || (rtDW.Max_def_mode == 15)) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read2' - * Switch: '/Switch' - * Switch: '/Switch' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read2' + * Switch: '/Switch' + * Switch: '/Switch' + * Switch: '/Switch' */ - rtb_DataTypeConversion1_gy = rtDW.FIU_CCU1_MaxDef.FIU_TargetTempFL_Val_ro; - center_percent = rtDW.FIU_CCU1_MaxDef.FIU_FootTempCorFL_Req; - rtb_Merge_c5 = rtDW.FIU_CCU1_MaxDef.FIU_TargetTempFR_Val_ro; - rtb_Merge_m4 = rtDW.FIU_CCU1_MaxDef.FIU_FootTempCorFR_Req; - rtb_Switch_f_FIU_CCmodeFL_Req = rtDW.FIU_CCU1_MaxDef.FIU_CCmodeFL_Req; - rtb_Switch_f_FIU_AirDirectionFL_Def_Req = + hvacFanPwm = rtDW.FIU_CCU1_MaxDef.FIU_TargetTempFL_Val_ro; + rtb_Merge_np = rtDW.FIU_CCU1_MaxDef.FIU_FootTempCorFL_Req; + rtb_Merge_h = rtDW.FIU_CCU1_MaxDef.FIU_TargetTempFR_Val_ro; + rtb_Merge_md = rtDW.FIU_CCU1_MaxDef.FIU_FootTempCorFR_Req; + rtb_Switch_k_FIU_CCmodeFL_Req = rtDW.FIU_CCU1_MaxDef.FIU_CCmodeFL_Req; + rtb_Switch_k_FIU_AirDirectionFL_Def_Req = rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFL_Def_Req; - rtb_Switch_f_FIU_AirDirectionFL_Face_Req = + rtb_Switch_k_FIU_AirDirectionFL_Face_Req = rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFL_Face_Req; - rtb_Switch_f_FIU_AirDirectionFL_Foot_Req = + rtb_Switch_k_FIU_AirDirectionFL_Foot_Req = rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFL_Foot_Req; - rtb_Switch_f_FIU_CCmodeFR_Req = rtDW.FIU_CCU1_MaxDef.FIU_CCmodeFR_Req; - rtb_Switch_f_FIU_AirDirectionFR_Def_Req = + rtb_Switch_k_FIU_CCmodeFR_Req = rtDW.FIU_CCU1_MaxDef.FIU_CCmodeFR_Req; + rtb_Switch_k_FIU_AirDirectionFR_Def_Req = rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFR_Def_Req; - rtb_Switch_f_FIU_AirDirectionFR_Face_Req = + rtb_Switch_k_FIU_AirDirectionFR_Face_Req = rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFR_Face_Req; - min_center_L = rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFR_Foot_Req; - max_center_L = rtDW.FIU_CCU1_MaxDef.FIU_BlowerSpeedFL_Req; - min_center_R = rtDW.FIU_CCU1_MaxDef.FIU_BlowerSpeedFR_Req; - max_center_R = rtDW.FIU_CCU1_MaxDef.FIU_CCautoModeFL_Req; - min_foot_L = rtDW.FIU_CCU1_MaxDef.FIU_CCautoModeFR_Req; - max_foot_L = rtDW.FIU_CCU1_MaxDef.FIU_Recirculation_Req; - min_foot_R = rtDW.FIU_CCU1_MaxDef.FIU_DeflectorSwDL_Req; - max_foot_R = rtDW.FIU_CCU1_MaxDef.FIU_DeflectorSwDR_Req; - rtb_Switch_f_FIU_ACfrontOFF_Req = rtDW.FIU_CCU1_MaxDef.FIU_ACfrontOFF_Req; - rtb_Switch_f_FIU_DeflectorSwFPL_Req = + rtb_Switch_k_FIU_AirDirectionFR_Foot_Req = + rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFR_Foot_Req; + rtb_Switch_k_FIU_BlowerSpeedFL_Req = + rtDW.FIU_CCU1_MaxDef.FIU_BlowerSpeedFL_Req; + rtb_Switch_k_FIU_BlowerSpeedFR_Req = + rtDW.FIU_CCU1_MaxDef.FIU_BlowerSpeedFR_Req; + rtb_Switch_k_FIU_CCautoModeFL_Req = + rtDW.FIU_CCU1_MaxDef.FIU_CCautoModeFL_Req; + rtb_Switch_k_FIU_CCautoModeFR_Req = + rtDW.FIU_CCU1_MaxDef.FIU_CCautoModeFR_Req; + rtb_Switch_k_FIU_Recirculation_Req = + rtDW.FIU_CCU1_MaxDef.FIU_Recirculation_Req; + rtb_Switch_k_FIU_DeflectorSwDL_Req = + rtDW.FIU_CCU1_MaxDef.FIU_DeflectorSwDL_Req; + rtb_Switch_k_FIU_DeflectorSwDR_Req = + rtDW.FIU_CCU1_MaxDef.FIU_DeflectorSwDR_Req; + rtb_Switch_k_FIU_ACfrontOFF_Req = rtDW.FIU_CCU1_MaxDef.FIU_ACfrontOFF_Req; + rtb_Switch_k_FIU_DeflectorSwFPL_Req = rtDW.FIU_CCU1_MaxDef.FIU_DeflectorSwFPL_Req; - rtb_Switch_f_FIU_DeflectorSwFPR_Req = + rtb_Switch_k_FIU_DeflectorSwFPR_Req = rtDW.FIU_CCU1_MaxDef.FIU_DeflectorSwFPR_Req; - rtb_Switch_f_FIU_FrontZoneSync_Req = + rtb_Switch_k_FIU_FrontZoneSync_Req = rtDW.FIU_CCU1_MaxDef.FIU_FrontZoneSync_Req; } else { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' - * Switch: '/Switch' - * Switch: '/Switch' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' + * Switch: '/Switch' + * Switch: '/Switch' + * Switch: '/Switch' */ - rtb_DataTypeConversion1_gy = rtDW.FIU_CCU1_MODEL.FIU_TargetTempFL_Val_ro; - center_percent = rtDW.FIU_CCU1_MODEL.FIU_FootTempCorFL_Req; - rtb_Merge_c5 = rtDW.FIU_CCU1_MODEL.FIU_TargetTempFR_Val_ro; - rtb_Merge_m4 = rtDW.FIU_CCU1_MODEL.FIU_FootTempCorFR_Req; - rtb_Switch_f_FIU_CCmodeFL_Req = rtDW.FIU_CCU1_MODEL.FIU_CCmodeFL_Req; - rtb_Switch_f_FIU_AirDirectionFL_Def_Req = + hvacFanPwm = rtDW.FIU_CCU1_MODEL.FIU_TargetTempFL_Val_ro; + rtb_Merge_np = rtDW.FIU_CCU1_MODEL.FIU_FootTempCorFL_Req; + rtb_Merge_h = rtDW.FIU_CCU1_MODEL.FIU_TargetTempFR_Val_ro; + rtb_Merge_md = rtDW.FIU_CCU1_MODEL.FIU_FootTempCorFR_Req; + rtb_Switch_k_FIU_CCmodeFL_Req = rtDW.FIU_CCU1_MODEL.FIU_CCmodeFL_Req; + rtb_Switch_k_FIU_AirDirectionFL_Def_Req = rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Def_Req; - rtb_Switch_f_FIU_AirDirectionFL_Face_Req = + rtb_Switch_k_FIU_AirDirectionFL_Face_Req = rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Face_Req; - rtb_Switch_f_FIU_AirDirectionFL_Foot_Req = + rtb_Switch_k_FIU_AirDirectionFL_Foot_Req = rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFL_Foot_Req; - rtb_Switch_f_FIU_CCmodeFR_Req = rtDW.FIU_CCU1_MODEL.FIU_CCmodeFR_Req; - rtb_Switch_f_FIU_AirDirectionFR_Def_Req = + rtb_Switch_k_FIU_CCmodeFR_Req = rtDW.FIU_CCU1_MODEL.FIU_CCmodeFR_Req; + rtb_Switch_k_FIU_AirDirectionFR_Def_Req = rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Def_Req; - rtb_Switch_f_FIU_AirDirectionFR_Face_Req = + rtb_Switch_k_FIU_AirDirectionFR_Face_Req = rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Face_Req; - min_center_L = rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Foot_Req; - max_center_L = rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFL_Req; - min_center_R = rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFR_Req; - max_center_R = rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFL_Req; - min_foot_L = rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFR_Req; - max_foot_L = rtDW.FIU_CCU1_MODEL.FIU_Recirculation_Req; - min_foot_R = rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwDL_Req; - max_foot_R = rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwDR_Req; - rtb_Switch_f_FIU_ACfrontOFF_Req = rtDW.FIU_CCU1_MODEL.FIU_ACfrontOFF_Req; - rtb_Switch_f_FIU_DeflectorSwFPL_Req = + rtb_Switch_k_FIU_AirDirectionFR_Foot_Req = + rtDW.FIU_CCU1_MODEL.FIU_AirDirectionFR_Foot_Req; + rtb_Switch_k_FIU_BlowerSpeedFL_Req = + rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFL_Req; + rtb_Switch_k_FIU_BlowerSpeedFR_Req = + rtDW.FIU_CCU1_MODEL.FIU_BlowerSpeedFR_Req; + rtb_Switch_k_FIU_CCautoModeFL_Req = + rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFL_Req; + rtb_Switch_k_FIU_CCautoModeFR_Req = + rtDW.FIU_CCU1_MODEL.FIU_CCautoModeFR_Req; + rtb_Switch_k_FIU_Recirculation_Req = + rtDW.FIU_CCU1_MODEL.FIU_Recirculation_Req; + rtb_Switch_k_FIU_DeflectorSwDL_Req = + rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwDL_Req; + rtb_Switch_k_FIU_DeflectorSwDR_Req = + rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwDR_Req; + rtb_Switch_k_FIU_ACfrontOFF_Req = rtDW.FIU_CCU1_MODEL.FIU_ACfrontOFF_Req; + rtb_Switch_k_FIU_DeflectorSwFPL_Req = rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwFPL_Req; - rtb_Switch_f_FIU_DeflectorSwFPR_Req = + rtb_Switch_k_FIU_DeflectorSwFPR_Req = rtDW.FIU_CCU1_MODEL.FIU_DeflectorSwFPR_Req; - rtb_Switch_f_FIU_FrontZoneSync_Req = + rtb_Switch_k_FIU_FrontZoneSync_Req = rtDW.FIU_CCU1_MODEL.FIU_FrontZoneSync_Req; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Outputs for Enabled SubSystem: '/Subsystem' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem' incorporates: + * EnablePort: '/Enable' */ - if (center_percent > 0) { - /* Sum: '/Plus' incorporates: - * Constant: '/Constant' - * DataStoreWrite: '/Data Store Write4' + if (rtb_Merge_np > 0) { + /* Sum: '/Plus' incorporates: + * Constant: '/Constant' + * DataStoreWrite: '/Data Store Write4' */ - rtDW.CCU_FootTempCorr_FL = (uint8_t)(center_percent - 1); + rtDW.CCU_FootTempCorr_FL = (uint8_t)(rtb_Merge_np - 1); } - /* End of Outputs for SubSystem: '/Subsystem' */ + /* End of Outputs for SubSystem: '/Subsystem' */ - /* Outputs for Enabled SubSystem: '/Subsystem1' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem1' incorporates: + * EnablePort: '/Enable' */ - if (rtb_Switch_f_FIU_CCmodeFL_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write6' + if (rtb_Switch_k_FIU_CCmodeFL_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write6' */ - rtDW.CCU_MODE_FL = (uint8_t)(rtb_Switch_f_FIU_CCmodeFL_Req > 1); + rtDW.CCU_MODE_FL = (uint8_t)(rtb_Switch_k_FIU_CCmodeFL_Req > 1); - /* If: '/If' incorporates: - * Constant: '/Constant2' - * DataStoreWrite: '/Data Store Write6' - * RelationalOperator: '/Relational Operator1' + /* 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' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.CCU_RECIRC = 2U; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ } - /* End of Outputs for SubSystem: '/Subsystem1' */ + /* End of Outputs for SubSystem: '/Subsystem1' */ - /* Outputs for Enabled SubSystem: '/Subsystem10' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem10' incorporates: + * EnablePort: '/Enable' */ - if (rtb_Switch_f_FIU_CCmodeFR_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write10' + if (rtb_Switch_k_FIU_CCmodeFR_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write10' */ - rtDW.CCU_MODE_FR = (uint8_t)(rtb_Switch_f_FIU_CCmodeFR_Req > 1); + rtDW.CCU_MODE_FR = (uint8_t)(rtb_Switch_k_FIU_CCmodeFR_Req > 1); - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/true' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/true' */ rtDW.changed_FR_params = 1U; } - /* End of Outputs for SubSystem: '/Subsystem10' */ + /* End of Outputs for SubSystem: '/Subsystem10' */ - /* Outputs for Enabled SubSystem: '/Subsystem11' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem11' incorporates: + * EnablePort: '/Enable' */ - if (rtb_Switch_f_FIU_AirDirectionFR_Def_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' + if (rtb_Switch_k_FIU_AirDirectionFR_Def_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.CCU_DEF_FL = (uint8_t)(rtb_Switch_f_FIU_AirDirectionFR_Def_Req <= 1); + rtDW.CCU_DEF_FL = (uint8_t)(rtb_Switch_k_FIU_AirDirectionFR_Def_Req <= 1); - /* DataStoreWrite: '/Data Store Write11' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.CCU_DEF_FR = rtDW.CCU_DEF_FL; - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' */ rtDW.changed_FR_params = 1U; } - /* End of Outputs for SubSystem: '/Subsystem11' */ + /* End of Outputs for SubSystem: '/Subsystem11' */ - /* Outputs for Enabled SubSystem: '/Subsystem12' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem12' incorporates: + * EnablePort: '/Enable' */ - if (rtb_Switch_f_FIU_AirDirectionFR_Face_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write12' + if (rtb_Switch_k_FIU_AirDirectionFR_Face_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write12' */ - rtDW.CCU_FACE_FR = (uint8_t)(rtb_Switch_f_FIU_AirDirectionFR_Face_Req <= 1); + rtDW.CCU_FACE_FR = (uint8_t)(rtb_Switch_k_FIU_AirDirectionFR_Face_Req <= 1); - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/true' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/true' */ rtDW.changed_FR_params = 1U; } - /* End of Outputs for SubSystem: '/Subsystem12' */ + /* End of Outputs for SubSystem: '/Subsystem12' */ - /* Outputs for Enabled SubSystem: '/Subsystem13' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem13' incorporates: + * EnablePort: '/Enable' */ - if (min_center_L > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write13' + if (rtb_Switch_k_FIU_AirDirectionFR_Foot_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write13' */ - rtDW.CCU_FOOT_FR = (uint8_t)(min_center_L <= 1); + rtDW.CCU_FOOT_FR = (uint8_t)(rtb_Switch_k_FIU_AirDirectionFR_Foot_Req <= 1); - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/true' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/true' */ rtDW.changed_FR_params = 1U; } - /* End of Outputs for SubSystem: '/Subsystem13' */ + /* End of Outputs for SubSystem: '/Subsystem13' */ - /* Outputs for Enabled SubSystem: '/Subsystem14' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem14' incorporates: + * EnablePort: '/Enable' */ - if (max_center_L > 0) { - /* Switch: '/Switch5' incorporates: - * Constant: '/blower off' - * DataStoreWrite: '/Data Store Write14' + if (rtb_Switch_k_FIU_BlowerSpeedFL_Req > 0) { + /* Switch: '/Switch5' incorporates: + * Constant: '/blower off' + * DataStoreWrite: '/Data Store Write14' */ - if (max_center_L > 7) { + if (rtb_Switch_k_FIU_BlowerSpeedFL_Req > 7) { rtDW.CCU_BLOWERS_FL = 0U; } else { - rtDW.CCU_BLOWERS_FL = max_center_L; + rtDW.CCU_BLOWERS_FL = rtb_Switch_k_FIU_BlowerSpeedFL_Req; } - /* End of Switch: '/Switch5' */ + /* End of Switch: '/Switch5' */ } - /* End of Outputs for SubSystem: '/Subsystem14' */ + /* End of Outputs for SubSystem: '/Subsystem14' */ - /* Outputs for Enabled SubSystem: '/Subsystem15' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem15' incorporates: + * EnablePort: '/Enable' */ - if (min_center_R > 0) { - /* Switch: '/Switch5' incorporates: - * Constant: '/blower off' - * DataStoreWrite: '/Data Store Write15' + if (rtb_Switch_k_FIU_BlowerSpeedFR_Req > 0) { + /* Switch: '/Switch5' incorporates: + * Constant: '/blower off' + * DataStoreWrite: '/Data Store Write15' */ - if (min_center_R > 7) { + if (rtb_Switch_k_FIU_BlowerSpeedFR_Req > 7) { rtDW.CCU_BLOWERS_FR = 0U; } else { - rtDW.CCU_BLOWERS_FR = min_center_R; + rtDW.CCU_BLOWERS_FR = rtb_Switch_k_FIU_BlowerSpeedFR_Req; } - /* End of Switch: '/Switch5' */ + /* End of Switch: '/Switch5' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/true' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/true' */ rtDW.changed_FR_params = 1U; } - /* End of Outputs for SubSystem: '/Subsystem15' */ + /* End of Outputs for SubSystem: '/Subsystem15' */ - /* Outputs for Enabled SubSystem: '/Subsystem16' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem16' incorporates: + * EnablePort: '/Enable' */ - if (max_center_R > 0) { - /* Saturate: '/Saturation' */ - if (max_center_R <= 5) { - rtDW.CCU_AUTOMODE_FL = max_center_R; + if (rtb_Switch_k_FIU_CCautoModeFL_Req > 0) { + /* Saturate: '/Saturation' */ + if (rtb_Switch_k_FIU_CCautoModeFL_Req <= 5) { + rtDW.CCU_AUTOMODE_FL = rtb_Switch_k_FIU_CCautoModeFL_Req; } else { rtDW.CCU_AUTOMODE_FL = 5U; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ } - /* End of Outputs for SubSystem: '/Subsystem16' */ + /* End of Outputs for SubSystem: '/Subsystem16' */ - /* Outputs for Enabled SubSystem: '/Subsystem17' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem17' incorporates: + * EnablePort: '/Enable' */ - if (min_foot_L > 0) { - /* Saturate: '/Saturation' */ - if (min_foot_L <= 5) { - rtDW.CCU_AUTOMODE_FR = min_foot_L; + if (rtb_Switch_k_FIU_CCautoModeFR_Req > 0) { + /* Saturate: '/Saturation' */ + if (rtb_Switch_k_FIU_CCautoModeFR_Req <= 5) { + rtDW.CCU_AUTOMODE_FR = rtb_Switch_k_FIU_CCautoModeFR_Req; } else { rtDW.CCU_AUTOMODE_FR = 5U; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/true' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/true' */ rtDW.changed_FR_params = 1U; } - /* End of Outputs for SubSystem: '/Subsystem17' */ + /* End of Outputs for SubSystem: '/Subsystem17' */ - /* Outputs for Enabled SubSystem: '/Subsystem18' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem18' incorporates: + * EnablePort: '/Enable' */ - if (max_foot_L > 0) { - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * DataStoreWrite: '/Data Store Write19' + if (rtb_Switch_k_FIU_Recirculation_Req > 0) { + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * DataStoreWrite: '/Data Store Write19' */ - switch (max_foot_L) { + switch (rtb_Switch_k_FIU_Recirculation_Req) { case 1: rtDW.CCU_RECIRC = 1U; break; @@ -43546,344 +46066,938 @@ void HVAC_model_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ } - /* End of Outputs for SubSystem: '/Subsystem18' */ + /* End of Outputs for SubSystem: '/Subsystem18' */ - /* Outputs for Enabled SubSystem: '/Subsystem19' incorporates: + /* Outputs for Enabled SubSystem: '/Subsystem19' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_k_FIU_DeflectorSwDL_Req > 0) { + /* Switch: '/Switch' incorporates: + * Constant: '/no LED' + * DataStoreWrite: '/Data Store Write1' + */ + if (rtb_Switch_k_FIU_DeflectorSwDL_Req > 3) { + rtDW.DRS_SFL = 0U; + } else { + rtDW.DRS_SFL = rtb_Switch_k_FIU_DeflectorSwDL_Req; + } + + /* End of Switch: '/Switch' */ + } + + /* End of Outputs for SubSystem: '/Subsystem19' */ + + /* Outputs for Enabled SubSystem: '/Subsystem20' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_k_FIU_DeflectorSwDR_Req > 0) { + /* Switch: '/Switch' incorporates: + * Constant: '/no LED' + * DataStoreWrite: '/Data Store Write1' + */ + if (rtb_Switch_k_FIU_DeflectorSwDR_Req > 3) { + rtDW.DRS_SFR = 0U; + } else { + rtDW.DRS_SFR = rtb_Switch_k_FIU_DeflectorSwDR_Req; + } + + /* End of Switch: '/Switch' */ + } + + /* End of Outputs for SubSystem: '/Subsystem20' */ + + /* Outputs for Enabled SubSystem: '/Subsystem21' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_k_FIU_ACfrontOFF_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write22' + */ + rtDW.CCU_AC_FRONT = (uint8_t)(rtb_Switch_k_FIU_ACfrontOFF_Req <= 1); + } + + /* End of Outputs for SubSystem: '/Subsystem21' */ + + /* Outputs for Enabled SubSystem: '/Subsystem22' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_k_FIU_DeflectorSwFPL_Req > 0) { + /* Switch: '/Switch' incorporates: + * Constant: '/no LED' + * DataStoreWrite: '/Data Store Write23' + */ + if (rtb_Switch_k_FIU_DeflectorSwFPL_Req > 3) { + rtDW.DRS_CFL = 0U; + } else { + rtDW.DRS_CFL = rtb_Switch_k_FIU_DeflectorSwFPL_Req; + } + + /* End of Switch: '/Switch' */ + } + + /* End of Outputs for SubSystem: '/Subsystem22' */ + + /* Outputs for Enabled SubSystem: '/Subsystem23' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_k_FIU_DeflectorSwFPR_Req > 0) { + /* Switch: '/Switch' incorporates: + * Constant: '/no LED' + * DataStoreWrite: '/Data Store Write24' + */ + if (rtb_Switch_k_FIU_DeflectorSwFPR_Req > 3) { + rtDW.DRS_CFR = 0U; + } else { + rtDW.DRS_CFR = rtb_Switch_k_FIU_DeflectorSwFPR_Req; + } + + /* End of Switch: '/Switch' */ + } + + /* End of Outputs for SubSystem: '/Subsystem23' */ + + /* Outputs for Enabled SubSystem: '/Subsystem24' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_k_FIU_FrontZoneSync_Req > 0) { + /* If: '/If' */ + if (rtb_Switch_k_FIU_FrontZoneSync_Req == 1) { + /* Outputs for IfAction SubSystem: '/sync front action' incorporates: + * ActionPort: '/Action Port' + */ + /* DataStoreWrite: '/Data Store Write18' incorporates: + * Constant: '/on' + */ + rtDW.enable_front_sync = 1U; + + /* End of Outputs for SubSystem: '/sync front action' */ + } else if (rtb_Switch_k_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 (rtb_Switch_k_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 (rtb_Merge_md > 0) { + /* Sum: '/Plus' incorporates: + * Constant: '/Constant' + * DataStoreWrite: '/Data Store Write5' + */ + rtDW.CCU_SET_FOOT_FR = (uint8_t)(rtb_Merge_md - 1); + } + + /* End of Outputs for SubSystem: '/Subsystem4' */ + + /* Outputs for Enabled SubSystem: '/Subsystem5' incorporates: + * EnablePort: '/Enable' + */ + if (hvacFanPwm > 0) { + /* Gain: '/Gain1' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + */ + rtb_area_R_o = (0.5 * (double)hvacFanPwm + 15.5) * 10.0; + + /* DataTypeConversion: '/Data Type Conversion1' */ + rtb_out_kez = (uint16_t)rtb_area_R_o; + + /* Saturate: '/Saturation' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + if ((uint16_t)rtb_area_R_o > 300) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_FL = 300U; + } else { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_FL = (uint16_t)rtb_area_R_o; + } + + /* End of Saturate: '/Saturation' */ + } + + /* End of Outputs for SubSystem: '/Subsystem5' */ + + /* Outputs for Enabled SubSystem: '/Subsystem6' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Merge_h > 0) { + /* Gain: '/Gain1' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + */ + rtb_area_R_o = (0.5 * (double)rtb_Merge_h + 15.5) * 10.0; + + /* DataTypeConversion: '/Data Type Conversion1' */ + rtb_out_kez = (uint16_t)rtb_area_R_o; + + /* Saturate: '/Saturation' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + if ((uint16_t)rtb_area_R_o > 300) { + rtDW.CCU_SET_FR = 300U; + } else { + rtDW.CCU_SET_FR = (uint16_t)rtb_area_R_o; + } + + /* End of Saturate: '/Saturation' */ + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/true' + */ + rtDW.changed_FR_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem6' */ + + /* Outputs for Enabled SubSystem: '/Subsystem7' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_k_FIU_AirDirectionFL_Def_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_DEF_FR = (uint8_t)(rtb_Switch_k_FIU_AirDirectionFL_Def_Req <= 1); + + /* DataStoreWrite: '/Data Store Write7' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_DEF_FL = rtDW.CCU_DEF_FR; + } + + /* End of Outputs for SubSystem: '/Subsystem7' */ + + /* Outputs for Enabled SubSystem: '/Subsystem8' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_k_FIU_AirDirectionFL_Face_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write8' + */ + rtDW.CCU_FACE_FL = (uint8_t)(rtb_Switch_k_FIU_AirDirectionFL_Face_Req <= 1); + } + + /* End of Outputs for SubSystem: '/Subsystem8' */ + + /* Outputs for Enabled SubSystem: '/Subsystem9' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_k_FIU_AirDirectionFL_Foot_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write9' + */ + rtDW.CCU_FOOT_FL = (uint8_t)(rtb_Switch_k_FIU_AirDirectionFL_Foot_Req <= 1); + } + + /* End of Outputs for SubSystem: '/Subsystem9' */ + + /* Switch: '/Switch' incorporates: + * Constant: '/MODE_OFF' + * Constant: '/MODE_OFF' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Equal1' + * SignalConversion generated from: '/Bus Selector' + * Switch: '/Switch' + * Switch: '/Switch' + */ + if (rtDW.RestMode_mode != 0) { + hvacFanPwm = rtDW.FIU_CCU2_REST.FIU_TargetTempRL_Val_ro; + rtb_Merge_np = rtDW.FIU_CCU2_REST.FIU_FootTempCorRL_Req; + rtb_Merge_h = rtDW.FIU_CCU2_REST.FIU_TargetTempRR_Val_ro; + rtb_Merge_md = rtDW.FIU_CCU2_REST.FIU_FootTempCorRR_Req; + rtb_Switch_k_FIU_CCmodeFL_Req = rtDW.FIU_CCU2_REST.FIU_CCmodeRL_Req; + rtb_Switch_k_FIU_AirDirectionFL_Def_Req = + rtDW.FIU_CCU2_REST.FIU_AirDirectionRL_Def_Req; + rtb_Switch_k_FIU_AirDirectionFL_Face_Req = + rtDW.FIU_CCU2_REST.FIU_AirDirectionRL_Face_Req; + rtb_Switch_k_FIU_AirDirectionFL_Foot_Req = + rtDW.FIU_CCU2_REST.FIU_AirDirectionRL_Foot_Req; + rtb_Switch_k_FIU_CCmodeFR_Req = rtDW.FIU_CCU2_REST.FIU_CCmodeRR_Req; + rtb_Switch_k_FIU_AirDirectionFR_Def_Req = + rtDW.FIU_CCU2_REST.FIU_AirDirectionRR_Def_Req; + rtb_Switch_k_FIU_AirDirectionFR_Face_Req = + rtDW.FIU_CCU2_REST.FIU_AirDirectionRR_Face_Req; + rtb_Switch_k_FIU_AirDirectionFR_Foot_Req = + rtDW.FIU_CCU2_REST.FIU_AirDirectionRR_Foot_Req; + rtb_Switch_k_FIU_BlowerSpeedFL_Req = + rtDW.FIU_CCU2_REST.FIU_BlowerSpeedRL_Req; + rtb_Switch_k_FIU_BlowerSpeedFR_Req = + rtDW.FIU_CCU2_REST.FIU_BlowerSpeedRR_Req; + rtb_Switch_k_FIU_CCautoModeFL_Req = + rtDW.FIU_CCU2_REST.FIU_CCautoModeRL_Req; + rtb_Switch_k_FIU_CCautoModeFR_Req = + rtDW.FIU_CCU2_REST.FIU_CCautoModeRR_Req; + rtb_Switch_k_FIU_Recirculation_Req = + rtDW.FIU_CCU2_REST.FIU_DeflectorSwRLB_Req; + rtb_Switch_k_FIU_DeflectorSwDL_Req = + rtDW.FIU_CCU2_REST.FIU_DeflectorSwFCL_Req; + rtb_Switch_k_FIU_DeflectorSwDR_Req = rtDW.FIU_CCU2_REST.FIU_ACrearOFF_Req; + rtb_Switch_k_FIU_ACfrontOFF_Req = + rtDW.FIU_CCU2_REST.FIU_DeflectorSwFCR_Req; + rtb_Switch_k_FIU_DeflectorSwFPL_Req = + rtDW.FIU_CCU2_REST.FIU_DeflectorSwRRB_Req; + rtb_Switch_k_FIU_DeflectorSwFPR_Req = + rtDW.FIU_CCU2_REST.FIU_RearZoneSync_Req; + } else if (rtDW.EAC_OR_FIRE_mode != 0) { + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read2' + * Switch: '/Switch' + */ + hvacFanPwm = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_TargetTempRL_Val_ro; + rtb_Merge_np = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_FootTempCorRL_Req; + rtb_Merge_h = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_TargetTempRR_Val_ro; + rtb_Merge_md = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_FootTempCorRR_Req; + rtb_Switch_k_FIU_CCmodeFL_Req = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_CCmodeRL_Req; + rtb_Switch_k_FIU_AirDirectionFL_Def_Req = + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_AirDirectionRL_Def_Req; + rtb_Switch_k_FIU_AirDirectionFL_Face_Req = + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_AirDirectionRL_Face_Req; + rtb_Switch_k_FIU_AirDirectionFL_Foot_Req = + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_AirDirectionRL_Foot_Req; + rtb_Switch_k_FIU_CCmodeFR_Req = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_CCmodeRR_Req; + rtb_Switch_k_FIU_AirDirectionFR_Def_Req = + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_AirDirectionRR_Def_Req; + rtb_Switch_k_FIU_AirDirectionFR_Face_Req = + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_AirDirectionRR_Face_Req; + rtb_Switch_k_FIU_AirDirectionFR_Foot_Req = + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_AirDirectionRR_Foot_Req; + rtb_Switch_k_FIU_BlowerSpeedFL_Req = + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_BlowerSpeedRL_Req; + rtb_Switch_k_FIU_BlowerSpeedFR_Req = + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_BlowerSpeedRR_Req; + rtb_Switch_k_FIU_CCautoModeFL_Req = + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_CCautoModeRL_Req; + rtb_Switch_k_FIU_CCautoModeFR_Req = + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_CCautoModeRR_Req; + rtb_Switch_k_FIU_Recirculation_Req = + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_DeflectorSwRLB_Req; + rtb_Switch_k_FIU_DeflectorSwDL_Req = + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_DeflectorSwFCL_Req; + rtb_Switch_k_FIU_DeflectorSwDR_Req = + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_ACrearOFF_Req; + rtb_Switch_k_FIU_ACfrontOFF_Req = + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_DeflectorSwFCR_Req; + rtb_Switch_k_FIU_DeflectorSwFPL_Req = + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_DeflectorSwRRB_Req; + rtb_Switch_k_FIU_DeflectorSwFPR_Req = + rtDW.FIU_CCU2_EAC_or_FIRE.FIU_RearZoneSync_Req; + } else { + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read2' + * Switch: '/Switch' + */ + hvacFanPwm = rtDW.FIU_CCU2_MODEL.FIU_TargetTempRL_Val_ro; + rtb_Merge_np = rtDW.FIU_CCU2_MODEL.FIU_FootTempCorRL_Req; + rtb_Merge_h = rtDW.FIU_CCU2_MODEL.FIU_TargetTempRR_Val_ro; + rtb_Merge_md = rtDW.FIU_CCU2_MODEL.FIU_FootTempCorRR_Req; + rtb_Switch_k_FIU_CCmodeFL_Req = rtDW.FIU_CCU2_MODEL.FIU_CCmodeRL_Req; + rtb_Switch_k_FIU_AirDirectionFL_Def_Req = + rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Def_Req; + rtb_Switch_k_FIU_AirDirectionFL_Face_Req = + rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Face_Req; + rtb_Switch_k_FIU_AirDirectionFL_Foot_Req = + rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Foot_Req; + rtb_Switch_k_FIU_CCmodeFR_Req = rtDW.FIU_CCU2_MODEL.FIU_CCmodeRR_Req; + rtb_Switch_k_FIU_AirDirectionFR_Def_Req = + rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Def_Req; + rtb_Switch_k_FIU_AirDirectionFR_Face_Req = + rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Face_Req; + rtb_Switch_k_FIU_AirDirectionFR_Foot_Req = + rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Foot_Req; + rtb_Switch_k_FIU_BlowerSpeedFL_Req = + rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRL_Req; + rtb_Switch_k_FIU_BlowerSpeedFR_Req = + rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRR_Req; + rtb_Switch_k_FIU_CCautoModeFL_Req = + rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRL_Req; + rtb_Switch_k_FIU_CCautoModeFR_Req = + rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRR_Req; + rtb_Switch_k_FIU_Recirculation_Req = + rtDW.FIU_CCU2_MODEL.FIU_DeflectorSwRLB_Req; + rtb_Switch_k_FIU_DeflectorSwDL_Req = + rtDW.FIU_CCU2_MODEL.FIU_DeflectorSwFCL_Req; + rtb_Switch_k_FIU_DeflectorSwDR_Req = rtDW.FIU_CCU2_MODEL.FIU_ACrearOFF_Req; + rtb_Switch_k_FIU_ACfrontOFF_Req = + rtDW.FIU_CCU2_MODEL.FIU_DeflectorSwFCR_Req; + rtb_Switch_k_FIU_DeflectorSwFPL_Req = + rtDW.FIU_CCU2_MODEL.FIU_DeflectorSwRRB_Req; + rtb_Switch_k_FIU_DeflectorSwFPR_Req = + rtDW.FIU_CCU2_MODEL.FIU_RearZoneSync_Req; + } + + /* End of Switch: '/Switch' */ + + /* Outputs for Enabled SubSystem: '/Subsystem2' incorporates: + * EnablePort: '/Enable' + */ + if (hvacFanPwm > 0) { + /* Gain: '/Gain1' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + */ + rtb_area_R_o = (0.5 * (double)hvacFanPwm + 15.5) * 10.0; + + /* DataTypeConversion: '/Data Type Conversion1' */ + rtb_out_kez = (uint16_t)rtb_area_R_o; + + /* Saturate: '/Saturation' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + if ((uint16_t)rtb_area_R_o > 300) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_RL = 300U; + } else { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_RL = (uint16_t)rtb_area_R_o; + } + + /* End of Saturate: '/Saturation' */ + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RL_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem2' */ + + /* Outputs for Enabled SubSystem: '/Subsystem25' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Merge_np > 0) { + /* Sum: '/Plus' incorporates: + * Constant: '/Constant' + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_SET_FOOT_RL = (uint8_t)(rtb_Merge_np - 1); + } + + /* End of Outputs for SubSystem: '/Subsystem25' */ + + /* Outputs for Enabled SubSystem: '/Subsystem26' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Merge_md > 0) { + /* Sum: '/Plus' incorporates: + * Constant: '/Constant' + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_SET_FOOT_RR = (uint8_t)(rtb_Merge_md - 1); + } + + /* End of Outputs for SubSystem: '/Subsystem26' */ + + /* Outputs for Enabled SubSystem: '/Subsystem27' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_k_FIU_CCmodeFL_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_MODE_RL = (uint8_t)(rtb_Switch_k_FIU_CCmodeFL_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 (rtb_Switch_k_FIU_AirDirectionFL_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 (rtb_Switch_k_FIU_AirDirectionFL_Face_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_FACE_RL = (uint8_t)(rtb_Switch_k_FIU_AirDirectionFL_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 (rtb_Merge_h > 0) { + /* Gain: '/Gain1' incorporates: + * Bias: '/Bias' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + */ + rtb_area_R_o = (0.5 * (double)rtb_Merge_h + 15.5) * 10.0; + + /* DataTypeConversion: '/Data Type Conversion1' */ + rtb_out_kez = (uint16_t)rtb_area_R_o; + + /* Saturate: '/Saturation' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + if ((uint16_t)rtb_area_R_o > 300) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_RR = 300U; + } else { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_RR = (uint16_t)rtb_area_R_o; + } + + /* End of Saturate: '/Saturation' */ + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RR_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem3' */ + + /* Outputs for Enabled SubSystem: '/Subsystem30' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_k_FIU_AirDirectionFL_Foot_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_FOOT_RL = (uint8_t)(rtb_Switch_k_FIU_AirDirectionFL_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 (rtb_Switch_k_FIU_CCmodeFR_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_MODE_RR = (uint8_t)(rtb_Switch_k_FIU_CCmodeFR_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 (rtb_Switch_k_FIU_AirDirectionFR_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 (rtb_Switch_k_FIU_AirDirectionFR_Face_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_FACE_RR = (uint8_t)(rtb_Switch_k_FIU_AirDirectionFR_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 (rtb_Switch_k_FIU_AirDirectionFR_Foot_Req > 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.CCU_FOOT_RR = (uint8_t)(rtb_Switch_k_FIU_AirDirectionFR_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 (rtb_Switch_k_FIU_BlowerSpeedFL_Req > 0) { + /* Switch: '/Switch5' incorporates: + * Constant: '/blower off' + * DataStoreWrite: '/Data Store Write1' + */ + if (rtb_Switch_k_FIU_BlowerSpeedFL_Req > 7) { + rtDW.CCU_BLOWERS_RL = 0U; + } else { + rtDW.CCU_BLOWERS_RL = rtb_Switch_k_FIU_BlowerSpeedFL_Req; + } + + /* End of Switch: '/Switch5' */ + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RL_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem35' */ + + /* Outputs for Enabled SubSystem: '/Subsystem36' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_k_FIU_BlowerSpeedFR_Req > 0) { + /* Switch: '/Switch5' incorporates: + * Constant: '/blower off' + * DataStoreWrite: '/Data Store Write1' + */ + if (rtb_Switch_k_FIU_BlowerSpeedFR_Req > 7) { + rtDW.CCU_BLOWERS_RR = 0U; + } else { + rtDW.CCU_BLOWERS_RR = rtb_Switch_k_FIU_BlowerSpeedFR_Req; + } + + /* End of Switch: '/Switch5' */ + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RR_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem36' */ + + /* Outputs for Enabled SubSystem: '/Subsystem37' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_k_FIU_CCautoModeFL_Req > 0) { + /* Saturate: '/Saturation' */ + if (rtb_Switch_k_FIU_CCautoModeFL_Req <= 5) { + rtDW.CCU_AUTOMODE_RL = rtb_Switch_k_FIU_CCautoModeFL_Req; + } else { + rtDW.CCU_AUTOMODE_RL = 5U; + } + + /* End of Saturate: '/Saturation' */ + } + + /* End of Outputs for SubSystem: '/Subsystem37' */ + + /* Outputs for Enabled SubSystem: '/Subsystem38' incorporates: + * EnablePort: '/Enable' + */ + if (rtb_Switch_k_FIU_CCautoModeFR_Req > 0) { + /* Saturate: '/Saturation' */ + if (rtb_Switch_k_FIU_CCautoModeFR_Req <= 5) { + rtDW.CCU_AUTOMODE_RR = rtb_Switch_k_FIU_CCautoModeFR_Req; + } else { + rtDW.CCU_AUTOMODE_RR = 5U; + } + + /* End of Saturate: '/Saturation' */ + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RR_params = 1U; + } + + /* End of Outputs for SubSystem: '/Subsystem38' */ + + /* Outputs for Enabled SubSystem: '/Subsystem39' incorporates: * EnablePort: '/Enable' */ - if (min_foot_R > 0) { + if (rtb_Switch_k_FIU_Recirculation_Req > 0) { /* Switch: '/Switch' incorporates: * Constant: '/no LED' * DataStoreWrite: '/Data Store Write1' */ - if (min_foot_R > 3) { - rtDW.DRS_SFL = 0U; + if (rtb_Switch_k_FIU_Recirculation_Req > 3) { + rtDW.DRS_SRL = 0U; } else { - rtDW.DRS_SFL = min_foot_R; + rtDW.DRS_SRL = rtb_Switch_k_FIU_Recirculation_Req; } /* End of Switch: '/Switch' */ } - /* End of Outputs for SubSystem: '/Subsystem19' */ + /* End of Outputs for SubSystem: '/Subsystem39' */ - /* Outputs for Enabled SubSystem: '/Subsystem20' incorporates: + /* Outputs for Enabled SubSystem: '/Subsystem40' incorporates: * EnablePort: '/Enable' */ - if (max_foot_R > 0) { + if (rtb_Switch_k_FIU_DeflectorSwDL_Req > 0) { /* Switch: '/Switch' incorporates: * Constant: '/no LED' * DataStoreWrite: '/Data Store Write1' */ - if (max_foot_R > 3) { - rtDW.DRS_SFR = 0U; + if (rtb_Switch_k_FIU_DeflectorSwDL_Req > 3) { + rtDW.DRS_CRL = 0U; } else { - rtDW.DRS_SFR = max_foot_R; + rtDW.DRS_CRL = rtb_Switch_k_FIU_DeflectorSwDL_Req; } /* End of Switch: '/Switch' */ } - /* End of Outputs for SubSystem: '/Subsystem20' */ + /* End of Outputs for SubSystem: '/Subsystem40' */ - /* Outputs for Enabled SubSystem: '/Subsystem21' incorporates: + /* Outputs for Enabled SubSystem: '/Subsystem41' incorporates: * EnablePort: '/Enable' */ - if (rtb_Switch_f_FIU_ACfrontOFF_Req > 0) { + if (rtb_Switch_k_FIU_DeflectorSwDR_Req > 0) { /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write22' + * DataStoreWrite: '/Data Store Write1' */ - rtDW.CCU_AC_FRONT = (uint8_t)(rtb_Switch_f_FIU_ACfrontOFF_Req <= 1); + rtDW.CCU_AC_REAR = (uint8_t)(rtb_Switch_k_FIU_DeflectorSwDR_Req <= 1); + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/true' + */ + rtDW.changed_RL_params = 1U; } - /* End of Outputs for SubSystem: '/Subsystem21' */ + /* End of Outputs for SubSystem: '/Subsystem41' */ - /* Outputs for Enabled SubSystem: '/Subsystem22' incorporates: + /* Outputs for Enabled SubSystem: '/Subsystem42' incorporates: * EnablePort: '/Enable' */ - if (rtb_Switch_f_FIU_DeflectorSwFPL_Req > 0) { + if (rtb_Switch_k_FIU_ACfrontOFF_Req > 0) { /* Switch: '/Switch' incorporates: * Constant: '/no LED' - * DataStoreWrite: '/Data Store Write23' + * DataStoreWrite: '/Data Store Write1' */ - if (rtb_Switch_f_FIU_DeflectorSwFPL_Req > 3) { - rtDW.DRS_CFL = 0U; + if (rtb_Switch_k_FIU_ACfrontOFF_Req > 3) { + rtDW.DRS_CRR = 0U; } else { - rtDW.DRS_CFL = rtb_Switch_f_FIU_DeflectorSwFPL_Req; + rtDW.DRS_CRR = rtb_Switch_k_FIU_ACfrontOFF_Req; } /* End of Switch: '/Switch' */ } - /* End of Outputs for SubSystem: '/Subsystem22' */ + /* End of Outputs for SubSystem: '/Subsystem42' */ - /* Outputs for Enabled SubSystem: '/Subsystem23' incorporates: + /* Outputs for Enabled SubSystem: '/Subsystem43' incorporates: * EnablePort: '/Enable' */ - if (rtb_Switch_f_FIU_DeflectorSwFPR_Req > 0) { + if (rtb_Switch_k_FIU_DeflectorSwFPL_Req > 0) { /* Switch: '/Switch' incorporates: * Constant: '/no LED' - * DataStoreWrite: '/Data Store Write24' + * DataStoreWrite: '/Data Store Write1' */ - if (rtb_Switch_f_FIU_DeflectorSwFPR_Req > 3) { - rtDW.DRS_CFR = 0U; + if (rtb_Switch_k_FIU_DeflectorSwFPL_Req > 3) { + rtDW.DRS_SRR = 0U; } else { - rtDW.DRS_CFR = rtb_Switch_f_FIU_DeflectorSwFPR_Req; + rtDW.DRS_SRR = rtb_Switch_k_FIU_DeflectorSwFPL_Req; } /* End of Switch: '/Switch' */ } - /* End of Outputs for SubSystem: '/Subsystem23' */ + /* End of Outputs for SubSystem: '/Subsystem43' */ - /* Outputs for Enabled SubSystem: '/Subsystem24' incorporates: + /* Outputs for Enabled SubSystem: '/Subsystem44' incorporates: * EnablePort: '/Enable' */ - if (rtb_Switch_f_FIU_FrontZoneSync_Req > 0) { + if (rtb_Switch_k_FIU_DeflectorSwFPR_Req > 0) { /* If: '/If' */ - if (rtb_Switch_f_FIU_FrontZoneSync_Req == 1) { - /* Outputs for IfAction SubSystem: '/sync front action' incorporates: - * ActionPort: '/Action Port' + if (rtb_Switch_k_FIU_DeflectorSwFPR_Req == 1) { + /* Outputs for IfAction SubSystem: '/sync rear action' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write18' incorporates: - * Constant: '/on' + /* DataStoreWrite: '/Data Store Write18' incorporates: + * Constant: '/on' */ - rtDW.enable_front_sync = 1U; + rtDW.enable_rear_sync = 1U; - /* End of Outputs for SubSystem: '/sync front action' */ - } else if (rtb_Switch_f_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; + /* MATLAB Function: '/logger' */ + /* : fprintf('Logger CAN INPUT -> sync rear ON') */ + printf("Logger CAN INPUT -> sync rear ON"); + fflush(stdout); - /* End of Outputs for SubSystem: '/full sync action' */ - } else if (rtb_Switch_f_FIU_FrontZoneSync_Req == 3) { - /* Outputs for IfAction SubSystem: '/sync off action' incorporates: - * ActionPort: '/Action Port' + /* End of Outputs for SubSystem: '/sync rear action' */ + } else if (rtb_Switch_k_FIU_DeflectorSwFPR_Req == 2) { + /* Outputs for IfAction SubSystem: '/sync off rear action' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write18' incorporates: - * Constant: '/on' + /* DataStoreWrite: '/Data Store Write18' incorporates: + * Constant: '/on' */ - rtDW.disable_front_sync = 1U; + rtDW.disable_rear_sync = 1U; - /* End of Outputs for SubSystem: '/sync off action' */ + /* 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 Outputs for SubSystem: '/Subsystem24' */ + /* End of Outputs for SubSystem: '/Subsystem44' */ + } - /* Outputs for Enabled SubSystem: '/Subsystem4' incorporates: - * EnablePort: '/Enable' - */ - if (rtb_Merge_m4 > 0) { - /* Sum: '/Plus' incorporates: - * Constant: '/Constant' - * DataStoreWrite: '/Data Store Write5' - */ - rtDW.CCU_SET_FOOT_FR = (uint8_t)(rtb_Merge_m4 - 1); - } + /* End of Logic: '/Logical Operator' */ + /* End of Outputs for SubSystem: '/FIU 1, 2 - при зажигании или REST' */ - /* End of Outputs for SubSystem: '/Subsystem4' */ - - /* Outputs for Enabled SubSystem: '/Subsystem5' incorporates: - * EnablePort: '/Enable' - */ - if (rtb_DataTypeConversion1_gy > 0) { - /* Gain: '/Gain1' incorporates: - * Bias: '/Bias' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - */ - rtb_duct_select_index_dbg_c = (0.5 * (double)rtb_DataTypeConversion1_gy + - 15.5) * 10.0; - - /* Saturate: '/Saturation' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - if ((uint16_t)rtb_duct_select_index_dbg_c > 300) { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_FL = 300U; - } else { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_FL = (uint16_t)rtb_duct_select_index_dbg_c; - } - - /* End of Saturate: '/Saturation' */ - } - - /* End of Outputs for SubSystem: '/Subsystem5' */ - - /* Outputs for Enabled SubSystem: '/Subsystem6' incorporates: - * EnablePort: '/Enable' - */ - if (rtb_Merge_c5 > 0) { - /* Gain: '/Gain1' incorporates: - * Bias: '/Bias' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - */ - rtb_duct_select_index_dbg_c = (0.5 * (double)rtb_Merge_c5 + 15.5) * 10.0; - - /* Saturate: '/Saturation' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - if ((uint16_t)rtb_duct_select_index_dbg_c > 300) { - rtDW.CCU_SET_FR = 300U; - } else { - rtDW.CCU_SET_FR = (uint16_t)rtb_duct_select_index_dbg_c; - } - - /* End of Saturate: '/Saturation' */ - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/true' - */ - rtDW.changed_FR_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem6' */ - - /* Outputs for Enabled SubSystem: '/Subsystem7' incorporates: - * EnablePort: '/Enable' - */ - if (rtb_Switch_f_FIU_AirDirectionFL_Def_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_DEF_FR = (uint8_t)(rtb_Switch_f_FIU_AirDirectionFL_Def_Req <= 1); - - /* DataStoreWrite: '/Data Store Write7' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_DEF_FL = rtDW.CCU_DEF_FR; - } - - /* End of Outputs for SubSystem: '/Subsystem7' */ - - /* Outputs for Enabled SubSystem: '/Subsystem8' incorporates: - * EnablePort: '/Enable' - */ - if (rtb_Switch_f_FIU_AirDirectionFL_Face_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write8' - */ - rtDW.CCU_FACE_FL = (uint8_t)(rtb_Switch_f_FIU_AirDirectionFL_Face_Req <= 1); - } - - /* End of Outputs for SubSystem: '/Subsystem8' */ - - /* Outputs for Enabled SubSystem: '/Subsystem9' incorporates: - * EnablePort: '/Enable' - */ - if (rtb_Switch_f_FIU_AirDirectionFL_Foot_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write9' - */ - rtDW.CCU_FOOT_FL = (uint8_t)(rtb_Switch_f_FIU_AirDirectionFL_Foot_Req <= 1); - } - - /* End of Outputs for SubSystem: '/Subsystem9' */ - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' - * Switch: '/Switch' + /* Outputs for Enabled SubSystem: '/TM_CP только при зажигании' incorporates: + * EnablePort: '/Enable' + */ + /* DataStoreRead: '/Data Store Read1' */ + if (rtDW.BCM_T15_Stat > 0) { + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' */ rtb_RelationalOperator6_f = (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_e = ((int32_t)rtb_RelationalOperator6_f > (int32_t) - rtDW.DelayInput1_DSTATE_m); + rtb_Compare_e1 = ((int32_t)rtb_RelationalOperator6_f > (int32_t) + rtDW.DelayInput1_DSTATE_en); - /* Chart: '/Defrost_Active' incorporates: - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read7' + /* Chart: '/Defrost_Active' incorporates: + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read7' */ - if (rtDW.is_active_c837_HVAC_model == 0U) { - rtDW.is_active_c837_HVAC_model = 1U; - rtDW.is_c837_HVAC_model = IN_REC_OFF; + if (rtDW.is_active_c1601_HVAC_model == 0U) { + rtDW.is_active_c1601_HVAC_model = 1U; + rtDW.is_c1601_HVAC_model = IN_REC_OFF; /* : Defrost_Active = 0; */ - rtb_DataTypeConversion1_gy = 0U; - } else if (rtDW.is_c837_HVAC_model == IN_REC_OFF) { - rtb_DataTypeConversion1_gy = 0U; + hvacFanPwm = 0U; + } else if (rtDW.is_c1601_HVAC_model == IN_REC_OFF) { + hvacFanPwm = 0U; /* : sf_internal_predicateOutput = Btn_Pulse==1 || Defrost == 1; */ - if (rtb_Compare_e || (rtDW.CCU_Defrost == 1)) { - rtDW.is_c837_HVAC_model = IN_REC_ON; + if (rtb_Compare_e1 || (rtDW.CCU_Defrost == 1)) { + rtDW.is_c1601_HVAC_model = IN_REC_ON; /* : Defrost_Active = 1; */ - rtb_DataTypeConversion1_gy = 1U; + hvacFanPwm = 1U; } } else { /* case IN_REC_ON: */ - rtb_DataTypeConversion1_gy = 1U; + hvacFanPwm = 1U; /* : sf_internal_predicateOutput = Btn_Pulse==1 || Defrost == 0 || max_AC == 1; */ - if (rtb_Compare_e || (rtDW.CCU_Defrost == 0) || (rtDW.CCU_AC_MAX == 1)) { - rtDW.is_c837_HVAC_model = IN_REC_OFF; + if (rtb_Compare_e1 || (rtDW.CCU_Defrost == 0) || (rtDW.CCU_AC_MAX == 1)) { + rtDW.is_c1601_HVAC_model = IN_REC_OFF; /* : Defrost_Active = 0; */ - rtb_DataTypeConversion1_gy = 0U; + hvacFanPwm = 0U; } } - /* End of Chart: '/Defrost_Active' */ + /* End of Chart: '/Defrost_Active' */ - /* DataStoreWrite: '/(MAX DEFrost mode request)' */ - rtDW.CCU_Defrost = rtb_DataTypeConversion1_gy; + /* DataStoreWrite: '/(MAX DEFrost mode request)' */ + rtDW.CCU_Defrost = hvacFanPwm; - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataStoreRead: '/Data Store Read11' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read11' */ rtDW.CCPF_RecButton_Stat = rtDW.TM_CP_model.CCPF_RecButton_Stat; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' */ - rtb_Compare_e = (rtDW.TM_CP_model.CCPF_FWindowHeatSw_Stat > 0); + rtb_Compare_e1 = (rtDW.TM_CP_model.CCPF_FWindowHeatSw_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_de = ((int32_t)rtb_Compare_e > (int32_t) + rtb_Compare_em = ((int32_t)rtb_Compare_e1 > (int32_t) rtDW.DelayInput1_DSTATE_g); - /* Chart: '/Front Window Heating' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* Chart: '/Front Window Heating' incorporates: + * DataStoreWrite: '/Data Store Write2' */ - if (rtDW.is_active_c262_HVAC_model == 0U) { - rtDW.is_active_c262_HVAC_model = 1U; - rtDW.is_c262_HVAC_model = IN_REC_OFF; + if (rtDW.is_active_c1602_HVAC_model == 0U) { + rtDW.is_active_c1602_HVAC_model = 1U; + rtDW.is_c1602_HVAC_model = IN_REC_OFF; /* : Front_w_heating_out = 0; */ rtDW.FrontWindowHeating_manual_on = 0U; - } else if (rtDW.is_c262_HVAC_model == IN_REC_OFF) { + } else if (rtDW.is_c1602_HVAC_model == IN_REC_OFF) { rtDW.FrontWindowHeating_manual_on = 0U; /* : sf_internal_predicateOutput = Btn_Pulse==1; */ - if (rtb_Compare_de) { - rtDW.is_c262_HVAC_model = IN_REC_ON; + if (rtb_Compare_em) { + rtDW.is_c1602_HVAC_model = IN_REC_ON; /* : Front_w_heating_out = 1; */ rtDW.FrontWindowHeating_manual_on = 1U; @@ -43893,1513 +47007,537 @@ void HVAC_model_step(void) rtDW.FrontWindowHeating_manual_on = 1U; /* : sf_internal_predicateOutput = Btn_Pulse==1; */ - if (rtb_Compare_de) { - rtDW.is_c262_HVAC_model = IN_REC_OFF; + if (rtb_Compare_em) { + rtDW.is_c1602_HVAC_model = IN_REC_OFF; /* : Front_w_heating_out = 0; */ rtDW.FrontWindowHeating_manual_on = 0U; } } - /* End of Chart: '/Front Window Heating' */ + /* End of Chart: '/Front Window Heating' */ - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' */ - rtb_Compare_de = (rtDW.TM_CP_model.CCPF_AcMaxButton_Stat > 0); + rtb_Compare_em = (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_dw = ((int32_t)rtb_Compare_de > (int32_t) - rtDW.DelayInput1_DSTATE_c); - - /* Chart: '/AC_Max_Active' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read3' - */ - 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; */ - rtb_DataTypeConversion1_gy = 1U; - } else { - rtDW.is_c782_HVAC_model = IN_AC_MAX_OFF; - - /* : AC_Max_Active = 0; */ - rtb_DataTypeConversion1_gy = 0U; - } - } else if (rtDW.is_c782_HVAC_model == IN_AC_MAX_OFF) { - rtb_DataTypeConversion1_gy = 0U; - - /* : sf_internal_predicateOutput = Btn_Pulse==1 || AC_MAX==1; */ - if (rtb_Compare_dw || (rtDW.CCU_AC_MAX == 1)) { - rtDW.is_c782_HVAC_model = IN_AC_MAX_ON; - - /* : AC_Max_Active = 1; */ - rtb_DataTypeConversion1_gy = 1U; - } - } else { - /* case IN_AC_MAX_ON: */ - rtb_DataTypeConversion1_gy = 1U; - - /* : sf_internal_predicateOutput = Btn_Pulse==1 || AC_MAX==0 || max_Def == 1; */ - if (rtb_Compare_dw || (rtDW.CCU_AC_MAX == 0) || (rtDW.CCU_Defrost == 1)) { - rtDW.is_c782_HVAC_model = IN_AC_MAX_OFF; - - /* : AC_Max_Active = 0; */ - rtb_DataTypeConversion1_gy = 0U; - } - } - - /* End of Chart: '/AC_Max_Active' */ - - /* DataStoreWrite: '/Data Store Write10' */ - rtDW.CCU_AC_MAX = rtb_DataTypeConversion1_gy; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' - */ - rtb_Compare_dw = (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_pm = ((int32_t)rtb_Compare_dw > (int32_t) - rtDW.DelayInput1_DSTATE_ic); - - /* Chart: '/Full_Rec_Active' incorporates: - * DataStoreRead: '/Data Store Read4' - */ - if (rtDW.is_active_c836_HVAC_model == 0U) { - rtDW.is_active_c836_HVAC_model = 1U; - rtDW.is_c836_HVAC_model = IN_REC_OFF; - - /* : Full_Rec_Active = 0; */ - rtb_DataTypeConversion1_gy = 0U; - } else if (rtDW.is_c836_HVAC_model == IN_REC_OFF) { - rtb_DataTypeConversion1_gy = 0U; - - /* : sf_internal_predicateOutput = Btn_Pulse==1 || Full_Rec==1; */ - if (rtb_Compare_pm || (rtDW.Full_Rec == 1)) { - rtDW.is_c836_HVAC_model = IN_REC_ON; - - /* : Full_Rec_Active = 1; */ - rtb_DataTypeConversion1_gy = 1U; - } - } else { - /* case IN_REC_ON: */ - rtb_DataTypeConversion1_gy = 1U; - - /* : sf_internal_predicateOutput = Btn_Pulse==1 || Full_Rec==0; */ - if (rtb_Compare_pm || (rtDW.Full_Rec == 0)) { - rtDW.is_c836_HVAC_model = IN_REC_OFF; - - /* : Full_Rec_Active = 0; */ - rtb_DataTypeConversion1_gy = 0U; - } - } - - /* End of Chart: '/Full_Rec_Active' */ - - /* DataStoreWrite: '/Data Store Write9' */ - rtDW.Full_Rec = rtb_DataTypeConversion1_gy; - - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' - */ - rtb_Compare_pm = (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_pm > (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_le = (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_le > (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_a = (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_a > (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_ds = (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_ds > (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_ls = (rtDW.TM_CP_model.CCPF_TempToggleL_Stat > 0); - - /* If: '/If1' incorporates: - * RelationalOperator: '/FixPt Relational Operator' + /* RelationalOperator: '/FixPt Relational Operator' incorporates: * UnitDelay: '/Delay Input1' * * Block description for '/Delay Input1': * * Store in Global RAM */ - if ((int32_t)rtb_Compare_ls > (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: '/Saturation' - * 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: '/Saturation' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * Sum: '/Add' - */ - if ((uint16_t)(rtDW.CCU_SET_FL + 5U) > 300) { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_FL = 300U; - } else if ((uint16_t)(rtDW.CCU_SET_FL + 5U) < 160) { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_FL = 160U; - } else { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_FL = (uint16_t)(rtDW.CCU_SET_FL + 5U); - } + rtb_Compare_d1 = ((int32_t)rtb_Compare_em > (int32_t) + rtDW.DelayInput1_DSTATE_bu); - /* End of Saturate: '/Saturation' */ + /* Chart: '/AC_Max_Active' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read3' + */ + if (rtDW.is_active_c1600_HVAC_model == 0U) { + rtDW.is_active_c1600_HVAC_model = 1U; - /* 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; + /* : sf_internal_predicateOutput = AC_MAX==1; */ + if (rtDW.CCU_AC_MAX == 1) { + rtDW.is_c1600_HVAC_model = IN_AC_MAX_ON; - /* 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' */ + /* : AC_Max_Active = 1; */ + hvacFanPwm = 1U; } else { - /* Outputs for IfAction SubSystem: '/temp down' incorporates: - * ActionPort: '/Action Port' - */ - if ((uint16_t)(rtDW.CCU_SET_FL - 5) > 300) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Saturate: '/Saturation' - */ - rtDW.CCU_SET_FL = 300U; - } else if ((uint16_t)(rtDW.CCU_SET_FL - 5) < 160) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Saturate: '/Saturation' - */ - rtDW.CCU_SET_FL = 160U; - } else { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * Saturate: '/Saturation' - * Sum: '/Sum' - */ - rtDW.CCU_SET_FL = (uint16_t)(rtDW.CCU_SET_FL - 5); - } + rtDW.is_c1600_HVAC_model = IN_AC_MAX_OFF; - /* If: '/If' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * DataStoreWrite: '/Data Store Write13' - * Saturate: '/Saturation' - * 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' */ + /* : AC_Max_Active = 0; */ + hvacFanPwm = 0U; } + } else if (rtDW.is_c1600_HVAC_model == IN_AC_MAX_OFF) { + hvacFanPwm = 0U; - /* End of If: '/If5' */ - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* : sf_internal_predicateOutput = Btn_Pulse==1 || AC_MAX==1; */ + if (rtb_Compare_d1 || (rtDW.CCU_AC_MAX == 1)) { + rtDW.is_c1600_HVAC_model = IN_AC_MAX_ON; + + /* : AC_Max_Active = 1; */ + hvacFanPwm = 1U; + } + } else { + /* case IN_AC_MAX_ON: */ + hvacFanPwm = 1U; + + /* : sf_internal_predicateOutput = Btn_Pulse==1 || AC_MAX==0 || max_Def == 1; */ + if (rtb_Compare_d1 || (rtDW.CCU_AC_MAX == 0) || (rtDW.CCU_Defrost == 1)) { + rtDW.is_c1600_HVAC_model = IN_AC_MAX_OFF; + + /* : AC_Max_Active = 0; */ + hvacFanPwm = 0U; + } } - /* End of If: '/If1' */ + /* End of Chart: '/AC_Max_Active' */ - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' + /* DataStoreWrite: '/Data Store Write10' */ + rtDW.CCU_AC_MAX = hvacFanPwm; + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' */ - rtb_Compare_bt = (rtDW.TM_CP_model.CCPF_TempToggleR_Stat > 0); + rtb_Compare_d1 = (rtDW.TM_CP_model.CCPF_RecButton_Stat > 0); - /* If: '/If1' incorporates: - * RelationalOperator: '/FixPt Relational Operator' - * 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 */ - if ((int32_t)rtb_Compare_bt > (int32_t)rtDW.DelayInput1_DSTATE_j) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + rtb_Compare_mk = ((int32_t)rtb_Compare_d1 > (int32_t) + rtDW.DelayInput1_DSTATE_c); + + /* Chart: '/Full_Rec_Active' incorporates: + * DataStoreRead: '/Data Store Read4' + */ + if (rtDW.is_active_c1603_HVAC_model == 0U) { + rtDW.is_active_c1603_HVAC_model = 1U; + rtDW.is_c1603_HVAC_model = IN_REC_OFF; + + /* : Full_Rec_Active = 0; */ + hvacFanPwm = 0U; + } else if (rtDW.is_c1603_HVAC_model == IN_REC_OFF) { + hvacFanPwm = 0U; + + /* : sf_internal_predicateOutput = Btn_Pulse==1 || Full_Rec==1; */ + if (rtb_Compare_mk || (rtDW.Full_Rec == 1)) { + rtDW.is_c1603_HVAC_model = IN_REC_ON; + + /* : Full_Rec_Active = 1; */ + hvacFanPwm = 1U; + } + } else { + /* case IN_REC_ON: */ + hvacFanPwm = 1U; + + /* : sf_internal_predicateOutput = Btn_Pulse==1 || Full_Rec==0; */ + if (rtb_Compare_mk || (rtDW.Full_Rec == 0)) { + rtDW.is_c1603_HVAC_model = IN_REC_OFF; + + /* : Full_Rec_Active = 0; */ + hvacFanPwm = 0U; + } + } + + /* End of Chart: '/Full_Rec_Active' */ + + /* DataStoreWrite: '/Data Store Write9' */ + rtDW.Full_Rec = hvacFanPwm; + + /* MATLAB Function: '/MATLAB Function' incorporates: + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read12' + */ + /* : TEMP_MIN = 160; */ + /* : TEMP_MAX = 300; */ + /* : if isempty(isPressed) */ + /* : tempAfterToggle = current_temp; */ + /* : changed_FL_params = uint8(0); */ + /* : switch tempToggleInput */ + switch (rtDW.TM_CP_model.CCPF_TempToggleL_Stat) { + case 0U: + /* : case 0 */ + /* : isPressed = false; */ + rtDW.isPressed = false; + + /* : direction = 0; */ + rtDW.direction = 0.0; + break; + + case 1U: + /* : case 1 */ + /* : if ~isPressed */ + if (!rtDW.isPressed) { + /* : changed_FL_params = uint8(1); */ + /* : isPressed = true; */ + rtDW.isPressed = true; + + /* : direction = 1; */ + rtDW.direction = 1.0; + + /* : pressStartMs = t_now; */ + rtDW.pressStartMs = rtDW.t_now; + + /* : baseTemp = uint16(min(TEMP_MAX, double(current_temp) + 5)); */ + rtDW.baseTemp = (uint16_t)fmin(300.0, (double)rtDW.CCU_SET_FL + 5.0); + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read12' + */ + /* : tempAfterToggle = baseTemp; */ + rtDW.CCU_SET_FL = rtDW.baseTemp; + } + break; + + case 2U: + /* : case 2 */ + /* : if ~isPressed */ + if (!rtDW.isPressed) { + /* : changed_FL_params = uint8(1); */ + /* : isPressed = true; */ + rtDW.isPressed = true; + + /* : direction = -1; */ + rtDW.direction = -1.0; + + /* : pressStartMs = t_now; */ + rtDW.pressStartMs = rtDW.t_now; + + /* : baseTemp = uint16(max(TEMP_MIN, double(current_temp) - 5)); */ + rtDW.baseTemp = (uint16_t)fmax(160.0, (double)rtDW.CCU_SET_FL - 5.0); + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read12' + */ + /* : tempAfterToggle = baseTemp; */ + rtDW.CCU_SET_FL = rtDW.baseTemp; + } + break; + + case 3U: + case 4U: + /* : case {3, 4} */ + /* : if isPressed */ + if (rtDW.isPressed) { + /* : changed_FL_params = uint8(1); */ + /* : elapsedMs = double(t_now) - double(pressStartMs); */ + /* : t = elapsedMs / 1000.0; */ + rtb_Divide5 = ((double)rtDW.t_now - (double)rtDW.pressStartMs) / 1000.0; + + /* : if t <= 1.5 */ + if (rtb_Divide5 <= 1.5) { + /* : deltaTemp = 0; */ + rtb_Divide5 = 0.0; + } else if (rtb_Divide5 <= 3.0) { + /* : elseif t <= 3.0 */ + /* : deltaTemp = 4.0 * (t - 1.5); */ + rtb_Divide5 = (rtb_Divide5 - 1.5) * 4.0; + } else if (rtb_Divide5 <= 4.0) { + /* : elseif t <= 4.0 */ + /* : deltaTemp = 6.0 + 8.0 * (t - 3.0); */ + rtb_Divide5 = (rtb_Divide5 - 3.0) * 8.0 + 6.0; + } else { + /* : else */ + /* : deltaTemp = 14.0; */ + rtb_Divide5 = 14.0; + } + + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read' + */ + /* : deltaUnits = round(deltaTemp * 10.0); */ + /* : newTemp = double(baseTemp) + direction * deltaUnits; */ + /* : newTemp = min(TEMP_MAX, max(TEMP_MIN, newTemp)); */ + /* : tempAfterToggle = uint16(newTemp); */ + rtDW.CCU_SET_FL = (uint16_t)rt_roundd(fmin(300.0, fmax(160.0, rt_roundd + (rtb_Divide5 * 10.0) * rtDW.direction + (double)rtDW.baseTemp))); + } + break; + } + + /* End of MATLAB Function: '/MATLAB Function' */ + + /* Saturate: '/Saturation' */ + if (rtDW.CCU_SET_FL > 300) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_FL = 300U; + } else if (rtDW.CCU_SET_FL < 160) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_FL = 160U; + } + + /* End of Saturate: '/Saturation' */ + + /* MATLAB Function: '/MATLAB Function' incorporates: + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read12' + */ + MATLABFunction(rtDW.TM_CP_model.CCPF_TempToggleR_Stat, rtDW.t_now, + rtDW.CCU_SET_FR, &rtb_out_kez, &hvacFanPwm, + &rtDW.sf_MATLABFunction_j); + + /* Saturate: '/Saturation' */ + if (rtb_out_kez > 300) { + rtDW.CCU_SET_FR = 300U; + } else if (rtb_out_kez < 160) { + rtDW.CCU_SET_FR = 160U; + } else { + rtDW.CCU_SET_FR = rtb_out_kez; + } + + /* End of Saturate: '/Saturation' */ + + /* Outputs for Enabled SubSystem: '/Enabled Subsystem' incorporates: + * EnablePort: '/Enable' + */ + if (hvacFanPwm > 0) { + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.changed_FR_params = hvacFanPwm; + } + + /* End of Outputs for SubSystem: '/Enabled Subsystem' */ + + /* MATLAB Function: '/MATLAB Function' incorporates: + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + */ + MATLABFunction(rtDW.TM_CP_model.CCPR_TempToggleL_Stat, rtDW.t_now, + rtDW.CCU_SET_RL, &rtb_out_kez, &hvacFanPwm, + &rtDW.sf_MATLABFunction_my); + + /* Saturate: '/Saturation' */ + if (rtb_out_kez > 300) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_RL = 300U; + } else if (rtb_out_kez < 160) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_RL = 160U; + } else { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_RL = rtb_out_kez; + } + + /* End of Saturate: '/Saturation' */ + + /* Outputs for Enabled SubSystem: '/Enabled Subsystem' incorporates: + * EnablePort: '/Enable' + */ + if (hvacFanPwm > 0) { + /* DataStoreWrite: '/Data Store Write2' */ + rtDW.changed_RL_params = hvacFanPwm; + } + + /* End of Outputs for SubSystem: '/Enabled Subsystem' */ + + /* MATLAB Function: '/MATLAB Function' incorporates: + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read12' + */ + MATLABFunction(rtDW.TM_CP_model.CCPR_TempToggleR_Stat, rtDW.t_now, + rtDW.CCU_SET_RR, &rtb_out_kez, &hvacFanPwm, + &rtDW.sf_MATLABFunction_js); + + /* Saturate: '/Saturation' */ + if (rtb_out_kez > 300) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_RR = 300U; + } else if (rtb_out_kez < 160) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_RR = 160U; + } else { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtDW.CCU_SET_RR = rtb_out_kez; + } + + /* End of Saturate: '/Saturation' */ + + /* Outputs for Enabled SubSystem: '/Enabled Subsystem' incorporates: + * EnablePort: '/Enable' + */ + if (hvacFanPwm > 0) { + /* DataStoreWrite: '/Data Store Write2' */ + rtDW.changed_RR_params = hvacFanPwm; + } + + /* End of Outputs for SubSystem: '/Enabled Subsystem' */ + + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' + */ + rtb_Compare_mk = (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_mk > (int32_t)rtDW.DelayInput1_DSTATE_m) { + /* Outputs for IfAction SubSystem: '/if action' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/true' + /* 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_ng = (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_ng > (int32_t)rtDW.DelayInput1_DSTATE_a) { + /* Outputs for IfAction SubSystem: '/if action1' 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: '/Saturation' - * Sum: '/Sum' + /* Outputs for IfAction SubSystem: '/sync front action1' incorporates: + * ActionPort: '/Action Port' */ - 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' - */ - /* Saturate: '/Saturation' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * Sum: '/Add' - */ - if ((uint16_t)(rtDW.CCU_SET_FR + 5U) > 300) { - rtDW.CCU_SET_FR = 300U; - } else if ((uint16_t)(rtDW.CCU_SET_FR + 5U) < 160) { - rtDW.CCU_SET_FR = 160U; - } else { - rtDW.CCU_SET_FR = (uint16_t)(rtDW.CCU_SET_FR + 5U); - } + /* 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 Saturate: '/Saturation' */ - - /* 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) > 300) { - /* Saturate: '/Saturation' */ - rtDW.CCU_SET_FR = 300U; - } else if ((uint16_t)(rtDW.CCU_SET_FR - 5) < 160) { - /* Saturate: '/Saturation' */ - rtDW.CCU_SET_FR = 160U; - } else { - /* Saturate: '/Saturation' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * 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: '/Saturation' - * 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 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' */ + /* End of If: '/If1' */ - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' */ - rtb_Compare_dq = (rtDW.TM_CP_model.CCPR_TempToggleL_Stat > 0); + rtb_Compare_dr = (rtDW.TM_CP_model.CCPR_AutoButtonL_Stat > 0); - /* If: '/If1' incorporates: - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' + /* If: '/If2' incorporates: + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' * - * Block description for '/Delay Input1': + * Block description for '/Delay Input1': * * Store in Global RAM */ - if ((int32_t)rtb_Compare_dq > (int32_t)rtDW.DelayInput1_DSTATE_f3) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + if ((int32_t)rtb_Compare_dr > (int32_t)rtDW.DelayInput1_DSTATE_ca) { + /* Outputs for IfAction SubSystem: '/if action2' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' + /* 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: '/Saturation' - * Sum: '/Sum' + /* Outputs for IfAction SubSystem: '/sync front action1' incorporates: + * ActionPort: '/Action Port' */ - 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: '/Saturation' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * Sum: '/Add' - */ - if ((uint16_t)(rtDW.CCU_SET_RL + 5U) > 300) { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_RL = 300U; - } else if ((uint16_t)(rtDW.CCU_SET_RL + 5U) < 160) { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_RL = 160U; - } else { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_RL = (uint16_t)(rtDW.CCU_SET_RL + 5U); - } + /* 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 Saturate: '/Saturation' */ - - /* 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) > 300) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Saturate: '/Saturation' - */ - rtDW.CCU_SET_RL = 300U; - } else if ((uint16_t)(rtDW.CCU_SET_RL - 5) < 160) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Saturate: '/Saturation' - */ - rtDW.CCU_SET_RL = 160U; - } else { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * Saturate: '/Saturation' - * 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: '/Saturation' - * 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 Outputs for SubSystem: '/sync front action3' */ + /* End of Outputs for SubSystem: '/sync front action1' */ + /* End of Outputs for SubSystem: '/if action2' */ } - /* End of If: '/If1' */ + /* End of If: '/If2' */ - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read11' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read11' */ - rtb_Compare_i4 = (rtDW.TM_CP_model.CCPR_TempToggleR_Stat > 0); + rtb_Compare_j1 = (rtDW.TM_CP_model.CCPR_AutoButtonR_Stat > 0); - /* If: '/If1' incorporates: - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' + /* If: '/If4' incorporates: + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' * - * Block description for '/Delay Input1': + * Block description for '/Delay Input1': * * Store in Global RAM */ - if ((int32_t)rtb_Compare_i4 > (int32_t)rtDW.DelayInput1_DSTATE_kz) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + if ((int32_t)rtb_Compare_j1 > (int32_t)rtDW.DelayInput1_DSTATE_as) { + /* Outputs for IfAction SubSystem: '/if action4' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' + /* 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: '/Saturation' - * Sum: '/Sum' + /* Outputs for IfAction SubSystem: '/sync front action1' incorporates: + * ActionPort: '/Action Port' */ - 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: '/Saturation' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * Sum: '/Add' - */ - if ((uint16_t)(rtDW.CCU_SET_RR + 5U) > 300) { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_RR = 300U; - } else if ((uint16_t)(rtDW.CCU_SET_RR + 5U) < 160) { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_RR = 160U; - } else { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_RR = (uint16_t)(rtDW.CCU_SET_RR + 5U); - } + /* 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 Saturate: '/Saturation' */ - - /* 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) > 300) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Saturate: '/Saturation' - */ - rtDW.CCU_SET_RR = 300U; - } else if ((uint16_t)(rtDW.CCU_SET_RR - 5) < 160) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Saturate: '/Saturation' - */ - rtDW.CCU_SET_RR = 160U; - } else { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read12' - * Saturate: '/Saturation' - * 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: '/Saturation' - * 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 Outputs for SubSystem: '/sync front action3' */ + /* End of Outputs for SubSystem: '/sync front action1' */ + /* End of Outputs for SubSystem: '/if action4' */ } - /* End of If: '/If1' */ + /* End of If: '/If4' */ - /* Switch: '/Switch' incorporates: - * Constant: '/MODE_OFF' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' - * RelationalOperator: '/Equal1' - */ - if (rtDW.EAC_OR_FIRE_mode != 0) { - rtb_DataTypeConversion1_gy = - rtDW.FIU_CCU2_EAC_or_FIRE.FIU_TargetTempRL_Val_ro; - center_percent = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_FootTempCorRL_Req; - rtb_Merge_c5 = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_TargetTempRR_Val_ro; - rtb_Merge_m4 = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_FootTempCorRR_Req; - rtb_Switch_f_FIU_CCmodeFL_Req = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_CCmodeRL_Req; - rtb_Switch_f_FIU_AirDirectionFL_Def_Req = - rtDW.FIU_CCU2_EAC_or_FIRE.FIU_AirDirectionRL_Def_Req; - rtb_Switch_f_FIU_AirDirectionFL_Face_Req = - rtDW.FIU_CCU2_EAC_or_FIRE.FIU_AirDirectionRL_Face_Req; - rtb_Switch_f_FIU_AirDirectionFL_Foot_Req = - rtDW.FIU_CCU2_EAC_or_FIRE.FIU_AirDirectionRL_Foot_Req; - rtb_Switch_f_FIU_CCmodeFR_Req = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_CCmodeRR_Req; - rtb_Switch_f_FIU_AirDirectionFR_Def_Req = - rtDW.FIU_CCU2_EAC_or_FIRE.FIU_AirDirectionRR_Def_Req; - rtb_Switch_f_FIU_AirDirectionFR_Face_Req = - rtDW.FIU_CCU2_EAC_or_FIRE.FIU_AirDirectionRR_Face_Req; - min_center_L = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_AirDirectionRR_Foot_Req; - max_center_L = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_BlowerSpeedRL_Req; - min_center_R = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_BlowerSpeedRR_Req; - max_center_R = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_CCautoModeRL_Req; - min_foot_L = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_CCautoModeRR_Req; - max_foot_L = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_DeflectorSwRLB_Req; - min_foot_R = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_DeflectorSwFCL_Req; - max_foot_R = rtDW.FIU_CCU2_EAC_or_FIRE.FIU_ACrearOFF_Req; - rtb_Switch_f_FIU_ACfrontOFF_Req = - rtDW.FIU_CCU2_EAC_or_FIRE.FIU_DeflectorSwFCR_Req; - rtb_Switch_f_FIU_DeflectorSwFPL_Req = - rtDW.FIU_CCU2_EAC_or_FIRE.FIU_DeflectorSwRRB_Req; - rtb_Switch_f_FIU_DeflectorSwFPR_Req = - rtDW.FIU_CCU2_EAC_or_FIRE.FIU_RearZoneSync_Req; - } else { - rtb_DataTypeConversion1_gy = rtDW.FIU_CCU2_MODEL.FIU_TargetTempRL_Val_ro; - center_percent = rtDW.FIU_CCU2_MODEL.FIU_FootTempCorRL_Req; - rtb_Merge_c5 = rtDW.FIU_CCU2_MODEL.FIU_TargetTempRR_Val_ro; - rtb_Merge_m4 = rtDW.FIU_CCU2_MODEL.FIU_FootTempCorRR_Req; - rtb_Switch_f_FIU_CCmodeFL_Req = rtDW.FIU_CCU2_MODEL.FIU_CCmodeRL_Req; - rtb_Switch_f_FIU_AirDirectionFL_Def_Req = - rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Def_Req; - rtb_Switch_f_FIU_AirDirectionFL_Face_Req = - rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Face_Req; - rtb_Switch_f_FIU_AirDirectionFL_Foot_Req = - rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRL_Foot_Req; - rtb_Switch_f_FIU_CCmodeFR_Req = rtDW.FIU_CCU2_MODEL.FIU_CCmodeRR_Req; - rtb_Switch_f_FIU_AirDirectionFR_Def_Req = - rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Def_Req; - rtb_Switch_f_FIU_AirDirectionFR_Face_Req = - rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Face_Req; - min_center_L = rtDW.FIU_CCU2_MODEL.FIU_AirDirectionRR_Foot_Req; - max_center_L = rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRL_Req; - min_center_R = rtDW.FIU_CCU2_MODEL.FIU_BlowerSpeedRR_Req; - max_center_R = rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRL_Req; - min_foot_L = rtDW.FIU_CCU2_MODEL.FIU_CCautoModeRR_Req; - max_foot_L = rtDW.FIU_CCU2_MODEL.FIU_DeflectorSwRLB_Req; - min_foot_R = rtDW.FIU_CCU2_MODEL.FIU_DeflectorSwFCL_Req; - max_foot_R = rtDW.FIU_CCU2_MODEL.FIU_ACrearOFF_Req; - rtb_Switch_f_FIU_ACfrontOFF_Req = - rtDW.FIU_CCU2_MODEL.FIU_DeflectorSwFCR_Req; - rtb_Switch_f_FIU_DeflectorSwFPL_Req = - rtDW.FIU_CCU2_MODEL.FIU_DeflectorSwRRB_Req; - rtb_Switch_f_FIU_DeflectorSwFPR_Req = - rtDW.FIU_CCU2_MODEL.FIU_RearZoneSync_Req; - } - - /* End of Switch: '/Switch' */ - - /* Outputs for Enabled SubSystem: '/Subsystem2' incorporates: - * EnablePort: '/Enable' - */ - if (rtb_DataTypeConversion1_gy > 0) { - /* Gain: '/Gain1' incorporates: - * Bias: '/Bias' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - */ - rtb_duct_select_index_dbg_c = (0.5 * (double)rtb_DataTypeConversion1_gy + - 15.5) * 10.0; - - /* Saturate: '/Saturation' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - if ((uint16_t)rtb_duct_select_index_dbg_c > 300) { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_RL = 300U; - } else { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_RL = (uint16_t)rtb_duct_select_index_dbg_c; - } - - /* End of Saturate: '/Saturation' */ - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RL_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem2' */ - - /* Outputs for Enabled SubSystem: '/Subsystem25' incorporates: - * EnablePort: '/Enable' - */ - if (center_percent > 0) { - /* Sum: '/Plus' incorporates: - * Constant: '/Constant' - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_SET_FOOT_RL = (uint8_t)(center_percent - 1); - } - - /* End of Outputs for SubSystem: '/Subsystem25' */ - - /* Outputs for Enabled SubSystem: '/Subsystem26' incorporates: - * EnablePort: '/Enable' - */ - if (rtb_Merge_m4 > 0) { - /* Sum: '/Plus' incorporates: - * Constant: '/Constant' - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_SET_FOOT_RR = (uint8_t)(rtb_Merge_m4 - 1); - } - - /* End of Outputs for SubSystem: '/Subsystem26' */ - - /* Outputs for Enabled SubSystem: '/Subsystem27' incorporates: - * EnablePort: '/Enable' - */ - if (rtb_Switch_f_FIU_CCmodeFL_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_MODE_RL = (uint8_t)(rtb_Switch_f_FIU_CCmodeFL_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 (rtb_Switch_f_FIU_AirDirectionFL_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 (rtb_Switch_f_FIU_AirDirectionFL_Face_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_FACE_RL = (uint8_t)(rtb_Switch_f_FIU_AirDirectionFL_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 (rtb_Merge_c5 > 0) { - /* Gain: '/Gain1' incorporates: - * Bias: '/Bias' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - */ - rtb_duct_select_index_dbg_c = (0.5 * (double)rtb_Merge_c5 + 15.5) * 10.0; - - /* Saturate: '/Saturation' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - if ((uint16_t)rtb_duct_select_index_dbg_c > 300) { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_RR = 300U; - } else { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_RR = (uint16_t)rtb_duct_select_index_dbg_c; - } - - /* End of Saturate: '/Saturation' */ - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RR_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem3' */ - - /* Outputs for Enabled SubSystem: '/Subsystem30' incorporates: - * EnablePort: '/Enable' - */ - if (rtb_Switch_f_FIU_AirDirectionFL_Foot_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_FOOT_RL = (uint8_t)(rtb_Switch_f_FIU_AirDirectionFL_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 (rtb_Switch_f_FIU_CCmodeFR_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_MODE_RR = (uint8_t)(rtb_Switch_f_FIU_CCmodeFR_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 (rtb_Switch_f_FIU_AirDirectionFR_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 (rtb_Switch_f_FIU_AirDirectionFR_Face_Req > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_FACE_RR = (uint8_t)(rtb_Switch_f_FIU_AirDirectionFR_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 (min_center_L > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_FOOT_RR = (uint8_t)(min_center_L <= 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 (max_center_L > 0) { - /* Switch: '/Switch5' incorporates: - * Constant: '/blower off' - * DataStoreWrite: '/Data Store Write1' - */ - if (max_center_L > 7) { - rtDW.CCU_BLOWERS_RL = 0U; - } else { - rtDW.CCU_BLOWERS_RL = max_center_L; - } - - /* End of Switch: '/Switch5' */ - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RL_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem35' */ - - /* Outputs for Enabled SubSystem: '/Subsystem36' incorporates: - * EnablePort: '/Enable' - */ - if (min_center_R > 0) { - /* Switch: '/Switch5' incorporates: - * Constant: '/blower off' - * DataStoreWrite: '/Data Store Write1' - */ - if (min_center_R > 7) { - rtDW.CCU_BLOWERS_RR = 0U; - } else { - rtDW.CCU_BLOWERS_RR = min_center_R; - } - - /* End of Switch: '/Switch5' */ - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RR_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem36' */ - - /* Outputs for Enabled SubSystem: '/Subsystem37' incorporates: - * EnablePort: '/Enable' - */ - if (max_center_R > 0) { - /* Saturate: '/Saturation' */ - if (max_center_R <= 5) { - rtDW.CCU_AUTOMODE_RL = max_center_R; - } else { - rtDW.CCU_AUTOMODE_RL = 5U; - } - - /* End of Saturate: '/Saturation' */ - } - - /* End of Outputs for SubSystem: '/Subsystem37' */ - - /* Outputs for Enabled SubSystem: '/Subsystem38' incorporates: - * EnablePort: '/Enable' - */ - if (min_foot_L > 0) { - /* Saturate: '/Saturation' */ - if (min_foot_L <= 5) { - rtDW.CCU_AUTOMODE_RR = min_foot_L; - } else { - rtDW.CCU_AUTOMODE_RR = 5U; - } - - /* End of Saturate: '/Saturation' */ - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RR_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem38' */ - - /* Outputs for Enabled SubSystem: '/Subsystem39' incorporates: - * EnablePort: '/Enable' - */ - if (max_foot_L > 0) { - /* Switch: '/Switch' incorporates: - * Constant: '/no LED' - * DataStoreWrite: '/Data Store Write1' - */ - if (max_foot_L > 3) { - rtDW.DRS_SRL = 0U; - } else { - rtDW.DRS_SRL = max_foot_L; - } - - /* End of Switch: '/Switch' */ - } - - /* End of Outputs for SubSystem: '/Subsystem39' */ - - /* Outputs for Enabled SubSystem: '/Subsystem40' incorporates: - * EnablePort: '/Enable' - */ - if (min_foot_R > 0) { - /* Switch: '/Switch' incorporates: - * Constant: '/no LED' - * DataStoreWrite: '/Data Store Write1' - */ - if (min_foot_R > 3) { - rtDW.DRS_CRL = 0U; - } else { - rtDW.DRS_CRL = min_foot_R; - } - - /* End of Switch: '/Switch' */ - } - - /* End of Outputs for SubSystem: '/Subsystem40' */ - - /* Outputs for Enabled SubSystem: '/Subsystem41' incorporates: - * EnablePort: '/Enable' - */ - if (max_foot_R > 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.CCU_AC_REAR = (uint8_t)(max_foot_R <= 1); - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/true' - */ - rtDW.changed_RL_params = 1U; - } - - /* End of Outputs for SubSystem: '/Subsystem41' */ - - /* Outputs for Enabled SubSystem: '/Subsystem42' incorporates: - * EnablePort: '/Enable' - */ - if (rtb_Switch_f_FIU_ACfrontOFF_Req > 0) { - /* Switch: '/Switch' incorporates: - * Constant: '/no LED' - * DataStoreWrite: '/Data Store Write1' - */ - if (rtb_Switch_f_FIU_ACfrontOFF_Req > 3) { - rtDW.DRS_CRR = 0U; - } else { - rtDW.DRS_CRR = rtb_Switch_f_FIU_ACfrontOFF_Req; - } - - /* End of Switch: '/Switch' */ - } - - /* End of Outputs for SubSystem: '/Subsystem42' */ - - /* Outputs for Enabled SubSystem: '/Subsystem43' incorporates: - * EnablePort: '/Enable' - */ - if (rtb_Switch_f_FIU_DeflectorSwFPL_Req > 0) { - /* Switch: '/Switch' incorporates: - * Constant: '/no LED' - * DataStoreWrite: '/Data Store Write1' - */ - if (rtb_Switch_f_FIU_DeflectorSwFPL_Req > 3) { - rtDW.DRS_SRR = 0U; - } else { - rtDW.DRS_SRR = rtb_Switch_f_FIU_DeflectorSwFPL_Req; - } - - /* End of Switch: '/Switch' */ - } - - /* End of Outputs for SubSystem: '/Subsystem43' */ - - /* Outputs for Enabled SubSystem: '/Subsystem44' incorporates: - * EnablePort: '/Enable' - */ - if (rtb_Switch_f_FIU_DeflectorSwFPR_Req > 0) { - /* If: '/If' */ - if (rtb_Switch_f_FIU_DeflectorSwFPR_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 (rtb_Switch_f_FIU_DeflectorSwFPR_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 Outputs for SubSystem: '/Subsystem44' */ - - /* Update for UnitDelay: '/Delay Input1' incorporates: - * Switch: '/Switch' + /* Update for UnitDelay: '/Delay Input1' * - * Block description for '/Delay Input1': + * Block description for '/Delay Input1': * * Store in Global RAM */ - rtDW.DelayInput1_DSTATE_m = rtb_RelationalOperator6_f; + rtDW.DelayInput1_DSTATE_en = rtb_RelationalOperator6_f; - /* 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_g = rtb_Compare_e; - - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtDW.DelayInput1_DSTATE_c = rtb_Compare_de; - - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtDW.DelayInput1_DSTATE_ic = rtb_Compare_dw; - - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtDW.DelayInput1_DSTATE_n = rtb_Compare_pm; - - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtDW.DelayInput1_DSTATE_my = rtb_Compare_le; - - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtDW.DelayInput1_DSTATE_a = rtb_Compare_a; - - /* Update for UnitDelay: '/Delay Input1' - * - * Block description for '/Delay Input1': - * - * Store in Global RAM - */ - rtDW.DelayInput1_DSTATE_o = rtb_Compare_ds; + rtDW.DelayInput1_DSTATE_g = rtb_Compare_e1; /* Update for UnitDelay: '/Delay Input1' * @@ -45407,767 +47545,554 @@ void HVAC_model_step(void) * * Store in Global RAM */ - rtDW.DelayInput1_DSTATE_od = rtb_Compare_ls; + rtDW.DelayInput1_DSTATE_bu = rtb_Compare_em; - /* 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_j = rtb_Compare_bt; + rtDW.DelayInput1_DSTATE_c = rtb_Compare_d1; - /* 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_f3 = rtb_Compare_dq; + rtDW.DelayInput1_DSTATE_m = rtb_Compare_mk; - /* 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_kz = rtb_Compare_i4; + rtDW.DelayInput1_DSTATE_a = rtb_Compare_ng; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_ca = rtb_Compare_dr; + + /* Update for UnitDelay: '/Delay Input1' + * + * Block description for '/Delay Input1': + * + * Store in Global RAM + */ + rtDW.DelayInput1_DSTATE_as = rtb_Compare_j1; } - /* End of DataStoreRead: '/Data Store Read1' */ - /* End of Outputs for SubSystem: '/TM_CP and FIU - только при зажигании' */ + /* End of DataStoreRead: '/Data Store Read1' */ + /* End of Outputs for SubSystem: '/TM_CP только при зажигании' */ - /* Outputs for Enabled SubSystem: '/Sleep_mode' incorporates: - * EnablePort: '/Enable' + /* MATLAB Function: '/REST is ON' incorporates: + * DataStoreRead: '/Data Store Read134' */ - /* DataStoreRead: '/Data Store Read13' */ - if (rtDW.sleep_model > 0) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_MODE_FL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_ModeFL_Stat; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_MODE_FR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_ModeFR_Stat; - - /* DataStoreWrite: '/Data Store Write10' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_FACE_RR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionRR_Face_Stat; - - /* DataStoreWrite: '/Data Store Write11' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_FOOT_RR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionRR_Foot_Stat; - - /* DataStoreWrite: '/Data Store Write12' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_DEF_FL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionFL_Def_Stat; - - /* DataStoreWrite: '/Data Store Write13' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_FACE_FL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionFL_Face_Stat; - - /* DataStoreWrite: '/Data Store Write14' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_FOOT_FL = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionFL_Foot_Stat; - - /* DataStoreWrite: '/Data Store Write15' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_DEF_FR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionFR_Def_Stat; - - /* DataStoreWrite: '/Data Store Write16' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_FACE_FR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionFR_Face_Stat; - - /* DataStoreWrite: '/Data Store Write17' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_FOOT_FR = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_AirDirectionFR_Foot_Stat; - - /* DataStoreWrite: '/Data Store Write18' incorporates: - * DataStoreRead: '/Data Store Read' - */ - rtDW.CCU_RECIRC = rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_Recirculation_Stat; - - /* 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' - * Gain: '/Gain' - * Gain: '/Gain1' - */ - rtDW.CCU_SET_RL = (uint16_t)((0.5 * (double) - rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_TargetTempRL_Stat_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' */ - - /* 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 > 295) { - /* 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' */ - - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Bias: '/Bias' - * DataStoreRead: '/Data Store Read' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - */ - rtDW.CCU_SET_RR = (uint16_t)((0.5 * (double) - rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_TargetTempRR_Stat_ro + 15.5) * 10.0); - - /* Saturate: '/Saturation' */ - if (rtDW.CCU_SET_RR > 305) { - /* DataTypeConversion: '/Data Type Conversion1' */ - rtDW.CCU_SET_RR = 305U; - } - - /* End of Saturate: '/Saturation' */ - - /* 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' - */ - rtDW.LO_HI_MODE_RR = 1U; - - /* 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' - */ - 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' */ - - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Bias: '/Bias' - * DataStoreRead: '/Data Store Read' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - */ - rtDW.CCU_SET_FL = (uint16_t)((0.5 * (double) - rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_TargetTempFL_Stat_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' */ - - /* 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 > 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' */ - - /* Gain: '/Gain1' incorporates: - * Bias: '/Bias' - * DataStoreRead: '/Data Store Read' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - */ - rtb_duct_select_index_dbg_c = (0.5 * (double) - rtDW.CCU_STAT1_WAKEUP_MODEL.CCU_TargetTempFR_Stat_ro + 15.5) * 10.0; - - /* Saturate: '/Saturation' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - */ - if ((uint16_t)rtb_duct_select_index_dbg_c > 305) { - rtDW.CCU_SET_FR = 305U; - } else { - rtDW.CCU_SET_FR = (uint16_t)rtb_duct_select_index_dbg_c; - } - - /* End of Saturate: '/Saturation' */ - - /* 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' - */ - 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 { - /* 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' */ - - /* DataStoreWrite: '/Data Store Write27' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtDW.CCU_FRONT_SYNC = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_FrontZoneSync_Stat; - - /* DataStoreWrite: '/Data Store Write28' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtDW.CCU_REAR_SYNC = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_RearZoneSync_Stat; - - /* DataStoreWrite: '/Data Store Write29' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - rtDW.CCU_ALL_ZONE_SYNC = rtDW.CCU_STAT2_WAKEUP_MODEL.CCU_AllZoneSync_Stat; - - /* DataStoreWrite: '/Data Store Write30' incorporates: - * DataStoreRead: '/Data Store Read1' - */ - 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_FootTempCorr_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 Write42' incorporates: - * DataStoreRead: '/Data Store Read2' - */ - rtDW.REST_mode_CCU_stat = rtDW.CCU_STAT3_WAKEUP_MODEL.CCU_RestMode2_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 DataStoreRead: '/Data Store Read13' */ - /* End of Outputs for SubSystem: '/Sleep_mode' */ - - /* Outputs for Enabled SubSystem: '/Reset values' incorporates: - * EnablePort: '/Enable' - */ - /* Logic: '/NOT' incorporates: - * DataStoreRead: '/Data Store Read18' - */ - if (rtDW.BCM_T15_Stat == 0) { - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/No start control' - */ - rtDW.step_start_controle_front = -1; - - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/No start control' - */ - rtDW.step_start_controle_rear = -1; - } - - /* End of Logic: '/NOT' */ - /* End of Outputs for SubSystem: '/Reset values' */ + RESTisON(rtDW.RestMode_mode, &rtb_RelationalOperator6_f); /* Switch: '/Switch2' incorporates: + * Bias: '/Bias' + * Bias: '/Bias' + * Bias: '/Bias' + * Bias: '/Bias1' + * Bias: '/Bias' + * Bias: '/Bias' + * Bias: '/Bias' + * Bias: '/Bias1' * BusCreator: '/Bus Creator' - * BusCreator: '/Bus Creator1' - * BusCreator: '/Bus Creator2' * BusCreator: '/Bus Creator6' - * BusCreator: '/Bus Creator7' - * BusCreator: '/Bus Creator8' - * Constant: '/Constant2' * Constant: '/Constant7' + * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read102' + * DataStoreRead: '/Data Store Read103' + * DataStoreRead: '/Data Store Read104' + * DataStoreRead: '/Data Store Read105' + * DataStoreRead: '/Data Store Read106' + * DataStoreRead: '/Data Store Read107' + * DataStoreRead: '/Data Store Read108' + * DataStoreRead: '/Data Store Read109' * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read112' + * DataStoreRead: '/Data Store Read110' * DataStoreRead: '/Data Store Read113' + * DataStoreRead: '/Data Store Read114' + * DataStoreRead: '/Data Store Read115' + * DataStoreRead: '/Data Store Read116' * DataStoreRead: '/Data Store Read117' * DataStoreRead: '/Data Store Read118' * DataStoreRead: '/Data Store Read119' * DataStoreRead: '/Data Store Read12' - * DataStoreRead: '/Data Store Read120' - * DataStoreRead: '/Data Store Read121' - * DataStoreRead: '/Data Store Read122' + * 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 Read25' + * DataStoreRead: '/Data Store Read26' * DataStoreRead: '/Data Store Read3' - * 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 Read62' - * DataStoreRead: '/Data Store Read63' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' * DataStoreRead: '/Data Store Read64' - * DataStoreRead: '/Data Store Read65' - * DataStoreRead: '/Data Store Read66' - * DataStoreRead: '/Data Store Read67' - * DataStoreRead: '/Data Store Read68' * DataStoreRead: '/Data Store Read7' * DataStoreRead: '/Data Store Read8' - * DataStoreRead: '/Data Store Read81' + * DataStoreRead: '/Data Store Read89' * DataStoreRead: '/Data Store Read9' * DataStoreRead: '/Data Store Read90' - * DataStoreWrite: '/Data Store Write5' - * DataStoreWrite: '/Data Store Write6' - * DataStoreWrite: '/Data Store Write7' - * DataStoreWrite: '/Data Store Write8' - * DataStoreWrite: '/Data Store Write10' - * DataStoreWrite: '/Data Store Write11' - * DataStoreWrite: '/Data Store Write12' - * DataStoreWrite: '/Data Store Write7' - * DataStoreWrite: '/Data Store Write8' - * DataStoreWrite: '/Data Store Write9' + * DataStoreRead: '/Data Store Read91' * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write1' - * DataStoreWrite: '/Data Store Write31' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * Logic: '/Logical Operator4' - * Logic: '/Logical Operator13' - * Logic: '/Logical Operator4' - * Logic: '/Logical Operator9' - * Switch: '/Switch1' - * Switch: '/Switch3' - * Switch: '/Switch4' - * Switch: '/Switch5' - * Switch: '/Switch6' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Gain: '/Gain' + * Gain: '/Gain1' + * Gain: '/Gain' + * Gain: '/Gain1' + * Gain: '/Gain' + * Gain: '/Gain1' + * Gain: '/Gain' + * Gain: '/Gain1' + * Gain: '/Gain' + * Gain: '/Gain1' + * Gain: '/Gain' + * Gain: '/Gain1' + * Gain: '/Gain' + * Gain: '/Gain1' + * Logic: '/Logical Operator' + * Saturate: '/Saturation' + * Saturate: '/Saturation' + * Saturate: '/Saturation' + * Saturate: '/Saturation' + * Saturate: '/Saturation' + * Saturate: '/Saturation' + * Saturate: '/Saturation' + * Saturate: '/Saturation' */ - if (rtDW.BCM_T15_Stat > 0) { - rtb_DataTypeConversion1_gy = rtDW.CCU_MODE_FR; + if ((rtDW.BCM_T15_Stat != 0) || rtb_RelationalOperator6_f) { + hvacFanPwm = rtDW.CCU_MODE_FL; + rtb_Merge_np = rtDW.CCU_MODE_FR; + rtb_Merge_h = rtDW.CCU_MODE_RL; + rtb_Merge_md = rtDW.CCU_MODE_RR; + rtb_Switch_k_FIU_CCmodeFL_Req = rtDW.CCU_AUTOMODE_FL; + rtb_Switch_k_FIU_AirDirectionFL_Def_Req = rtDW.CCU_AUTOMODE_FR; + rtb_Switch_k_FIU_AirDirectionFL_Face_Req = rtDW.CCU_FACE_RL; + rtb_Switch_k_FIU_AirDirectionFL_Foot_Req = rtDW.CCU_FOOT_RL; + rtb_Switch_k_FIU_CCmodeFR_Req = rtDW.CCU_AUTOMODE_RL; + rtb_Switch_k_FIU_AirDirectionFR_Def_Req = rtDW.CCU_AUTOMODE_RR; + rtb_Switch_k_FIU_AirDirectionFR_Face_Req = rtDW.CCU_FACE_RR; + rtb_Switch_k_FIU_AirDirectionFR_Foot_Req = rtDW.CCU_FOOT_RR; + rtb_Switch_k_FIU_BlowerSpeedFL_Req = rtDW.CCU_DEF_FL; + rtb_Switch_k_FIU_BlowerSpeedFR_Req = rtDW.CCU_FACE_FL; + rtb_Switch_k_FIU_CCautoModeFL_Req = rtDW.CCU_FOOT_FL; + rtb_Switch_k_FIU_CCautoModeFR_Req = rtDW.CCU_DEF_FR; + rtb_Switch_k_FIU_Recirculation_Req = rtDW.CCU_FACE_FR; + rtb_Switch_k_FIU_DeflectorSwDL_Req = rtDW.CCU_FOOT_FR; + rtb_Switch_k_FIU_DeflectorSwDR_Req = rtDW.CCU_RECIRC; + rtb_Switch_k_FIU_ACfrontOFF_Req = rtDW.CCU_BLOWERS_FL; - /* Outport: '/CCU_Stat1_model' incorporates: + /* Saturate: '/Saturation' incorporates: * BusCreator: '/Bus Creator' + * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read13' * DataStoreRead: '/Data Store Read17' * DataStoreRead: '/Data Store Read18' - * DataStoreWrite: '/Data Store Write' - */ - rtY.CCU_Stat1_model.CCU_ModeRL_Stat = rtDW.CCU_MODE_RL; - rtY.CCU_Stat1_model.CCU_ModeRR_Stat = rtDW.CCU_MODE_RR; - center_percent = rtDW.CCU_AUTOMODE_FR; - - /* Outport: '/CCU_Stat1_model' incorporates: - * BusCreator: '/Bus Creator' * 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' - * DataStoreWrite: '/Data Store Write' - */ - rtY.CCU_Stat1_model.CCU_AirDirectionRL_Face_Stat = rtDW.CCU_FACE_RL; - rtY.CCU_Stat1_model.CCU_AirDirectionRL_Foot_Stat = rtDW.CCU_FOOT_RL; - rtY.CCU_Stat1_model.CCU_AutoModeRL_Stat = rtDW.CCU_AUTOMODE_RL; - rtY.CCU_Stat1_model.CCU_AutoModeRR_Stat = rtDW.CCU_AUTOMODE_RR; - rtY.CCU_Stat1_model.CCU_AirDirectionRR_Face_Stat = rtDW.CCU_FACE_RR; - rtY.CCU_Stat1_model.CCU_AirDirectionRR_Foot_Stat = rtDW.CCU_FOOT_RR; - rtb_Merge_c5 = rtDW.CCU_DEF_FR; - rtb_Merge_m4 = rtDW.CCU_FACE_FR; - rtb_Switch_f_FIU_CCmodeFL_Req = rtDW.CCU_FOOT_FR; - - /* Outport: '/CCU_Stat1_model' incorporates: - * BusCreator: '/Bus Creator' - * DataStoreRead: '/Data Store Read10' + * 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' */ - rtY.CCU_Stat1_model.CCU_Recirculation_Stat = rtDW.CCU_RECIRC; - rtb_Switch_f_FIU_AirDirectionFL_Def_Req = rtDW.CCU_BLOWERS_FL; - - /* Saturate: '/Saturation' incorporates: - * BusCreator: '/Bus Creator' - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read13' - * DataStoreWrite: '/Data Store Write' - */ if (rtDW.CCU_SET_FL > 310) { - rtb_out_mxq = 310U; + rtb_out_bf = 310U; } else if (rtDW.CCU_SET_FL < 155) { - rtb_out_mxq = 155U; + rtb_out_bf = 155U; } else { - rtb_out_mxq = rtDW.CCU_SET_FL; + rtb_out_bf = rtDW.CCU_SET_FL; } - /* Outport: '/CCU_Stat1_model' incorporates: - * Bias: '/Bias' - * 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_mxq - 16.0) * 2.0); - rtb_Switch_f_FIU_AirDirectionFL_Face_Req = rtDW.CCU_BLOWERS_FR; + rtb_Switch_k_FIU_DeflectorSwFPL_Req = (uint8_t)((0.10000038146972656 * + (double)rtb_out_bf - 16.0) * 2.0); + rtb_Switch_k_FIU_DeflectorSwFPR_Req = rtDW.CCU_BLOWERS_FR; - /* Saturate: '/Saturation' incorporates: + /* Saturate: '/Saturation' incorporates: + * Bias: '/Bias' * BusCreator: '/Bus Creator' * DataStoreRead: '/Data Store Read12' * DataStoreRead: '/Data Store Read14' * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' */ if (rtDW.CCU_SET_FR > 310) { - rtb_out_mxq = 310U; + rtb_out_bf = 310U; } else if (rtDW.CCU_SET_FR < 155) { - rtb_out_mxq = 155U; + rtb_out_bf = 155U; } else { - rtb_out_mxq = rtDW.CCU_SET_FR; + rtb_out_bf = 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' - */ - rtY.CCU_Stat1_model.CCU_TargetTempFR_Stat_ro = (uint8_t) - ((0.10000038146972656 * (double)rtb_out_mxq - 16.0) * 2.0); - rtY.CCU_Stat1_model.CCU_BlowerSpeedRL_Stat = rtDW.CCU_BLOWERS_RL; + rtb_Switch_k_FIU_FrontZoneSync_Req = (uint8_t)((0.10000038146972656 * + (double)rtb_out_bf - 16.0) * 2.0); + CCU_STAT1_MODEL_CCU_BlowerSpeedRL_Stat = rtDW.CCU_BLOWERS_RL; - /* Saturate: '/Saturation' incorporates: + /* Saturate: '/Saturation' incorporates: + * Bias: '/Bias1' + * BusCreator: '/Bus Creator' * DataStoreRead: '/Data Store Read15' + * DataStoreRead: '/Data Store Read26' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' */ if (rtDW.CCU_SET_RR > 310) { - rtb_out_mxq = 310U; + rtb_out_bf = 310U; } else if (rtDW.CCU_SET_RR < 155) { - rtb_out_mxq = 155U; + rtb_out_bf = 155U; } else { - rtb_out_mxq = rtDW.CCU_SET_RR; + rtb_out_bf = 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' - */ - rtY.CCU_Stat1_model.CCU_TargetTempRR_Stat_ro = (uint8_t) - ((0.10000038146972656 * (double)rtb_out_mxq - 16.0) * 2.0); - rtY.CCU_Stat1_model.CCU_BlowerSpeedRR_Stat = rtDW.CCU_BLOWERS_RR; + CCU_STAT1_MODEL_CCU_TargetTempRR_Stat_ro = (uint8_t)((0.10000038146972656 * + (double)rtb_out_bf - 16.0) * 2.0); + CCU_STAT1_MODEL_CCU_BlowerSpeedRR_Stat = rtDW.CCU_BLOWERS_RR; - /* Saturate: '/Saturation' incorporates: + /* Saturate: '/Saturation' incorporates: + * Bias: '/Bias' + * BusCreator: '/Bus Creator' * DataStoreRead: '/Data Store Read16' + * DataStoreRead: '/Data Store Read25' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' */ if (rtDW.CCU_SET_RL > 310) { - rtb_out_mxq = 310U; + rtb_out_bf = 310U; } else if (rtDW.CCU_SET_RL < 155) { - rtb_out_mxq = 155U; + rtb_out_bf = 155U; } else { - rtb_out_mxq = rtDW.CCU_SET_RL; + rtb_out_bf = rtDW.CCU_SET_RL; } - /* Outport: '/CCU_Stat1_model' incorporates: - * 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_mxq - 16.0) * 2.0); + CCU_STAT1_MODEL_CCU_TargetTempRL_Stat_ro = (uint8_t)((0.10000038146972656 * + (double)rtb_out_bf - 16.0) * 2.0); + } else { + hvacFanPwm = rtDW.CCU_MODE_FL; + rtb_Merge_np = rtDW.CCU_MODE_FR; + rtb_Merge_h = rtDW.CCU_MODE_RL; + rtb_Merge_md = rtDW.CCU_MODE_RR; + rtb_Switch_k_FIU_CCmodeFL_Req = rtDW.CCU_AUTOMODE_FL; + rtb_Switch_k_FIU_AirDirectionFL_Def_Req = rtDW.CCU_AUTOMODE_FR; + rtb_Switch_k_FIU_AirDirectionFL_Face_Req = rtDW.CCU_FACE_RL; + rtb_Switch_k_FIU_AirDirectionFL_Foot_Req = rtDW.CCU_FOOT_RL; + rtb_Switch_k_FIU_CCmodeFR_Req = rtDW.CCU_AUTOMODE_RL; + rtb_Switch_k_FIU_AirDirectionFR_Def_Req = rtDW.CCU_AUTOMODE_RR; + rtb_Switch_k_FIU_AirDirectionFR_Face_Req = rtDW.CCU_FACE_RR; + rtb_Switch_k_FIU_AirDirectionFR_Foot_Req = rtDW.CCU_FOOT_RR; + rtb_Switch_k_FIU_BlowerSpeedFL_Req = rtDW.CCU_DEF_FL; + rtb_Switch_k_FIU_BlowerSpeedFR_Req = rtDW.CCU_FACE_FL; + rtb_Switch_k_FIU_CCautoModeFL_Req = rtDW.CCU_FOOT_FL; + rtb_Switch_k_FIU_CCautoModeFR_Req = rtDW.CCU_DEF_FR; + rtb_Switch_k_FIU_Recirculation_Req = rtDW.CCU_FACE_FR; + rtb_Switch_k_FIU_DeflectorSwDL_Req = rtDW.CCU_FOOT_FR; + rtb_Switch_k_FIU_DeflectorSwDR_Req = rtDW.CCU_RECIRC; + rtb_Switch_k_FIU_ACfrontOFF_Req = 0U; - /* Outport: '/CCU_Stat2_model' incorporates: - * BusCreator: '/Bus Creator1' - * DataStoreRead: '/Data Store Read131' - * DataStoreRead: '/Data Store Read27' - * DataStoreRead: '/Data Store Read28' - * DataStoreRead: '/Data Store Read29' - * DataStoreRead: '/Data Store Read35' - * DataStoreRead: '/Data Store Read73' - * DataStoreRead: '/Data Store Read74' - * DataStoreRead: '/Data Store Read77' - * DataStoreRead: '/Data Store Read82' - * DataStoreRead: '/Data Store Read86' - * DataStoreRead: '/Data Store Read87' - * DataStoreRead: '/Data Store Read96' - * DataTypeConversion: '/Data Type Conversion2' + /* Saturate: '/Saturation' incorporates: + * BusCreator: '/Bus Creator6' + * Constant: '/Constant7' + * DataStoreRead: '/Data Store Read102' + * DataStoreRead: '/Data Store Read103' + * DataStoreRead: '/Data Store Read104' + * DataStoreRead: '/Data Store Read105' + * DataStoreRead: '/Data Store Read106' + * DataStoreRead: '/Data Store Read107' + * DataStoreRead: '/Data Store Read108' + * DataStoreRead: '/Data Store Read109' + * DataStoreRead: '/Data Store Read110' + * DataStoreRead: '/Data Store Read113' + * DataStoreRead: '/Data Store Read114' + * DataStoreRead: '/Data Store Read115' + * DataStoreRead: '/Data Store Read116' + * DataStoreRead: '/Data Store Read117' + * DataStoreRead: '/Data Store Read118' + * DataStoreRead: '/Data Store Read119' + * DataStoreRead: '/Data Store Read89' + * DataStoreRead: '/Data Store Read90' + * DataStoreRead: '/Data Store Read91' + * DataStoreRead: '/Data Store Read98' + * DataStoreWrite: '/Data Store Write' */ - rtY.CCU_Stat2_model.CCU_AromaCartridgeSw_Stat = rtDW.Aroma_CartridgeSw; - rtY.CCU_Stat2_model.CCU_FrontZoneSync_Stat = rtDW.CCU_FRONT_SYNC; - rtY.CCU_Stat2_model.CCU_RearZoneSync_Stat = rtDW.CCU_REAR_SYNC; - rtY.CCU_Stat2_model.CCU_AllZoneSync_Stat = rtDW.CCU_ALL_ZONE_SYNC; - rtY.CCU_Stat2_model.CCU_ACfront_Stat = CCU_AC_FRONT_req_summary; - rtY.CCU_Stat2_model.CCU_ACrear_Stat = rtDW.CCU_AC_REAR; - rtY.CCU_Stat2_model.CCU_ACmaxF_Stat = rtDW.CCU_AC_MAX; - rtY.CCU_Stat2_model.CCU_ACmaxR_Stat = 0U; - rtY.CCU_Stat2_model.CCU_Defrost_Stat = rtDW.CCU_Defrost; - rtY.CCU_Stat2_model.CCU_Ionization_Stat = rtDW.CCU_Ionization_algo_active; - rtY.CCU_Stat2_model.CCU_AromaIntens_Stat = rtDW.CCU_AromaIntens_stat; - rtY.CCU_Stat2_model.CCU_FootTempCorRL_Stat = rtDW.CCU_SET_FOOT_RL; - rtY.CCU_Stat2_model.CCU_FootTempCorRR_Stat = rtDW.CCU_SET_FOOT_RR; - rtb_Switch_f_FIU_AirDirectionFL_Foot_Req = rtDW.DRS_SFL; - rtb_Switch_f_FIU_CCmodeFR_Req = rtDW.DRS_SFR; - rtb_Switch_f_FIU_AirDirectionFR_Def_Req = rtDW.DRS_CFL; - rtb_Switch_f_FIU_AirDirectionFR_Face_Req = rtDW.DRS_CFR; + if (rtDW.CCU_SET_FL > 310) { + rtb_out_bf = 310U; + } else if (rtDW.CCU_SET_FL < 155) { + rtb_out_bf = 155U; + } else { + rtb_out_bf = rtDW.CCU_SET_FL; + } - /* Outport: '/CCU_Stat2_model' incorporates: - * BusCreator: '/Bus Creator1' - * 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' - * DataStoreWrite: '/Data Store Write1' + rtb_Switch_k_FIU_DeflectorSwFPL_Req = (uint8_t)((0.10000038146972656 * + (double)rtb_out_bf - 16.0) * 2.0); + rtb_Switch_k_FIU_DeflectorSwFPR_Req = 0U; + + /* Saturate: '/Saturation' incorporates: + * Bias: '/Bias' + * BusCreator: '/Bus Creator6' + * Constant: '/Constant7' + * DataStoreRead: '/Data Store Read99' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' */ - 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; + if (rtDW.CCU_SET_FR > 310) { + rtb_out_bf = 310U; + } else if (rtDW.CCU_SET_FR < 155) { + rtb_out_bf = 155U; + } else { + rtb_out_bf = rtDW.CCU_SET_FR; + } + rtb_Switch_k_FIU_FrontZoneSync_Req = (uint8_t)((0.10000038146972656 * + (double)rtb_out_bf - 16.0) * 2.0); + CCU_STAT1_MODEL_CCU_BlowerSpeedRL_Stat = 0U; + + /* Saturate: '/Saturation' incorporates: + * Bias: '/Bias1' + * BusCreator: '/Bus Creator6' + * Constant: '/Constant7' + * DataStoreRead: '/Data Store Read100' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' + */ + if (rtDW.CCU_SET_RR > 310) { + rtb_out_bf = 310U; + } else if (rtDW.CCU_SET_RR < 155) { + rtb_out_bf = 155U; + } else { + rtb_out_bf = rtDW.CCU_SET_RR; + } + + CCU_STAT1_MODEL_CCU_TargetTempRR_Stat_ro = (uint8_t)((0.10000038146972656 * + (double)rtb_out_bf - 16.0) * 2.0); + CCU_STAT1_MODEL_CCU_BlowerSpeedRR_Stat = 0U; + + /* Saturate: '/Saturation' incorporates: + * Bias: '/Bias' + * BusCreator: '/Bus Creator6' + * Constant: '/Constant7' + * DataStoreRead: '/Data Store Read101' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Saturate: '/Saturation' + */ + if (rtDW.CCU_SET_RL > 310) { + rtb_out_bf = 310U; + } else if (rtDW.CCU_SET_RL < 155) { + rtb_out_bf = 155U; + } else { + rtb_out_bf = rtDW.CCU_SET_RL; + } + + CCU_STAT1_MODEL_CCU_TargetTempRL_Stat_ro = (uint8_t)((0.10000038146972656 * + (double)rtb_out_bf - 16.0) * 2.0); + } + + /* End of Switch: '/Switch2' */ + + /* MATLAB Function: '/REST is ON1' incorporates: + * DataStoreRead: '/Data Store Read135' + */ + RESTisON(rtDW.RestMode_mode, &rtb_RelationalOperator6_f); + + /* Switch: '/Switch1' incorporates: + * BusCreator: '/Bus Creator1' + * BusCreator: '/Bus Creator7' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read111' + * DataStoreRead: '/Data Store Read112' + * DataStoreRead: '/Data Store Read120' + * DataStoreRead: '/Data Store Read121' + * DataStoreRead: '/Data Store Read122' + * DataStoreRead: '/Data Store Read123' + * DataStoreRead: '/Data Store Read124' + * DataStoreRead: '/Data Store Read125' + * DataStoreRead: '/Data Store Read126' + * DataStoreRead: '/Data Store Read127' + * DataStoreRead: '/Data Store Read128' + * DataStoreRead: '/Data Store Read129' + * DataStoreRead: '/Data Store Read130' + * DataStoreRead: '/Data Store Read131' + * DataStoreRead: '/Data Store Read27' + * DataStoreRead: '/Data Store Read28' + * DataStoreRead: '/Data Store Read29' + * DataStoreRead: '/Data Store Read30' + * 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' + * DataStoreRead: '/Data Store Read82' + * DataStoreRead: '/Data Store Read86' + * DataStoreRead: '/Data Store Read87' + * DataStoreRead: '/Data Store Read88' + * DataStoreRead: '/Data Store Read92' + * DataStoreRead: '/Data Store Read93' + * DataStoreRead: '/Data Store Read94' + * DataStoreRead: '/Data Store Read95' + * DataStoreRead: '/Data Store Read96' + * DataStoreRead: '/Data Store Read97' + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion2' + * Logic: '/Logical Operator1' + */ + if ((rtDW.BCM_T15_Stat != 0) || rtb_RelationalOperator6_f) { + CCU_STAT2_MODEL_CCU_AromaCartridgeSw_Stat = rtDW.Aroma_CartridgeSw; + CCU_STAT2_MODEL_CCU_FrontZoneSync_Stat = rtDW.CCU_FRONT_SYNC; + CCU_STAT2_MODEL_CCU_RearZoneSync_Stat = rtDW.CCU_REAR_SYNC; + CCU_STAT2_MODEL_CCU_AllZoneSync_Stat = rtDW.CCU_ALL_ZONE_SYNC; + CCU_STAT2_MODEL_CCU_ACfront_Stat = CCU_AC_FRONT_req_summary; + CCU_STAT2_MODEL_CCU_ACrear_Stat = rtDW.CCU_AC_REAR; + CCU_STAT2_MODEL_CCU_ACmaxF_Stat = rtDW.CCU_AC_MAX; + CCU_STAT2_MODEL_CCU_Defrost_Stat = rtDW.CCU_Defrost; + CCU_STAT2_MODEL_CCU_Ionization_Stat = rtDW.CCU_Ionization_algo_active; + CCU_STAT2_MODEL_CCU_FootTempCorFL_Stat = rtDW.CCU_FootTempCorr_FL; + CCU_STAT2_MODEL_CCU_FootTempCorFR_Stat = rtDW.CCU_SET_FOOT_FR; + CCU_STAT2_MODEL_CCU_AromaIntens_Stat = rtDW.CCU_AromaIntens_stat; + CCU_STAT2_MODEL_CCU_FootTempCorRL_Stat = rtDW.CCU_SET_FOOT_RL; + CCU_STAT2_MODEL_CCU_FootTempCorRR_Stat = rtDW.CCU_SET_FOOT_RR; + CCU_STAT2_MODEL_CCU_DeflectorSwDL_Stat = rtDW.DRS_SFL; + CCU_STAT2_MODEL_CCU_DeflectorSwDR_Stat = rtDW.DRS_SFR; + CCU_STAT2_MODEL_CCU_DeflectorSwFPL_Stat = rtDW.DRS_CFL; + CCU_STAT2_MODEL_CCU_DeflectorSwFPR_Stat = rtDW.DRS_CFR; + CCU_STAT2_MODEL_CCU_DeflectorSwFCL_Stat = rtDW.DRS_CRL; + CCU_STAT2_MODEL_CCU_DeflectorSwFCR_Stat = rtDW.DRS_CRR; + CCU_STAT2_MODEL_CCU_DeflectorSwRLB_Stat = rtDW.DRS_SRL; + CCU_STAT2_MODEL_CCU_DeflectorSwRRB_Stat = rtDW.DRS_SRR; + } else { + CCU_STAT2_MODEL_CCU_AromaCartridgeSw_Stat = rtDW.Aroma_CartridgeSw; + CCU_STAT2_MODEL_CCU_FrontZoneSync_Stat = rtDW.CCU_FRONT_SYNC; + CCU_STAT2_MODEL_CCU_RearZoneSync_Stat = rtDW.CCU_REAR_SYNC; + CCU_STAT2_MODEL_CCU_AllZoneSync_Stat = rtDW.CCU_ALL_ZONE_SYNC; + CCU_STAT2_MODEL_CCU_ACfront_Stat = 0U; + CCU_STAT2_MODEL_CCU_ACrear_Stat = 0U; + CCU_STAT2_MODEL_CCU_ACmaxF_Stat = 0U; + CCU_STAT2_MODEL_CCU_Defrost_Stat = rtDW.CCU_Defrost; + CCU_STAT2_MODEL_CCU_Ionization_Stat = rtDW.CCU_Ionization_algo_active; + CCU_STAT2_MODEL_CCU_FootTempCorFL_Stat = rtDW.CCU_FootTempCorr_FL; + CCU_STAT2_MODEL_CCU_FootTempCorFR_Stat = rtDW.CCU_SET_FOOT_FR; + CCU_STAT2_MODEL_CCU_AromaIntens_Stat = rtDW.CCU_AromaIntens_stat; + CCU_STAT2_MODEL_CCU_FootTempCorRL_Stat = rtDW.CCU_SET_FOOT_RL; + CCU_STAT2_MODEL_CCU_FootTempCorRR_Stat = rtDW.CCU_SET_FOOT_RR; + CCU_STAT2_MODEL_CCU_DeflectorSwDL_Stat = rtDW.DRS_SFL; + CCU_STAT2_MODEL_CCU_DeflectorSwDR_Stat = rtDW.DRS_SFR; + CCU_STAT2_MODEL_CCU_DeflectorSwFPL_Stat = rtDW.DRS_CFL; + CCU_STAT2_MODEL_CCU_DeflectorSwFPR_Stat = rtDW.DRS_CFR; + CCU_STAT2_MODEL_CCU_DeflectorSwFCL_Stat = rtDW.DRS_CRL; + CCU_STAT2_MODEL_CCU_DeflectorSwFCR_Stat = rtDW.DRS_CRR; + CCU_STAT2_MODEL_CCU_DeflectorSwRLB_Stat = rtDW.DRS_SRL; + CCU_STAT2_MODEL_CCU_DeflectorSwRRB_Stat = rtDW.DRS_SRR; + } + + /* End of Switch: '/Switch1' */ + + /* Switch: '/Switch5' incorporates: + * BusCreator: '/Bus Creator2' + * BusCreator: '/Bus Creator8' + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read49' + * DataStoreRead: '/Data Store Read50' + * DataStoreRead: '/Data Store Read51' + * DataStoreRead: '/Data Store Read53' + * 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' + * DataStoreRead: '/Data Store Read81' + * DataStoreWrite: '/Data Store Write5' + * DataStoreWrite: '/Data Store Write6' + * DataStoreWrite: '/Data Store Write7' + * DataStoreWrite: '/Data Store Write8' + * DataStoreWrite: '/Data Store Write10' + * DataStoreWrite: '/Data Store Write11' + * DataStoreWrite: '/Data Store Write12' + * DataStoreWrite: '/Data Store Write7' + * DataStoreWrite: '/Data Store Write8' + * DataStoreWrite: '/Data Store Write9' + * DataStoreWrite: '/Data Store Write31' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Logic: '/Logical Operator4' + * Logic: '/Logical Operator13' + * Logic: '/Logical Operator4' + * Logic: '/Logical Operator9' + * Switch: '/Switch3' + * Switch: '/Switch4' + * Switch: '/Switch6' + */ + if (rtDW.BCM_T15_Stat > 0) { /* Saturate: '/Saturation' incorporates: - * MATLAB Function: '/MATLAB Function' + * MATLAB Function: '/MATLAB Function' */ - if (min_side_L <= 160) { + if (side_percent_L <= 160) { /* Outport: '/CCUCAN_HVC_REQ_MSG_MODEL' */ - rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_eCompSpeedReq_Val_ro = min_side_L; + rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_eCompSpeedReq_Val_ro = side_percent_L; } else { /* Outport: '/CCUCAN_HVC_REQ_MSG_MODEL' */ rtY.CCUCAN_HVC_REQ_MSG_MODEL.CCU_eCompSpeedReq_Val_ro = 160U; @@ -46190,15 +48115,15 @@ void HVAC_model_step(void) * Constant: '/Constant7' */ if (!Enable_Comp_PID) { - max_side_L = 0U; + center_percent_L = 0U; } /* Saturate: '/Saturation5' incorporates: * Switch: '/Switch1' */ - if (max_side_L <= 100) { + if (center_percent_L <= 100) { /* Outport: '/CCU_Msg3_model' */ - rtY.CCU_Msg3_model.CCU_FAN_Req = max_side_L; + rtY.CCU_Msg3_model.CCU_FAN_Req = center_percent_L; } else { /* Outport: '/CCU_Msg3_model' */ rtY.CCU_Msg3_model.CCU_FAN_Req = 100U; @@ -46214,15 +48139,15 @@ void HVAC_model_step(void) 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; - CCU_Errors_Model.CCU_IncarTempErrF_Stat = (uint8_t)(rtb_Compare_pnq || - rtb_Compare_ff); - CCU_Errors_Model.CCU_IncarTempErrR_Stat = (uint8_t)(rtb_Compare_mg || - rtb_Compare_gq); - CCU_Errors_Model.CCU_DuctTempSenErrF_Stat = (uint8_t)(Duct1_F_error || - Duct2_F_error || Duct3_F_error || Duct4_F_error || Duct5_F_error || - Duct6_F_error); + CCU_Errors_Model.CCU_IncarTempErrF_Stat = (uint8_t)(rtb_Compare_bp || + rtb_Compare_kv); + CCU_Errors_Model.CCU_IncarTempErrR_Stat = (uint8_t)(rtb_Compare_i3s || + rtb_Compare_hdv); + CCU_Errors_Model.CCU_DuctTempSenErrF_Stat = (uint8_t)(rtb_FailCond || + rtb_Compare_eb || rtb_Compare_ee || rtb_Compare_n0 || rtb_Compare_cp || + rtb_Compare_h0); CCU_Errors_Model.CCU_DuctTempSenErrR_Stat = (uint8_t)(Duct1_R_error || - Duct2_R_error || Duct3_R_error || Duct4_R_error); + Duct2_R_error || rtb_Compare_eu || rtb_Compare_e3); 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; @@ -46257,44 +48182,44 @@ void HVAC_model_step(void) * DataStoreRead: '/Data Store Read65' * DataStoreRead: '/Data Store Read66' * DataStoreRead: '/Data Store Read81' - * DataStoreWrite: '/Data Store Write5' - * DataStoreWrite: '/Data Store Write6' - * DataStoreWrite: '/Data Store Write7' - * DataStoreWrite: '/Data Store Write8' - * DataStoreWrite: '/Data Store Write10' - * DataStoreWrite: '/Data Store Write11' - * DataStoreWrite: '/Data Store Write12' - * DataStoreWrite: '/Data Store Write7' - * DataStoreWrite: '/Data Store Write8' - * DataStoreWrite: '/Data Store Write9' + * DataStoreWrite: '/Data Store Write5' + * DataStoreWrite: '/Data Store Write6' + * DataStoreWrite: '/Data Store Write7' + * DataStoreWrite: '/Data Store Write8' + * DataStoreWrite: '/Data Store Write10' + * DataStoreWrite: '/Data Store Write11' + * DataStoreWrite: '/Data Store Write12' + * DataStoreWrite: '/Data Store Write7' + * DataStoreWrite: '/Data Store Write8' + * DataStoreWrite: '/Data Store Write9' * DataStoreWrite: '/Data Store Write31' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * Logic: '/Logical Operator4' - * Logic: '/Logical Operator13' - * Logic: '/Logical Operator4' - * Logic: '/Logical Operator9' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * Logic: '/Logical Operator4' + * Logic: '/Logical Operator13' + * Logic: '/Logical Operator4' + * Logic: '/Logical Operator9' */ rtY.CCU_Msg1_model.CCU_MirrorHeating_Req = 0U; - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.EAC_OR_FIRE_is_active) { /* Outport: '/CCU_Msg1_model' incorporates: - * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read2' */ rtY.CCU_Msg1_model.CCU_RecirculationLed_Cmd = rtDW.Recirc_LED_EAC_or_FIRE; } else { /* Outport: '/CCU_Msg1_model' incorporates: - * DataStoreRead: '/Data Store Read38' + * DataStoreRead: '/Data Store Read38' */ rtY.CCU_Msg1_model.CCU_RecirculationLed_Cmd = rtDW.Full_Rec; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ /* Outport: '/CCU_Msg1_model' incorporates: * BusCreator: '/Bus Creator5' @@ -46304,22 +48229,22 @@ void HVAC_model_step(void) rtY.CCU_Msg1_model.CCU_SideWindowHeating_Req = 0U; rtY.CCU_Msg1_model.CCU_RearWindowHeating_Req = 0U; - /* Switch: '/Switch' incorporates: + /* Switch: '/Switch' incorporates: * DataStoreRead: '/Data Store Read80' */ if (rtDW.FrontWindowHeating_req > 0) { /* Outport: '/CCU_Msg1_model' incorporates: - * Constant: '/Constant' + * Constant: '/Constant' */ rtY.CCU_Msg1_model.CCU_FrontWindowHeating_Req = 1U; } else { /* Outport: '/CCU_Msg1_model' incorporates: - * Constant: '/Constant1' + * Constant: '/Constant1' */ rtY.CCU_Msg1_model.CCU_FrontWindowHeating_Req = 2U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ /* Outport: '/CCU_Msg1_model' incorporates: * BusCreator: '/Bus Creator5' @@ -46343,196 +48268,6 @@ void HVAC_model_step(void) rtY.CCU_Msg1_model.CCU_MSG1_RC = 0U; rtY.CCU_Msg1_model.CCU_MSG1_CS = 0U; } else { - rtb_DataTypeConversion1_gy = rtDW.CCU_MODE_FR; - - /* Outport: '/CCU_Stat1_model' incorporates: - * BusCreator: '/Bus Creator6' - * DataStoreRead: '/Data Store Read102' - * DataStoreRead: '/Data Store Read103' - * DataStoreRead: '/Data Store Read90' - * DataStoreWrite: '/Data Store Write' - */ - rtY.CCU_Stat1_model.CCU_ModeRL_Stat = rtDW.CCU_MODE_RL; - rtY.CCU_Stat1_model.CCU_ModeRR_Stat = rtDW.CCU_MODE_RR; - center_percent = rtDW.CCU_AUTOMODE_FR; - - /* Outport: '/CCU_Stat1_model' incorporates: - * BusCreator: '/Bus Creator6' - * DataStoreRead: '/Data Store Read104' - * DataStoreRead: '/Data Store Read106' - * DataStoreRead: '/Data Store Read107' - * DataStoreRead: '/Data Store Read108' - * DataStoreRead: '/Data Store Read109' - * DataStoreRead: '/Data Store Read110' - * DataStoreRead: '/Data Store Read113' - * DataStoreWrite: '/Data Store Write' - */ - rtY.CCU_Stat1_model.CCU_AirDirectionRL_Face_Stat = rtDW.CCU_FACE_RL; - rtY.CCU_Stat1_model.CCU_AirDirectionRL_Foot_Stat = rtDW.CCU_FOOT_RL; - rtY.CCU_Stat1_model.CCU_AutoModeRL_Stat = rtDW.CCU_AUTOMODE_RL; - rtY.CCU_Stat1_model.CCU_AutoModeRR_Stat = rtDW.CCU_AUTOMODE_RR; - rtY.CCU_Stat1_model.CCU_AirDirectionRR_Face_Stat = rtDW.CCU_FACE_RR; - rtY.CCU_Stat1_model.CCU_AirDirectionRR_Foot_Stat = rtDW.CCU_FOOT_RR; - rtb_Merge_c5 = rtDW.CCU_DEF_FR; - rtb_Merge_m4 = rtDW.CCU_FACE_FR; - rtb_Switch_f_FIU_CCmodeFL_Req = rtDW.CCU_FOOT_FR; - - /* Outport: '/CCU_Stat1_model' incorporates: - * BusCreator: '/Bus Creator6' - * DataStoreRead: '/Data Store Read117' - * DataStoreRead: '/Data Store Read118' - * DataStoreRead: '/Data Store Read119' - * DataStoreRead: '/Data Store Read91' - * DataStoreWrite: '/Data Store Write' - */ - rtY.CCU_Stat1_model.CCU_Recirculation_Stat = rtDW.CCU_RECIRC; - rtb_Switch_f_FIU_AirDirectionFL_Def_Req = 0U; - - /* Saturate: '/Saturation' incorporates: - * BusCreator: '/Bus Creator6' - * Constant: '/Constant7' - * DataStoreRead: '/Data Store Read98' - * DataStoreWrite: '/Data Store Write' - */ - if (rtDW.CCU_SET_FL > 310) { - rtb_out_mxq = 310U; - } else if (rtDW.CCU_SET_FL < 155) { - rtb_out_mxq = 155U; - } else { - rtb_out_mxq = rtDW.CCU_SET_FL; - } - - /* Outport: '/CCU_Stat1_model' incorporates: - * Bias: '/Bias' - * 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_mxq - 16.0) * 2.0); - rtb_Switch_f_FIU_AirDirectionFL_Face_Req = 0U; - - /* Saturate: '/Saturation' incorporates: - * BusCreator: '/Bus Creator6' - * Constant: '/Constant7' - * DataStoreRead: '/Data Store Read99' - * DataStoreWrite: '/Data Store Write' - */ - if (rtDW.CCU_SET_FR > 310) { - rtb_out_mxq = 310U; - } else if (rtDW.CCU_SET_FR < 155) { - rtb_out_mxq = 155U; - } else { - rtb_out_mxq = rtDW.CCU_SET_FR; - } - - /* Outport: '/CCU_Stat1_model' incorporates: - * Bias: '/Bias1' - * BusCreator: '/Bus Creator6' - * Constant: '/Constant7' - * 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_mxq - 16.0) * 2.0); - rtY.CCU_Stat1_model.CCU_BlowerSpeedRL_Stat = 0U; - - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read100' - */ - if (rtDW.CCU_SET_RR > 310) { - rtb_out_mxq = 310U; - } else if (rtDW.CCU_SET_RR < 155) { - rtb_out_mxq = 155U; - } else { - rtb_out_mxq = rtDW.CCU_SET_RR; - } - - /* Outport: '/CCU_Stat1_model' incorporates: - * Bias: '/Bias' - * BusCreator: '/Bus Creator6' - * Constant: '/Constant7' - * 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_mxq - 16.0) * 2.0); - rtY.CCU_Stat1_model.CCU_BlowerSpeedRR_Stat = 0U; - - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read101' - */ - if (rtDW.CCU_SET_RL > 310) { - rtb_out_mxq = 310U; - } else if (rtDW.CCU_SET_RL < 155) { - rtb_out_mxq = 155U; - } else { - rtb_out_mxq = rtDW.CCU_SET_RL; - } - - /* Outport: '/CCU_Stat1_model' incorporates: - * 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_mxq - 16.0) * 2.0); - - /* Outport: '/CCU_Stat2_model' incorporates: - * BusCreator: '/Bus Creator7' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read125' - * DataStoreRead: '/Data Store Read126' - * DataStoreRead: '/Data Store Read127' - * DataStoreRead: '/Data Store Read128' - * DataStoreRead: '/Data Store Read129' - * DataStoreRead: '/Data Store Read130' - * DataStoreRead: '/Data Store Read88' - * DataStoreRead: '/Data Store Read92' - * DataStoreRead: '/Data Store Read93' - */ - rtY.CCU_Stat2_model.CCU_AromaCartridgeSw_Stat = rtDW.Aroma_CartridgeSw; - rtY.CCU_Stat2_model.CCU_FrontZoneSync_Stat = rtDW.CCU_FRONT_SYNC; - rtY.CCU_Stat2_model.CCU_RearZoneSync_Stat = rtDW.CCU_REAR_SYNC; - rtY.CCU_Stat2_model.CCU_AllZoneSync_Stat = rtDW.CCU_ALL_ZONE_SYNC; - rtY.CCU_Stat2_model.CCU_ACfront_Stat = 0U; - rtY.CCU_Stat2_model.CCU_ACrear_Stat = 0U; - rtY.CCU_Stat2_model.CCU_ACmaxF_Stat = 0U; - rtY.CCU_Stat2_model.CCU_ACmaxR_Stat = 0U; - rtY.CCU_Stat2_model.CCU_Defrost_Stat = rtDW.CCU_Defrost; - rtY.CCU_Stat2_model.CCU_Ionization_Stat = rtDW.CCU_Ionization_algo_active; - rtY.CCU_Stat2_model.CCU_AromaIntens_Stat = rtDW.CCU_AromaIntens_stat; - rtY.CCU_Stat2_model.CCU_FootTempCorRL_Stat = rtDW.CCU_SET_FOOT_RL; - rtY.CCU_Stat2_model.CCU_FootTempCorRR_Stat = rtDW.CCU_SET_FOOT_RR; - rtb_Switch_f_FIU_AirDirectionFL_Foot_Req = rtDW.DRS_SFL; - rtb_Switch_f_FIU_CCmodeFR_Req = rtDW.DRS_SFR; - rtb_Switch_f_FIU_AirDirectionFR_Def_Req = rtDW.DRS_CFL; - rtb_Switch_f_FIU_AirDirectionFR_Face_Req = rtDW.DRS_CFR; - - /* Outport: '/CCU_Stat2_model' incorporates: - * BusCreator: '/Bus Creator7' - * DataStoreRead: '/Data Store Read112' - * DataStoreRead: '/Data Store Read120' - * DataStoreRead: '/Data Store Read121' - * DataStoreRead: '/Data Store Read122' - * DataStoreRead: '/Data Store Read123' - * DataStoreRead: '/Data Store Read124' - * DataStoreRead: '/Data Store Read94' - * DataStoreRead: '/Data Store Read95' - * DataStoreWrite: '/Data Store Write1' - */ - 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; - /* Outport: '/CCUCAN_HVC_REQ_MSG_MODEL' incorporates: * BusCreator: '/Bus Creator10' * Constant: '/Constant4' @@ -46546,9 +48281,10 @@ void HVAC_model_step(void) /* Outport: '/CCU_Msg3_model' incorporates: * BusCreator: '/Bus Creator11' * Constant: '/Constant5' + * DataStoreRead: '/Data Store Read38' */ rtY.CCU_Msg3_model.CCU_FAN_Req = 0U; - rtY.CCU_Msg3_model.CCU_RestMode_Stat = 0U; + rtY.CCU_Msg3_model.CCU_RestMode_Stat = rtDW.REST_mode_CCU_stat; 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; @@ -46600,7 +48336,7 @@ void HVAC_model_step(void) rtY.CCU_Msg1_model.CCU_MSG1_CS = 0U; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch5' */ /* BusCreator: '/Bus Creator12' incorporates: * DataStoreRead: '/Data Store Read75' @@ -46608,7 +48344,7 @@ void HVAC_model_step(void) * DataStoreRead: '/Data Store Read83' * DataStoreRead: '/Data Store Read84' * DataStoreWrite: '/Data Store Write2' - * MATLAB Function: '/ccuAromaLogic' + * MATLAB Function: '/ccuAromaLogic' */ rtDW.CCU_STAT3_MODEL.CCU_AromaCartridgeCapacity_Stat_ro = rtDW.Aroma_CartridgeCapacity; @@ -46616,7 +48352,7 @@ void HVAC_model_step(void) rtDW.Aroma_CartridgeFlavor; /* Outputs for Atomic SubSystem: '/AromaLogic' */ - rtDW.CCU_STAT3_MODEL.CCU_AromaFaultReason_Stat = rtb_DataTypeConversion3_hs; + rtDW.CCU_STAT3_MODEL.CCU_AromaFaultReason_Stat = center_percent; /* End of Outputs for SubSystem: '/AromaLogic' */ rtDW.CCU_STAT3_MODEL.CCU_RLfootBlowDis_Stat = rtDW.CCU_foot_blower_dis_RL; @@ -46634,12 +48370,1100 @@ void HVAC_model_step(void) rtConstP.demistLVLdew_point_diff_tableData, rtConstP.demistLVLdew_point_diff_maxIndex, 121U); - /* MATLAB Function: '/условие входа' incorporates: + /* MATLAB Function: '/valves_front' incorporates: + * DataStoreRead: '/Data Store Read' + */ + /* : min_side_L = uint8(100); */ + /* : max_side_L = uint8(100); */ + /* : min_side_R = uint8(100); */ + /* : max_side_R = uint8(100); */ + /* : min_center_L = uint8(100); */ + /* : max_center_L = uint8(100); */ + /* : min_center_R = uint8(100); */ + /* : max_center_R = uint8(100); */ + /* : min_foot_L = uint8(100); */ + /* : max_foot_L = uint8(100); */ + /* : min_foot_R = uint8(100); */ + /* : max_foot_R = uint8(100); */ + /* : AF_MAX = 160; */ + /* : AF_MIN = 20; */ + /* : coef_min = [min_side_L, min_center_L, min_center_R, min_side_R, min_foot_L, min_foot_R]; */ + /* : coef_max = [max_side_L, max_center_L, max_center_R, max_side_R, max_foot_L, max_foot_R]; */ + /* : coeff_left = double(coef_max) - (double(AF_MAX - AF_left)/double(AF_MAX - AF_MIN))*double(coef_max - coef_min); */ + /* : coeff_right = double(coef_max) - (double(AF_MAX - AF_right)/double(AF_MAX - AF_MIN))*double(coef_max - coef_min); */ + /* : coeff = [coeff_left(1), coeff_left(2), coeff_right(3), coeff_right(4), coeff_left(5), coeff_right(6)]; */ + valves_front(rtDW.Index_mode_FL, rtb_u4); + + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_out[0] = rtb_u4[0]; + rtb_out[1] = rtb_u4[1]; + + /* MATLAB Function: '/valves_front1' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + valves_front(rtDW.Index_mode_FR, rtb_MultiportSwitch_lp); + + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_out[2] = rtb_MultiportSwitch_lp[2]; + rtb_out[3] = rtb_MultiportSwitch_lp[3]; + + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_out[4] = rtb_u4[4]; + + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_out[5] = rtb_MultiportSwitch_lp[6]; + + /* Product: '/пункты 8-10' incorporates: + * Gain: '/Gain' + * SignalConversion generated from: '/Vector Concatenate' + */ + rtb_u10[0] = 0.0099999904632568359 * (double)rtb_u4[0]; + rtb_u10[1] = 0.0099999904632568359 * (double)rtb_u4[1]; + rtb_u10[2] = 0.0099999904632568359 * (double)rtb_MultiportSwitch_lp[2]; + rtb_u10[3] = 0.0099999904632568359 * (double)rtb_MultiportSwitch_lp[3]; + rtb_u10[4] = 0.0099999904632568359 * (double)rtb_u4[4]; + rtb_u10[5] = 0.0099999904632568359 * (double)rtb_MultiportSwitch_lp[6]; + + /* Gain: '/Gain1' incorporates: + * MATLAB Function: '/MATLAB Function1' + * Product: '/пункты 8-10' + */ + for (i = 0; i < 6; i++) { + rtb_valve_space_center_R_m[i] = 100.0 * rtb_u10[i]; + } + + /* End of Gain: '/Gain1' */ + + /* MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_b(&rtb_valve_space_center_R_m[0]); + + /* MATLAB Function: '/площадь сечения заслонок' */ + u_h4(rtb_out); + + /* MATLAB Function: '/B-Pillar_ - % damper opening' */ + BPillar_damperopening(rtb_u10, rtb_out, rtb_y_hu, rtb_y_oz, rtb_y_ej, rtb_y_e, + rtb_Saturation_hch, rtb_y_d); + + /* MATLAB Function: '/MATLAB Function2' */ + MATLABFunction2(rtb_valve_space_foot_R_a); + + /* Lookup_n-D: '/1-D Lookup Table' */ + rtb_Divide5 = rtb_y_hu[plook_u32d_bincka(rtb_valve_space_center_R_m[0], + rtb_valve_space_foot_R_a, 10U)]; + + /* MATLAB Function: '/MATLAB Function3' */ + MATLABFunction3(rtb_valve_space_foot_R_a); + + /* Lookup_n-D: '/1-D Lookup Table1' */ + rtb_D = rtb_y_oz[plook_u32d_bincka(rtb_valve_space_center_R_m[1], + rtb_valve_space_foot_R_a, 10U)]; + + /* MATLAB Function: '/MATLAB Function4' */ + MATLABFunction4(rtb_valve_space_foot_R_a); + + /* Lookup_n-D: '/1-D Lookup Table2' */ + rtb_P = rtb_y_ej[plook_u32d_bincka(rtb_valve_space_center_R_m[4], + rtb_valve_space_foot_R_a, 10U)]; + + /* MATLAB Function: '/MATLAB Function5' */ + MATLABFunction2(rtb_valve_space_foot_R_a); + + /* Lookup_n-D: '/1-D Lookup Table3' */ + rtb_uDLookupTable3 = rtb_y_e[plook_u32d_bincka(rtb_valve_space_center_R_m[3], + rtb_valve_space_foot_R_a, 10U)]; + + /* MATLAB Function: '/MATLAB Function6' */ + MATLABFunction3(rtb_valve_space_foot_R_a); + + /* Lookup_n-D: '/1-D Lookup Table4' incorporates: + * Saturate: '/Saturation' + */ + rtb_output_h = rtb_Saturation_hch[plook_u32d_bincka + (rtb_valve_space_center_R_m[2], rtb_valve_space_foot_R_a, 10U)]; + + /* MATLAB Function: '/MATLAB Function7' */ + MATLABFunction4(rtb_valve_space_foot_R_a); + + /* MATLAB Function: '/MATLAB Function' incorporates: + * Lookup_n-D: '/1-D Lookup Table5' + */ + MATLABFunction_j(rtb_u10, rtb_Divide5, rtb_D, rtb_P, rtb_uDLookupTable3, + rtb_output_h, rtb_y_d[plook_u32d_binckan + (rtb_valve_space_center_R_m[5], rtb_valve_space_foot_R_a, 10U)], + &rtb_Divide10, &rtb_area_R_o); + + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + */ + rtb_RelationalOperator6_f = (rtDW.Index_mode_FL == rtDW.Index_mode_FR); + + /* Switch: '/пункт 16 L' incorporates: + * Product: '/пункт 12 (L)' + * Product: '/пункт 14 (L)' + */ + if (rtb_RelationalOperator6_f) { + rtb_Divide5 = rtb_Divide10 / rtb_area_R_o; + } else { + rtb_Divide5 = rtb_area_R_o / rtb_Divide10; + } + + /* End of Switch: '/пункт 16 L' */ + + /* Saturate: '/пункт 17 L' */ + if (rtb_Divide5 > 1.0) { + rtb_D = 1.0; + } else if (rtb_Divide5 < 0.0) { + rtb_D = 0.0; + } else { + rtb_D = rtb_Divide5; + } + + /* End of Saturate: '/пункт 17 L' */ + + /* Switch: '/пункт 16 R' incorporates: + * Product: '/пункт 12 (R)' + * Product: '/пункт 14 (R)' + */ + if (rtb_RelationalOperator6_f) { + rtb_Divide5 = rtb_area_R_o / rtb_Divide10; + } else { + rtb_Divide5 = rtb_Divide10 / rtb_area_R_o; + } + + /* End of Switch: '/пункт 16 R' */ + + /* Product: '/пункт 13 L' incorporates: + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + */ + rtb_output_h = (double)Gain1 / (double)rtb_out_ihi; + + /* Product: '/пункт 13 R' incorporates: + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + */ + rtb_area_L_j = (double)rtb_out_ihi / (double)Gain1; + + /* Saturate: '/пункт 17 R' */ + if (rtb_Divide5 > 1.0) { + rtb_Divide5 = 1.0; + } else if (rtb_Divide5 < 0.0) { + rtb_Divide5 = 0.0; + } + + /* Saturate: '/пункт 15 L' */ + if (rtb_output_h > 1.0) { + rtb_output_h = 1.0; + } + + /* Saturate: '/пункт 15 R' */ + if (rtb_area_L_j > 1.0) { + rtb_area_L_j = 1.0; + } + + /* MATLAB Function: '/пункты 18-20' incorporates: + * Saturate: '/пункт 15 L' + * Saturate: '/пункт 15 R' + * Saturate: '/пункт 17 R' + */ + u820(rtb_D, rtb_Divide5, rtb_output_h, rtb_area_L_j, + &rtb_valve_space_foot_R_a[0]); + + /* Product: '/Product2' incorporates: + * MATLAB Function: '/пункт 21-23' + * Product: '/пункты 8-10' + */ + for (i = 0; i < 6; i++) { + rtb_Divide5 = rtb_u10[i] * rtb_valve_space_foot_R_a[i]; + + /* Product: '/Product2' incorporates: + * Product: '/пункты 8-10' + */ + rtb_u10[i] = rtb_Divide5; + rtb_valve_space_center_R_m[i] = rtb_Divide5; + } + + /* End of Product: '/Product2' */ + + /* MATLAB Function: '/пункт 21-23' 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' + */ + u123(&rtb_valve_space_center_R_m[0], rtDW.DRS_SFL, rtDW.DRS_SFR, rtDW.DRS_CFL, + rtDW.DRS_CFR, rtDW.Index_mode_FL, rtDW.Index_mode_FR); + + /* MATLAB Function: '/таблица D184-E190 (Step 7 Minimum damper opening factor)' incorporates: + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + */ + D184E190Step7Minimumdamperopeningfactor(Gain1, rtb_out_ihi, &rtb_output_h, + &rtb_area_L_j); + + /* MATLAB Function: '/пункт 25' */ + u5(&rtb_valve_space_center_R_m[0], rtb_output_h, rtb_area_L_j, + &rtb_valve_space_foot_R_a[0]); + for (i = 0; i < 6; i++) { + /* Saturate: '/пункты 26-28' */ + rtb_output_h = rtb_valve_space_foot_R_a[i]; + if (rtb_output_h > 1.0) { + rtb_output_h = 1.0; + } else if (rtb_output_h < 0.0) { + rtb_output_h = 0.0; + } + + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + * Gain: '/Gain2' + * Saturate: '/пункты 26-28' + */ + rtb_u10[i] = (uint16_t)rt_roundd(100.0 * rtb_output_h); + } + + for (i = 0; i < 9; i++) { + /* DataTypeConversion: '/Data Type Conversion1' */ + rtb_DataTypeConversion1[i] = rtb_u4[i]; + + /* DataTypeConversion: '/Data Type Conversion2' */ + rtb_DataTypeConversion2[i] = rtb_MultiportSwitch_lp[i]; + } + + /* MATLAB Function: '/MATLAB Function' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + */ + /* : mode_combination = int16(1); */ + rtb_Switch5_l = 1; + + /* : if ((mode_left == 40 && mode_right == 20) || (mode_left == 20 && mode_right == 40)) */ + if (((rtDW.Index_mode_FL != 40) || (rtDW.Index_mode_FR != 20)) && + ((rtDW.Index_mode_FL != 20) || (rtDW.Index_mode_FR != 40))) { + if (((rtDW.Index_mode_FL == 40) && (rtDW.Index_mode_FR == 30)) || + ((rtDW.Index_mode_FL == 30) && (rtDW.Index_mode_FR == 40))) { + /* : elseif ((mode_left == 40 && mode_right == 30) || (mode_left == 30 && mode_right == 40)) */ + /* : mode_combination = int16(2); */ + rtb_Switch5_l = 2; + } else if (((rtDW.Index_mode_FL == 40) && (rtDW.Index_mode_FR == 10)) || + ((rtDW.Index_mode_FL == 10) && (rtDW.Index_mode_FR == 40))) { + /* : elseif ((mode_left == 40 && mode_right == 10) || (mode_left == 10 && mode_right == 40)) */ + /* : mode_combination = int16(3); */ + rtb_Switch5_l = 3; + } else if (((rtDW.Index_mode_FL == 20) && (rtDW.Index_mode_FR == 30)) || + ((rtDW.Index_mode_FL == 30) && (rtDW.Index_mode_FR == 20))) { + /* : elseif ((mode_left == 20 && mode_right == 30) || (mode_left == 30 && mode_right == 20)) */ + /* : mode_combination = int16(4); */ + rtb_Switch5_l = 4; + } else if (((rtDW.Index_mode_FL == 20) && (rtDW.Index_mode_FR == 10)) || + ((rtDW.Index_mode_FL == 10) && (rtDW.Index_mode_FR == 20))) { + /* : elseif ((mode_left == 20 && mode_right == 10) || (mode_left == 10 && mode_right == 20)) */ + /* : mode_combination = int16(5); */ + rtb_Switch5_l = 5; + } else if (((rtDW.Index_mode_FL == 30) && (rtDW.Index_mode_FR == 10)) || + ((rtDW.Index_mode_FL == 10) && (rtDW.Index_mode_FR == 30))) { + /* : elseif ((mode_left == 30 && mode_right == 10) || (mode_left == 10 && mode_right == 30)) */ + /* : mode_combination = int16(6); */ + rtb_Switch5_l = 6; + } + } else { + /* : mode_combination = int16(1); */ + } + + /* End of MATLAB Function: '/MATLAB Function' */ + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + */ + rtb_DataTypeConversion1_gq = (int16_t)((int16_t)Gain1 - (int16_t)rtb_out_ihi); + + /* Abs: '/Abs' */ + if (rtb_DataTypeConversion1_gq < 0) { + rtb_DataTypeConversion1_gq = (int16_t)-rtb_DataTypeConversion1_gq; + } + + /* End of Abs: '/Abs' */ + + /* MATLAB Function: '/Side Section coefficient matrix' */ + /* : matrix = [g_ausDbF_Side_Af_Bi; g_ausDbF_Side_Af_Bi2; g_ausDbF_Side_Af_Vent; g_ausDbF_Side_Bi_Bi2; g_ausDbF_Side_Bi_Vent; g_ausDbF_Side_Bi2_Vent]; */ + for (i = 0; i < 9; i++) { + rtb_matrix_f[6 * i] = g_ausDbF_Side_Af_Bi[i]; + rtb_matrix_f[6 * i + 1] = g_ausDbF_Side_Af_Bi2[i]; + rtb_matrix_f[6 * i + 2] = g_ausDbF_Side_Af_Vent[i]; + rtb_matrix_f[6 * i + 3] = g_ausDbF_Side_Bi_Bi2[i]; + rtb_matrix_f[6 * i + 4] = g_ausDbF_Side_Bi_Vent[i]; + rtb_matrix_f[6 * i + 5] = g_ausDbF_Side_Bi2_Vent[i]; + } + + /* End of MATLAB Function: '/Side Section coefficient matrix' */ + + /* Lookup_n-D: '/Side Section coefficient' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtb_Bias_ct = look2_is16lu64n32tu16Ds32Is16ds32_binlcs(rtb_Switch5_l, + rtb_DataTypeConversion1_gq, rtConstP.pooled71, rtConstP.pooled72, + rtb_matrix_f, rtConstP.pooled47, 6U); + + /* Gain: '/Gain' incorporates: + * DataTypeConversion: '/Data Type Conversion3' + */ + rtb_uDLookupTable3 = 0.01 * (double)rtb_Bias_ct; + + /* MATLAB Function: '/Central Section coefficient matrix' */ + /* : matrix = [g_ausDbF_Cen_Af_Bi; g_ausDbF_Cen_Af_Bi2; g_ausDbF_Cen_Af_Vent; g_ausDbF_Cen_Bi_Bi2; g_ausDbF_Cen_Bi_Vent; g_ausDbF_Cen_Bi2_Vent]; */ + for (i = 0; i < 9; i++) { + rtb_matrix_f[6 * i] = g_ausDbF_Cen_Af_Bi[i]; + rtb_matrix_f[6 * i + 1] = g_ausDbF_Cen_Af_Bi2[i]; + rtb_matrix_f[6 * i + 2] = g_ausDbF_Cen_Af_Vent[i]; + rtb_matrix_f[6 * i + 3] = g_ausDbF_Cen_Bi_Bi2[i]; + rtb_matrix_f[6 * i + 4] = g_ausDbF_Cen_Bi_Vent[i]; + rtb_matrix_f[6 * i + 5] = g_ausDbF_Cen_Bi2_Vent[i]; + } + + /* End of MATLAB Function: '/Central Section coefficient matrix' */ + + /* Lookup_n-D: '/Central Section coefficient ' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtb_Bias_ct = look2_is16lu64n32tu16Ds32Is16ds32_binlcs(rtb_Switch5_l, + rtb_DataTypeConversion1_gq, rtConstP.pooled71, rtConstP.pooled72, + rtb_matrix_f, rtConstP.pooled47, 6U); + + /* Gain: '/Gain1' incorporates: + * DataTypeConversion: '/Data Type Conversion4' + */ + rtb_Divide10 = 0.01 * (double)rtb_Bias_ct; + + /* MATLAB Function: '/Foot. Section coefficient matrix' */ + /* : matrix = [g_ausDbF_Foot_Af_Bi; g_ausDbF_Foot_Af_Bi2; g_ausDbF_Foot_Af_Vent; g_ausDbF_Foot_Bi_Bi2; g_ausDbF_Foot_Bi_Vent; g_ausDbF_Foot_Bi2_Vent]; */ + for (i = 0; i < 9; i++) { + rtb_matrix_f[6 * i] = g_ausDbF_Foot_Af_Bi[i]; + rtb_matrix_f[6 * i + 1] = g_ausDbF_Foot_Af_Bi2[i]; + rtb_matrix_f[6 * i + 2] = g_ausDbF_Foot_Af_Vent[i]; + rtb_matrix_f[6 * i + 3] = g_ausDbF_Foot_Bi_Bi2[i]; + rtb_matrix_f[6 * i + 4] = g_ausDbF_Foot_Bi_Vent[i]; + rtb_matrix_f[6 * i + 5] = g_ausDbF_Foot_Bi2_Vent[i]; + } + + /* End of MATLAB Function: '/Foot. Section coefficient matrix' */ + + /* Lookup_n-D: '/Foot. Section coefficient' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtb_Bias_ct = look2_is16lu64n32tu16Ds32Is16ds32_binlcs(rtb_Switch5_l, + rtb_DataTypeConversion1_gq, rtConstP.pooled71, rtConstP.pooled72, + rtb_matrix_f, rtConstP.pooled47, 6U); + + /* Gain: '/Gain2' incorporates: + * DataTypeConversion: '/Data Type Conversion5' + */ + rtb_area_R_o = 0.01 * (double)rtb_Bias_ct; + + /* MATLAB Function: '/Step 9' incorporates: + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * MATLAB Function: '/Step 7' + */ + /* : koef_left = double(valves_left(1) + valves_left(2)) / double(valves_right(3) + valves_right(4)); */ + /* : koef_right = double(valves_right(3) + valves_right(4)) / double(valves_left(1) + valves_left(2)); */ + /* : if (AF_left > AF_right) */ + if (Gain1 > rtb_out_ihi) { + /* MATLAB Function: '/Step 7' */ + /* : y = (koef_left - 1) / 2; */ + rtb_Subtract = (uint32_t)rtb_u4[0] + rtb_u4[1]; + if (rtb_Subtract > 65535U) { + rtb_Subtract = 65535U; + } + + rtb_dt_i = (uint32_t)rtb_MultiportSwitch_lp[2] + rtb_MultiportSwitch_lp[3]; + if (rtb_dt_i > 65535U) { + rtb_dt_i = 65535U; + } + + rtb_Divide5 = ((double)rtb_Subtract / (double)rtb_dt_i - 1.0) / 2.0; + } else { + /* MATLAB Function: '/Step 7' */ + /* : else */ + /* : y = (koef_right - 1) / 2; */ + rtb_Subtract = (uint32_t)rtb_MultiportSwitch_lp[2] + rtb_MultiportSwitch_lp + [3]; + if (rtb_Subtract > 65535U) { + rtb_Subtract = 65535U; + } + + rtb_dt_i = (uint32_t)rtb_u4[0] + rtb_u4[1]; + if (rtb_dt_i > 65535U) { + rtb_dt_i = 65535U; + } + + rtb_Divide5 = ((double)rtb_Subtract / (double)rtb_dt_i - 1.0) / 2.0; + } + + /* End of MATLAB Function: '/Step 9' */ + + /* Lookup_n-D: '/Coefficient AF' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * MATLAB Function: '/Coefficient AF matrix' + */ + /* : matrix = [ */ + /* : 75 75 75 75 75 75 75 75 75; */ + /* : 75 75 75 75 75 75 75 75 75; */ + /* : 85 85 85 85 85 85 85 85 85; */ + /* : 75 75 75 75 75 75 75 75 75; */ + /* : 75 75 1.5 75 75 75 75 75 75; */ + /* : 75 75 75 75 75 75 75 75 75; */ + /* : ]; */ + rtb_Bias_ct = look2_is16tdIs16dd_binlc(rtb_Switch5_l, + rtb_DataTypeConversion1_gq, rtConstP.pooled71, rtConstP.pooled72, &tmp_6[0], + rtConstP.pooled47, 6U); + + /* MATLAB Function: '/Step 10' incorporates: + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataTypeConversion: '/Data Type Conversion' + */ + /* : if (AF_left > AF_right) */ + if (Gain1 > rtb_out_ihi) { + /* : AF_left_new = double(AF_left) + (double(AF_left) * koef_step9 * koef_AF_matrix * 0.01); */ + rtb_D = (double)Gain1 * rtb_Divide5 * (double)rtb_Bias_ct * 0.01 + (double) + Gain1; + } else { + /* : else */ + /* : AF_left_new = double(AF_left); */ + rtb_D = Gain1; + } + + /* : if (AF_right > AF_left) */ + if (rtb_out_ihi > Gain1) { + /* : AF_right_new = double(AF_right) + (double(AF_right) * koef_step9 * koef_AF_matrix * 0.01); */ + rtb_P = (double)rtb_out_ihi * rtb_Divide5 * (double)rtb_Bias_ct * 0.01 + + (double)rtb_out_ihi; + } else { + /* : else */ + /* : AF_right_new = double(AF_right); */ + rtb_P = rtb_out_ihi; + } + + /* End of MATLAB Function: '/Step 10' */ + + /* SignalConversion generated from: '/Vector Concatenate' */ + /* : min_side_L = uint8(100); */ + /* : max_side_L = uint8(100); */ + /* : min_side_R = uint8(100); */ + /* : max_side_R = uint8(100); */ + /* : min_center_L = uint8(100); */ + /* : max_center_L = uint8(100); */ + /* : min_center_R = uint8(100); */ + /* : max_center_R = uint8(100); */ + /* : min_foot_L = uint8(100); */ + /* : max_foot_L = uint8(100); */ + /* : min_foot_R = uint8(100); */ + /* : max_foot_R = uint8(100); */ + /* : AF_MAX = 160; */ + /* : AF_MIN = 20; */ + /* : coef_min = [min_side_L, min_center_L, min_center_R, min_side_R, min_foot_L, min_foot_R]; */ + /* : coef_max = [max_side_L, max_center_L, max_center_R, max_side_R, max_foot_L, max_foot_R]; */ + /* : coeff_left = double(coef_max) - (double(AF_MAX - AF_left)/double(AF_MAX - AF_MIN))*double(coef_max - coef_min); */ + /* : coeff_right = double(coef_max) - (double(AF_MAX - AF_right)/double(AF_MAX - AF_MIN))*double(coef_max - coef_min); */ + /* : coeff = [coeff_left(1), coeff_left(2), coeff_right(3), coeff_right(4), coeff_left(5), coeff_right(6)]; */ + rtb_out[0] = rtb_u4[0]; + + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_out[2] = rtb_MultiportSwitch_lp[2]; + + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_out[1] = rtb_u4[1]; + + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_out[3] = rtb_MultiportSwitch_lp[3]; + + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_out[4] = rtb_u4[4]; + + /* SignalConversion generated from: '/Vector Concatenate' */ + rtb_out[5] = rtb_MultiportSwitch_lp[6]; + for (i = 0; i < 6; i++) { + /* Product: '/пункты 8-10' incorporates: + * Concatenate: '/Vector Concatenate' + * Gain: '/Gain' + */ + rtb_Divide5 = 0.0099999904632568359 * (double)rtb_out[i]; + rtb_Gain1_md[i] = rtb_Divide5; + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * Gain: '/Gain1' + * Product: '/пункты 8-10' + */ + rtb_y_oz[i] = 100.0 * rtb_Divide5; + } + + /* MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_b(&rtb_y_oz[0]); + + /* MATLAB Function: '/площадь сечения заслонок' */ + u_h4(rtb_out); + + /* MATLAB Function: '/B-Pillar_ - % damper opening' */ + BPillar_damperopening(rtb_Gain1_md, rtb_out, rtb_y_ej, rtb_y_e, + rtb_Saturation_hch, rtb_y_d, rtb_valve_space_center_R_m, + rtb_valve_space_foot_R_a); + + /* MATLAB Function: '/MATLAB Function2' */ + MATLABFunction2(rtb_y_hu); + + /* Lookup_n-D: '/1-D Lookup Table' */ + rtb_Divide5 = rtb_y_ej[plook_u32d_bincka(rtb_y_oz[0], rtb_y_hu, 10U)]; + + /* MATLAB Function: '/MATLAB Function3' */ + MATLABFunction3(rtb_y_hu); + + /* Lookup_n-D: '/1-D Lookup Table1' */ + rtb_uDLookupTable1_jw = rtb_y_e[plook_u32d_bincka(rtb_y_oz[1], rtb_y_hu, 10U)]; + + /* MATLAB Function: '/MATLAB Function4' */ + MATLABFunction4(rtb_y_hu); + + /* Lookup_n-D: '/1-D Lookup Table2' incorporates: + * Saturate: '/Saturation' + */ + rtb_uDLookupTable2_fm = rtb_Saturation_hch[plook_u32d_bincka(rtb_y_oz[4], + rtb_y_hu, 10U)]; + + /* MATLAB Function: '/MATLAB Function5' */ + MATLABFunction2(rtb_y_hu); + + /* Lookup_n-D: '/1-D Lookup Table3' */ + rtb_uDLookupTable3_bz = rtb_y_d[plook_u32d_bincka(rtb_y_oz[3], rtb_y_hu, 10U)]; + + /* MATLAB Function: '/MATLAB Function6' */ + MATLABFunction3(rtb_y_hu); + + /* Lookup_n-D: '/1-D Lookup Table4' */ + rtb_uDLookupTable4_en = rtb_valve_space_center_R_m[plook_u32d_bincka(rtb_y_oz + [2], rtb_y_hu, 10U)]; + + /* MATLAB Function: '/MATLAB Function7' */ + MATLABFunction4(rtb_y_hu); + + /* MATLAB Function: '/MATLAB Function' incorporates: + * Lookup_n-D: '/1-D Lookup Table5' + */ + MATLABFunction_j(rtb_Gain1_md, rtb_Divide5, rtb_uDLookupTable1_jw, + rtb_uDLookupTable2_fm, rtb_uDLookupTable3_bz, + rtb_uDLookupTable4_en, + rtb_valve_space_foot_R_a[plook_u32d_binckan(rtb_y_oz[5], + rtb_y_hu, 10U)], &rtb_area_L_j, &rtb_output_h); + + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + */ + rtb_RelationalOperator6_f = (rtDW.Index_mode_FL == rtDW.Index_mode_FR); + + /* Switch: '/пункт 16 L' incorporates: + * Product: '/пункт 12 (L)' + * Product: '/пункт 14 (L)' + */ + if (rtb_RelationalOperator6_f) { + rtb_Divide5 = rtb_area_L_j / rtb_output_h; + } else { + rtb_Divide5 = rtb_output_h / rtb_area_L_j; + } + + /* End of Switch: '/пункт 16 L' */ + + /* Saturate: '/пункт 17 L' */ + if (rtb_Divide5 > 1.0) { + rtb_uDLookupTable1_jw = 1.0; + } else if (rtb_Divide5 < 0.0) { + rtb_uDLookupTable1_jw = 0.0; + } else { + rtb_uDLookupTable1_jw = rtb_Divide5; + } + + /* End of Saturate: '/пункт 17 L' */ + + /* Switch: '/пункт 16 R' incorporates: + * Product: '/пункт 12 (R)' + * Product: '/пункт 14 (R)' + */ + if (rtb_RelationalOperator6_f) { + rtb_Divide5 = rtb_output_h / rtb_area_L_j; + } else { + rtb_Divide5 = rtb_area_L_j / rtb_output_h; + } + + /* End of Switch: '/пункт 16 R' */ + + /* Product: '/пункт 13 L' */ + rtb_output_h = rtb_D / rtb_P; + + /* Product: '/пункт 13 R' */ + rtb_area_L_j = rtb_P / rtb_D; + + /* Saturate: '/пункт 17 R' */ + if (rtb_Divide5 > 1.0) { + rtb_Divide5 = 1.0; + } else if (rtb_Divide5 < 0.0) { + rtb_Divide5 = 0.0; + } + + /* Saturate: '/пункт 15 L' */ + if (rtb_output_h > 1.0) { + rtb_output_h = 1.0; + } else if (rtb_output_h < 0.0) { + rtb_output_h = 0.0; + } + + /* Saturate: '/пункт 15 R' */ + if (rtb_area_L_j > 1.0) { + rtb_area_L_j = 1.0; + } else if (rtb_area_L_j < 0.0) { + rtb_area_L_j = 0.0; + } + + /* MATLAB Function: '/пункты 18-20' incorporates: + * Saturate: '/пункт 15 L' + * Saturate: '/пункт 15 R' + * Saturate: '/пункт 17 R' + */ + u820(rtb_uDLookupTable1_jw, rtb_Divide5, rtb_output_h, rtb_area_L_j, + &rtb_y_hu[0]); + + /* Product: '/Product2' incorporates: + * MATLAB Function: '/пункт 21-23' + * Product: '/пункты 8-10' + */ + for (i = 0; i < 6; i++) { + rtb_Divide5 = rtb_Gain1_md[i] * rtb_y_hu[i]; + + /* Product: '/Product2' incorporates: + * Product: '/пункты 8-10' + */ + rtb_Gain1_md[i] = rtb_Divide5; + rtb_y_oz[i] = rtb_Divide5; + } + + /* End of Product: '/Product2' */ + + /* MATLAB Function: '/пункт 21-23' 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' + */ + u123(&rtb_y_oz[0], rtDW.DRS_SFL, rtDW.DRS_SFR, rtDW.DRS_CFL, rtDW.DRS_CFR, + rtDW.Index_mode_FL, rtDW.Index_mode_FR); + + /* MATLAB Function: '/таблица D184-E190 (Step 7 Minimum damper opening factor)' */ + /* : AF_vector = [0, 20, 40, 80, 100, 120, 140, 160]; */ + /* : valve_pos_min_center_with_0 = double([0, g_aucREAR_CEN_MIN_VALUE_BY_DRS_ZERO]) * 0.01; */ + valve_pos_min_center_with_0[0] = 0.0; + + /* : min_damper_opening_factor_L = zeros(1, 7); */ + /* : for i = 1:7 */ + /* : min_damper_opening_factor_R = zeros(1, 7); */ + /* : for i = 1:7 */ + for (i = 0; i < 7; i++) { + rtb_Divide5 = (double)g_aucREAR_CEN_MIN_VALUE_BY_DRS_ZERO[i] * 0.01; + valve_pos_min_center_with_0[i + 1] = rtb_Divide5; + + /* : min_damper_opening_factor_L(i) = valve_pos_min_center_with_0(i+1) + ((AF_vector(i+1) - double(AF_L)) / (AF_vector(i+1) - AF_vector(i))) * (valve_pos_min_center_with_0(i) - valve_pos_min_center_with_0(i+1)); */ + side_percent_L = b[i + 1]; + rtb_output_h = side_percent_L - b[i]; + rtb_area_L_j = valve_pos_min_center_with_0[i] - rtb_Divide5; + min_damper_opening_factor_L[i] = ((double)side_percent_L - rtb_D) / + rtb_output_h * rtb_area_L_j + rtb_Divide5; + + /* : min_damper_opening_factor_R(i) = valve_pos_min_center_with_0(i+1) + ((AF_vector(i+1) - double(AF_R)) / (AF_vector(i+1) - AF_vector(i))) * (valve_pos_min_center_with_0(i) - valve_pos_min_center_with_0(i+1)); */ + min_damper_opening_factor_R[i] = ((double)side_percent_L - rtb_P) / + rtb_output_h * rtb_area_L_j + rtb_Divide5; + } + + /* : if AF_L == 0 */ + if (rtb_D == 0.0) { + /* : opening_factor_L = 0; */ + rtb_Divide5 = 0.0; + } else if (rtb_D <= 20.0) { + /* : elseif AF_L <= AF_vector(2) */ + /* : opening_factor_L = min_damper_opening_factor_L(2); */ + rtb_Divide5 = min_damper_opening_factor_L[1]; + } else if (rtb_D <= 40.0) { + /* : elseif AF_L <= AF_vector(3) */ + /* : opening_factor_L = min_damper_opening_factor_L(3); */ + rtb_Divide5 = min_damper_opening_factor_L[2]; + } else if (rtb_D <= 80.0) { + /* : elseif AF_L <= AF_vector(4) */ + /* : opening_factor_L = min_damper_opening_factor_L(4); */ + rtb_Divide5 = min_damper_opening_factor_L[3]; + } else if (rtb_D <= 100.0) { + /* : elseif AF_L <= AF_vector(5) */ + /* : opening_factor_L = min_damper_opening_factor_L(5); */ + rtb_Divide5 = min_damper_opening_factor_L[4]; + } else if (rtb_D <= 120.0) { + /* : elseif AF_L <= AF_vector(6) */ + /* : opening_factor_L = min_damper_opening_factor_L(6); */ + rtb_Divide5 = min_damper_opening_factor_L[5]; + } else if (rtb_D <= 140.0) { + /* : elseif AF_L <= AF_vector(7) */ + /* : opening_factor_L = min_damper_opening_factor_L(7); */ + rtb_Divide5 = min_damper_opening_factor_L[6]; + } else { + /* : else */ + /* : opening_factor_L = min_damper_opening_factor_L(7); */ + rtb_Divide5 = min_damper_opening_factor_L[6]; + } + + /* : if AF_R == 0 */ + if (rtb_P == 0.0) { + /* : opening_factor_R = 0; */ + rtb_output_h = 0.0; + } else if (rtb_P <= 20.0) { + /* : elseif AF_R <= AF_vector(2) */ + /* : opening_factor_R = min_damper_opening_factor_R(2); */ + rtb_output_h = min_damper_opening_factor_R[1]; + } else if (rtb_P <= 40.0) { + /* : elseif AF_R <= AF_vector(3) */ + /* : opening_factor_R = min_damper_opening_factor_R(3); */ + rtb_output_h = min_damper_opening_factor_R[2]; + } else if (rtb_P <= 80.0) { + /* : elseif AF_R <= AF_vector(4) */ + /* : opening_factor_R = min_damper_opening_factor_R(4); */ + rtb_output_h = min_damper_opening_factor_R[3]; + } else if (rtb_P <= 100.0) { + /* : elseif AF_R <= AF_vector(5) */ + /* : opening_factor_R = min_damper_opening_factor_R(5); */ + rtb_output_h = min_damper_opening_factor_R[4]; + } else if (rtb_P <= 120.0) { + /* : elseif AF_R <= AF_vector(6) */ + /* : opening_factor_R = min_damper_opening_factor_R(6); */ + rtb_output_h = min_damper_opening_factor_R[5]; + } else if (rtb_P <= 140.0) { + /* : elseif AF_R <= AF_vector(7) */ + /* : opening_factor_R = min_damper_opening_factor_R(7); */ + rtb_output_h = min_damper_opening_factor_R[6]; + } else { + /* : else */ + /* : opening_factor_R = min_damper_opening_factor_R(7); */ + rtb_output_h = min_damper_opening_factor_R[6]; + } + + /* End of MATLAB Function: '/таблица D184-E190 (Step 7 Minimum damper opening factor)' */ + + /* MATLAB Function: '/пункт 25' */ + u5(&rtb_y_oz[0], rtb_Divide5, rtb_output_h, &rtb_y_hu[0]); + for (i = 0; i < 6; i++) { + /* Saturate: '/пункты 26-28' */ + rtb_output_h = rtb_y_hu[i]; + if (rtb_output_h > 1.0) { + rtb_output_h = 1.0; + } else if (rtb_output_h < 0.0) { + rtb_output_h = 0.0; + } + + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * Gain: '/Gain2' + * Saturate: '/пункты 26-28' + */ + rtb_out_kez = (uint16_t)rt_roundd(100.0 * rtb_output_h); + rtb_out[i] = rtb_out_kez; + + /* DataTypeConversion: '/Data Type Conversion6' */ + rtb_Gain1_md[i] = rtb_out_kez; + } + + /* MATLAB Function: '/Step 8' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataTypeConversion: '/Data Type Conversion1' + * DataTypeConversion: '/Data Type Conversion2' + * DataTypeConversion: '/Data Type Conversion6' + */ + /* : if (mode_left < mode_right) */ + if (rtDW.Index_mode_FL < rtDW.Index_mode_FR) { + /* : side_L = valves_L(1) * coeff_side; */ + rtb_Divide5 = rtb_DataTypeConversion1[0] * rtb_uDLookupTable3; + + /* : center_L = valves_L(2) * coeff_center; */ + rtb_output_h = rtb_DataTypeConversion1[1] * rtb_Divide10; + + /* : foot_L = valves_L(5) * coeff_foot; */ + rtb_area_L_j = rtb_DataTypeConversion1[4] * rtb_area_R_o; + } else { + /* : else */ + /* : side_L = valves_from_internediate(1); */ + rtb_Divide5 = rtb_Gain1_md[0]; + + /* : center_L = valves_from_internediate(2); */ + rtb_output_h = rtb_Gain1_md[1]; + + /* : foot_L = valves_from_internediate(5); */ + rtb_area_L_j = rtb_Gain1_md[4]; + } + + /* : if (mode_right < mode_left) */ + if (rtDW.Index_mode_FR < rtDW.Index_mode_FL) { + /* : side_R = valves_R(4) * coeff_side; */ + rtb_uDLookupTable3 *= (double)rtb_DataTypeConversion2[3]; + + /* : center_R = valves_R(3) * coeff_center; */ + rtb_uDLookupTable1_jw = (double)rtb_DataTypeConversion2[2] * rtb_Divide10; + + /* : foot_R = valves_R(6) * coeff_foot; */ + rtb_uDLookupTable2_fm = (double)rtb_DataTypeConversion2[5] * rtb_area_R_o; + } else { + /* : else */ + /* : side_R = valves_from_internediate(4); */ + rtb_uDLookupTable3 = rtb_Gain1_md[3]; + + /* : center_R = valves_from_internediate(3); */ + rtb_uDLookupTable1_jw = rtb_Gain1_md[2]; + + /* : foot_R = valves_from_internediate(6); */ + rtb_uDLookupTable2_fm = rtb_Gain1_md[5]; + } + + /* MATLAB Function: '/пункт 24' 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' + */ + /* : valves = [side_L, center_L, center_R, side_R, foot_L, foot_R]; */ + u4(Gain1, rtb_out_ihi, rtDW.DRS_SFL, rtDW.DRS_SFR, rtDW.DRS_CFL, rtDW.DRS_CFR, + rtDW.Index_mode_FL, rtDW.Index_mode_FR, &rtb_area_R_o, &rtb_Divide10); + + /* MATLAB Function: '/AF умножили на коэфф' */ + AF(rtb_area_R_o, rtb_Divide10, &rtb_uDLookupTable3_bz, &rtb_uDLookupTable4_en); + + /* MATLAB Function: '/Coefficient pwm matrix' */ + /* : matrix = [g_ausDbF_Pwm_Af_Bi; g_ausDbF_Pwm_Af_Bi2; g_ausDbF_Pwm_Af_Vent; g_ausDbF_Pwm_Bi_Bi2; g_ausDbF_Pwm_Bi_Vent; g_ausDbF_Pwm_Bi2_Vent]; */ + for (i = 0; i < 9; i++) { + rtb_matrix_f[6 * i] = g_ausDbF_Pwm_Af_Bi[i]; + rtb_matrix_f[6 * i + 1] = g_ausDbF_Pwm_Af_Bi2[i]; + rtb_matrix_f[6 * i + 2] = g_ausDbF_Pwm_Af_Vent[i]; + rtb_matrix_f[6 * i + 3] = g_ausDbF_Pwm_Bi_Bi2[i]; + rtb_matrix_f[6 * i + 4] = g_ausDbF_Pwm_Bi_Vent[i]; + rtb_matrix_f[6 * i + 5] = g_ausDbF_Pwm_Bi2_Vent[i]; + } + + /* End of MATLAB Function: '/Coefficient pwm matrix' */ + + /* Lookup_n-D: '/Coefficient pwm' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + */ + rtb_DataTypeConversion1_gq = look2_is16lu64n32tu16Ds32Is16ds32_binlcs + (rtb_Switch5_l, rtb_DataTypeConversion1_gq, rtConstP.pooled71, + rtConstP.pooled72, rtb_matrix_f, rtConstP.pooled47, 6U); + + /* MATLAB Function: '/Selector' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + /* : AF_left_out = AF_left * double(coef_PWM) * 0.01; */ + /* : AF_right_out = AF_right * double(coef_PWM) * 0.01; */ + /* : isActive = false; */ + rtDW.DifferentBlower_Front_isActive = false; + + /* : valves = uint16(valves_step2); */ + for (i = 0; i < 6; i++) { + /* MATLAB Function: '/Selector' incorporates: + * DataStoreWrite: '/Data Store Write1' + * DataTypeConversion: '/Data Type Conversion' + */ + rtDW.DifferentBlower_Front_valves[i] = (uint16_t)(int32_t)rtb_u10[i]; + } + + /* MATLAB Function: '/Selector' incorporates: * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read1' * DataStoreRead: '/Data Store Read6' * DataStoreRead: '/Data Store Read7' * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write3' + * DataTypeConversion: '/Data Type Conversion3' + * DataTypeConversion: '/Data Type Conversion4' + * DataTypeConversion: '/Data Type Conversion8' + * DataTypeConversion: '/Data Type Conversion9' + * MATLAB Function: '/Step 11 - new AF' + */ + /* : AF_left_out = AF_left_step2; */ + rtDW.Blower_AF_FL_after_DiffBlower = (uint16_t)rtb_uDLookupTable3_bz; + + /* : AF_right_out = AF_right_step2; */ + rtDW.Blower_AF_FR_after_DiffBlower = (uint16_t)rtb_uDLookupTable4_en; + + /* : if (AF_left ~= AF_right && AF_left ~= 0 && AF_right ~= 0 && (mode_left == 10 || mode_left == 20 || mode_left == 40) && (mode_right == 10 || mode_right == 20 || mode_right == 40)) */ + if ((Gain1 != rtb_out_ihi) && (Gain1 != 0) && (rtb_out_ihi != 0) && + ((rtDW.Index_mode_FL == 10) || (rtDW.Index_mode_FL == 20) || + (rtDW.Index_mode_FL == 40)) && ((rtDW.Index_mode_FR == 10) || + (rtDW.Index_mode_FR == 20) || (rtDW.Index_mode_FR == 40))) { + /* : isActive = true; */ + rtDW.DifferentBlower_Front_isActive = true; + + /* : if mode_left == mode_right */ + if (rtDW.Index_mode_FL == rtDW.Index_mode_FR) { + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + /* : valves = uint16(valves_step2); */ + for (i = 0; i < 6; i++) { + rtDW.DifferentBlower_Front_valves[i] = (uint16_t)(int32_t)rtb_u10[i]; + } + + /* : AF_left_out = AF_left_step2; */ + /* : AF_right_out = AF_right_step2; */ + } else { + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataTypeConversion: '/Data Type Conversion7' + * MATLAB Function: '/Step 8' + */ + /* : else */ + /* : valves = uint16(valves_step3); */ + rtDW.DifferentBlower_Front_valves[0] = (uint16_t)rtb_Divide5; + rtDW.DifferentBlower_Front_valves[1] = (uint16_t)rtb_output_h; + rtDW.DifferentBlower_Front_valves[2] = (uint16_t)rtb_uDLookupTable1_jw; + rtDW.DifferentBlower_Front_valves[3] = (uint16_t)rtb_uDLookupTable3; + rtDW.DifferentBlower_Front_valves[4] = (uint16_t)rtb_area_L_j; + rtDW.DifferentBlower_Front_valves[5] = (uint16_t)rtb_uDLookupTable2_fm; + + /* : AF_left_out = AF_left_step3; */ + rtDW.Blower_AF_FL_after_DiffBlower = (uint16_t)(rtb_D * (double) + rtb_DataTypeConversion1_gq * 0.01); + + /* : AF_right_out = AF_right_step3; */ + rtDW.Blower_AF_FR_after_DiffBlower = (uint16_t)(rtb_P * (double) + rtb_DataTypeConversion1_gq * 0.01); + } + } + + /* MATLAB Function: '/пункт 24' 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' + */ + /* : if (mode_left == 120) */ + if (rtDW.Index_mode_FL == 120) { + /* : param_index_L = 1; */ + i = 0; + } else { + /* : else */ + /* : param_index_L = 2; */ + i = 1; + } + + /* : index_start_L = (param_index_L - 1) * 3 + 1; */ + rtb_Cmd_3Way = i * 3 + 4; + + /* : if DRS_side_L == 0 */ + if (rtDW.DRS_SFL == 0) { + /* : side_percent_L = uint8(0); */ + side_percent_L = 0U; + } else { + /* : else */ + /* : side_percent_L = g_aucREAR_SIDE_DRS_PERCENT_AF(index_start_L + 3 - DRS_side_L); */ + i = rtb_Cmd_3Way - rtDW.DRS_SFL; + if (i < 0) { + i = 0; + } + + side_percent_L = g_aucREAR_SIDE_DRS_PERCENT_AF[i - 1]; + } + + /* : if DRS_center_L == 0 */ + if (rtDW.DRS_CFL == 0) { + /* : center_percent_L = uint8(0); */ + center_percent_L = 0U; + } else { + /* : else */ + /* : center_percent_L = g_aucREAR_CENT_DRS_PERCENT_AF(index_start_L + 3 - DRS_center_L); */ + i = rtb_Cmd_3Way - rtDW.DRS_CFL; + if (i < 0) { + i = 0; + } + + center_percent_L = g_aucREAR_CENT_DRS_PERCENT_AF[i - 1]; + } + + /* : if (mode_right == 120) */ + if (rtDW.Index_mode_FR == 120) { + /* : param_index_R = 1; */ + i = 0; + } else { + /* : else */ + /* : param_index_R = 2; */ + i = 1; + } + + /* : index_start_R = (param_index_R - 1) * 3 + 1; */ + rtb_Cmd_3Way = i * 3 + 4; + + /* : if DRS_side_R == 0 */ + if (rtDW.DRS_SFR == 0) { + /* : side_percent_R = uint8(0); */ + LowTempValve = 0U; + } else { + /* : else */ + /* : side_percent_R = g_aucREAR_SIDE_DRS_PERCENT_AF(index_start_R + 3 - DRS_side_R); */ + i = rtb_Cmd_3Way - rtDW.DRS_SFR; + if (i < 0) { + i = 0; + } + + LowTempValve = g_aucREAR_SIDE_DRS_PERCENT_AF[i - 1]; + } + + /* : if DRS_center_R == 0 */ + if (rtDW.DRS_CFR == 0) { + /* : center_percent_R = uint8(0); */ + center_percent = 0U; + } else { + /* : else */ + /* : center_percent_R = g_aucREAR_CENT_DRS_PERCENT_AF(index_start_R + 3 - DRS_center_R); */ + i = rtb_Cmd_3Way - rtDW.DRS_CFR; + if (i < 0) { + i = 0; + } + + center_percent = g_aucREAR_CENT_DRS_PERCENT_AF[i - 1]; + } + + /* : AF_with_DRS_L = double(side_percent_L + center_percent_L) / 2 * double(AF_L) * 0.01; */ + /* : AF_with_DRS_R = double(side_percent_R + center_percent_R) / 2 * double(AF_R) * 0.01; */ + i = (int32_t)((uint32_t)side_percent_L + center_percent_L); + if ((uint32_t)i > 255U) { + i = 255; + } + + rtb_Cmd_3Way = (int32_t)((uint32_t)LowTempValve + center_percent); + if ((uint32_t)rtb_Cmd_3Way > 255U) { + rtb_Cmd_3Way = 255; + } + + /* MATLAB Function: '/AF умножили на коэфф' incorporates: + * MATLAB Function: '/пункт 24' + */ + AF((double)i / 2.0 * rtb_D * 0.01, (double)rtb_Cmd_3Way / 2.0 * rtb_P * 0.01, + &rtb_Divide5, &rtb_area_R_o); + + /* MATLAB Function: '/условие входа' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreWrite: '/Data Store Write' */ /* : isActive = false; */ rtDW.DifferentBlower_Rear_isActive = false; @@ -46648,47 +49472,47 @@ void HVAC_model_step(void) if (((rtDW.Index_mode_RL == 120) || (rtDW.Index_mode_RL == 130) || (rtDW.Index_mode_RL == 140)) && ((rtDW.Index_mode_RR == 120) || (rtDW.Index_mode_RR == 130) || (rtDW.Index_mode_RR == 140)) && - ((rtDW.Index_mode_RL != rtDW.Index_mode_RR) || (rtb_out_fhd != rtb_out_fze)) - && (rtb_out_fhd > 0) && (rtb_out_fze > 0)) { + ((rtDW.Index_mode_RL != rtDW.Index_mode_RR) || (rtb_out_cryk != rtb_out_mf)) + && (rtb_out_cryk > 0) && (rtb_out_mf > 0)) { /* : if ((IndexMode_RL ~= IndexMode_RR || AF_RL ~= AF_RR) && (AF_RL > 0 && AF_RR > 0)) */ /* : isActive = true; */ rtDW.DifferentBlower_Rear_isActive = true; } - /* End of MATLAB Function: '/условие входа' */ + /* End of MATLAB Function: '/условие входа' */ - /* MATLAB Function: '/valves_rear' incorporates: - * DataStoreRead: '/Data Store Read' + /* MATLAB Function: '/valves_rear' incorporates: + * DataStoreRead: '/Data Store Read' */ - valves_rear(rtDW.Index_mode_RL, rtb_urear_e); + valves_rear(rtDW.Index_mode_RL, &rtb_MultiportSwitch_lp[0]); - /* MATLAB Function: '/valves_rear1' incorporates: - * DataStoreRead: '/Data Store Read1' + /* MATLAB Function: '/valves_rear1' incorporates: + * DataStoreRead: '/Data Store Read1' */ valves_rear(rtDW.Index_mode_RR, rtb_out); - /* Outputs for Enabled SubSystem: '/DIFFERENT BLOWER - Rear' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/DIFFERENT BLOWER - Rear' incorporates: + * EnablePort: '/Enable' */ - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ if (rtDW.DifferentBlower_Rear_isActive) { - /* MATLAB Function: '/coefficients for valves' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/coefficients for valves' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' */ /* : min_side_L = uint8(100); */ - min_side_L = 100U; + side_percent_L = 100U; /* : max_side_L = uint8(100); */ - max_side_L = 100U; + center_percent_L = 100U; /* : min_side_R = uint8(100); */ LowTempValve = 100U; /* : max_side_R = uint8(100); */ - rtb_DataTypeConversion3_hs = 100U; + center_percent = 100U; /* : min_center_L = uint8(100); */ min_center_L = 100U; @@ -46719,10 +49543,10 @@ void HVAC_model_step(void) case 120U: /* : case 120 */ /* : min_side_L = g_aucBLR_SPD_K2_1_R_BIPILLAR_MIN(1); */ - min_side_L = g_aucBLR_SPD_K2_1_R_BIPILLAR_MIN[0]; + side_percent_L = g_aucBLR_SPD_K2_1_R_BIPILLAR_MIN[0]; /* : max_side_L = g_aucBLR_SPD_K2_1_R_BIPILLAR_MAX(1); */ - max_side_L = g_aucBLR_SPD_K2_1_R_BIPILLAR_MAX[0]; + center_percent_L = g_aucBLR_SPD_K2_1_R_BIPILLAR_MAX[0]; /* : min_center_L = g_aucBLR_SPD_K2_2_R_CENT_VENT_MIN(1); */ min_center_L = g_aucBLR_SPD_K2_2_R_CENT_VENT_MIN[0]; @@ -46734,10 +49558,10 @@ void HVAC_model_step(void) case 130U: /* : case 130 */ /* : min_side_L = g_aucBLR_SPD_K2_1_R_BIPILLAR_MIN(8); */ - min_side_L = g_aucBLR_SPD_K2_1_R_BIPILLAR_MIN[7]; + side_percent_L = g_aucBLR_SPD_K2_1_R_BIPILLAR_MIN[7]; /* : max_side_L = g_aucBLR_SPD_K2_1_R_BIPILLAR_MAX(8); */ - max_side_L = g_aucBLR_SPD_K2_1_R_BIPILLAR_MAX[7]; + center_percent_L = g_aucBLR_SPD_K2_1_R_BIPILLAR_MAX[7]; /* : min_center_L = g_aucBLR_SPD_K2_2_R_CENT_VENT_MIN(9); */ min_center_L = g_aucBLR_SPD_K2_2_R_CENT_VENT_MIN[8]; @@ -46776,7 +49600,7 @@ void HVAC_model_step(void) LowTempValve = g_aucBLR_SPD_K2_1_R_BIPILLAR_MIN[0]; /* : max_side_R = g_aucBLR_SPD_K2_1_R_BIPILLAR_MAX(1); */ - rtb_DataTypeConversion3_hs = g_aucBLR_SPD_K2_1_R_BIPILLAR_MAX[0]; + center_percent = g_aucBLR_SPD_K2_1_R_BIPILLAR_MAX[0]; /* : min_center_R = g_aucBLR_SPD_K2_2_R_CENT_VENT_MIN(1); */ min_center_R = g_aucBLR_SPD_K2_2_R_CENT_VENT_MIN[0]; @@ -46791,7 +49615,7 @@ void HVAC_model_step(void) LowTempValve = g_aucBLR_SPD_K2_1_R_BIPILLAR_MIN[7]; /* : max_side_R = g_aucBLR_SPD_K2_1_R_BIPILLAR_MAX(8); */ - rtb_DataTypeConversion3_hs = g_aucBLR_SPD_K2_1_R_BIPILLAR_MAX[7]; + center_percent = g_aucBLR_SPD_K2_1_R_BIPILLAR_MAX[7]; /* : min_center_R = g_aucBLR_SPD_K2_2_R_CENT_VENT_MIN(9); */ min_center_R = g_aucBLR_SPD_K2_2_R_CENT_VENT_MIN[8]; @@ -46826,25 +49650,25 @@ void HVAC_model_step(void) /* : AF_MIN = 20; */ /* : coef_min = [min_side_L, min_center_L, min_center_R, min_side_R, min_foot_L, min_foot_R]; */ /* : coef_max = [max_side_L, max_center_L, max_center_R, max_side_R, max_foot_L, max_foot_R]; */ - coef_max[0] = max_side_L; + coef_max[0] = center_percent_L; coef_max[1] = max_center_L; coef_max[2] = max_center_R; - coef_max[3] = rtb_DataTypeConversion3_hs; + coef_max[3] = center_percent; coef_max[4] = max_foot_L; coef_max[5] = max_foot_R; /* : coeff_left = double(coef_max) - (double(AF_MAX - AF_left)/double(AF_MAX - AF_MIN))*double(coef_max - coef_min); */ /* MW:begin MISRA2012:D4.1 CERT-C:INT30-C 'Justifying MISRA CPP rule violation' */ - rtb_Subtract = 160U - rtb_out_fhd; + rtb_Subtract = 160U - rtb_out_cryk; /* MW:end MISRA2012:D4.1 CERT-C:INT30-C */ - if (160U - rtb_out_fhd > 160U) { + if (160U - rtb_out_cryk > 160U) { rtb_Subtract = 0U; } - rtb_duct_select_index_dbg_c = (double)(int32_t)rtb_Subtract / 140.0; - rtb_Subtract = (uint32_t)max_side_L - /*MW:OvSatOk*/ min_side_L; - if (rtb_Subtract > max_side_L) { + rtb_Divide5 = (double)(int32_t)rtb_Subtract / 140.0; + rtb_Subtract = (uint32_t)center_percent_L - /*MW:OvSatOk*/ side_percent_L; + if (rtb_Subtract > center_percent_L) { rtb_Subtract = 0U; } @@ -46861,9 +49685,8 @@ void HVAC_model_step(void) } rtb_u10[2] = rtb_Subtract; - rtb_Subtract = (uint32_t)rtb_DataTypeConversion3_hs - /*MW:OvSatOk*/ - LowTempValve; - if (rtb_Subtract > rtb_DataTypeConversion3_hs) { + rtb_Subtract = (uint32_t)center_percent - /*MW:OvSatOk*/ LowTempValve; + if (rtb_Subtract > center_percent) { rtb_Subtract = 0U; } @@ -46882,88 +49705,61 @@ void HVAC_model_step(void) rtb_u10[5] = rtb_Subtract; /* : coeff_right = double(coef_max) - (double(AF_MAX - AF_right)/double(AF_MAX - AF_MIN))*double(coef_max - coef_min); */ - rtb_Subtract = 160U - rtb_out_fze; - if (160U - rtb_out_fze > 160U) { + rtb_Subtract = 160U - rtb_out_mf; + if (160U - rtb_out_mf > 160U) { rtb_Subtract = 0U; } - rtb_D = (double)(int32_t)rtb_Subtract / 140.0; + rtb_area_R_o = (double)(int32_t)rtb_Subtract / 140.0; for (i = 0; i < 6; i++) { rtb_Cmd_3Way = coef_max[i]; rtb_Y_o_idx_2 = (int32_t)rtb_u10[i]; - coeff_left[i] = (double)rtb_Cmd_3Way - rtb_duct_select_index_dbg_c * - (double)rtb_Y_o_idx_2; - coeff_right[i] = (double)rtb_Cmd_3Way - rtb_D * (double)rtb_Y_o_idx_2; + rtb_Gain1_md[i] = (double)rtb_Cmd_3Way - rtb_Divide5 * (double) + rtb_Y_o_idx_2; + coeff_right[i] = (double)rtb_Cmd_3Way - rtb_area_R_o * (double) + rtb_Y_o_idx_2; } - /* Assignment: '/Присваивание в [3-4] rear' incorporates: - * Assignment: '/Присваивание в [6] rear' - */ + /* Assignment: '/Присваивание в [3-4] rear' */ /* : coeff = [coeff_left(1), coeff_left(2), coeff_right(3), coeff_right(4), coeff_left(5), coeff_right(6)]; */ - rtb_urear_e[2] = rtb_out[2]; - rtb_urear_e[3] = rtb_out[3]; + rtb_MultiportSwitch_lp[2] = rtb_out[2]; + rtb_MultiportSwitch_lp[3] = rtb_out[3]; - /* Assignment: '/Присваивание в [6] rear' */ - rtb_urear_e[5] = rtb_out[5]; + /* Assignment: '/Присваивание в [6] rear' */ + rtb_MultiportSwitch_lp[5] = rtb_out[5]; - /* Gain: '/Gain1' incorporates: - * MATLAB Function: '/coefficients for valves' + /* Gain: '/Gain1' incorporates: + * MATLAB Function: '/coefficients for valves' */ - tmp_1[0] = 0.01 * coeff_left[0]; - tmp_1[1] = 0.01 * coeff_left[1]; + tmp_1[0] = 0.01 * rtb_Gain1_md[0]; + tmp_1[1] = 0.01 * rtb_Gain1_md[1]; tmp_1[2] = 0.01 * coeff_right[2]; tmp_1[3] = 0.01 * coeff_right[3]; - tmp_1[4] = 0.01 * coeff_left[4]; + tmp_1[4] = 0.01 * rtb_Gain1_md[4]; tmp_1[5] = 0.01 * coeff_right[5]; /* : y = ceil(round(u) / 10) * 10; */ for (i = 0; i < 6; i++) { - /* Gain: '/Gain' incorporates: - * Assignment: '/Присваивание в [6] rear' + /* Gain: '/Gain' */ + rtb_Divide5 = 0.0099999904632568359 * (double)rtb_MultiportSwitch_lp[i]; + rtb_Saturation_hch[i] = rtb_Divide5; + + /* Product: '/пункты 8-10' */ + rtb_Divide5 *= tmp_1[i]; + rtb_u10[i] = rtb_Divide5; + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * Gain: '/Gain1' + * Product: '/пункты 8-10' */ - rtb_D = 0.0099999904632568359 * (double)rtb_urear_e[i]; - rtb_Saturation_hch[i] = rtb_D; - - /* Product: '/пункты 8-10' */ - rtb_duct_select_index_dbg_c = tmp_1[i] * rtb_D; - rtb_u10[i] = rtb_duct_select_index_dbg_c; - coeff_right[i] = ceil(rt_roundd(100.0 * rtb_duct_select_index_dbg_c) / - 10.0) * 10.0; + rtb_Gain1_md[i] = ceil(rt_roundd(100.0 * rtb_Divide5) / 10.0) * 10.0; } - /* MATLAB Function: '/площадь сечения заслонок' incorporates: - * Gain: '/Gain1' - * MATLAB Function: '/MATLAB Function1' - * Product: '/пункты 8-10' - */ - /* : valve_space = [g_ausVALVE_SPACE(4), g_ausVALVE_SPACE(5), g_ausVALVE_SPACE(5), g_ausVALVE_SPACE(4), g_ausVALVE_SPACE(6), g_ausVALVE_SPACE(6)] * 10; */ - rtb_Subtract = g_ausVALVE_SPACE[3] * 10U; - rtb_dt_nx = rtb_Subtract; - if (rtb_Subtract > 65535U) { - rtb_dt_nx = 65535U; - } + /* MATLAB Function: '/площадь сечения заслонок' */ + u_h4(&rtb_MultiportSwitch_lp[0]); - rtb_Gain2_tmp_tmp = g_ausVALVE_SPACE[4] * 10U; - rtb_Gain2_tmp_tmp_0 = rtb_Gain2_tmp_tmp; - if (rtb_Gain2_tmp_tmp > 65535U) { - rtb_Gain2_tmp_tmp_0 = 65535U; - rtb_Gain2_tmp_tmp = 65535U; - } - - if (rtb_Subtract > 65535U) { - rtb_Subtract = 65535U; - } - - tmp_4 = g_ausVALVE_SPACE[5] * 10U; - tmp_2 = tmp_4; - if (tmp_4 > 65535U) { - tmp_2 = 65535U; - tmp_4 = 65535U; - } - - /* MATLAB Function: '/B-Pillar_ - % damper opening' incorporates: - * MATLAB Function: '/площадь сечения заслонок' - * Product: '/пункты 8-10' + /* MATLAB Function: '/B-Pillar_ - % damper opening' incorporates: + * Product: '/пункты 8-10' */ /* : b_pillar_100 = double(valve_space(1)); */ /* : g_aucVALVE_PERC_R_BIPILLAR_with0 = double([0, g_aucVALVE_PERC_R_BIPILLAR]) * 0.01; */ @@ -46974,313 +49770,307 @@ void HVAC_model_step(void) } /* : b_pillar_all_perc = g_aucVALVE_PERC_R_BIPILLAR_with0 * b_pillar_100; */ + rtb_Cmd_3Way = rtb_MultiportSwitch_lp[0]; + /* : valve_space_b_pillar_L = zeros(1, 11); */ for (i = 0; i < 11; i++) { - rtb_y_hu[i] = rtb_valve_space_center_R[i] * (double)rtb_dt_nx; - rtb_valve_space_b_pillar_L[i] = 0.0; + rtb_y_hu[i] = rtb_valve_space_center_R[i] * (double)rtb_Cmd_3Way; + rtb_valve_space_foot_R_a[i] = 0.0; } /* : for i = 1:10 */ /* : valve_space_b_pillar_L(1) = 0; */ /* : valve_space_b_pillar_L(11) = b_pillar_100; */ - rtb_valve_space_b_pillar_L[10] = rtb_dt_nx; + rtb_valve_space_foot_R_a[10] = rtb_MultiportSwitch_lp[0]; /* : center_100 = double(valve_space(2)); */ /* : g_aucVALVE_PERC_R_CENT_VENT_with0 = double([0, g_aucVALVE_PERC_R_CENT_VENT]) * 0.01; */ - rtb_valve_space_foot_R[0] = 0.0; + rtb_y_ej[0] = 0.0; for (i = 0; i < 10; i++) { /* : valve_space_b_pillar_L(i) = b_pillar_all_perc(i+1) + ((g_aucVALVE_PERC_R_BIPILLAR_with0(i+1) - valves(1)) / (g_aucVALVE_PERC_R_BIPILLAR_with0(i+1) - g_aucVALVE_PERC_R_BIPILLAR_with0(i))) * (b_pillar_all_perc(i) - b_pillar_all_perc(i+1)); */ - rtb_duct_select_index_dbg_c = rtb_y_hu[i + 1]; - rtb_D = rtb_valve_space_center_R[i + 1]; - rtb_valve_space_b_pillar_L[i] = (rtb_D - rtb_u10[0]) / (rtb_D - - rtb_valve_space_center_R[i]) * (rtb_y_hu[i] - - rtb_duct_select_index_dbg_c) + rtb_duct_select_index_dbg_c; - rtb_valve_space_foot_R[i + 1] = (double)g_aucVALVE_PERC_R_CENT_VENT[i] * - 0.01; + rtb_Divide5 = rtb_y_hu[i + 1]; + rtb_area_R_o = rtb_valve_space_center_R[i + 1]; + rtb_valve_space_foot_R_a[i] = (rtb_area_R_o - rtb_u10[0]) / (rtb_area_R_o + - rtb_valve_space_center_R[i]) * (rtb_y_hu[i] - rtb_Divide5) + + rtb_Divide5; + rtb_y_ej[i + 1] = (double)g_aucVALVE_PERC_R_CENT_VENT[i] * 0.01; } - rtb_valve_space_b_pillar_L[0] = 0.0; + rtb_valve_space_foot_R_a[0] = 0.0; /* : center_all_perc = g_aucVALVE_PERC_R_CENT_VENT_with0 * center_100; */ + rtb_Cmd_3Way = rtb_MultiportSwitch_lp[1]; + /* : valve_space_center_L = zeros(1, 11); */ for (i = 0; i < 11; i++) { - rtb_y_hu[i] = rtb_valve_space_foot_R[i] * (double)rtb_Gain2_tmp_tmp_0; - rtb_valve_space_center_L[i] = 0.0; + rtb_y_hu[i] = rtb_y_ej[i] * (double)rtb_Cmd_3Way; + rtb_valve_space_center_R_m[i] = 0.0; } /* : for i = 1:10 */ /* : valve_space_center_L(1) = 0; */ /* : valve_space_center_L(11) = center_100; */ - rtb_valve_space_center_L[10] = rtb_Gain2_tmp_tmp_0; + rtb_valve_space_center_R_m[10] = rtb_MultiportSwitch_lp[1]; /* : foot_100 = double(valve_space(5)); */ /* : g_aucVALVE_PERC_R_FOOT_with0 = double([0, g_aucVALVE_PERC_R_FOOT]) * 0.01; */ - rtb_Saturation_hch[0] = 0.0; + rtb_y_oz[0] = 0.0; for (i = 0; i < 10; i++) { /* : valve_space_center_L(i) = center_all_perc(i+1) + ((g_aucVALVE_PERC_R_CENT_VENT_with0(i+1) - valves(2)) / (g_aucVALVE_PERC_R_CENT_VENT_with0(i+1) - g_aucVALVE_PERC_R_CENT_VENT_with0(i))) * (center_all_perc(i) - center_all_perc(i+1)); */ - rtb_duct_select_index_dbg_c = rtb_y_hu[i + 1]; - rtb_D = rtb_valve_space_foot_R[i + 1]; - rtb_valve_space_center_L[i] = (rtb_D - rtb_u10[1]) / (rtb_D - - rtb_valve_space_foot_R[i]) * (rtb_y_hu[i] - rtb_duct_select_index_dbg_c) - + rtb_duct_select_index_dbg_c; - rtb_Saturation_hch[i + 1] = (double)g_aucVALVE_PERC_R_FOOT[i] * 0.01; + rtb_Divide5 = rtb_y_hu[i + 1]; + rtb_area_R_o = rtb_y_ej[i + 1]; + rtb_valve_space_center_R_m[i] = (rtb_area_R_o - rtb_u10[1]) / + (rtb_area_R_o - rtb_y_ej[i]) * (rtb_y_hu[i] - rtb_Divide5) + rtb_Divide5; + rtb_y_oz[i + 1] = (double)g_aucVALVE_PERC_R_FOOT[i] * 0.01; } - rtb_valve_space_center_L[0] = 0.0; + rtb_valve_space_center_R_m[0] = 0.0; /* : foot_all_perc = g_aucVALVE_PERC_R_FOOT_with0 * foot_100; */ + rtb_Cmd_3Way = rtb_MultiportSwitch_lp[4]; + /* : valve_space_foot_L = zeros(1, 11); */ for (i = 0; i < 11; i++) { - rtb_y_hu[i] = rtb_Saturation_hch[i] * (double)tmp_2; + rtb_y_hu[i] = rtb_y_oz[i] * (double)rtb_Cmd_3Way; rtb_valve_space_foot_L[i] = 0.0; } /* : for i = 1:10 */ for (i = 0; i < 10; i++) { /* : valve_space_foot_L(i) = foot_all_perc(i+1) + ((g_aucVALVE_PERC_R_FOOT_with0(i+1) - valves(5)) / (g_aucVALVE_PERC_R_FOOT_with0(i+1) - g_aucVALVE_PERC_R_FOOT_with0(i))) * (foot_all_perc(i) - foot_all_perc(i+1)); */ - rtb_duct_select_index_dbg_c = rtb_y_hu[i + 1]; - rtb_D = rtb_Saturation_hch[i + 1]; - rtb_valve_space_foot_L[i] = (rtb_D - rtb_u10[4]) / (rtb_D - - rtb_Saturation_hch[i]) * (rtb_y_hu[i] - rtb_duct_select_index_dbg_c) + - rtb_duct_select_index_dbg_c; + rtb_Divide5 = rtb_y_hu[i + 1]; + rtb_area_R_o = rtb_y_oz[i + 1]; + rtb_valve_space_foot_L[i] = (rtb_area_R_o - rtb_u10[4]) / (rtb_area_R_o - + rtb_y_oz[i]) * (rtb_y_hu[i] - rtb_Divide5) + rtb_Divide5; } /* : valve_space_foot_L(1) = 0; */ rtb_valve_space_foot_L[0] = 0.0; /* : valve_space_foot_L(11) = foot_100; */ - rtb_valve_space_foot_L[10] = tmp_2; + rtb_valve_space_foot_L[10] = rtb_MultiportSwitch_lp[4]; /* : b_pillar_100 = double(valve_space(4)); */ /* : g_aucVALVE_PERC_R_BIPILLAR_with0 = double([0, g_aucVALVE_PERC_R_BIPILLAR]) * 0.01; */ /* : b_pillar_all_perc = g_aucVALVE_PERC_R_BIPILLAR_with0 * b_pillar_100; */ + rtb_Cmd_3Way = rtb_MultiportSwitch_lp[3]; + /* : valve_space_b_pillar_R = zeros(1, 11); */ for (i = 0; i < 11; i++) { - rtb_y_hu[i] = rtb_valve_space_center_R[i] * (double)rtb_Subtract; + rtb_y_hu[i] = rtb_valve_space_center_R[i] * (double)rtb_Cmd_3Way; rtb_valve_space_b_pillar_R[i] = 0.0; } /* : for i = 1:10 */ for (i = 0; i < 10; i++) { /* : valve_space_b_pillar_R(i) = b_pillar_all_perc(i+1) + ((g_aucVALVE_PERC_R_BIPILLAR_with0(i+1) - valves(4)) / (g_aucVALVE_PERC_R_BIPILLAR_with0(i+1) - g_aucVALVE_PERC_R_BIPILLAR_with0(i))) * (b_pillar_all_perc(i) - b_pillar_all_perc(i+1)); */ - rtb_duct_select_index_dbg_c = rtb_y_hu[i + 1]; - rtb_D = rtb_valve_space_center_R[i + 1]; - rtb_valve_space_b_pillar_R[i] = (rtb_D - rtb_u10[3]) / (rtb_D - - rtb_valve_space_center_R[i]) * (rtb_y_hu[i] - - rtb_duct_select_index_dbg_c) + rtb_duct_select_index_dbg_c; + rtb_Divide5 = rtb_y_hu[i + 1]; + rtb_area_R_o = rtb_valve_space_center_R[i + 1]; + rtb_valve_space_b_pillar_R[i] = (rtb_area_R_o - rtb_u10[3]) / + (rtb_area_R_o - rtb_valve_space_center_R[i]) * (rtb_y_hu[i] - + rtb_Divide5) + rtb_Divide5; } /* : valve_space_b_pillar_R(1) = 0; */ rtb_valve_space_b_pillar_R[0] = 0.0; /* : valve_space_b_pillar_R(11) = b_pillar_100; */ - rtb_valve_space_b_pillar_R[10] = rtb_Subtract; + rtb_valve_space_b_pillar_R[10] = rtb_MultiportSwitch_lp[3]; /* : center_100 = double(valve_space(3)); */ /* : g_aucVALVE_PERC_R_CENT_VENT_with0 = double([0, g_aucVALVE_PERC_R_CENT_VENT]) * 0.01; */ /* : center_all_perc = g_aucVALVE_PERC_R_CENT_VENT_with0 * center_100; */ + rtb_Cmd_3Way = rtb_MultiportSwitch_lp[2]; + /* : valve_space_center_R = zeros(1, 11); */ for (i = 0; i < 11; i++) { - rtb_y_hu[i] = rtb_valve_space_foot_R[i] * (double)rtb_Gain2_tmp_tmp; + rtb_y_hu[i] = rtb_y_ej[i] * (double)rtb_Cmd_3Way; rtb_valve_space_center_R[i] = 0.0; } /* : for i = 1:10 */ for (i = 0; i < 10; i++) { /* : valve_space_center_R(i) = center_all_perc(i+1) + ((g_aucVALVE_PERC_R_CENT_VENT_with0(i+1) - valves(3)) / (g_aucVALVE_PERC_R_CENT_VENT_with0(i+1) - g_aucVALVE_PERC_R_CENT_VENT_with0(i))) * (center_all_perc(i) - center_all_perc(i+1)); */ - rtb_duct_select_index_dbg_c = rtb_y_hu[i + 1]; - rtb_D = rtb_valve_space_foot_R[i + 1]; - rtb_valve_space_center_R[i] = (rtb_D - rtb_u10[2]) / (rtb_D - - rtb_valve_space_foot_R[i]) * (rtb_y_hu[i] - rtb_duct_select_index_dbg_c) - + rtb_duct_select_index_dbg_c; + rtb_Divide5 = rtb_y_hu[i + 1]; + rtb_area_R_o = rtb_y_ej[i + 1]; + rtb_valve_space_center_R[i] = (rtb_area_R_o - rtb_u10[2]) / (rtb_area_R_o + - rtb_y_ej[i]) * (rtb_y_hu[i] - rtb_Divide5) + rtb_Divide5; } /* : valve_space_center_R(1) = 0; */ rtb_valve_space_center_R[0] = 0.0; /* : valve_space_center_R(11) = center_100; */ - rtb_valve_space_center_R[10] = rtb_Gain2_tmp_tmp; + rtb_valve_space_center_R[10] = rtb_MultiportSwitch_lp[2]; /* : foot_100 = double(valve_space(6)); */ /* : g_aucVALVE_PERC_R_FOOT_with0 = double([0, g_aucVALVE_PERC_R_FOOT]) * 0.01; */ /* : foot_all_perc = g_aucVALVE_PERC_R_FOOT_with0 * foot_100; */ + rtb_Cmd_3Way = rtb_MultiportSwitch_lp[5]; + /* : valve_space_foot_R = zeros(1, 11); */ for (i = 0; i < 11; i++) { - rtb_y_hu[i] = rtb_Saturation_hch[i] * (double)tmp_4; + rtb_y_hu[i] = rtb_y_oz[i] * (double)rtb_Cmd_3Way; rtb_valve_space_foot_R[i] = 0.0; } /* : for i = 1:10 */ for (i = 0; i < 10; i++) { /* : valve_space_foot_R(i) = foot_all_perc(i+1) + ((g_aucVALVE_PERC_R_FOOT_with0(i+1) - valves(6)) / (g_aucVALVE_PERC_R_FOOT_with0(i+1) - g_aucVALVE_PERC_R_FOOT_with0(i))) * (foot_all_perc(i) - foot_all_perc(i+1)); */ - rtb_duct_select_index_dbg_c = rtb_y_hu[i + 1]; - rtb_D = rtb_Saturation_hch[i + 1]; - rtb_valve_space_foot_R[i] = (rtb_D - rtb_u10[5]) / (rtb_D - - rtb_Saturation_hch[i]) * (rtb_y_hu[i] - rtb_duct_select_index_dbg_c) + - rtb_duct_select_index_dbg_c; + rtb_Divide5 = rtb_y_hu[i + 1]; + rtb_area_R_o = rtb_y_oz[i + 1]; + rtb_valve_space_foot_R[i] = (rtb_area_R_o - rtb_u10[5]) / (rtb_area_R_o - + rtb_y_oz[i]) * (rtb_y_hu[i] - rtb_Divide5) + rtb_Divide5; } /* : valve_space_foot_R(1) = 0; */ rtb_valve_space_foot_R[0] = 0.0; /* : valve_space_foot_R(11) = foot_100; */ - rtb_valve_space_foot_R[10] = tmp_4; + rtb_valve_space_foot_R[10] = rtb_MultiportSwitch_lp[5]; - /* End of MATLAB Function: '/B-Pillar_ - % damper opening' */ + /* End of MATLAB Function: '/B-Pillar_ - % damper opening' */ - /* MATLAB Function: '/MATLAB Function2' */ + /* MATLAB Function: '/MATLAB Function2' */ MATLABFunction2(rtb_y_hu); - /* MATLAB Function: '/MATLAB Function3' */ + /* MATLAB Function: '/MATLAB Function3' */ MATLABFunction3(rtb_y_oz); - /* MATLAB Function: '/MATLAB Function4' */ + /* MATLAB Function: '/MATLAB Function4' */ MATLABFunction4(rtb_y_ej); - /* MATLAB Function: '/MATLAB Function5' */ + /* MATLAB Function: '/MATLAB Function5' */ MATLABFunction2(rtb_y_e); - /* MATLAB Function: '/MATLAB Function6' */ + /* MATLAB Function: '/MATLAB Function6' */ MATLABFunction3(rtb_Saturation_hch); - /* MATLAB Function: '/MATLAB Function7' */ - MATLABFunction4(rtb_y); + /* MATLAB Function: '/MATLAB Function7' */ + MATLABFunction4(rtb_y_d); - /* MATLAB Function: '/MATLAB Function' 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' - * Product: '/пункты 8-10' - * Saturate: '/Saturation' + /* MATLAB Function: '/MATLAB Function' 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' + * Product: '/пункты 8-10' + * Saturate: '/Saturation' */ /* : area_L = valves(1) * valve_space_b_pillar_L + valves(2) * valve_space_center_L + valves(5) * valve_space_foot_L; */ - rtb_Divide10 = (rtb_u10[0] * rtb_valve_space_b_pillar_L[plook_u32d_bincka - (coeff_right[0], rtb_y_hu, 10U)] + rtb_u10[1] * - rtb_valve_space_center_L[plook_u32d_bincka(coeff_right[1], + rtb_Divide10 = (rtb_u10[0] * rtb_valve_space_foot_R_a[plook_u32d_bincka + (rtb_Gain1_md[0], rtb_y_hu, 10U)] + rtb_u10[1] * + rtb_valve_space_center_R_m[plook_u32d_bincka(rtb_Gain1_md[1], rtb_y_oz, 10U)]) + rtb_u10[4] * rtb_valve_space_foot_L[plook_u32d_bincka - (coeff_right[4], rtb_y_ej, 10U)]; + (rtb_Gain1_md[4], rtb_y_ej, 10U)]; /* : area_R = valves(3) * valve_space_center_R + valves(4) * valve_space_b_pillar_R + valves(6) * valve_space_foot_R; */ - rtb_Divide11 = (rtb_u10[2] * rtb_valve_space_center_R[plook_u32d_bincka - (coeff_right[2], rtb_Saturation_hch, 10U)] + rtb_u10[3] * - rtb_valve_space_b_pillar_R[plook_u32d_bincka(coeff_right[3], - rtb_y_e, 10U)]) + rtb_u10[5] * rtb_valve_space_foot_R[plook_u32d_binckan - (coeff_right[5], rtb_y, 10U)]; + rtb_D = (rtb_u10[2] * rtb_valve_space_center_R[plook_u32d_bincka + (rtb_Gain1_md[2], rtb_Saturation_hch, 10U)] + rtb_u10[3] * + rtb_valve_space_b_pillar_R[plook_u32d_bincka(rtb_Gain1_md[3], + rtb_y_e, 10U)]) + rtb_u10[5] * + rtb_valve_space_foot_R[plook_u32d_binckan(rtb_Gain1_md[5], rtb_y_d, 10U)]; - /* RelationalOperator: '/Equal' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' + /* RelationalOperator: '/Equal' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' */ rtb_RelationalOperator6_f = (rtDW.Index_mode_RL == rtDW.Index_mode_RR); - /* Switch: '/пункт 16 L' incorporates: - * Product: '/пункт 12 (L)' - * Product: '/пункт 14 (L)' + /* Switch: '/пункт 16 L' incorporates: + * Product: '/пункт 12 (L)' + * Product: '/пункт 14 (L)' */ if (rtb_RelationalOperator6_f) { - rtb_duct_select_index_dbg_c = rtb_Divide10 / rtb_Divide11; + rtb_area_R_o = rtb_Divide10 / rtb_D; } else { - rtb_duct_select_index_dbg_c = rtb_Divide11 / rtb_Divide10; + rtb_area_R_o = rtb_D / rtb_Divide10; } - /* End of Switch: '/пункт 16 L' */ + /* End of Switch: '/пункт 16 L' */ - /* Saturate: '/пункт 17 L' */ - if (rtb_duct_select_index_dbg_c > 1.0) { - rtb_D = 1.0; - } else if (rtb_duct_select_index_dbg_c < 0.0) { - rtb_D = 0.0; + /* Saturate: '/пункт 17 L' */ + if (rtb_area_R_o > 1.0) { + rtb_Divide5 = 1.0; + } else if (rtb_area_R_o < 0.0) { + rtb_Divide5 = 0.0; } else { - rtb_D = rtb_duct_select_index_dbg_c; + rtb_Divide5 = rtb_area_R_o; } - /* End of Saturate: '/пункт 17 L' */ + /* End of Saturate: '/пункт 17 L' */ - /* Switch: '/пункт 16 R' incorporates: - * Product: '/пункт 12 (R)' - * Product: '/пункт 14 (R)' + /* Switch: '/пункт 16 R' incorporates: + * Product: '/пункт 12 (R)' + * Product: '/пункт 14 (R)' */ if (rtb_RelationalOperator6_f) { - rtb_duct_select_index_dbg_c = rtb_Divide11 / rtb_Divide10; + rtb_area_R_o = rtb_D / rtb_Divide10; } else { - rtb_duct_select_index_dbg_c = rtb_Divide10 / rtb_Divide11; + rtb_area_R_o = rtb_Divide10 / rtb_D; } - /* End of Switch: '/пункт 16 R' */ + /* End of Switch: '/пункт 16 R' */ - /* Saturate: '/пункт 17 R' */ - if (rtb_duct_select_index_dbg_c > 1.0) { + /* Saturate: '/пункт 17 R' */ + if (rtb_area_R_o > 1.0) { rtb_Divide10 = 1.0; - } else if (rtb_duct_select_index_dbg_c < 0.0) { + } else if (rtb_area_R_o < 0.0) { rtb_Divide10 = 0.0; } else { - rtb_Divide10 = rtb_duct_select_index_dbg_c; + rtb_Divide10 = rtb_area_R_o; } - /* End of Saturate: '/пункт 17 R' */ + /* End of Saturate: '/пункт 17 R' */ - /* Product: '/пункт 13 L' incorporates: - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' + /* Product: '/пункт 13 R' incorporates: + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' */ - rtb_Divide11 = (double)rtb_out_fhd / (double)rtb_out_fze; + rtb_area_R_o = (double)rtb_out_mf / (double)rtb_out_cryk; - /* Saturate: '/пункт 15 L' */ - if (rtb_Divide11 > 1.0) { - rtb_Divide11 = 1.0; + /* Product: '/пункт 13 L' incorporates: + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + */ + rtb_output_h = (double)rtb_out_cryk / (double)rtb_out_mf; + + /* Saturate: '/пункт 15 L' */ + if (rtb_output_h > 1.0) { + rtb_output_h = 1.0; } - /* End of Saturate: '/пункт 15 L' */ - - /* Product: '/пункт 13 R' incorporates: - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - */ - rtb_duct_select_index_dbg_c = (double)rtb_out_fze / (double)rtb_out_fhd; - - /* Saturate: '/пункт 15 R' */ - if (rtb_duct_select_index_dbg_c > 1.0) { - rtb_duct_select_index_dbg_c = 1.0; + /* Saturate: '/пункт 15 R' */ + if (rtb_area_R_o > 1.0) { + rtb_area_R_o = 1.0; } - /* End of Saturate: '/пункт 15 R' */ - - /* MATLAB Function: '/пункты 18-20' */ - /* : vector = [coef_17_L * coef_15_L, coef_17_L * coef_15_L, coef_17_R * coef_15_R, coef_17_R * coef_15_R, coef_17_L * coef_15_L, coef_17_R * coef_15_R]; */ - rtb_D *= rtb_Divide11; - - /* Product: '/Product2' incorporates: - * MATLAB Function: '/пункты 18-20' + /* MATLAB Function: '/пункты 18-20' incorporates: + * Saturate: '/пункт 15 L' + * Saturate: '/пункт 15 R' */ - coeff_left[0] = rtb_D; - coeff_left[1] = rtb_D; + u820(rtb_Divide5, rtb_Divide10, rtb_output_h, rtb_area_R_o, + &rtb_Saturation_hch[0]); - /* MATLAB Function: '/пункты 18-20' */ - rtb_duct_select_index_dbg_c *= rtb_Divide10; - - /* Product: '/Product2' incorporates: - * MATLAB Function: '/пункты 18-20' - * Product: '/пункты 8-10' + /* Product: '/Product2' incorporates: + * Product: '/пункты 8-10' */ - coeff_left[2] = rtb_duct_select_index_dbg_c; - coeff_left[3] = rtb_duct_select_index_dbg_c; - coeff_left[4] = rtb_D; - coeff_left[5] = rtb_duct_select_index_dbg_c; for (i = 0; i < 6; i++) { - coeff_right[i] = rtb_u10[i] * coeff_left[i]; + rtb_u10[i] *= rtb_Saturation_hch[i]; } - /* MATLAB Function: '/пункт 21-23 (DRS for valves)' 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' - * Product: '/Product2' + /* End of Product: '/Product2' */ + + /* MATLAB Function: '/пункт 21-23 (DRS for valves)' 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' + * Product: '/Product2' */ /* : valves_with_DRS = valves; */ /* : if (mode_left == 120) */ @@ -47299,7 +50089,7 @@ void HVAC_model_step(void) /* : if DRS_side_L == 0 */ if (rtDW.DRS_SRL == 0) { /* : side_percent_L = uint8(0); */ - min_side_L = 0U; + side_percent_L = 0U; } else { /* : else */ /* : side_percent_L = g_aucREAR_SIDE_DRS_PERCENT_VALVE(index_start_L + 3 - DRS_side_L); */ @@ -47308,13 +50098,13 @@ void HVAC_model_step(void) i = 0; } - min_side_L = g_aucREAR_SIDE_DRS_PERCENT_VALVE[i - 1]; + side_percent_L = g_aucREAR_SIDE_DRS_PERCENT_VALVE[i - 1]; } /* : if DRS_center_L == 0 */ if (rtDW.DRS_CRL == 0) { /* : center_percent_L = uint8(0); */ - max_side_L = 0U; + center_percent_L = 0U; } else { /* : else */ /* : center_percent_L = g_aucREAR_CENT_DRS_PERCENT_VALVE(index_start_L + 3 - DRS_center_L); */ @@ -47323,7 +50113,7 @@ void HVAC_model_step(void) i = 0; } - max_side_L = g_aucREAR_CENT_DRS_PERCENT_VALVE[i - 1]; + center_percent_L = g_aucREAR_CENT_DRS_PERCENT_VALVE[i - 1]; } /* : if (mode_right == 120) */ @@ -47357,7 +50147,7 @@ void HVAC_model_step(void) /* : if DRS_center_R == 0 */ if (rtDW.DRS_CRR == 0) { /* : center_percent_R = uint8(0); */ - rtb_DataTypeConversion3_hs = 0U; + center_percent = 0U; } else { /* : else */ /* : center_percent_R = g_aucREAR_CENT_DRS_PERCENT_VALVE(index_start_R + 3 - DRS_center_R); */ @@ -47366,302 +50156,106 @@ void HVAC_model_step(void) i = 0; } - rtb_DataTypeConversion3_hs = g_aucREAR_CENT_DRS_PERCENT_VALVE[i - 1]; + center_percent = g_aucREAR_CENT_DRS_PERCENT_VALVE[i - 1]; } /* : valves_with_DRS(1) = valves_with_DRS(1) * double(side_percent_L) * 0.01; */ - coeff_right[0] = coeff_right[0] * (double)min_side_L * 0.01; + rtb_u10[0] = rtb_u10[0] * (double)side_percent_L * 0.01; /* : valves_with_DRS(2) = valves_with_DRS(2) * double(center_percent_L) * 0.01; */ - coeff_right[1] = coeff_right[1] * (double)max_side_L * 0.01; + rtb_u10[1] = rtb_u10[1] * (double)center_percent_L * 0.01; /* : valves_with_DRS(3) = valves_with_DRS(3) * double(center_percent_R) * 0.01; */ - coeff_right[2] = coeff_right[2] * (double)rtb_DataTypeConversion3_hs * 0.01; + rtb_u10[2] = rtb_u10[2] * (double)center_percent * 0.01; /* : valves_with_DRS(4) = valves_with_DRS(4) * double(side_percent_R) * 0.01; */ - coeff_right[3] = coeff_right[3] * (double)LowTempValve * 0.01; + rtb_u10[3] = rtb_u10[3] * (double)LowTempValve * 0.01; - /* End of MATLAB Function: '/пункт 21-23 (DRS for valves)' */ + /* End of MATLAB Function: '/пункт 21-23 (DRS for valves)' */ - /* MATLAB Function: '/таблица D184-E190 (Step 7 Minimum damper opening factor)' incorporates: - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/таблица D184-E190 (Step 7 Minimum damper opening factor)' incorporates: + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' */ - /* : AF_vector = [0, 20, 40, 80, 100, 120, 140, 160]; */ - /* : valve_pos_min_center_with_0 = double([0, g_aucREAR_CEN_MIN_VALUE_BY_DRS_ZERO]) * 0.01; */ - valve_pos_min_center_with_0[0] = 0.0; + D184E190Step7Minimumdamperopeningfactor(rtb_out_cryk, rtb_out_mf, + &rtb_area_R_o, &rtb_Divide10); - /* : min_damper_opening_factor_L = zeros(1, 7); */ - /* : for i = 1:7 */ - /* : min_damper_opening_factor_R = zeros(1, 7); */ - /* : for i = 1:7 */ - for (i = 0; i < 7; i++) { - rtb_duct_select_index_dbg_c = (double) - g_aucREAR_CEN_MIN_VALUE_BY_DRS_ZERO[i] * 0.01; - valve_pos_min_center_with_0[i + 1] = rtb_duct_select_index_dbg_c; - - /* : min_damper_opening_factor_L(i) = valve_pos_min_center_with_0(i+1) + ((AF_vector(i+1) - double(AF_L)) / (AF_vector(i+1) - AF_vector(i))) * (valve_pos_min_center_with_0(i) - valve_pos_min_center_with_0(i+1)); */ - min_side_L = b[i + 1]; - rtb_D = min_side_L - b[i]; - rtb_Divide10 = valve_pos_min_center_with_0[i] - - rtb_duct_select_index_dbg_c; - min_damper_opening_factor_L[i] = (double)(min_side_L - rtb_out_fhd) / - rtb_D * rtb_Divide10 + rtb_duct_select_index_dbg_c; - - /* : min_damper_opening_factor_R(i) = valve_pos_min_center_with_0(i+1) + ((AF_vector(i+1) - double(AF_R)) / (AF_vector(i+1) - AF_vector(i))) * (valve_pos_min_center_with_0(i) - valve_pos_min_center_with_0(i+1)); */ - min_damper_opening_factor_R[i] = (double)(min_side_L - rtb_out_fze) / - rtb_D * rtb_Divide10 + rtb_duct_select_index_dbg_c; - } - - /* : if AF_L == 0 */ - if (rtb_out_fhd == 0) { - /* : opening_factor_L = 0; */ - rtb_duct_select_index_dbg_c = 0.0; - } else if (rtb_out_fhd <= 20) { - /* : elseif AF_L <= AF_vector(2) */ - /* : opening_factor_L = min_damper_opening_factor_L(2); */ - rtb_duct_select_index_dbg_c = min_damper_opening_factor_L[1]; - } else if (rtb_out_fhd <= 40) { - /* : elseif AF_L <= AF_vector(3) */ - /* : opening_factor_L = min_damper_opening_factor_L(3); */ - rtb_duct_select_index_dbg_c = min_damper_opening_factor_L[2]; - } else if (rtb_out_fhd <= 80) { - /* : elseif AF_L <= AF_vector(4) */ - /* : opening_factor_L = min_damper_opening_factor_L(4); */ - rtb_duct_select_index_dbg_c = min_damper_opening_factor_L[3]; - } else if (rtb_out_fhd <= 100) { - /* : elseif AF_L <= AF_vector(5) */ - /* : opening_factor_L = min_damper_opening_factor_L(5); */ - rtb_duct_select_index_dbg_c = min_damper_opening_factor_L[4]; - } else if (rtb_out_fhd <= 120) { - /* : elseif AF_L <= AF_vector(6) */ - /* : opening_factor_L = min_damper_opening_factor_L(6); */ - rtb_duct_select_index_dbg_c = min_damper_opening_factor_L[5]; - } else if (rtb_out_fhd <= 140) { - /* : elseif AF_L <= AF_vector(7) */ - /* : opening_factor_L = min_damper_opening_factor_L(7); */ - rtb_duct_select_index_dbg_c = min_damper_opening_factor_L[6]; - } else { - /* : else */ - /* : opening_factor_L = min_damper_opening_factor_L(7); */ - rtb_duct_select_index_dbg_c = min_damper_opening_factor_L[6]; - } - - /* : if AF_R == 0 */ - if (rtb_out_fze == 0) { - /* : opening_factor_R = 0; */ - rtb_D = 0.0; - } else if (rtb_out_fze <= 20) { - /* : elseif AF_R <= AF_vector(2) */ - /* : opening_factor_R = min_damper_opening_factor_R(2); */ - rtb_D = min_damper_opening_factor_R[1]; - } else if (rtb_out_fze <= 40) { - /* : elseif AF_R <= AF_vector(3) */ - /* : opening_factor_R = min_damper_opening_factor_R(3); */ - rtb_D = min_damper_opening_factor_R[2]; - } else if (rtb_out_fze <= 80) { - /* : elseif AF_R <= AF_vector(4) */ - /* : opening_factor_R = min_damper_opening_factor_R(4); */ - rtb_D = min_damper_opening_factor_R[3]; - } else if (rtb_out_fze <= 100) { - /* : elseif AF_R <= AF_vector(5) */ - /* : opening_factor_R = min_damper_opening_factor_R(5); */ - rtb_D = min_damper_opening_factor_R[4]; - } else if (rtb_out_fze <= 120) { - /* : elseif AF_R <= AF_vector(6) */ - /* : opening_factor_R = min_damper_opening_factor_R(6); */ - rtb_D = min_damper_opening_factor_R[5]; - } else if (rtb_out_fze <= 140) { - /* : elseif AF_R <= AF_vector(7) */ - /* : opening_factor_R = min_damper_opening_factor_R(7); */ - rtb_D = min_damper_opening_factor_R[6]; - } else { - /* : else */ - /* : opening_factor_R = min_damper_opening_factor_R(7); */ - rtb_D = min_damper_opening_factor_R[6]; - } - - /* End of MATLAB Function: '/таблица D184-E190 (Step 7 Minimum damper opening factor)' */ - - /* MATLAB Function: '/пункт 25' */ - /* : valves(2) = max(valves(2), opening_factor_L); */ - coeff_right[1] = fmax(coeff_right[1], rtb_duct_select_index_dbg_c); - - /* : valves(3) = max(valves(3), opening_factor_R); */ - coeff_right[2] = fmax(coeff_right[2], rtb_D); - - /* : valves_out = valves; */ + /* MATLAB Function: '/пункт 25' */ + u5(rtb_u10, rtb_area_R_o, rtb_Divide10, &rtb_Saturation_hch[0]); for (i = 0; i < 6; i++) { - /* Saturate: '/пункты 26-28' */ - rtb_Divide11 = coeff_right[i]; - if (rtb_Divide11 > 1.0) { - rtb_Divide11 = 1.0; - } else if (rtb_Divide11 < 0.0) { - rtb_Divide11 = 0.0; + /* Saturate: '/пункты 26-28' */ + rtb_Divide5 = rtb_Saturation_hch[i]; + if (rtb_Divide5 > 1.0) { + rtb_Divide5 = 1.0; + } else if (rtb_Divide5 < 0.0) { + rtb_Divide5 = 0.0; } - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * Gain: '/Gain2' - * Saturate: '/пункты 26-28' + /* Gain: '/Gain2' incorporates: + * Saturate: '/пункты 26-28' */ - rtB.DataTypeConversion2[i] = (uint8_t)rt_roundd(100.0 * rtb_Divide11); + rtb_Divide5 *= 100.0; + rtb_Saturation_hch[i] = rtb_Divide5; + + /* DataTypeConversion: '/Data Type Conversion2' */ + rtB.DataTypeConversion2[i] = (uint8_t)rt_roundd(rtb_Divide5); } - /* MATLAB Function: '/пункт 24 (DRS for AF)' 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' + /* MATLAB Function: '/пункт 24 (DRS for AF)' 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' */ - /* : if (mode_left == 120) */ - if (rtDW.Index_mode_RL == 120) { - /* : param_index_L = 1; */ - i = 0; - } else { - /* : else */ - /* : param_index_L = 2; */ - i = 1; - } + u4(rtb_out_cryk, rtb_out_mf, rtDW.DRS_SRL, rtDW.DRS_SRR, rtDW.DRS_CRL, + rtDW.DRS_CRR, rtDW.Index_mode_RL, rtDW.Index_mode_RR, &rtb_area_R_o, + &rtb_Divide10); - /* : index_start_L = (param_index_L - 1) * 3 + 1; */ - rtb_Cmd_3Way = i * 3 + 4; - - /* : if DRS_side_L == 0 */ - if (rtDW.DRS_SRL == 0) { - /* : side_percent_L = uint8(0); */ - min_side_L = 0U; - } else { - /* : else */ - /* : side_percent_L = g_aucREAR_SIDE_DRS_PERCENT_AF(index_start_L + 3 - DRS_side_L); */ - i = rtb_Cmd_3Way - rtDW.DRS_SRL; - if (i < 0) { - i = 0; - } - - min_side_L = g_aucREAR_SIDE_DRS_PERCENT_AF[i - 1]; - } - - /* : if DRS_center_L == 0 */ - if (rtDW.DRS_CRL == 0) { - /* : center_percent_L = uint8(0); */ - max_side_L = 0U; - } else { - /* : else */ - /* : center_percent_L = g_aucREAR_CENT_DRS_PERCENT_AF(index_start_L + 3 - DRS_center_L); */ - i = rtb_Cmd_3Way - rtDW.DRS_CRL; - if (i < 0) { - i = 0; - } - - max_side_L = g_aucREAR_CENT_DRS_PERCENT_AF[i - 1]; - } - - /* : if (mode_right == 120) */ - if (rtDW.Index_mode_RR == 120) { - /* : param_index_R = 1; */ - i = 0; - } else { - /* : else */ - /* : param_index_R = 2; */ - i = 1; - } - - /* : index_start_R = (param_index_R - 1) * 3 + 1; */ - rtb_Cmd_3Way = i * 3 + 4; - - /* : if DRS_side_R == 0 */ - if (rtDW.DRS_SRR == 0) { - /* : side_percent_R = uint8(0); */ - LowTempValve = 0U; - } else { - /* : else */ - /* : side_percent_R = g_aucREAR_SIDE_DRS_PERCENT_AF(index_start_R + 3 - DRS_side_R); */ - i = rtb_Cmd_3Way - rtDW.DRS_SRR; - if (i < 0) { - i = 0; - } - - LowTempValve = g_aucREAR_SIDE_DRS_PERCENT_AF[i - 1]; - } - - /* : if DRS_center_R == 0 */ - if (rtDW.DRS_CRR == 0) { - /* : center_percent_R = uint8(0); */ - rtb_DataTypeConversion3_hs = 0U; - } else { - /* : else */ - /* : center_percent_R = g_aucREAR_CENT_DRS_PERCENT_AF(index_start_R + 3 - DRS_center_R); */ - i = rtb_Cmd_3Way - rtDW.DRS_CRR; - if (i < 0) { - i = 0; - } - - rtb_DataTypeConversion3_hs = g_aucREAR_CENT_DRS_PERCENT_AF[i - 1]; - } - - /* : AF_with_DRS_L = double(side_percent_L + center_percent_L) / 2 * double(AF_L) * 0.01; */ - i = (int32_t)((uint32_t)min_side_L + max_side_L); - if ((uint32_t)i > 255U) { - i = 255; - } - - rtb_duct_select_index_dbg_c = (double)i / 2.0 * (double)rtb_out_fhd * 0.01; - - /* : AF_with_DRS_R = double(side_percent_R + center_percent_R) / 2 * double(AF_R) * 0.01; */ - i = (int32_t)((uint32_t)LowTempValve + rtb_DataTypeConversion3_hs); - if ((uint32_t)i > 255U) { - i = 255; - } - - rtb_D = (double)i / 2.0 * (double)rtb_out_fze * 0.01; - - /* End of MATLAB Function: '/пункт 24 (DRS for AF)' */ - - /* MATLAB Function: '/MATLAB Function' */ + /* MATLAB Function: '/MATLAB Function' */ /* : if AF_L > AF_R */ - if (rtb_duct_select_index_dbg_c > rtb_D) { + if (rtb_area_R_o > rtb_Divide10) { /* : AF_coef = AF_L / AF_R; */ - rtb_Divide10 = rtb_duct_select_index_dbg_c / rtb_D; + rtb_Divide5 = rtb_area_R_o / rtb_Divide10; } else { /* : else */ /* : AF_coef = AF_R / AF_L; */ - rtb_Divide10 = rtb_D / rtb_duct_select_index_dbg_c; + rtb_Divide5 = rtb_Divide10 / rtb_area_R_o; } /* : PWM_ratio = 1.2 - ((7 - AF_coef)/(7 - 1)*(1.2 - 1)); */ /* : PWM = PWM_ratio * (AF_L + AF_R) / 4; */ - rtB.PWM = (1.2 - (7.0 - rtb_Divide10) / 6.0 * 0.19999999999999996) * - (rtb_duct_select_index_dbg_c + rtb_D) / 4.0; + rtB.PWM = (1.2 - (7.0 - rtb_Divide5) / 6.0 * 0.19999999999999996) * + (rtb_area_R_o + rtb_Divide10) / 4.0; - /* End of MATLAB Function: '/MATLAB Function' */ + /* End of MATLAB Function: '/MATLAB Function' */ } - /* End of Outputs for SubSystem: '/DIFFERENT BLOWER - Rear' */ + /* End of Outputs for SubSystem: '/DIFFERENT BLOWER - Rear' */ - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ for (i = 0; i < 6; i++) { rtDW.DifferentBlower_Rear_valves[i] = rtB.DataTypeConversion2[i]; } - /* End of DataStoreWrite: '/Data Store Write1' */ + /* End of DataStoreWrite: '/Data Store Write1' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' */ rtDW.FrontWindowHeating_req = rtDW.electric_demist_started; - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant' - * Constant: '/const2' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator5' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant' + * Constant: '/const2' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator5' */ if (rtDW.electric_demist_started) { i = 1; @@ -47669,19 +50263,19 @@ void HVAC_model_step(void) i = (rtDW.AMB <= g_ssAUTODEMIST_ELEC_AMB_ENTRY); } - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant3' - * DataStoreRead: '/Data Store Read2' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Relational Operator7' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant3' + * DataStoreRead: '/Data Store Read2' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Relational Operator7' */ if (rtb_Divide1_jg <= g_assAUTODEMIST_ELEC_WINDSHELD_TEMP[1]) { - /* Switch: '/Switch1' incorporates: - * Constant: '/const1' - * DataStoreRead: '/Data Store Read1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator5' + /* Switch: '/Switch1' incorporates: + * Constant: '/const1' + * DataStoreRead: '/Data Store Read1' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator5' */ if (rtDW.electric_demist_started) { rtb_Cmd_3Way = 1; @@ -47689,30 +50283,30 @@ void HVAC_model_step(void) rtb_Cmd_3Way = (rtb_Divide1_jg <= g_assAUTODEMIST_ELEC_WINDSHELD_TEMP[0]); } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ } else { rtb_Cmd_3Way = 0; } - /* Logic: '/AND' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator6' - * Switch: '/Switch' - * Switch: '/Switch2' + /* Logic: '/AND' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator6' + * Switch: '/Switch' + * Switch: '/Switch2' */ rtDW.electric_demist_started = ((rtDW.FrontWindowHeating_manual_on != 1) && (i != 0) && (rtDW.CCU_MODE_FL == 1) && (rtb_Cmd_3Way != 0) && (rtDW.step_start_controle_front == 3)); - /* Outputs for Atomic SubSystem: '/Emergency_Air_Cleaning' */ - /* MATLAB Function: '/MATLAB Function1' incorporates: - * Constant: '/auto3' - * DataStoreRead: '/Data Store Read' + /* Outputs for Atomic SubSystem: '/Emergency_Air_Cleaning' */ + /* MATLAB Function: '/MATLAB Function1' incorporates: + * Constant: '/auto3' + * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read2' * DataStoreWrite: '/Data Store Write7' */ @@ -47742,11 +50336,11 @@ void HVAC_model_step(void) CCU_AC_FRONT_req_summary = false; } - /* End of MATLAB Function: '/MATLAB Function1' */ + /* End of MATLAB Function: '/MATLAB Function1' */ - /* MATLAB Function: '/MATLAB Function' incorporates: - * Constant: '/auto2' - * DataStoreRead: '/Data Store Read' + /* MATLAB Function: '/MATLAB Function' incorporates: + * Constant: '/auto2' + * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read2' * DataStoreWrite: '/Data Store Write6' */ @@ -47776,12 +50370,12 @@ void HVAC_model_step(void) Enable_Comp_PID = false; } - /* End of MATLAB Function: '/MATLAB Function' */ + /* End of MATLAB Function: '/MATLAB Function' */ - /* MATLAB Function: '/MATLAB Function2' incorporates: - * Constant: '/auto5' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read' + /* MATLAB Function: '/MATLAB Function2' incorporates: + * Constant: '/auto5' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read2' * DataStoreWrite: '/Data Store Write6' */ @@ -47825,12 +50419,12 @@ void HVAC_model_step(void) Duct1_R_error = false; } - /* End of MATLAB Function: '/MATLAB Function2' */ + /* End of MATLAB Function: '/MATLAB Function2' */ - /* MATLAB Function: '/MATLAB Function3' incorporates: - * Constant: '/auto6' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read' + /* MATLAB Function: '/MATLAB Function3' incorporates: + * Constant: '/auto6' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read' * DataStoreRead: '/Data Store Read2' * DataStoreWrite: '/Data Store Write7' */ @@ -47874,12 +50468,12 @@ void HVAC_model_step(void) Duct2_R_error = false; } - /* End of MATLAB Function: '/MATLAB Function3' */ + /* End of MATLAB Function: '/MATLAB Function3' */ - /* MATLAB Function: '/MATLAB Function4' incorporates: - * Constant: '/auto9' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read4' + /* MATLAB Function: '/MATLAB Function4' incorporates: + * Constant: '/auto9' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read4' */ /* : if isempty(armed) */ /* : if ButtonRecirculationToggleState == 2 */ @@ -47907,23 +50501,23 @@ void HVAC_model_step(void) rtb_RelationalOperator6_f = false; } - /* End of MATLAB Function: '/MATLAB Function4' */ + /* End of MATLAB Function: '/MATLAB Function4' */ - /* MATLAB Function: '/EmergencyAirCleaning' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write10' - * DataStoreWrite: '/Data Store Write11' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write3' - * DataStoreWrite: '/Data Store Write4' - * DataStoreWrite: '/Data Store Write6' - * DataStoreWrite: '/Data Store Write7' - * DataStoreWrite: '/Data Store Write8' - * DataStoreWrite: '/Data Store Write9' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' + /* MATLAB Function: '/EmergencyAirCleaning' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write10' + * DataStoreWrite: '/Data Store Write11' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write3' + * DataStoreWrite: '/Data Store Write4' + * DataStoreWrite: '/Data Store Write6' + * DataStoreWrite: '/Data Store Write7' + * DataStoreWrite: '/Data Store Write8' + * DataStoreWrite: '/Data Store Write9' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' */ /* : MODE_OFF = uint8(0); */ /* : MODE_ENTRY_STEP1 = uint8(1); */ @@ -47938,10 +50532,10 @@ void HVAC_model_step(void) /* : CCU_FLAG_OFF = uint8(0); */ /* : CCU_FLAG_ON = uint8(1); */ /* : if isempty(is_active_persistent) */ - if (!rtDW.is_active_persistent_not_empty_p) { + if (!rtDW.is_active_persistent_not_empty_p1) { /* : mode_reg = MODE_OFF; */ /* : is_active_persistent = false; */ - rtDW.is_active_persistent_not_empty_p = true; + rtDW.is_active_persistent_not_empty_p1 = true; /* : active_condition_reg = CONDITION_NONE; */ rtDW.active_condition_reg_m = 0U; @@ -47959,7 +50553,7 @@ void HVAC_model_step(void) rtDW.CCU_EmergAirCleaning_Stat = 0U; /* : sealingValve = uint8(100); */ - min_side_L = 100U; + side_percent_L = 100U; /* : FIU_CCU1_model_out = FIU_CCU1_model_in; */ rtDW.FIU_CCU1_EAC_or_FIRE = rtDW.FIU_CCU1_MODEL; @@ -48010,7 +50604,7 @@ void HVAC_model_step(void) Duct2_R_error = rtDW.user_edit_REAR_RR_blower_speed; /* : mode_reg_active = mode_reg; */ - max_side_L = rtDW.mode_reg_i; + center_percent_L = rtDW.mode_reg_i; /* : switch mode_reg */ switch (rtDW.mode_reg_i) { @@ -48152,7 +50746,7 @@ void HVAC_model_step(void) rtDW.CCU_EmergAirCleaning_Stat = 0U; /* : sealingValve = uint8(0); */ - min_side_L = 0U; + side_percent_L = 0U; /* : FIU_CCU1_model_out.FIU_CCmodeFL_Req = uint8(0); */ rtDW.FIU_CCU1_EAC_or_FIRE.FIU_CCmodeFL_Req = 0U; @@ -48279,7 +50873,7 @@ void HVAC_model_step(void) rtDW.CCU_EmergAirCleaning_Stat = 1U; /* : sealingValve = uint8(0); */ - min_side_L = 0U; + side_percent_L = 0U; /* : FIU_CCU1_model_out.FIU_CCmodeFL_Req = uint8(0); */ rtDW.FIU_CCU1_EAC_or_FIRE.FIU_CCmodeFL_Req = 0U; @@ -48425,12 +51019,12 @@ void HVAC_model_step(void) /* : is_active = is_active_persistent; */ rtDW.EAC_OR_FIRE_is_active = rtDW.is_active_persistent_a; - /* End of MATLAB Function: '/EmergencyAirCleaning' */ + /* End of MATLAB Function: '/EmergencyAirCleaning' */ - /* MATLAB Function: '/MATLAB Function5' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write5' + /* MATLAB Function: '/MATLAB Function5' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write5' */ /* : MODE_ACTIVE_FIRE_EXTINGUISH = uint8(10); */ /* : MODE_ACTIVE_EMERGENCY_AIR = uint8(11); */ @@ -48457,12 +51051,12 @@ void HVAC_model_step(void) } /* : phase = mod(double(t_now) - double(tStart), 2000); */ - rtb_duct_select_index_dbg_c = (double)rtDW.t_now - (double)rtDW.tStart; - if (rtb_duct_select_index_dbg_c == 0.0) { + rtb_Divide5 = (double)rtDW.t_now - (double)rtDW.tStart; + if (rtb_Divide5 == 0.0) { i = 0; } else { - i = (int32_t)fmod(rtb_duct_select_index_dbg_c, 2000.0); - if ((i != 0) && (rtb_duct_select_index_dbg_c < 0.0)) { + i = (int32_t)fmod(rtb_Divide5, 2000.0); + if ((i != 0) && (rtb_Divide5 < 0.0)) { i += 2000; } } @@ -48481,51 +51075,51 @@ void HVAC_model_step(void) /* : wasActive = mode_active; */ rtDW.wasActive = rtb_RelationalOperator6_f; - /* End of MATLAB Function: '/MATLAB Function5' */ - /* End of Outputs for SubSystem: '/Emergency_Air_Cleaning' */ + /* End of MATLAB Function: '/MATLAB Function5' */ + /* End of Outputs for SubSystem: '/Emergency_Air_Cleaning' */ - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.EAC_OR_FIRE_mode = max_side_L; + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.EAC_OR_FIRE_mode = center_percent_L; - /* RelationalOperator: '/Equal' incorporates: - * Constant: '/vent_rear' - * DataStoreRead: '/Data Store Read16' + /* RelationalOperator: '/Equal' incorporates: + * Constant: '/vent_rear' + * DataStoreRead: '/Data Store Read16' */ - rtb_Compare_mg = (rtDW.Index_mode_RL == 120); + rtb_Compare_hdv = (rtDW.Index_mode_RL == 120); - /* RelationalOperator: '/Equal1' incorporates: - * Constant: '/vent_rear1' - * DataStoreRead: '/Data Store Read17' + /* RelationalOperator: '/Equal1' incorporates: + * Constant: '/vent_rear1' + * DataStoreRead: '/Data Store Read17' */ - rtb_Compare_e = (rtDW.Index_mode_RR == 120); + rtb_Compare_bp = (rtDW.Index_mode_RR == 120); - /* Outputs for Atomic SubSystem: '/FOOT2_CONTROL' */ - /* Lookup_n-D: '/DuctTgt_Plus_LV3' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Outputs for Atomic SubSystem: '/FOOT2_CONTROL' */ + /* Lookup_n-D: '/DuctTgt_Plus_LV3' incorporates: + * DataStoreRead: '/Data Store Read1' */ - rtb_DataTypeConversion1_oq = look1_is16lu64n32Ds32_binlcs(rtDW.AMB, + rtb_DataTypeConversion1_gq = look1_is16lu64n32Ds32_binlcs(rtDW.AMB, &g_assFoot2_Lv3_Amb[0], &g_assFoot2_Lv3_DuctTgt_Plus[0], 5U); - /* Lookup_n-D: '/DuctTgt_Plus_LV4' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Lookup_n-D: '/DuctTgt_Plus_LV4' incorporates: + * DataStoreRead: '/Data Store Read1' */ - rtb_Switch2_nb = look1_is16lu64n32Ds32_binlcs(rtDW.AMB, &g_assFoot2_Lv4_Amb[0], + rtb_Switch5_l = look1_is16lu64n32Ds32_binlcs(rtDW.AMB, &g_assFoot2_Lv4_Amb[0], &g_assFoot2_Lv4_DuctTgt_Plus[0], 5U); - /* Lookup_n-D: '/DuctTgt_Plus_LV5' incorporates: - * DataStoreRead: '/Data Store Read1' + /* Lookup_n-D: '/DuctTgt_Plus_LV5' incorporates: + * DataStoreRead: '/Data Store Read1' */ - rtb_DuctTgt_Plus_LV5 = look1_is16lu64n32Ds32_binlcs(rtDW.AMB, - &g_assFoot2_Lv5_Amb[0], &g_assFoot2_Lv5_DuctTgt_Plus[0], 5U); + rtb_Bias_ct = look1_is16lu64n32Ds32_binlcs(rtDW.AMB, &g_assFoot2_Lv5_Amb[0], + &g_assFoot2_Lv5_DuctTgt_Plus[0], 5U); - /* MATLAB Function: '/Foot2DuctControl_Limo_RL' */ + /* MATLAB Function: '/Foot2DuctControl_Limo_RL' */ /* : Foot2Duct_FL = int16(0); */ rtb_Foot2Duct_FL_n = 0; /* : is_active = false; */ - rtb_Compare_pnq = false; + rtb_Compare_kv = false; - /* MATLAB Function: '/Foot2DuctControl_Limo_RR' */ + /* MATLAB Function: '/Foot2DuctControl_Limo_RR' */ /* : if CAL_VARIANT ~= 3 */ /* : Foot2Duct_FR = int16(0); */ rtb_Foot2Duct_FR_j = 0; @@ -48533,31 +51127,31 @@ void HVAC_model_step(void) /* : is_active = false; */ rtb_RelationalOperator6_f = false; - /* MATLAB Function: '/Foot2DuctControl_Limo_RL' incorporates: - * Constant: '/auto5' - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read28' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read9' - * MATLAB Function: '/Foot2DuctControl_Limo_RR' + /* MATLAB Function: '/Foot2DuctControl_Limo_RL' incorporates: + * Constant: '/auto5' + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read28' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read9' + * MATLAB Function: '/Foot2DuctControl_Limo_RR' */ /* : if CAL_VARIANT ~= 3 */ if (g_ucCAL_VARIANT == 3) { /* : if (RL_Mode == 0 || RL_Mode == 2) && (RL_Direction_Vent == 1) */ - if (((rtDW.CCU_MODE_RL == 0) || (rtDW.CCU_MODE_RL == 2)) && rtb_Compare_mg) + if (((rtDW.CCU_MODE_RL == 0) || (rtDW.CCU_MODE_RL == 2)) && rtb_Compare_hdv) { /* : Foot2Duct_FL = int16(0); */ /* : is_active = true; */ - rtb_Compare_pnq = true; + rtb_Compare_kv = true; /* : if FIU_RL_footBlowDis_Req == 1 */ } else if (rtDW.CCU_foot_blower_dis_RL == 1) { /* : Foot2Duct_FL = int16(0); */ /* : is_active = true; */ - rtb_Compare_pnq = true; + rtb_Compare_kv = true; } else { /* : switch ambLV */ switch (rtDW.LEVEL) { @@ -48568,7 +51162,7 @@ void HVAC_model_step(void) rtb_Foot2Duct_FL_n = 100; /* : is_active = true; */ - rtb_Compare_pnq = true; + rtb_Compare_kv = true; break; case 2U: @@ -48579,14 +51173,14 @@ void HVAC_model_step(void) rtb_Foot2Duct_FL_n = 50; /* : is_active = true; */ - rtb_Compare_pnq = true; + rtb_Compare_kv = true; } else { /* : else */ /* : Foot2Duct_FL = int16(100); */ rtb_Foot2Duct_FL_n = 100; /* : is_active = true; */ - rtb_Compare_pnq = true; + rtb_Compare_kv = true; } break; @@ -48598,14 +51192,14 @@ void HVAC_model_step(void) rtb_Foot2Duct_FL_n = 50; /* : is_active = true; */ - rtb_Compare_pnq = true; + rtb_Compare_kv = true; } else { /* : else */ /* : Foot2Duct_FL = int16(100); */ rtb_Foot2Duct_FL_n = 100; /* : is_active = true; */ - rtb_Compare_pnq = true; + rtb_Compare_kv = true; } break; @@ -48618,14 +51212,14 @@ void HVAC_model_step(void) rtb_Foot2Duct_FL_n = 50; /* : is_active = true; */ - rtb_Compare_pnq = true; + rtb_Compare_kv = true; } else { /* : else */ /* : Foot2Duct_FL = int16(100); */ rtb_Foot2Duct_FL_n = 100; /* : is_active = true; */ - rtb_Compare_pnq = true; + rtb_Compare_kv = true; } break; @@ -48633,13 +51227,14 @@ void HVAC_model_step(void) /* : otherwise */ /* : Foot2Duct_FL = int16(0); */ /* : is_active = true; */ - rtb_Compare_pnq = true; + rtb_Compare_kv = true; break; } } /* : if (RR_Mode == 0 || RR_Mode == 2) && (RR_Direction_Vent == 1) */ - if (((rtDW.CCU_MODE_RR == 0) || (rtDW.CCU_MODE_RR == 2)) && rtb_Compare_e) { + if (((rtDW.CCU_MODE_RR == 0) || (rtDW.CCU_MODE_RR == 2)) && rtb_Compare_bp) + { /* : Foot2Duct_FR = int16(0); */ /* : is_active = true; */ rtb_RelationalOperator6_f = true; @@ -48730,31 +51325,31 @@ void HVAC_model_step(void) } } - /* Lookup_n-D: '/FrontBlr_LV0' incorporates: - * DataStoreRead: '/Data Store Read' - * Gain: '/Gain' - * Lookup_n-D: '/FrontBlr_LV1' + /* Lookup_n-D: '/FrontBlr_LV0' incorporates: + * DataStoreRead: '/Data Store Read' + * Gain: '/Gain' + * Lookup_n-D: '/FrontBlr_LV1' */ rtb_FrontBlr_LV0_tmp = look1_iu16lu64n48Ds32Is16_binlcs((uint16_t)(10U * rtDW.PWM_front), &g_ausFoot2_Lv1_Foot2Act_Y[0], &g_ausFoot2_Lv1_FrontBlr_X[0], 2U); - /* MATLAB Function: '/Foot2DuctControl_RL' incorporates: - * Constant: '/auto1' - * Constant: '/auto2' - * Constant: '/auto3' - * Constant: '/auto4' - * Constant: '/auto5' - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read12' - * DataStoreRead: '/Data Store Read28' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read36' - * DataStoreRead: '/Data Store Read42' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read8' - * DataStoreRead: '/Data Store Read9' - * Lookup_n-D: '/FrontBlr_LV0' + /* MATLAB Function: '/Foot2DuctControl_RL' incorporates: + * Constant: '/auto1' + * Constant: '/auto2' + * Constant: '/auto3' + * Constant: '/auto4' + * Constant: '/auto5' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/Data Store Read28' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read36' + * DataStoreRead: '/Data Store Read42' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read8' + * DataStoreRead: '/Data Store Read9' + * Lookup_n-D: '/FrontBlr_LV0' */ /* : if isempty(hystLV2_FL) */ /* : if isempty(hystLV3_FL) */ @@ -48762,16 +51357,16 @@ void HVAC_model_step(void) rtb_Foot2Duct_FL = 0; /* : is_active = false; */ - rtb_Compare_ff = false; + rtb_Compare_i3s = false; /* : if CAL_VARIANT == 3 */ if (g_ucCAL_VARIANT != 3) { /* : if (RL_Mode == 0 || RL_Mode == 2) && (RL_Direction_Vent == 1) */ - if (((rtDW.CCU_MODE_RL == 0) || (rtDW.CCU_MODE_RL == 2)) && rtb_Compare_mg) + if (((rtDW.CCU_MODE_RL == 0) || (rtDW.CCU_MODE_RL == 2)) && rtb_Compare_hdv) { /* : Foot2Duct_FL = int16(0); */ /* : is_active = true; */ - rtb_Compare_ff = true; + rtb_Compare_i3s = true; /* : hystLV2_FL = false; */ rtDW.hystLV2_FL = false; @@ -48783,7 +51378,7 @@ void HVAC_model_step(void) } else if (rtDW.CCU_foot_blower_dis_RL == 1) { /* : Foot2Duct_FL = int16(0); */ /* : is_active = true; */ - rtb_Compare_ff = true; + rtb_Compare_i3s = true; /* : hystLV2_FL = false; */ rtDW.hystLV2_FL = false; @@ -48805,7 +51400,7 @@ void HVAC_model_step(void) if (rtDW.CCU_SET_RL >= 250) { /* : Foot2Duct_FL = int16(0); */ /* : is_active = true; */ - rtb_Compare_ff = true; + rtb_Compare_i3s = true; } else { i = Duct3_F - 120; if (Duct3_F - 120 < -32768) { @@ -48823,7 +51418,7 @@ void HVAC_model_step(void) rtb_Foot2Duct_FL = rtb_FrontBlr_LV0_tmp; /* : is_active = true; */ - rtb_Compare_ff = true; + rtb_Compare_i3s = true; } } break; @@ -48840,7 +51435,7 @@ void HVAC_model_step(void) if (rtDW.CCU_SET_RL >= 250) { /* : Foot2Duct_FL = int16(0); */ /* : is_active = true; */ - rtb_Compare_ff = true; + rtb_Compare_i3s = true; } else { i = Duct3_F - 120; if (Duct3_F - 120 < -32768) { @@ -48858,7 +51453,7 @@ void HVAC_model_step(void) rtb_Foot2Duct_FL = rtb_FrontBlr_LV0_tmp; /* : is_active = true; */ - rtb_Compare_ff = true; + rtb_Compare_i3s = true; } } break; @@ -48879,7 +51474,7 @@ void HVAC_model_step(void) i = -32768; } - rtb_Compare_gq = (i > g_assFoot2_Lv2_Threshold_Diff[1]); + rtb_Compare_e1 = (i > g_assFoot2_Lv2_Threshold_Diff[1]); } else { /* : else */ /* : diffActive = diffVal > Threshold_Diff_ON_LV2; */ @@ -48890,17 +51485,17 @@ void HVAC_model_step(void) i = -32768; } - rtb_Compare_gq = (i > g_assFoot2_Lv2_Threshold_Diff[0]); + rtb_Compare_e1 = (i > g_assFoot2_Lv2_Threshold_Diff[0]); } /* : hystLV2_FL = diffActive; */ - rtDW.hystLV2_FL = rtb_Compare_gq; + rtDW.hystLV2_FL = rtb_Compare_e1; /* : if FLL_DuctTg < 300 */ if (rtb_y_ds < 300) { /* : Foot2Duct_FL = int16(0); */ /* : is_active = true; */ - rtb_Compare_ff = true; + rtb_Compare_i3s = true; } else { i = rtb_Merge_b + 300; if (rtb_Merge_b + 300 > 32767) { @@ -48911,21 +51506,21 @@ void HVAC_model_step(void) /* : elseif (FLL_DuctTg > RL_Dtg + 300) || (RL_Rset < 190) */ /* : Foot2Duct_FL = int16(0); */ /* : is_active = true; */ - rtb_Compare_ff = true; + rtb_Compare_i3s = true; } else if ((rtDW.CCU_SET_RL < 210) && (rtDW.CCU_SET_RL > 190)) { /* : elseif (RL_Rset < 210) && (RL_Rset > 190) */ /* : Foot2Duct_FL = int16(50); */ rtb_Foot2Duct_FL = 50; /* : is_active = true; */ - rtb_Compare_ff = true; - } else if (rtb_Compare_gq) { + rtb_Compare_i3s = true; + } else if (rtb_Compare_e1) { /* : elseif diffActive */ /* : Foot2Duct_FL = int16(50); */ rtb_Foot2Duct_FL = 50; /* : is_active = true; */ - rtb_Compare_ff = true; + rtb_Compare_i3s = true; } else { i = rtb_Merge_b + 200; if (rtb_Merge_b + 200 > 32767) { @@ -48938,7 +51533,7 @@ void HVAC_model_step(void) rtb_Foot2Duct_FL = 50; /* : is_active = true; */ - rtb_Compare_ff = true; + rtb_Compare_i3s = true; } else { i = rtb_Merge_b + 200; if (rtb_Merge_b + 200 > 32767) { @@ -48951,7 +51546,7 @@ void HVAC_model_step(void) rtb_Foot2Duct_FL = 100; /* : is_active = true; */ - rtb_Compare_ff = true; + rtb_Compare_i3s = true; } } } @@ -48974,7 +51569,7 @@ void HVAC_model_step(void) i = -32768; } - rtb_Compare_gq = (i > g_assFoot2_Lv3_Threshold_Diff[1]); + rtb_Compare_e1 = (i > g_assFoot2_Lv3_Threshold_Diff[1]); } else { /* : else */ /* : diffActive = diffVal > Threshold_Diff_ON_LV3; */ @@ -48985,33 +51580,33 @@ void HVAC_model_step(void) i = -32768; } - rtb_Compare_gq = (i > g_assFoot2_Lv3_Threshold_Diff[0]); + rtb_Compare_e1 = (i > g_assFoot2_Lv3_Threshold_Diff[0]); } /* : hystLV3_FL = diffActive; */ - rtDW.hystLV3_FL = rtb_Compare_gq; + rtDW.hystLV3_FL = rtb_Compare_e1; /* : if FLL_DuctTg < 400 */ if (rtb_y_ds < 400) { /* : Foot2Duct_FL = int16(0); */ /* : is_active = true; */ - rtb_Compare_ff = true; + rtb_Compare_i3s = true; } else if (rtDW.CCU_SET_RL < 200) { /* : elseif RL_Rset < 200 */ /* : Foot2Duct_FL = int16(50); */ rtb_Foot2Duct_FL = 50; /* : is_active = true; */ - rtb_Compare_ff = true; - } else if (rtb_Compare_gq) { + rtb_Compare_i3s = true; + } else if (rtb_Compare_e1) { /* : elseif diffActive */ /* : Foot2Duct_FL = int16(50); */ rtb_Foot2Duct_FL = 50; /* : is_active = true; */ - rtb_Compare_ff = true; + rtb_Compare_i3s = true; } else { - i = rtb_Merge_b + rtb_DataTypeConversion1_oq; + i = rtb_Merge_b + rtb_DataTypeConversion1_gq; rtb_Cmd_3Way = i; if (i > 32767) { rtb_Cmd_3Way = 32767; @@ -49025,7 +51620,7 @@ void HVAC_model_step(void) rtb_Foot2Duct_FL = 50; /* : is_active = true; */ - rtb_Compare_ff = true; + rtb_Compare_i3s = true; } else { if (i > 32767) { i = 32767; @@ -49039,7 +51634,7 @@ void HVAC_model_step(void) rtb_Foot2Duct_FL = 100; /* : is_active = true; */ - rtb_Compare_ff = true; + rtb_Compare_i3s = true; } } } @@ -49057,16 +51652,16 @@ void HVAC_model_step(void) if (rtb_y_ds < 400) { /* : Foot2Duct_FL = int16(0); */ /* : is_active = true; */ - rtb_Compare_ff = true; + rtb_Compare_i3s = true; } else if (rtDW.CCU_SET_RL < 215) { /* : elseif RL_Rset < 215 */ /* : Foot2Duct_FL = int16(50); */ rtb_Foot2Duct_FL = 50; /* : is_active = true; */ - rtb_Compare_ff = true; + rtb_Compare_i3s = true; } else { - i = rtb_Merge_b + rtb_Switch2_nb; + i = rtb_Merge_b + rtb_Switch5_l; rtb_Cmd_3Way = i; if (i > 32767) { rtb_Cmd_3Way = 32767; @@ -49080,7 +51675,7 @@ void HVAC_model_step(void) rtb_Foot2Duct_FL = 50; /* : is_active = true; */ - rtb_Compare_ff = true; + rtb_Compare_i3s = true; } else { if (i > 32767) { i = 32767; @@ -49094,7 +51689,7 @@ void HVAC_model_step(void) rtb_Foot2Duct_FL = 100; /* : is_active = true; */ - rtb_Compare_ff = true; + rtb_Compare_i3s = true; } } } @@ -49112,16 +51707,16 @@ void HVAC_model_step(void) if (rtb_y_ds < 400) { /* : Foot2Duct_FL = int16(0); */ /* : is_active = true; */ - rtb_Compare_ff = true; + rtb_Compare_i3s = true; } else if (rtDW.CCU_SET_RL < 215) { /* : elseif RL_Rset < 215 */ /* : Foot2Duct_FL = int16(50); */ rtb_Foot2Duct_FL = 50; /* : is_active = true; */ - rtb_Compare_ff = true; + rtb_Compare_i3s = true; } else { - i = rtb_Merge_b + rtb_DuctTgt_Plus_LV5; + i = rtb_Merge_b + rtb_Bias_ct; rtb_Cmd_3Way = i; if (i > 32767) { rtb_Cmd_3Way = 32767; @@ -49135,7 +51730,7 @@ void HVAC_model_step(void) rtb_Foot2Duct_FL = 50; /* : is_active = true; */ - rtb_Compare_ff = true; + rtb_Compare_i3s = true; } else { if (i > 32767) { i = 32767; @@ -49149,7 +51744,7 @@ void HVAC_model_step(void) rtb_Foot2Duct_FL = 100; /* : is_active = true; */ - rtb_Compare_ff = true; + rtb_Compare_i3s = true; } } } @@ -49170,24 +51765,24 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/Foot2DuctControl_RL' */ + /* End of MATLAB Function: '/Foot2DuctControl_RL' */ - /* MATLAB Function: '/Foot2DuctControl_RR' incorporates: - * Constant: '/auto1' - * Constant: '/auto2' - * Constant: '/auto3' - * Constant: '/auto4' - * Constant: '/auto5' - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read13' - * DataStoreRead: '/Data Store Read14' - * DataStoreRead: '/Data Store Read15' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read28' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * Lookup_n-D: '/FrontBlr_LV0' + /* MATLAB Function: '/Foot2DuctControl_RR' incorporates: + * Constant: '/auto1' + * Constant: '/auto2' + * Constant: '/auto3' + * Constant: '/auto4' + * Constant: '/auto5' + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read13' + * DataStoreRead: '/Data Store Read14' + * DataStoreRead: '/Data Store Read15' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read28' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * Lookup_n-D: '/FrontBlr_LV0' */ /* : if isempty(hystLV2_FR) */ /* : if isempty(hystLV3_FR) */ @@ -49195,15 +51790,16 @@ void HVAC_model_step(void) rtb_Foot2Duct_FR = 0; /* : is_active = false; */ - rtb_Compare_mg = false; + rtb_Compare_hdv = false; /* : if CAL_VARIANT == 3 */ if (g_ucCAL_VARIANT != 3) { /* : if (RR_Mode == 0 || RR_Mode == 2) && (RR_Direction_Vent == 1) */ - if (((rtDW.CCU_MODE_RR == 0) || (rtDW.CCU_MODE_RR == 2)) && rtb_Compare_e) { + if (((rtDW.CCU_MODE_RR == 0) || (rtDW.CCU_MODE_RR == 2)) && rtb_Compare_bp) + { /* : Foot2Duct_FR = int16(0); */ /* : is_active = true; */ - rtb_Compare_mg = true; + rtb_Compare_hdv = true; /* : hystLV2_FR = false; */ rtDW.hystLV2_FR = false; @@ -49215,7 +51811,7 @@ void HVAC_model_step(void) } else if (rtDW.CCU_foot_blower_dis_RR == 1) { /* : Foot2Duct_FR = int16(0); */ /* : is_active = true; */ - rtb_Compare_mg = true; + rtb_Compare_hdv = true; /* : hystLV2_FR = false; */ rtDW.hystLV2_FR = false; @@ -49237,7 +51833,7 @@ void HVAC_model_step(void) if (rtDW.CCU_SET_RR >= 250) { /* : Foot2Duct_FR = int16(0); */ /* : is_active = true; */ - rtb_Compare_mg = true; + rtb_Compare_hdv = true; } else { i = Duct4_F - 120; if (Duct4_F - 120 < -32768) { @@ -49255,7 +51851,7 @@ void HVAC_model_step(void) rtb_Foot2Duct_FR = rtb_FrontBlr_LV0_tmp; /* : is_active = true; */ - rtb_Compare_mg = true; + rtb_Compare_hdv = true; } } break; @@ -49272,7 +51868,7 @@ void HVAC_model_step(void) if (rtDW.CCU_SET_RR >= 250) { /* : Foot2Duct_FR = int16(0); */ /* : is_active = true; */ - rtb_Compare_mg = true; + rtb_Compare_hdv = true; } else { i = Duct4_F - 120; if (Duct4_F - 120 < -32768) { @@ -49290,7 +51886,7 @@ void HVAC_model_step(void) rtb_Foot2Duct_FR = rtb_FrontBlr_LV0_tmp; /* : is_active = true; */ - rtb_Compare_mg = true; + rtb_Compare_hdv = true; } } break; @@ -49304,86 +51900,86 @@ void HVAC_model_step(void) /* : if hystLV2_FR */ if (rtDW.hystLV2_FR) { /* : diffActive = diffVal > Threshold_Diff_OFF_LV2; */ - i = Duct6_F - rtb_y_he; + i = Duct6_F - rtb_FLU_tg_correct_ot; if (i > 32767) { i = 32767; } else if (i < -32768) { i = -32768; } - rtb_Compare_gq = (i > g_assFoot2_Lv2_Threshold_Diff[1]); + rtb_Compare_e1 = (i > g_assFoot2_Lv2_Threshold_Diff[1]); } else { /* : else */ /* : diffActive = diffVal > Threshold_Diff_ON_LV2; */ - i = Duct6_F - rtb_y_he; + i = Duct6_F - rtb_FLU_tg_correct_ot; if (i > 32767) { i = 32767; } else if (i < -32768) { i = -32768; } - rtb_Compare_gq = (i > g_assFoot2_Lv2_Threshold_Diff[0]); + rtb_Compare_e1 = (i > g_assFoot2_Lv2_Threshold_Diff[0]); } /* : hystLV2_FR = diffActive; */ - rtDW.hystLV2_FR = rtb_Compare_gq; + rtDW.hystLV2_FR = rtb_Compare_e1; /* : if FLR_DuctTg < 300 */ - if (rtb_y_he < 300) { + if (rtb_FLU_tg_correct_ot < 300) { /* : Foot2Duct_FR = int16(0); */ /* : is_active = true; */ - rtb_Compare_mg = true; + rtb_Compare_hdv = true; } else { i = rtDW.Duct_RR_Tg + 300; if (rtDW.Duct_RR_Tg + 300 > 32767) { i = 32767; } - if ((rtb_y_he > i) || (rtDW.CCU_SET_RR < 190)) { + if ((rtb_FLU_tg_correct_ot > i) || (rtDW.CCU_SET_RR < 190)) { /* : elseif (FLR_DuctTg > RR_Dtg + 300) || (RR_Rset < 190) */ /* : Foot2Duct_FR = int16(0); */ /* : is_active = true; */ - rtb_Compare_mg = true; + rtb_Compare_hdv = true; } else if ((rtDW.CCU_SET_RR < 210) && (rtDW.CCU_SET_RR > 190)) { /* : elseif (RR_Rset < 210) && (RR_Rset > 190) */ /* : Foot2Duct_FR = int16(50); */ rtb_Foot2Duct_FR = 50; /* : is_active = true; */ - rtb_Compare_mg = true; - } else if (rtb_Compare_gq) { + rtb_Compare_hdv = true; + } else if (rtb_Compare_e1) { /* : elseif diffActive */ /* : Foot2Duct_FR = int16(50); */ rtb_Foot2Duct_FR = 50; /* : is_active = true; */ - rtb_Compare_mg = true; + rtb_Compare_hdv = true; } else { i = rtDW.Duct_RR_Tg + 200; if (rtDW.Duct_RR_Tg + 200 > 32767) { i = 32767; } - if (rtb_y_he >= i) { + if (rtb_FLU_tg_correct_ot >= i) { /* : elseif FLR_DuctTg >= RR_Dtg + 200 */ /* : Foot2Duct_FR = int16(50); */ rtb_Foot2Duct_FR = 50; /* : is_active = true; */ - rtb_Compare_mg = true; + rtb_Compare_hdv = true; } else { i = rtDW.Duct_RR_Tg + 200; if (rtDW.Duct_RR_Tg + 200 > 32767) { i = 32767; } - if (rtb_y_he < i) { + if (rtb_FLU_tg_correct_ot < i) { /* : elseif FLR_DuctTg < RR_Dtg + 200 */ /* : Foot2Duct_FR = int16(100); */ rtb_Foot2Duct_FR = 100; /* : is_active = true; */ - rtb_Compare_mg = true; + rtb_Compare_hdv = true; } } } @@ -49399,51 +51995,51 @@ void HVAC_model_step(void) /* : if hystLV3_FR */ if (rtDW.hystLV3_FR) { /* : diffActive = diffVal > Threshold_Diff_OFF_LV3; */ - i = Duct6_F - rtb_y_he; + i = Duct6_F - rtb_FLU_tg_correct_ot; if (i > 32767) { i = 32767; } else if (i < -32768) { i = -32768; } - rtb_Compare_gq = (i > g_assFoot2_Lv3_Threshold_Diff[1]); + rtb_Compare_e1 = (i > g_assFoot2_Lv3_Threshold_Diff[1]); } else { /* : else */ /* : diffActive = diffVal > Threshold_Diff_ON_LV3; */ - i = Duct6_F - rtb_y_he; + i = Duct6_F - rtb_FLU_tg_correct_ot; if (i > 32767) { i = 32767; } else if (i < -32768) { i = -32768; } - rtb_Compare_gq = (i > g_assFoot2_Lv3_Threshold_Diff[0]); + rtb_Compare_e1 = (i > g_assFoot2_Lv3_Threshold_Diff[0]); } /* : hystLV3_FR = diffActive; */ - rtDW.hystLV3_FR = rtb_Compare_gq; + rtDW.hystLV3_FR = rtb_Compare_e1; /* : if FLR_DuctTg < 400 */ - if (rtb_y_he < 400) { + if (rtb_FLU_tg_correct_ot < 400) { /* : Foot2Duct_FR = int16(0); */ /* : is_active = true; */ - rtb_Compare_mg = true; + rtb_Compare_hdv = true; } else if (rtDW.CCU_SET_RR < 200) { /* : elseif RR_Rset < 200 */ /* : Foot2Duct_FR = int16(50); */ rtb_Foot2Duct_FR = 50; /* : is_active = true; */ - rtb_Compare_mg = true; - } else if (rtb_Compare_gq) { + rtb_Compare_hdv = true; + } else if (rtb_Compare_e1) { /* : elseif diffActive */ /* : Foot2Duct_FR = int16(50); */ rtb_Foot2Duct_FR = 50; /* : is_active = true; */ - rtb_Compare_mg = true; + rtb_Compare_hdv = true; } else { - i = rtDW.Duct_RR_Tg + rtb_DataTypeConversion1_oq; + i = rtDW.Duct_RR_Tg + rtb_DataTypeConversion1_gq; rtb_Cmd_3Way = i; if (i > 32767) { rtb_Cmd_3Way = 32767; @@ -49451,13 +52047,13 @@ void HVAC_model_step(void) rtb_Cmd_3Way = -32768; } - if (rtb_y_he >= rtb_Cmd_3Way) { + if (rtb_FLU_tg_correct_ot >= rtb_Cmd_3Way) { /* : elseif FLR_DuctTg >= RR_Dtg + Dtgplus_LV3 */ /* : Foot2Duct_FR = int16(50); */ rtb_Foot2Duct_FR = 50; /* : is_active = true; */ - rtb_Compare_mg = true; + rtb_Compare_hdv = true; } else { if (i > 32767) { i = 32767; @@ -49465,13 +52061,13 @@ void HVAC_model_step(void) i = -32768; } - if (rtb_y_he < i) { + if (rtb_FLU_tg_correct_ot < i) { /* : elseif FLR_DuctTg < RR_Dtg + Dtgplus_LV3 */ /* : Foot2Duct_FR = int16(100); */ rtb_Foot2Duct_FR = 100; /* : is_active = true; */ - rtb_Compare_mg = true; + rtb_Compare_hdv = true; } } } @@ -49486,19 +52082,19 @@ void HVAC_model_step(void) rtDW.hystLV3_FR = false; /* : if FLR_DuctTg < 400 */ - if (rtb_y_he < 400) { + if (rtb_FLU_tg_correct_ot < 400) { /* : Foot2Duct_FR = int16(0); */ /* : is_active = true; */ - rtb_Compare_mg = true; + rtb_Compare_hdv = true; } else if (rtDW.CCU_SET_RR < 215) { /* : elseif RR_Rset < 215 */ /* : Foot2Duct_FR = int16(50); */ rtb_Foot2Duct_FR = 50; /* : is_active = true; */ - rtb_Compare_mg = true; + rtb_Compare_hdv = true; } else { - i = rtDW.Duct_RR_Tg + rtb_Switch2_nb; + i = rtDW.Duct_RR_Tg + rtb_Switch5_l; rtb_Cmd_3Way = i; if (i > 32767) { rtb_Cmd_3Way = 32767; @@ -49506,13 +52102,13 @@ void HVAC_model_step(void) rtb_Cmd_3Way = -32768; } - if (rtb_y_he > rtb_Cmd_3Way) { + if (rtb_FLU_tg_correct_ot > rtb_Cmd_3Way) { /* : elseif FLR_DuctTg > RR_Dtg + Dtgplus_LV4 */ /* : Foot2Duct_FR = int16(50); */ rtb_Foot2Duct_FR = 50; /* : is_active = true; */ - rtb_Compare_mg = true; + rtb_Compare_hdv = true; } else { if (i > 32767) { i = 32767; @@ -49520,13 +52116,13 @@ void HVAC_model_step(void) i = -32768; } - if (rtb_y_he < i) { + if (rtb_FLU_tg_correct_ot < i) { /* : elseif FLR_DuctTg < RR_Dtg + Dtgplus_LV4 */ /* : Foot2Duct_FR = int16(100); */ rtb_Foot2Duct_FR = 100; /* : is_active = true; */ - rtb_Compare_mg = true; + rtb_Compare_hdv = true; } } } @@ -49541,19 +52137,19 @@ void HVAC_model_step(void) rtDW.hystLV3_FR = false; /* : if FLR_DuctTg < 400 */ - if (rtb_y_he < 400) { + if (rtb_FLU_tg_correct_ot < 400) { /* : Foot2Duct_FR = int16(0); */ /* : is_active = true; */ - rtb_Compare_mg = true; + rtb_Compare_hdv = true; } else if (rtDW.CCU_SET_RR < 215) { /* : elseif RR_Rset < 215 */ /* : Foot2Duct_FR = int16(50); */ rtb_Foot2Duct_FR = 50; /* : is_active = true; */ - rtb_Compare_mg = true; + rtb_Compare_hdv = true; } else { - i = rtDW.Duct_RR_Tg + rtb_DuctTgt_Plus_LV5; + i = rtDW.Duct_RR_Tg + rtb_Bias_ct; rtb_Cmd_3Way = i; if (i > 32767) { rtb_Cmd_3Way = 32767; @@ -49561,13 +52157,13 @@ void HVAC_model_step(void) rtb_Cmd_3Way = -32768; } - if (rtb_y_he > rtb_Cmd_3Way) { + if (rtb_FLU_tg_correct_ot > rtb_Cmd_3Way) { /* : elseif FLR_DuctTg > RR_Dtg + Dtgplus_LV5 */ /* : Foot2Duct_FR = int16(50); */ rtb_Foot2Duct_FR = 50; /* : is_active = true; */ - rtb_Compare_mg = true; + rtb_Compare_hdv = true; } else { if (i > 32767) { i = 32767; @@ -49575,13 +52171,13 @@ void HVAC_model_step(void) i = -32768; } - if (rtb_y_he < i) { + if (rtb_FLU_tg_correct_ot < i) { /* : elseif FLR_DuctTg < RR_Dtg + Dtgplus_LV5 */ /* : Foot2Duct_FR = int16(100); */ rtb_Foot2Duct_FR = 100; /* : is_active = true; */ - rtb_Compare_mg = true; + rtb_Compare_hdv = true; } } } @@ -49602,134 +52198,193 @@ void HVAC_model_step(void) } } - /* End of MATLAB Function: '/Foot2DuctControl_RR' */ + /* End of MATLAB Function: '/Foot2DuctControl_RR' */ - /* Logic: '/OR' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* Logic: '/OR' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.Foot2_control_FL_is_active = (rtb_Compare_ff || rtb_Compare_pnq); + rtDW.Foot2_control_FL_is_active = (rtb_Compare_i3s || rtb_Compare_kv); - /* Logic: '/OR1' incorporates: - * DataStoreWrite: '/Data Store Write3' + /* Logic: '/OR1' incorporates: + * DataStoreWrite: '/Data Store Write3' */ - rtDW.Foot2_control_FR_is_active = (rtb_Compare_mg || rtb_RelationalOperator6_f); + rtDW.Foot2_control_FR_is_active = (rtb_Compare_hdv || + rtb_RelationalOperator6_f); - /* Sum: '/Sum' incorporates: - * DataStoreWrite: '/Data Store Write' + /* Sum: '/Sum' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.Foot2_control_FL = (uint16_t)(rtb_Foot2Duct_FL + rtb_Foot2Duct_FL_n); - /* Sum: '/Sum1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* Sum: '/Sum1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ rtDW.Foot2_control_FR = (uint16_t)(rtb_Foot2Duct_FR + rtb_Foot2Duct_FR_j); - /* End of Outputs for SubSystem: '/FOOT2_CONTROL' */ + /* End of Outputs for SubSystem: '/FOOT2_CONTROL' */ - /* If: '/If' incorporates: + /* If: '/If' incorporates: * DataStoreRead: '/Data Store Read16' * DataStoreWrite: '/Data Store Write13' */ if (rtDW.CCUCAN_DW_STATE_model.DW_GlassPosition_Stat == 2) { - /* 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 Write' incorporates: - * DataStoreRead: '/Data Store Read' - * DataTypeConversion: '/Data Type Conversion' - * Lookup_n-D: '/1-D Lookup Table' - * Merge: '/Merge' - * UnaryMinus: '/Unary Minus' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read' + * DataTypeConversion: '/Data Type Conversion' + * Lookup_n-D: '/1-D Lookup Table' + * Merge: '/Merge' + * UnaryMinus: '/Unary Minus' */ rtDW.GlassPosition_AF_plus_L = (int16_t)-(int16_t)look1_iu16lu64n48_binlcse - (rtDW.CCU_SET_FL, rtConstP.pooled81, &g_ausMinusAF_GlassPos_L[0], 12U); + (rtDW.CCU_SET_FL, rtConstP.pooled82, &g_ausMinusAF_GlassPos_L[0], 12U); - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } else { - /* 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 Write' */ + /* DataStoreWrite: '/Data Store Write' */ IfActionSubsystem2(&rtDW.GlassPosition_AF_plus_L); - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* If: '/If1' incorporates: + /* If: '/If1' incorporates: * DataStoreRead: '/Data Store Read16' * DataStoreWrite: '/Data Store Write13' */ if (rtDW.CCUCAN_DW_STATE_model.DW_GlassPosition_Stat == 2) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataTypeConversion: '/Data Type Conversion' - * Lookup_n-D: '/1-D Lookup Table1' - * Merge: '/Merge1' - * UnaryMinus: '/Unary Minus' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataTypeConversion: '/Data Type Conversion' + * Lookup_n-D: '/1-D Lookup Table1' + * Merge: '/Merge1' + * UnaryMinus: '/Unary Minus' */ rtDW.GlassPosition_AF_plus_R = (int16_t)-(int16_t)look1_iu16lu64n48_binlcse - (rtDW.CCU_SET_FR, rtConstP.pooled81, &g_ausMinusAF_GlassPos_R[0], 12U); + (rtDW.CCU_SET_FR, rtConstP.pooled82, &g_ausMinusAF_GlassPos_R[0], 12U); - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem5' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem5' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ IfActionSubsystem2(&rtDW.GlassPosition_AF_plus_R); - /* End of Outputs for SubSystem: '/If Action Subsystem5' */ + /* End of Outputs for SubSystem: '/If Action Subsystem5' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* BusCreator: '/Bus Creator2' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read12' - * DataStoreRead: '/Data Store Read13' - * DataStoreRead: '/Data Store Read14' - * DataStoreRead: '/Data Store Read15' - * DataStoreRead: '/Data Store Read16' - * DataStoreRead: '/Data Store Read17' - * 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 Write2' - * Sum: '/Add' - * Sum: '/Add1' - * Sum: '/Add10' - * Sum: '/Add11' - * Sum: '/Add12' - * Sum: '/Add13' - * Sum: '/Add14' - * Sum: '/Add15' - * Sum: '/Add16' - * Sum: '/Add17' - * Sum: '/Add2' - * Sum: '/Add3' - * Sum: '/Add4' - * Sum: '/Add5' - * Sum: '/Add6' - * Sum: '/Add7' - * Sum: '/Add8' - * Sum: '/Add9' + /* Gain: '/Gain' incorporates: + * DataStoreRead: '/Data Store Read29' + */ + rtb_output_h = 10.0 * IGN_voltage; + + /* Saturate: '/Saturation' */ + if (rtb_output_h > 255.0) { + rtb_output_h = 255.0; + } + + /* End of Saturate: '/Saturation' */ + + /* DataTypeConversion: '/Data Type Conversion2' */ + if (rtb_output_h >= 0.5) { + /* BusCreator: '/Bus Creator2' incorporates: + * DataStoreWrite: '/Data Store Write2' + */ + rtDW.Status_Sensor_model_IO.Ignition = (uint8_t)floor(rtb_output_h + 0.5); + } else { + /* BusCreator: '/Bus Creator2' incorporates: + * DataStoreWrite: '/Data Store Write2' + */ + rtDW.Status_Sensor_model_IO.Ignition = 0U; + } + + /* End of DataTypeConversion: '/Data Type Conversion2' */ + + /* Gain: '/Gain1' incorporates: + * DataStoreRead: '/Data Store Read30' + * Gain: '/factor 0.1' + */ + rtb_uDLookupTable3 = 10.0 * index_start; + + /* Saturate: '/Saturation1' incorporates: + * Gain: '/Gain1' + */ + if (rtb_uDLookupTable3 > 255.0) { + rtb_Divide5 = 255.0; + } else { + rtb_Divide5 = rtb_uDLookupTable3; + } + + /* End of Saturate: '/Saturation1' */ + + /* DataTypeConversion: '/Data Type Conversion3' */ + if (rtb_Divide5 >= 0.5) { + /* BusCreator: '/Bus Creator2' incorporates: + * DataStoreWrite: '/Data Store Write2' + */ + rtDW.Status_Sensor_model_IO.Battery = (uint8_t)floor(rtb_Divide5 + 0.5); + } else { + /* BusCreator: '/Bus Creator2' incorporates: + * DataStoreWrite: '/Data Store Write2' + */ + rtDW.Status_Sensor_model_IO.Battery = 0U; + } + + /* End of DataTypeConversion: '/Data Type Conversion3' */ + + /* BusCreator: '/Bus Creator2' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/Data Store Read13' + * DataStoreRead: '/Data Store Read14' + * DataStoreRead: '/Data Store Read15' + * DataStoreRead: '/Data Store Read16' + * DataStoreRead: '/Data Store Read17' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read31' + * 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' + * DataTypeConversion: '/Data Type Conversion1' + * Sum: '/Add' + * Sum: '/Add1' + * Sum: '/Add10' + * Sum: '/Add11' + * Sum: '/Add12' + * Sum: '/Add13' + * Sum: '/Add14' + * Sum: '/Add15' + * Sum: '/Add16' + * Sum: '/Add17' + * Sum: '/Add2' + * Sum: '/Add3' + * Sum: '/Add4' + * Sum: '/Add5' + * Sum: '/Add6' + * Sum: '/Add8' + * Sum: '/Add9' */ - rtDW.Status_Sensor_model_IO.Ignition = 0U; - rtDW.Status_Sensor_model_IO.Battery = 0U; rtDW.Status_Sensor_model_IO.AMB = (uint16_t)(rtDW.AMB + 400); rtDW.Status_Sensor_model_IO.Incar_FL = (uint16_t)(rtDW.Incar_FL + 400); rtDW.Status_Sensor_model_IO.Incar_FR = (uint16_t)(rtDW.Incar_FR + 400); @@ -49737,66 +52392,67 @@ void HVAC_model_step(void) rtDW.Status_Sensor_model_IO.Incar_RR = (uint16_t)(rtDW.Incar_RR + 400); rtDW.Status_Sensor_model_IO.Eva_F = (uint16_t)(rtDW.Eva_F + 400); rtDW.Status_Sensor_model_IO.Eva_R = (uint16_t)(rtDW.Eva_R + 400); - rtDW.Status_Sensor_model_IO.Pressure = (uint16_t)(rtDW.Pressure + 400); + rtDW.Status_Sensor_model_IO.Pressure = (uint16_t)rtDW.Pressure; rtDW.Status_Sensor_model_IO.Duct_FL_Upper = (uint16_t)(Duct1_F + 400); rtDW.Status_Sensor_model_IO.Duct_FL_Lower = (uint16_t)(Duct3_F + 400); rtDW.Status_Sensor_model_IO.Duct_FR_Upper = (uint16_t)(Duct2_F + 400); rtDW.Status_Sensor_model_IO.Duct_FR_Lower = (uint16_t)(Duct4_F + 400); - rtDW.Status_Sensor_model_IO.Duct_RL = (uint16_t)(rtb_X + 400); - rtDW.Status_Sensor_model_IO.Duct_RR = (uint16_t)(rtb_MultiportSwitch_ac + 400); + rtDW.Status_Sensor_model_IO.Duct_RL = (uint16_t)(rtb_FLU_tg_correct_aa + 400); + rtDW.Status_Sensor_model_IO.Duct_RR = (uint16_t)(rtb_Switch2_ho + 400); rtDW.Status_Sensor_model_IO.Duct_Side_FL = (uint16_t)(Duct5_F + 400); rtDW.Status_Sensor_model_IO.Duct_Side_FR = (uint16_t)(Duct6_F + 400); - rtDW.Status_Sensor_model_IO.Duct_Side_RL = (uint16_t)(rtb_Bias1_h + 400); - rtDW.Status_Sensor_model_IO.Duct_Side_RR = (uint16_t)(rtb_FLU_tg_correct_ot + - 400); - rtDW.Status_Sensor_model_IO.AQS = 0U; + rtDW.Status_Sensor_model_IO.Duct_Side_RL = (uint16_t)(Duct3_R + 400); + rtDW.Status_Sensor_model_IO.Duct_Side_RR = (uint16_t)(Duct4_R + 400); + rtDW.Status_Sensor_model_IO.AQS = rtDW.AirQS_COLvl; - /* BusCreator: '/Bus Creator4' incorporates: - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read21' - * DataStoreRead: '/Data Store Read22' - * DataStoreRead: '/Data Store Read23' - * DataStoreRead: '/Data Store Read24' - * DataStoreRead: '/Data Store Read25' - * DataStoreRead: '/Data Store Read26' - * DataStoreWrite: '/Data Store Write4' - * Sum: '/Add18' - * Sum: '/Add19' - * Sum: '/Add20' - * Sum: '/Add21' - * Sum: '/Add22' - * Sum: '/Add23' + /* BusCreator: '/Bus Creator4' incorporates: + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read21' + * DataStoreRead: '/Data Store Read22' + * DataStoreRead: '/Data Store Read23' + * DataStoreRead: '/Data Store Read24' + * DataStoreRead: '/Data Store Read25' + * DataStoreRead: '/Data Store Read26' + * DataStoreWrite: '/Data Store Write4' + * Sum: '/Add18' + * Sum: '/Add19' + * Sum: '/Add20' + * Sum: '/Add21' + * Sum: '/Add22' + * Sum: '/Add23' */ rtDW.Status_Duct_Tgt_model_IO.DuctTgt_Vent_FL = (uint16_t)(Duct_FLU_Tg + 400); rtDW.Status_Duct_Tgt_model_IO.DuctTgt_Foot_FL = (uint16_t)(rtb_y_ds + 400); rtDW.Status_Duct_Tgt_model_IO.DuctTgt_Vent_FR = (uint16_t)(Duct_FRU_Tg + 400); - rtDW.Status_Duct_Tgt_model_IO.DuctTgt_Foot_FR = (uint16_t)(rtb_y_he + 400); + rtDW.Status_Duct_Tgt_model_IO.DuctTgt_Foot_FR = (uint16_t) + (rtb_FLU_tg_correct_ot + 400); rtDW.Status_Duct_Tgt_model_IO.DuctTgt_RL = (uint16_t)(rtb_Merge_b + 400); rtDW.Status_Duct_Tgt_model_IO.DuctTgt_RR = (uint16_t)(rtDW.Duct_RR_Tg + 400); - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator1' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read27' + * DataStoreRead: '/Data Store Read28' + * DataStoreWrite: '/Data Store Write1' + * Sum: '/Add24' + * Sum: '/Add25' + */ + rtDW.Status_Eva_Tgt_model_IO.EvaTgt_F = (uint16_t)(Eva_F_tg + 400); + rtDW.Status_Eva_Tgt_model_IO.EvaTgt_R = (uint16_t)(Eva_R_tg + 400); + + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ rtDW.Status_Duct_Select_model_IO.Duct_FL = 0U; rtDW.Status_Duct_Select_model_IO.Duct_FR = 0U; rtDW.Status_Duct_Select_model_IO.Duct_RL = 0U; rtDW.Status_Duct_Select_model_IO.Duct_RR = 0U; - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreRead: '/Data Store Read27' - * DataStoreRead: '/Data Store Read28' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion6' - * DataTypeConversion: '/Data Type Conversion7' - */ - rtDW.Status_Eva_Tgt_model_IO.EvaTgt_F = (uint16_t)Eva_F_tg; - rtDW.Status_Eva_Tgt_model_IO.EvaTgt_R = (uint16_t)Eva_R_tg; - - /* BusCreator: '/Bus Creator3' incorporates: - * DataStoreRead: '/Data Store Read18' - * DataStoreRead: '/Data Store Read19' - * DataStoreRead: '/Data Store Read20' - * DataStoreWrite: '/Data Store Write3' + /* BusCreator: '/Bus Creator3' incorporates: + * DataStoreRead: '/Data Store Read18' + * DataStoreRead: '/Data Store Read19' + * DataStoreRead: '/Data Store Read20' + * DataStoreWrite: '/Data Store Write3' */ rtDW.Status_Actuator_model_IO.Motor_Def = rtDW.MaxPositionCh0_private[0]; rtDW.Status_Actuator_model_IO.Motor_Vent_SFL = rtDW.MaxPositionCh0_private[4]; @@ -49824,51 +52480,51 @@ void HVAC_model_step(void) rtDW.Status_Actuator_model_IO.Motor_SealingValve = rtDW.MaxPositionCh2_private[8]; - /* DataStoreRead: '/Data Store Read87' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreRead: '/Data Store Read87' incorporates: + * Concatenate: '/Vector Concatenate' */ rtY.DRS_output[0] = rtDW.DRS_SFL; - /* DataStoreRead: '/Data Store Read89' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreRead: '/Data Store Read89' incorporates: + * Concatenate: '/Vector Concatenate' */ rtY.DRS_output[1] = rtDW.DRS_CFL; - /* DataStoreRead: '/Data Store Read90' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreRead: '/Data Store Read90' incorporates: + * Concatenate: '/Vector Concatenate' */ rtY.DRS_output[2] = rtDW.DRS_CFR; - /* DataStoreRead: '/Data Store Read88' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreRead: '/Data Store Read88' incorporates: + * Concatenate: '/Vector Concatenate' */ rtY.DRS_output[3] = rtDW.DRS_SFR; - /* DataStoreRead: '/Data Store Read93' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreRead: '/Data Store Read93' incorporates: + * Concatenate: '/Vector Concatenate' */ rtY.DRS_output[4] = rtDW.DRS_SRL; - /* DataStoreRead: '/Data Store Read94' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreRead: '/Data Store Read94' incorporates: + * Concatenate: '/Vector Concatenate' */ rtY.DRS_output[5] = rtDW.DRS_SRR; - /* DataStoreRead: '/Data Store Read91' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreRead: '/Data Store Read91' incorporates: + * Concatenate: '/Vector Concatenate' */ rtY.DRS_output[6] = rtDW.DRS_CRL; - /* DataStoreRead: '/Data Store Read92' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreRead: '/Data Store Read92' incorporates: + * Concatenate: '/Vector Concatenate' */ rtY.DRS_output[7] = rtDW.DRS_CRR; - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' - * DataStoreWrite: '/Data Store Write1' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' + * DataStoreWrite: '/Data Store Write1' */ if (rtDW.CCU_MODE_FL > 0) { rtDW.Index_mode_FL = rtDW.Index_mode_FL_auto; @@ -49876,27 +52532,27 @@ void HVAC_model_step(void) rtDW.Index_mode_FL = rtDW.Index_mode_FL_manual; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch1' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreWrite: '/Data Store Write2' + /* Switch: '/Switch1' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreWrite: '/Data Store Write2' */ if (rtDW.CCU_MODE_FR > 0) { rtDW.Index_mode_FR = rtDW.Index_mode_FR_auto; } else { - rtDW.Index_mode_FR = rtDW.Index_mode_FR_manual; + rtDW.Index_mode_FR = Index_mode_FR_manual; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Switch: '/Switch2' incorporates: - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read9' - * DataStoreWrite: '/Data Store Write3' + /* Switch: '/Switch2' incorporates: + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read9' + * DataStoreWrite: '/Data Store Write3' */ if (rtDW.CCU_MODE_RL > 0) { rtDW.Index_mode_RL = (uint8_t)rtDW.Index_mode_RL_auto; @@ -49904,13 +52560,13 @@ void HVAC_model_step(void) rtDW.Index_mode_RL = rtDW.Index_mode_RL_manual; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Switch: '/Switch3' incorporates: - * DataStoreRead: '/Data Store Read12' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read8' - * DataStoreWrite: '/Data Store Write4' + /* Switch: '/Switch3' incorporates: + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read8' + * DataStoreWrite: '/Data Store Write4' */ if (rtDW.CCU_MODE_RR > 0) { rtDW.Index_mode_RR = (uint8_t)rtDW.Index_mode_RR_auto; @@ -49918,12 +52574,12 @@ void HVAC_model_step(void) rtDW.Index_mode_RR = rtDW.Index_mode_RR_manual; } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ - /* Switch: '/Switch5' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreWrite: '/Data Store Write' + /* Switch: '/Switch5' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreWrite: '/Data Store Write' */ if (rtDW.Entry_Button != 0) { rtDW.CCU_Ionization_algo_active = rtDW.Entry_Button; @@ -49931,159 +52587,156 @@ void HVAC_model_step(void) rtDW.CCU_Ionization_algo_active = rtDW.Entry_AirQS; } - /* End of Switch: '/Switch5' */ + /* End of Switch: '/Switch5' */ - /* RelationalOperator: '/Relational Operator14' incorporates: + /* RelationalOperator: '/Relational Operator14' incorporates: * DataStoreRead: '/Data Store Read7' * DataStoreWrite: '/Data Store Write5' */ - rtb_RelationalOperator6_f = (rtDW.CCUCAN_BCM_VEH_STATE_model.BCM_CCTerm_Stat == - 1); + rtb_Compare_bp = (rtDW.CCUCAN_BCM_VEH_STATE_model.BCM_CCTerm_Stat == 1); - /* Logic: '/AND2' incorporates: - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * RelationalOperator: '/Relational Operator16' - * RelationalOperator: '/Relational Operator21' + /* Logic: '/AND2' incorporates: + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * RelationalOperator: '/Relational Operator16' + * RelationalOperator: '/Relational Operator21' */ - rtb_Compare_pnq = ((rtb_Saturation_as > 0) && (Gain1 > 0)); + rtb_RelationalOperator6_f = ((rtb_Saturation_as > 0) && (rtb_Saturation2 > 0)); - /* RelationalOperator: '/Relational Operator17' incorporates: - * DataStoreRead: '/Data Store Read2' + /* RelationalOperator: '/Relational Operator17' incorporates: + * DataStoreRead: '/Data Store Read2' */ - rtb_Compare_ff = (rtDW.Entry_AirQS == 1); + rtb_Compare_kv = (rtDW.Entry_AirQS == 1); - /* RelationalOperator: '/Relational Operator9' incorporates: - * DataStoreRead: '/Data Store Read2' + /* RelationalOperator: '/Relational Operator9' incorporates: + * DataStoreRead: '/Data Store Read2' */ - rtb_Compare_mg = (rtDW.CCU_Ionization == 1); + rtb_Compare_i3s = (rtDW.CCU_Ionization == 1); - /* RelationalOperator: '/Relational Operator18' incorporates: - * DataStoreRead: '/Data Store Read1' + /* RelationalOperator: '/Relational Operator18' incorporates: + * DataStoreRead: '/Data Store Read1' */ - rtb_Compare_gq = (rtDW.CCU_IonizationErr_Stat != 1); + rtb_Compare_hdv = (rtDW.CCU_IonizationErr_Stat != 1); - /* Switch: '/Switch' incorporates: - * Constant: '/CO' - * Constant: '/Constant11' - * Constant: '/Constant17' - * Constant: '/NH3' - * Constant: '/NOX' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - * Logic: '/OR2' - * RelationalOperator: '/Relational Operator10' - * RelationalOperator: '/Relational Operator11' - * RelationalOperator: '/Relational Operator12' - * Switch: '/Switch3' + /* Switch: '/Switch' incorporates: + * Constant: '/CO' + * Constant: '/Constant11' + * Constant: '/Constant17' + * Constant: '/NH3' + * Constant: '/NOX' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * Logic: '/OR2' + * RelationalOperator: '/Relational Operator10' + * RelationalOperator: '/Relational Operator11' + * RelationalOperator: '/Relational Operator12' + * Switch: '/Switch3' */ - if (rtb_Compare_ff) { + if (rtb_Compare_kv) { i = 0; - rtb_Compare_e = true; + rtb_Compare_e1 = true; } else { - i = rtb_Compare_mg; - rtb_Compare_e = ((rtDW.AirQS_COLvl >= g_aucAQS_REC_LV_CO[7]) || - (rtDW.AirQS_NOxLvl >= g_aucAQS_REC_LV_NOX[7]) || - (rtDW.AirQS_NH3Lvl >= g_aucAQS_REC_LV_NH3[7])); + i = rtb_Compare_i3s; + rtb_Compare_e1 = ((rtDW.AirQS_COLvl >= g_aucAQS_REC_LV_CO[7]) || + (rtDW.AirQS_NOxLvl >= g_aucAQS_REC_LV_NOX[7]) || + (rtDW.AirQS_NH3Lvl >= g_aucAQS_REC_LV_NH3[7])); } - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Logic: '/AND' - * RelationalOperator: '/Relational Operator1' - * Switch: '/Switch' - * Switch: '/Switch1' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Logic: '/AND' + * RelationalOperator: '/Relational Operator1' + * Switch: '/Switch' + * Switch: '/Switch1' */ - rtDW.Entry_Button = (uint8_t)(((rtDW.Entry_Button == 1) || - rtb_RelationalOperator6_f) && rtb_Compare_pnq && (i != 0) && rtb_Compare_gq); + rtDW.Entry_Button = (uint8_t)(((rtDW.Entry_Button == 1) || rtb_Compare_bp) && + rtb_RelationalOperator6_f && (i != 0) && rtb_Compare_hdv); - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * Constant: '/CO' - * Constant: '/Constant14' - * Constant: '/NH3' - * Constant: '/NOX' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read8' - * DataStoreWrite: '/Data Store Write2' - * Logic: '/AND1' - * Logic: '/AND3' - * Logic: '/NOT' - * Logic: '/NOT2' - * Logic: '/OR' - * RelationalOperator: '/Relational Operator13' - * RelationalOperator: '/Relational Operator15' - * RelationalOperator: '/Relational Operator19' - * Sum: '/Subtract1' - * Sum: '/Subtract2' - * Sum: '/Subtract3' - * Switch: '/Switch2' - * Switch: '/Switch3' - * Switch: '/Switch4' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * Constant: '/CO' + * Constant: '/Constant14' + * Constant: '/NH3' + * Constant: '/NOX' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * DataStoreWrite: '/Data Store Write2' + * Logic: '/AND1' + * Logic: '/AND3' + * Logic: '/NOT' + * Logic: '/NOT2' + * Logic: '/OR' + * RelationalOperator: '/Relational Operator13' + * RelationalOperator: '/Relational Operator15' + * RelationalOperator: '/Relational Operator19' + * Sum: '/Subtract1' + * Sum: '/Subtract2' + * Sum: '/Subtract3' + * Switch: '/Switch2' + * Switch: '/Switch3' + * Switch: '/Switch4' */ - rtDW.Entry_AirQS = (uint8_t)(rtb_Compare_e && rtb_Compare_pnq && - (rtb_Compare_ff || rtb_RelationalOperator6_f) && (((!rtb_Compare_ff) || - rtb_Compare_mg) && ((rtDW.AirQS_COLvl >= g_aucAQS_REC_LV_CO[7] - 1) || - (rtDW.AirQS_NOxLvl >= g_aucAQS_REC_LV_NOX[7] - 1) || - (rtDW.AirQS_NH3Lvl >= g_aucAQS_REC_LV_NH3[7] - 1)) && - rtb_Compare_gq)); + rtDW.Entry_AirQS = (uint8_t)(rtb_Compare_e1 && rtb_RelationalOperator6_f && + (rtb_Compare_kv || rtb_Compare_bp) && (((!rtb_Compare_kv) || rtb_Compare_i3s) + && ((rtDW.AirQS_COLvl >= g_aucAQS_REC_LV_CO[7] - 1) || (rtDW.AirQS_NOxLvl >= + g_aucAQS_REC_LV_NOX[7] - 1) || (rtDW.AirQS_NH3Lvl >= g_aucAQS_REC_LV_NH3[7] + - 1)) && rtb_Compare_hdv)); - /* Outputs for Enabled SubSystem: '/write 1 to ionizer' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/write 1 to ionizer' incorporates: + * EnablePort: '/Enable' */ - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ if (rtDW.CCU_Ionization_algo_active > 0) { - /* DataStoreWrite: '/Data Store Write1' */ + /* DataStoreWrite: '/Data Store Write1' */ rtDW.CCU_Ionization = rtDW.CCU_Ionization_algo_active; } - /* End of Outputs for SubSystem: '/write 1 to ionizer' */ + /* End of Outputs for SubSystem: '/write 1 to ionizer' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ - rtb_D = 0.0; + rtb_area_R_o = 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_Saturation2 = rtDW.MaxPositionCh0_private[i]; - if (rtb_Saturation2 != 0) { - rtb_duct_select_index_dbg_c = (double) - Actuator_Ch0_Status_Model.in_CPOS_ALL[i] / (double)rtb_Saturation2 * - 100.0; + Gain1 = rtDW.MaxPositionCh0_private[i]; + if (Gain1 != 0) { + rtb_Divide5 = (double)Actuator_Ch0_Status_Model.in_CPOS_ALL[i] / (double) + Gain1 * 100.0; } else { - rtb_duct_select_index_dbg_c = 0.0; + rtb_Divide5 = 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_duct_select_index_dbg_c > 100.0) { + if (rtb_Divide5 > 100.0) { rtb_DataTypeConversion_b4q[i] = 100U; } else { - rtb_DataTypeConversion_b4q[i] = (uint8_t)rtb_duct_select_index_dbg_c; + rtb_DataTypeConversion_b4q[i] = (uint8_t)rtb_Divide5; } - /* 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_cb = rtDW.stepSig_private; @@ -50091,1136 +52744,1139 @@ void HVAC_model_step(void) rtb_y_cb = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* SwitchCase: '/Switch Case' */ + /* SwitchCase: '/Switch Case' */ switch (rtb_y_cb) { 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_cb + 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_cb; - /* 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_cb + 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_cb; - /* 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_cb + 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_cb; - /* 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_cb + 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_cb; - /* 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_n2[i] = + rtb_LogicalOperator3_n[i] = ((Actuator_Ch0_Status_Model.in_Act_Stall_Slave[i] == 1) || (Actuator_Ch0_Status_Model.in_CPOS_ALL[i] == 0) || (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_Compare_e = rtb_LogicalOperator3_n2[0]; + rtb_Compare_e1 = rtb_LogicalOperator3_n[0]; for (i = 0; i < 8; i++) { - rtb_Compare_e = (rtb_Compare_e && rtb_LogicalOperator3_n2[i + 1]); + rtb_Compare_e1 = (rtb_Compare_e1 && rtb_LogicalOperator3_n[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_Compare_e) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + (Actuator_Ch0_Status_Model.Error_Connect == 0) && rtb_Compare_e1) { + /* 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' - */ - rtB.Merge_f1 = (int8_t)(rtb_y_cb + 1); - - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ - /* : if(LOGGER == 2) */ - } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: - * ActionPort: '/Action Port' - */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' - */ - rtB.Merge_f1 = rtb_y_cb; - - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ - } - - /* 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' - */ - /* 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' - */ - for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.COM_private[i] = 2U; - - /* DataStoreWrite: '/Data Store Write' */ - rtDW.POS_private[i] = 0U; - } - - /* Merge: '/Merge' incorporates: + /* Merge: '/Merge' incorporates: * Constant: '/Constant' * Sum: '/step inc' */ rtB.Merge_f1 = (int8_t)(rtb_y_cb + 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: + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: * ActionPort: '/Action Port' */ - /* Merge: '/Merge' incorporates: + /* Merge: '/Merge' incorporates: * SignalConversion generated from: '/stepIn' */ rtB.Merge_f1 = rtb_y_cb; - /* 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: '/If2' */ + /* End of Outputs for SubSystem: '/Check Stall Min' */ break; - case 7: - /* Outputs for IfAction SubSystem: '/Move to position Max' incorporates: - * ActionPort: '/Action Port' + case 6: + /* 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 Write4' incorporates: - * Constant: '/Constant1' + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.COM_private[i] = 2U; + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.POS_private[i] = 0U; + } + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' + */ + rtB.Merge_f1 = (int8_t)(rtb_y_cb + 1); + + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* : if(LOGGER == 2) */ + } else { + /* Outputs for IfAction SubSystem: '/If Action Subsystem3' incorporates: + * ActionPort: '/Action Port' + */ + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' + */ + rtB.Merge_f1 = rtb_y_cb; + + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + } + + /* 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' + */ + /* 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' + */ + for (i = 0; i < 9; i++) { + /* 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] = 6000U; - /* 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_cb + 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_cb; - /* 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_n2[i] = + rtb_LogicalOperator3_n[i] = ((Actuator_Ch0_Status_Model.in_Act_Stall_Slave[i] == 1) || (Actuator_Ch0_Status_Model.in_CPOS_ALL[i] == 6000) || (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_Compare_e = rtb_LogicalOperator3_n2[0]; + rtb_Compare_e1 = rtb_LogicalOperator3_n[0]; for (i = 0; i < 8; i++) { - rtb_Compare_e = (rtb_Compare_e && rtb_LogicalOperator3_n2[i + 1]); + rtb_Compare_e1 = (rtb_Compare_e1 && rtb_LogicalOperator3_n[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_Compare_e) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + (Actuator_Ch0_Status_Model.Error_Connect == 0) && rtb_Compare_e1) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read51' - * Switch: '/Switch' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read51' + * Switch: '/Switch' */ if (rtDW.act_debug_command > 0) { - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/ACT1' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/ACT1' */ - rtDW.MaxPositionCh0_private[i] = rtConstP.pooled91[i]; + rtDW.MaxPositionCh0_private[i] = rtConstP.pooled92[i]; } else if (rtDW.ErrorCalibration_private[i] != 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.MaxPositionCh0_private[i] = Actuator_Ch0_Status_Model.in_CPOS_ALL[i]; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ rtB.Merge_f1 = (int8_t)(rtb_y_cb + 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_cb; - /* 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_pb[i] = (double)rtDW.MaxPositionCh0_private[i] / (double) - rtConstP.pooled91[i]; + rtb_DataTypeConversion1[i] = (double)rtDW.MaxPositionCh0_private[i] / + (double)rtConstP.pooled92[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_duct_select_index_dbg_c = rtb_Divide1_pb[i]; + /* RelationalOperator: '/Compare' */ + rtb_Divide5 = rtb_DataTypeConversion1[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' */ - rtb_RelationalOperator6_f = ((rtb_duct_select_index_dbg_c >= 0.6) && - (rtb_duct_select_index_dbg_c <= 1.5)); - rtb_LogicalOperator3_n2[i] = rtb_RelationalOperator6_f; + rtb_RelationalOperator6_f = ((rtb_Divide5 >= 0.7) && (rtb_Divide5 <= 1.3)); + rtb_LogicalOperator3_n[i] = rtb_RelationalOperator6_f; - /* 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)((!rtb_RelationalOperator6_f) && (rtDW.ErrorCalibration_private[i] != 0)); } - /* Logic: '/Logical Operator1' */ + /* Logic: '/Logical Operator1' */ /* : if(LOGGER>0) */ - rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + rtb_Compare_e1 = rtb_LogicalOperator3_n[0]; for (i = 0; i < 8; i++) { - rtb_Compare_e = (rtb_Compare_e && rtb_LogicalOperator3_n2[i + 1]); + rtb_Compare_e1 = (rtb_Compare_e1 && rtb_LogicalOperator3_n[i + 1]); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator1' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator1' */ - if (rtb_Compare_e) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + if (rtb_Compare_e1) { + /* 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' + /* Logic: '/Logical Operator3' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ for (i = 0; i < 9; i++) { - rtb_LogicalOperator3_n2[i] = (rtb_Divide1_pb[i] > 1.5); + /* RelationalOperator: '/Compare' */ + rtb_Divide5 = rtb_DataTypeConversion1[i]; + rtb_LogicalOperator3_n[i] = ((rtb_Divide5 < 0.7) || (rtb_Divide5 > 1.3)); } - /* End of RelationalOperator: '/Compare' */ + /* End of Logic: '/Logical Operator3' */ - /* Logic: '/Logical Operator' */ - rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + /* Logic: '/Logical Operator' */ + rtb_Compare_e1 = rtb_LogicalOperator3_n[0]; for (i = 0; i < 8; i++) { - rtb_Compare_e = (rtb_Compare_e || rtb_LogicalOperator3_n2[i + 1]); + rtb_Compare_e1 = (rtb_Compare_e1 || rtb_LogicalOperator3_n[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_Compare_e; + rtDW.CCU_ActuatorErrF_Stat_private = rtb_Compare_e1; for (i = 0; i < 9; i++) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ - rtb_RelationalOperator6_f = rtb_LogicalOperator3_n2[i]; + rtb_RelationalOperator6_f = rtb_LogicalOperator3_n[i]; rtDW.COM_private[i] = rtb_RelationalOperator6_f; - /* 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)(rtb_RelationalOperator6_f || (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++) { /* : if ErrCallibration(i) == 1 */ - if (rtb_LogicalOperator3_n2[i]) { + if (rtb_LogicalOperator3_n[i]) { /* : fprintf('[LIN 1] Failure with actuator #%d\n', int16(i)); */ printf("[LIN 1] Failure with actuator #%d\n", (int16_t)(i + 1)); fflush(stdout); } } - /* End of MATLAB Function: '/Write ERROR' */ + /* End of MATLAB Function: '/Write ERROR' */ for (i = 0; i < 9; i++) { - /* Logic: '/Logical Operator1' */ - rtb_RelationalOperator6_f = rtb_LogicalOperator3_n2[i]; + /* Logic: '/Logical Operator1' */ + rtb_RelationalOperator6_f = rtb_LogicalOperator3_n[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)((!rtb_RelationalOperator6_f) && (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] = rtb_RelationalOperator6_f; } - /* DataStoreWrite: '/Data Store Write' incorporates: - * Constant: '/Constant' + /* DataStoreWrite: '/Data Store Write' incorporates: + * Constant: '/Constant' */ rtDW.stepSig_private = 1; - /* Logic: '/Logical Operator2' incorporates: - * DataStoreWrite: '/Data Store Write' + /* Logic: '/Logical Operator2' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* : if(LOGGER>0) */ - rtb_Compare_e = (rtDW.ErrorCalibration_private[0] != 0); + rtb_Compare_e1 = (rtDW.ErrorCalibration_private[0] != 0); for (i = 0; i < 8; i++) { - rtb_Compare_e = (rtb_Compare_e || (rtDW.ErrorCalibration_private[i + 1] + rtb_Compare_e1 = (rtb_Compare_e1 || (rtDW.ErrorCalibration_private[i + 1] != 0)); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ - if (rtb_Compare_e) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + if (rtb_Compare_e1) { + /* 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_duct_select_index_dbg_c = rtb_Divide1_pb[i]; + /* RelationalOperator: '/Compare' */ + rtb_Divide5 = rtb_DataTypeConversion1[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' */ - rtb_RelationalOperator6_f = (((rtb_duct_select_index_dbg_c < 0.97) || - (rtb_duct_select_index_dbg_c > 1.03)) && - (rtDW.ErrorCalibration_private[i] != 0)); - rtb_LogicalOperator3_n2[i] = rtb_RelationalOperator6_f; + rtb_RelationalOperator6_f = (((rtb_Divide5 < 0.7) || (rtb_Divide5 > 1.3)) + && (rtDW.ErrorCalibration_private[i] != 0)); + rtb_LogicalOperator3_n[i] = rtb_RelationalOperator6_f; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.ErrorCalibration_private[i] = rtb_RelationalOperator6_f; } - /* Logic: '/Logical Operator2' */ + /* Logic: '/Logical Operator2' */ /* : if(LOGGER>0) */ - rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + rtb_Compare_e1 = rtb_LogicalOperator3_n[0]; for (i = 0; i < 8; i++) { - rtb_Compare_e = (rtb_Compare_e || rtb_LogicalOperator3_n2[i + 1]); + rtb_Compare_e1 = (rtb_Compare_e1 || rtb_LogicalOperator3_n[i + 1]); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ - if (rtb_Compare_e) { - /* Merge: '/Merge' incorporates: - * Constant: '/хотя бы 1 ошибка' + if (rtb_Compare_e1) { + /* Merge: '/Merge' incorporates: + * Constant: '/хотя бы 1 ошибка' */ rtB.Merge_a = 3; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/ошибок калибровки нет' + /* Merge: '/Merge' incorporates: + * Constant: '/ошибок калибровки нет' */ 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); + MATLABFunction_h(rtDW.Start_timer_n, rtDW.t_now, &rtb_Subtract, + &rtDW.sf_MATLABFunction_h); - /* If: '/If' */ + /* If: '/5 min' */ /* : if(LOGGER>1) */ - if (rtb_Subtract > 3600000U) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + if (rtb_Subtract > 300000U) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' */ + /* Merge: '/Merge' */ IfActionSubsystem(&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' */ + /* DataTypeConversion: '/Data Type Conversion2' */ for (i = 0; i < 9; i++) { /* DataStoreWrite: '/Data Store Write23' */ - rtb_Saturation2 = rtb_out_cj[i]; + Gain1 = rtb_MultiportSwitch_fd[i]; - /* Saturate: '/Saturation' */ - if (rtb_Saturation2 <= 99) { - rtb_DataTypeConversion_mo[i] = (uint8_t)rtb_Saturation2; + /* Saturate: '/Saturation' */ + if (Gain1 <= 99) { + rtb_DataTypeConversion_mo[i] = (uint8_t)Gain1; } else { rtb_DataTypeConversion_mo[i] = 99U; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ } - /* 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_mo[8]; - /* DataStoreRead: '/Data Store Read4' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreRead: '/Data Store Read4' incorporates: + * Concatenate: '/Vector Concatenate' */ - rtDW.BUS_ADR_private[1] = rtDW.Max_def_Rec_valve; + rtDW.BUS_ADR_private[1] = rtb_Switch_bm; - /* DataStoreRead: '/Data Store Read3' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreRead: '/Data Store Read2' incorporates: + * Concatenate: '/Vector Concatenate' */ - rtDW.BUS_ADR_private[2] = rtDW.Max_def_OSA_valve; + rtDW.BUS_ADR_private[2] = rtb_DataTypeConversion1_nc; - /* 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_mo[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_mo[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_mo[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_mo[5]; for (i = 0; i < 9; i++) { - /* Product: '/Product' */ - max_side_L = rtDW.BUS_ADR_private[i]; + /* Product: '/Product' */ + Index_mode_FR_manual = 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)(max_side_L * + rtDW.POS_private[i] = (uint16_t)((double)(Index_mode_FR_manual * rtDW.MaxPositionCh0_private[i]) / 100.0); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ - rtb_LogicalOperator3_n2[i] = (rtb_DataTypeConversion_b4q[i] == - max_side_L); + rtb_LogicalOperator3_n[i] = (rtb_DataTypeConversion_b4q[i] == + Index_mode_FR_manual); } - /* Logic: '/Logical Operator' */ - rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + /* Logic: '/Logical Operator' */ + rtb_Compare_e1 = rtb_LogicalOperator3_n[0]; for (i = 0; i < 8; i++) { - rtb_Compare_e = (rtb_Compare_e && rtb_LogicalOperator3_n2[i + 1]); + rtb_Compare_e1 = (rtb_Compare_e1 && rtb_LogicalOperator3_n[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_Compare_e) { + if (rtb_Compare_e1) { rtDW.COM_private[i] = 0U; } else { 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_b4q[i] != rtDW.BUS_ADR_private[i]) * - rtConstP.pooled147[i]); + rtConstP.pooled149[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: '/5 min' */ + /* 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(&rtB.Merge_a, &rtDW.CCU_ActuatorErrF_Stat_private, rtDW.COM_private, rtDW.ErrorActuator, - rtDW.ErrorCalibration_private, &rtb_D, + rtDW.ErrorCalibration_private, &rtb_area_R_o, 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' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem4' incorporates: + * ActionPort: '/Action Port' */ - /* DataTypeConversion: '/Data Type Conversion2' */ + /* DataTypeConversion: '/Data Type Conversion2' */ for (i = 0; i < 9; i++) { /* DataStoreWrite: '/Data Store Write23' */ - rtb_Saturation2 = rtb_out_cj[i]; + Gain1 = rtb_MultiportSwitch_fd[i]; - /* Saturate: '/Saturation' */ - if (rtb_Saturation2 <= 99) { - rtb_DataTypeConversion_mo[i] = (uint8_t)rtb_Saturation2; + /* Saturate: '/Saturation' */ + if (Gain1 <= 99) { + rtb_DataTypeConversion_mo[i] = (uint8_t)Gain1; } else { rtb_DataTypeConversion_mo[i] = 99U; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ } - /* 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_mo[8]; - /* DataStoreRead: '/Data Store Read4' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreRead: '/Data Store Read4' incorporates: + * Concatenate: '/Vector Concatenate' */ - rtDW.BUS_ADR_private[1] = rtDW.Max_def_Rec_valve; + rtDW.BUS_ADR_private[1] = rtb_Switch_bm; - /* DataStoreRead: '/Data Store Read2' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreRead: '/Data Store Read2' incorporates: + * Concatenate: '/Vector Concatenate' */ - rtDW.BUS_ADR_private[2] = rtDW.Max_def_OSA_valve; + rtDW.BUS_ADR_private[2] = rtb_DataTypeConversion1_nc; - /* 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_mo[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_mo[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_mo[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_mo[5]; for (i = 0; i < 9; i++) { - /* Product: '/Product' */ - max_side_L = rtDW.BUS_ADR_private[i]; + /* Product: '/Product' */ + Index_mode_FR_manual = 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)(max_side_L * + rtDW.POS_private[i] = (uint16_t)((double)(Index_mode_FR_manual * rtDW.MaxPositionCh0_private[i]) / 100.0); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ - rtb_LogicalOperator3_n2[i] = (rtb_DataTypeConversion_b4q[i] == - max_side_L); + rtb_LogicalOperator3_n[i] = (rtb_DataTypeConversion_b4q[i] == + Index_mode_FR_manual); } - /* Logic: '/Logical Operator' */ - rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + /* Logic: '/Logical Operator' */ + rtb_Compare_e1 = rtb_LogicalOperator3_n[0]; for (i = 0; i < 8; i++) { - rtb_Compare_e = (rtb_Compare_e && rtb_LogicalOperator3_n2[i + 1]); + rtb_Compare_e1 = (rtb_Compare_e1 && rtb_LogicalOperator3_n[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_Compare_e) { + if (rtb_Compare_e1) { rtDW.COM_private[i] = 0U; } else { 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_b4q[i] != rtDW.BUS_ADR_private[i]) * - rtConstP.pooled147[i]); + rtConstP.pooled149[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]; @@ -51232,90 +53888,89 @@ 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_n2[i] = (rtDW.ErrorCalibration_private[i] == 0); + rtb_LogicalOperator3_n[i] = (rtDW.ErrorCalibration_private[i] == 0); } - /* Logic: '/Logical Operator' */ - rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + /* Logic: '/Logical Operator' */ + rtb_Compare_e1 = rtb_LogicalOperator3_n[0]; for (i = 0; i < 8; i++) { - rtb_Compare_e = (rtb_Compare_e || rtb_LogicalOperator3_n2[i + 1]); + rtb_Compare_e1 = (rtb_Compare_e1 || rtb_LogicalOperator3_n[i + 1]); } for (i = 0; i < 9; i++) { - /* Switch: '/Switch1' incorporates: - * Concatenate: '/Vector Concatenate' - * Constant: '/Constant3' - * Constant: '/широковещательное' - * DataStoreRead: '/Data Store Read2' - * DataStoreWrite: '/Data Store Write7' - * Logic: '/Logical Operator' - * Product: '/Product' + /* Switch: '/Switch1' incorporates: + * Concatenate: '/Vector Concatenate' + * Constant: '/Constant3' + * Constant: '/широковещательное' + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write7' + * Logic: '/Logical Operator' + * Product: '/Product' */ - if (rtb_Compare_e) { + if (rtb_Compare_e1) { rtDW.BUS_ADR_private[i] = (uint8_t)((uint32_t) - rtDW.ErrorCalibration_private[i] * rtConstP.pooled147[i]); + rtDW.ErrorCalibration_private[i] * rtConstP.pooled149[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_Saturation2 = rtDW.MaxPositionCh1_private[i]; - if (rtb_Saturation2 != 0) { - rtb_duct_select_index_dbg_c = (double) - Actuator_Ch1_Status_Model.in_CPOS_ALL[i] / (double)rtb_Saturation2 * - 100.0; + Gain1 = rtDW.MaxPositionCh1_private[i]; + if (Gain1 != 0) { + rtb_Divide5 = (double)Actuator_Ch1_Status_Model.in_CPOS_ALL[i] / (double) + Gain1 * 100.0; } else { - rtb_duct_select_index_dbg_c = 0.0; + rtb_Divide5 = 0.0; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Saturate: '/Saturation' */ - if (rtb_duct_select_index_dbg_c > 100.0) { + /* Saturate: '/Saturation' */ + if (rtb_Divide5 > 100.0) { rtb_DataTypeConversion_mo[i] = 100U; } else { - rtb_DataTypeConversion_mo[i] = (uint8_t)rtb_duct_select_index_dbg_c; + rtb_DataTypeConversion_mo[i] = (uint8_t)rtb_Divide5; } - /* 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_mo[6] = 0U; rtb_DataTypeConversion_mo[7] = 0U; rtb_DataTypeConversion_mo[8] = 0U; - /* DataStoreWrite: '/Data Store Write2' */ + /* DataStoreWrite: '/Data Store Write2' */ for (i = 0; i < 9; i++) { Actuator_pos_percent_Ch1[i] = rtb_DataTypeConversion_mo[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_cb = rtDW.stepSig_private_h; @@ -51323,391 +53978,319 @@ void HVAC_model_step(void) rtb_y_cb = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* SwitchCase: '/Switch Case' */ + /* SwitchCase: '/Switch Case' */ switch (rtb_y_cb) { 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_cb + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ - if (rtb_D == 2.0) { + if (rtb_area_R_o == 2.0) { /* : fprintf('[LIN 2] Stop Mode\n'); */ printf("[LIN 2] Stop Mode\n"); 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_cb; - /* 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_cb + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ - if (rtb_D == 2.0) { + if (rtb_area_R_o == 2.0) { /* : fprintf('[LIN 2] Initial CPOS Min\n'); */ printf("[LIN 2] Initial CPOS Min\n"); 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_cb; - /* 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_cb + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ - if (rtb_D == 2.0) { + if (rtb_area_R_o == 2.0) { /* : fprintf('LIN 2] Normal Mode\n'); */ printf("LIN 2] Normal Mode\n"); 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_cb; - /* 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_cb + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ - if (rtb_D == 2.0) { + if (rtb_area_R_o == 2.0) { /* : fprintf('[LIN 2] Move to position Min\n'); */ printf("[LIN 2] Move to position Min\n"); 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_cb; - /* 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_pw[i] = + rtb_LogicalOperator3_es[i] = ((Actuator_Ch1_Status_Model.in_Act_Stall_Slave[i] == 1) || (Actuator_Ch1_Status_Model.in_CPOS_ALL[i] == 0) || (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_Compare_e = rtb_LogicalOperator3_pw[0]; + rtb_Compare_e1 = rtb_LogicalOperator3_es[0]; for (i = 0; i < 5; i++) { - rtb_Compare_e = (rtb_Compare_e && rtb_LogicalOperator3_pw[i + 1]); + rtb_Compare_e1 = (rtb_Compare_e1 && rtb_LogicalOperator3_es[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_Compare_e) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + (Actuator_Ch1_Status_Model.Error_Connect == 0) && rtb_Compare_e1) { + /* 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' - */ - rtB.Merge_e = (int8_t)(rtb_y_cb + 1); - - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - /* : if(LOGGER == 2) */ - if (rtb_D == 2.0) { - /* : fprintf('[LIN 2] Check Stall Min\n'); */ - printf("[LIN 2] Check Stall Min\n"); - fflush(stdout); - - /* : for i = 1:numel(data) */ - for (i = 0; i < 9; i++) { - /* : fprintf('[LIN 2] MIN = %d ', int16(data(i))); */ - rtb_out_mxq = Actuator_Ch1_Status_Model.in_CPOS_ALL[i]; - if (rtb_out_mxq > 32767) { - rtb_out_mxq = 32767U; - } - - printf("[LIN 2] MIN = %d ", (int16_t)rtb_out_mxq); - fflush(stdout); - } - - /* : fprintf('\n'); */ - printf("\n"); - fflush(stdout); - } - - /* 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' - */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' - */ - rtB.Merge_e = rtb_y_cb; - - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ - } - - /* 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' - */ - /* 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' - */ - for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write1' */ - rtDW.COM_private_g[i] = 2U; - - /* DataStoreWrite: '/Data Store Write' */ - rtDW.POS_private_m[i] = 0U; - } - - /* Merge: '/Merge' incorporates: + /* Merge: '/Merge' incorporates: * Constant: '/Constant' * Sum: '/step inc' */ @@ -51717,199 +54300,20 @@ void HVAC_model_step(void) * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ - if (rtb_D == 2.0) { - /* : fprintf('[LIN 2] Initial CPOS Max\n'); */ - printf("[LIN 2] Initial CPOS Max\n"); - fflush(stdout); - } - - /* 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' - */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' - */ - rtB.Merge_e = rtb_y_cb; - - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ - } - - /* 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' - */ - /* 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' - */ - for (i = 0; i < 9; i++) { - /* DataStoreWrite: '/Data Store Write4' incorporates: - * Constant: '/Constant1' - */ - rtDW.Autos_private_n[i] = 1U; - - /* DataStoreWrite: '/Data Store Write2' incorporates: - * Constant: '/Constant10' - */ - rtDW.Stall_private_l[i] = 1U; - - /* DataStoreWrite: '/Data Store Write3' */ - rtDW.Lnoise_private_n[i] = 0U; - - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' - */ - rtDW.Speed_private_j[i] = 3U; - - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' - */ - rtDW.Coils_private_c[i] = 3U; - - /* DataStoreWrite: '/Data Store Write' */ - rtDW.POS_private_m[i] = 6000U; - - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/Constant9' - */ - rtDW.COM_private_g[i] = 3U; - } - - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' - */ - rtB.Merge_e = (int8_t)(rtb_y_cb + 1); - - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - /* : if(LOGGER == 2) */ - if (rtb_D == 2.0) { - /* : fprintf('[LIN 2] Move to position Max\n'); */ - printf("[LIN 2] Move to position Max\n"); - fflush(stdout); - } - - /* 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' - */ - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/stepIn' - */ - rtB.Merge_e = rtb_y_cb; - - /* End of Outputs for SubSystem: '/If Action Subsystem3' */ - } - - /* 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' - */ - /* 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_pw[i] = - ((Actuator_Ch1_Status_Model.in_Act_Stall_Slave[i] == 1) || - (Actuator_Ch1_Status_Model.in_CPOS_ALL[i] == 6000) || - (rtDW.ErrorCalibration_private_p[i] == 0)); - } - - /* End of Logic: '/Logical Operator3' */ - - /* Logic: '/Logical Operator1' incorporates: - * Logic: '/Logical Operator3' - */ - rtb_Compare_e = rtb_LogicalOperator3_pw[0]; - for (i = 0; i < 5; i++) { - rtb_Compare_e = (rtb_Compare_e && rtb_LogicalOperator3_pw[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 ((Actuator_Ch1_Status_Model.Busy == 0) && - (Actuator_Ch1_Status_Model.Error_Connect == 0) && rtb_Compare_e) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' - */ - for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read51' - * Switch: '/Switch' - */ - if (rtDW.act_debug_command > 0) { - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/ACT1' - */ - rtDW.MaxPositionCh1_private[i] = rtConstP.pooled93[i]; - } else if (rtDW.ErrorCalibration_private_p[i] != 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.MaxPositionCh1_private[i] = - Actuator_Ch1_Status_Model.in_CPOS_ALL[i]; - } - - /* End of Switch: '/Switch' */ - } - - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' - */ - rtB.Merge_e = (int8_t)(rtb_y_cb + 1); - - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - /* : if(LOGGER == 2) */ - if (rtb_D == 2.0) { - /* : fprintf('[LIN 2] Check Stall MAX\n'); */ - printf("[LIN 2] Check Stall MAX\n"); + if (rtb_area_R_o == 2.0) { + /* : fprintf('[LIN 2] Check Stall Min\n'); */ + printf("[LIN 2] Check Stall Min\n"); fflush(stdout); /* : for i = 1:numel(data) */ for (i = 0; i < 9; i++) { - /* : fprintf('[LIN 2] MAX = %d ', int16(data(i))); */ - rtb_out_mxq = Actuator_Ch1_Status_Model.in_CPOS_ALL[i]; - if (rtb_out_mxq > 32767) { - rtb_out_mxq = 32767U; + /* : fprintf('[LIN 2] MIN = %d ', int16(data(i))); */ + rtb_out_bf = Actuator_Ch1_Status_Model.in_CPOS_ALL[i]; + if (rtb_out_bf > 32767) { + rtb_out_bf = 32767U; } - printf("[LIN 2] MAX = %d ", (int16_t)rtb_out_mxq); + printf("[LIN 2] MIN = %d ", (int16_t)rtb_out_bf); fflush(stdout); } @@ -51918,86 +54322,336 @@ 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_cb; - /* 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 Min' */ + break; + + case 6: + /* 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 ((Actuator_Ch1_Status_Model.Busy == 0) && + (Actuator_Ch1_Status_Model.Error_Connect == 0)) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' + */ + for (i = 0; i < 9; i++) { + /* DataStoreWrite: '/Data Store Write1' */ + rtDW.COM_private_g[i] = 2U; + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.POS_private_m[i] = 0U; + } + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' + */ + rtB.Merge_e = (int8_t)(rtb_y_cb + 1); + + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + /* : if(LOGGER == 2) */ + if (rtb_area_R_o == 2.0) { + /* : fprintf('[LIN 2] Initial CPOS Max\n'); */ + printf("[LIN 2] Initial CPOS Max\n"); + fflush(stdout); + } + + /* 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' + */ + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' + */ + rtB.Merge_e = rtb_y_cb; + + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + } + + /* 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' + */ + /* 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' + */ + for (i = 0; i < 9; i++) { + /* DataStoreWrite: '/Data Store Write4' incorporates: + * Constant: '/Constant1' + */ + rtDW.Autos_private_n[i] = 1U; + + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Constant10' + */ + rtDW.Stall_private_l[i] = 1U; + + /* DataStoreWrite: '/Data Store Write3' */ + rtDW.Lnoise_private_n[i] = 0U; + + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' + */ + rtDW.Speed_private_j[i] = 3U; + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' + */ + rtDW.Coils_private_c[i] = 3U; + + /* DataStoreWrite: '/Data Store Write' */ + rtDW.POS_private_m[i] = 6000U; + + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/Constant9' + */ + rtDW.COM_private_g[i] = 3U; + } + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' + */ + rtB.Merge_e = (int8_t)(rtb_y_cb + 1); + + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + /* : if(LOGGER == 2) */ + if (rtb_area_R_o == 2.0) { + /* : fprintf('[LIN 2] Move to position Max\n'); */ + printf("[LIN 2] Move to position Max\n"); + fflush(stdout); + } + + /* 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' + */ + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' + */ + rtB.Merge_e = rtb_y_cb; + + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + } + + /* 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' + */ + /* 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_es[i] = + ((Actuator_Ch1_Status_Model.in_Act_Stall_Slave[i] == 1) || + (Actuator_Ch1_Status_Model.in_CPOS_ALL[i] == 6000) || + (rtDW.ErrorCalibration_private_p[i] == 0)); + } + + /* End of Logic: '/Logical Operator3' */ + + /* Logic: '/Logical Operator1' incorporates: + * Logic: '/Logical Operator3' + */ + rtb_Compare_e1 = rtb_LogicalOperator3_es[0]; + for (i = 0; i < 5; i++) { + rtb_Compare_e1 = (rtb_Compare_e1 && rtb_LogicalOperator3_es[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 ((Actuator_Ch1_Status_Model.Busy == 0) && + (Actuator_Ch1_Status_Model.Error_Connect == 0) && rtb_Compare_e1) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' + */ + for (i = 0; i < 9; i++) { + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read51' + * Switch: '/Switch' + */ + if (rtDW.act_debug_command > 0) { + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/ACT1' + */ + rtDW.MaxPositionCh1_private[i] = rtConstP.pooled94[i]; + } else if (rtDW.ErrorCalibration_private_p[i] != 0) { + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.MaxPositionCh1_private[i] = + Actuator_Ch1_Status_Model.in_CPOS_ALL[i]; + } + + /* End of Switch: '/Switch' */ + } + + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' + */ + rtB.Merge_e = (int8_t)(rtb_y_cb + 1); + + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + /* : if(LOGGER == 2) */ + if (rtb_area_R_o == 2.0) { + /* : fprintf('[LIN 2] Check Stall MAX\n'); */ + printf("[LIN 2] Check Stall MAX\n"); + fflush(stdout); + + /* : for i = 1:numel(data) */ + for (i = 0; i < 9; i++) { + /* : fprintf('[LIN 2] MAX = %d ', int16(data(i))); */ + rtb_out_bf = Actuator_Ch1_Status_Model.in_CPOS_ALL[i]; + if (rtb_out_bf > 32767) { + rtb_out_bf = 32767U; + } + + printf("[LIN 2] MAX = %d ", (int16_t)rtb_out_bf); + fflush(stdout); + } + + /* : fprintf('\n'); */ + printf("\n"); + fflush(stdout); + } + + /* 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' + */ + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/stepIn' + */ + rtB.Merge_e = rtb_y_cb; + + /* End of Outputs for SubSystem: '/If Action Subsystem3' */ + } + + /* 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 1' + /* Product: '/Divide1' incorporates: + * Constant: '/ACT1' + * DataStoreRead: '/MAX ACT1T 1' */ for (i = 0; i < 6; i++) { - rtb_Divide1_pb[i] = (double)rtDW.MaxPositionCh1_private[i] / (double) - rtConstP.ACT1_Value[i]; + rtb_DataTypeConversion1[i] = (double)rtDW.MaxPositionCh1_private[i] / + (double)rtConstP.ACT1_Value[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_pb[6] = 1.0; - rtb_Divide1_pb[7] = 1.0; - rtb_Divide1_pb[8] = 1.0; + rtb_DataTypeConversion1[6] = 1.0; + rtb_DataTypeConversion1[7] = 1.0; + rtb_DataTypeConversion1[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_duct_select_index_dbg_c = rtb_Divide1_pb[i]; + /* RelationalOperator: '/Compare' */ + rtb_Divide5 = rtb_DataTypeConversion1[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' */ - rtb_RelationalOperator6_f = ((rtb_duct_select_index_dbg_c >= 0.6) && - (rtb_duct_select_index_dbg_c <= 1.5)); - rtb_LogicalOperator3_n2[i] = rtb_RelationalOperator6_f; + rtb_RelationalOperator6_f = ((rtb_Divide5 >= 0.7) && (rtb_Divide5 <= 1.3)); + rtb_LogicalOperator3_n[i] = rtb_RelationalOperator6_f; - /* 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) ((!rtb_RelationalOperator6_f) && (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_D > 0.0) { + if (rtb_area_R_o > 0.0) { /* : fprintf("[LIN 2] Homing 0\n"); */ printf("[LIN 2] Homing 0\n"); fflush(stdout); @@ -52005,97 +54659,102 @@ void HVAC_model_step(void) /* : for i = 1:numel(MAX) */ for (i = 0; i < 6; i++) { /* : fprintf('[LIN 2] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ - rtb_out_mxq = rtDW.MaxPositionCh1_private[i]; - if (rtb_out_mxq > 32767) { - rtb_out_mxq = 32767U; + rtb_out_bf = rtDW.MaxPositionCh1_private[i]; + if (rtb_out_bf > 32767) { + rtb_out_bf = 32767U; } printf("[LIN 2] ACT%d MAX = %d KOEF = %f Callibration = %d \n", - (int16_t)(i + 1), (int16_t)rtb_out_mxq, rtb_Divide1_pb[i], - (int16_t)!rtb_LogicalOperator3_n2[i]); + (int16_t)(i + 1), (int16_t)rtb_out_bf, + rtb_DataTypeConversion1[i], (int16_t)!rtb_LogicalOperator3_n[i]); fflush(stdout); } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator1' */ - rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + /* Logic: '/Logical Operator1' */ + rtb_Compare_e1 = rtb_LogicalOperator3_n[0]; for (i = 0; i < 8; i++) { - rtb_Compare_e = (rtb_Compare_e && rtb_LogicalOperator3_n2[i + 1]); + rtb_Compare_e1 = (rtb_Compare_e1 && rtb_LogicalOperator3_n[i + 1]); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator1' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator1' */ - if (rtb_Compare_e) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + if (rtb_Compare_e1) { + /* 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' + /* Logic: '/Logical Operator3' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ for (i = 0; i < 9; i++) { - rtb_LogicalOperator3_n2[i] = (rtb_Divide1_pb[i] > 1.5); + /* RelationalOperator: '/Compare' */ + rtb_Divide5 = rtb_DataTypeConversion1[i]; + rtb_LogicalOperator3_n[i] = ((rtb_Divide5 < 0.7) || (rtb_Divide5 > 1.3)); } - /* End of RelationalOperator: '/Compare' */ + /* End of Logic: '/Logical Operator3' */ - /* Logic: '/Logical Operator' */ - rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + /* Logic: '/Logical Operator' */ + rtb_Compare_e1 = rtb_LogicalOperator3_n[0]; for (i = 0; i < 8; i++) { - rtb_Compare_e = (rtb_Compare_e || rtb_LogicalOperator3_n2[i + 1]); + rtb_Compare_e1 = (rtb_Compare_e1 || rtb_LogicalOperator3_n[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_Compare_e; + rtDW.CCU_ActuatorErrF_Stat_private = rtb_Compare_e1; for (i = 0; i < 9; i++) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ - rtb_RelationalOperator6_f = rtb_LogicalOperator3_n2[i]; + rtb_RelationalOperator6_f = rtb_LogicalOperator3_n[i]; rtDW.COM_private_g[i] = rtb_RelationalOperator6_f; - /* 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)(rtb_RelationalOperator6_f || (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_D >= 0.0) { + if (rtb_area_R_o >= 0.0) { /* : for i = 1:numel(ErrCallibration) */ for (i = 0; i < 9; i++) { /* : if ErrCallibration(i) == 1 */ - if (rtb_LogicalOperator3_n2[i]) { + if (rtb_LogicalOperator3_n[i]) { /* : fprintf('[LIN 2] Failure with actuator #%d\n', int16(i)); */ printf("[LIN 2] Failure with actuator #%d\n", (int16_t)(i + 1)); fflush(stdout); @@ -52103,39 +54762,39 @@ 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' */ - rtb_RelationalOperator6_f = rtb_LogicalOperator3_n2[i]; + /* Logic: '/Logical Operator1' */ + rtb_RelationalOperator6_f = rtb_LogicalOperator3_n[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) ((!rtb_RelationalOperator6_f) && (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] = rtb_RelationalOperator6_f; } - /* 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_D > 0.0) { + if (rtb_area_R_o > 0.0) { /* : fprintf("[LIN 2] Homing 1. Start Callibration \n"); */ printf("[LIN 2] Homing 1. Start Callibration \n"); fflush(stdout); @@ -52145,83 +54804,83 @@ void HVAC_model_step(void) /* : if(ERRORS(i)==1) */ if (rtDW.ErrorCalibration_private_p[i] == 1) { /* : fprintf('[LIN 2] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ - rtb_out_mxq = rtDW.MaxPositionCh1_private[i]; - if (rtb_out_mxq > 32767) { - rtb_out_mxq = 32767U; + rtb_out_bf = rtDW.MaxPositionCh1_private[i]; + if (rtb_out_bf > 32767) { + rtb_out_bf = 32767U; } printf("[LIN 2] ACT%d MAX = %d KOEF = %f Callibration = %d \n", - (int16_t)(i + 1), (int16_t)rtb_out_mxq, rtb_Divide1_pb[i], - (int16_t)rtDW.ErrorCalibration_private_p[i]); + (int16_t)(i + 1), (int16_t)rtb_out_bf, + rtb_DataTypeConversion1[i], (int16_t) + rtDW.ErrorCalibration_private_p[i]); fflush(stdout); } } } - /* 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_Compare_e = (rtDW.ErrorCalibration_private_p[0] != 0); + rtb_Compare_e1 = (rtDW.ErrorCalibration_private_p[0] != 0); for (i = 0; i < 8; i++) { - rtb_Compare_e = (rtb_Compare_e || (rtDW.ErrorCalibration_private_p[i + 1] - != 0)); + rtb_Compare_e1 = (rtb_Compare_e1 || (rtDW.ErrorCalibration_private_p[i + + 1] != 0)); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ - if (rtb_Compare_e) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + if (rtb_Compare_e1) { + /* 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_duct_select_index_dbg_c = rtb_Divide1_pb[i]; + /* RelationalOperator: '/Compare' */ + rtb_Divide5 = rtb_DataTypeConversion1[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' */ - rtb_RelationalOperator6_f = (((rtb_duct_select_index_dbg_c < 0.97) || - (rtb_duct_select_index_dbg_c > 1.03)) && - (rtDW.ErrorCalibration_private_p[i] != 0)); - rtb_LogicalOperator3_n2[i] = rtb_RelationalOperator6_f; + rtb_RelationalOperator6_f = (((rtb_Divide5 < 0.7) || (rtb_Divide5 > 1.3)) + && (rtDW.ErrorCalibration_private_p[i] != 0)); + rtb_LogicalOperator3_n[i] = rtb_RelationalOperator6_f; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.ErrorCalibration_private_p[i] = rtb_RelationalOperator6_f; } - /* 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_D > 0.0) { + if (rtb_area_R_o > 0.0) { /* : fprintf("[LIN 2] Homing 3. Callibration \n"); */ printf("[LIN 2] Homing 3. Callibration \n"); fflush(stdout); @@ -52229,97 +54888,98 @@ void HVAC_model_step(void) /* : for i = 1:numel(MAX) */ for (i = 0; i < 6; i++) { /* : if(ERRORS(i)==1) */ - if (rtb_LogicalOperator3_n2[i]) { + if (rtb_LogicalOperator3_n[i]) { /* : fprintf('[LIN 2] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ - rtb_out_mxq = rtDW.MaxPositionCh1_private[i]; - if (rtb_out_mxq > 32767) { - rtb_out_mxq = 32767U; + rtb_out_bf = rtDW.MaxPositionCh1_private[i]; + if (rtb_out_bf > 32767) { + rtb_out_bf = 32767U; } printf("[LIN 2] ACT%d MAX = %d KOEF = %f Callibration = %d \n", - (int16_t)(i + 1), (int16_t)rtb_out_mxq, rtb_Divide1_pb[i], 1); + (int16_t)(i + 1), (int16_t)rtb_out_bf, + rtb_DataTypeConversion1[i], 1); fflush(stdout); } } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator2' */ - rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + /* Logic: '/Logical Operator2' */ + rtb_Compare_e1 = rtb_LogicalOperator3_n[0]; for (i = 0; i < 8; i++) { - rtb_Compare_e = (rtb_Compare_e || rtb_LogicalOperator3_n2[i + 1]); + rtb_Compare_e1 = (rtb_Compare_e1 || rtb_LogicalOperator3_n[i + 1]); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ - if (rtb_Compare_e) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant3' + if (rtb_Compare_e1) { + /* 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_D > 1.0) { + if (rtb_area_R_o > 1.0) { /* : fprintf("[LIN 2] Homing 3. Start Time on step %d\n",int16(step)); */ - rtb_duct_select_index_dbg_c = rt_roundd(rtDW.ErrorHomming_private_h); - if (rtb_duct_select_index_dbg_c < 32768.0) { - if (rtb_duct_select_index_dbg_c >= -32768.0) { - rtb_Switch2_nb = (int16_t)rtb_duct_select_index_dbg_c; + rtb_Divide5 = rt_roundd(rtDW.ErrorHomming_private_h); + if (rtb_Divide5 < 32768.0) { + if (rtb_Divide5 >= -32768.0) { + rtb_Switch5_l = (int16_t)rtb_Divide5; } else { - rtb_Switch2_nb = INT16_MIN; + rtb_Switch5_l = INT16_MIN; } } else { - rtb_Switch2_nb = INT16_MAX; + rtb_Switch5_l = INT16_MAX; } - printf("[LIN 2] Homing 3. Start Time on step %d\n", rtb_Switch2_nb); + printf("[LIN 2] Homing 3. Start Time on step %d\n", rtb_Switch5_l); 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); + MATLABFunction_h(rtDW.Start_timer_j, rtDW.t_now, &rtb_dt_i, + &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_D > 1.0) { + if (rtb_area_R_o > 1.0) { /* : fprintf("[LIN 2] Homing 3. Start TIme dt = %d \n",int32(data)); */ - rtb_Subtract = rtb_dt_nx; - if (rtb_dt_nx > 2147483647U) { + rtb_Subtract = rtb_dt_i; + if (rtb_dt_i > 2147483647U) { rtb_Subtract = 2147483647U; } @@ -52328,397 +54988,398 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* If: '/If' */ - if (rtb_dt_nx > 3600000U) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* If: '/If' */ + if (rtb_dt_i > 300000U) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' */ + /* Merge: '/Merge' */ IfActionSubsystem(&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' */ + /* DataTypeConversion: '/Data Type Conversion2' */ for (i = 0; i < 9; i++) { /* DataStoreWrite: '/Data Store Write23' */ - rtb_Saturation2 = rtb_out_cj[i]; + Gain1 = rtb_MultiportSwitch_fd[i]; - /* Saturate: '/Saturation' */ - if (rtb_Saturation2 <= 99) { - rtb_DataTypeConversion_kl[i] = (uint8_t)rtb_Saturation2; + /* Saturate: '/Saturation' */ + if (Gain1 <= 99) { + rtb_DataTypeConversion_kl[i] = (uint8_t)Gain1; } else { rtb_DataTypeConversion_kl[i] = 99U; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ } - /* 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_kl[2]; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' */ rtDW.BUS_ADR_private_j[2] = rtb_DataTypeConversion_kl[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_kl[6]; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' */ rtDW.BUS_ADR_private_j[5] = rtb_DataTypeConversion_kl[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' */ - max_side_L = rtDW.BUS_ADR_private_j[i]; + /* Product: '/Product' */ + Index_mode_FR_manual = 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)(max_side_L * + rtDW.POS_private_m[i] = (uint16_t)((double)(Index_mode_FR_manual * rtDW.MaxPositionCh1_private[i]) / 100.0); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ - rtb_LogicalOperator3_n2[i] = (rtb_DataTypeConversion_mo[i] == - max_side_L); + rtb_LogicalOperator3_n[i] = (rtb_DataTypeConversion_mo[i] == + Index_mode_FR_manual); } - /* Logic: '/Logical Operator' */ - rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + /* Logic: '/Logical Operator' */ + rtb_Compare_e1 = rtb_LogicalOperator3_n[0]; for (i = 0; i < 8; i++) { - rtb_Compare_e = (rtb_Compare_e && rtb_LogicalOperator3_n2[i + 1]); + rtb_Compare_e1 = (rtb_Compare_e1 && rtb_LogicalOperator3_n[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_Compare_e) { + if (rtb_Compare_e1) { rtDW.COM_private_g[i] = 0U; } else { 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_mo[i] != rtDW.BUS_ADR_private_j[i]) * - rtConstP.pooled147[i]); + rtConstP.pooled149[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(&rtB.Merge_p, &rtDW.CCU_ActuatorErrF_Stat_private, rtDW.COM_private_g, rtDW.ErrorActuator_o, - rtDW.ErrorCalibration_private_p, &rtb_D, + rtDW.ErrorCalibration_private_p, &rtb_area_R_o, 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' */ + /* DataTypeConversion: '/Data Type Conversion2' */ for (i = 0; i < 9; i++) { /* DataStoreWrite: '/Data Store Write23' */ - rtb_Saturation2 = rtb_out_cj[i]; + Gain1 = rtb_MultiportSwitch_fd[i]; - /* Saturate: '/Saturation' */ - if (rtb_Saturation2 <= 99) { - rtb_DataTypeConversion_kl[i] = (uint8_t)rtb_Saturation2; + /* Saturate: '/Saturation' */ + if (Gain1 <= 99) { + rtb_DataTypeConversion_kl[i] = (uint8_t)Gain1; } else { rtb_DataTypeConversion_kl[i] = 99U; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ } - /* 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_kl[2]; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' */ rtDW.BUS_ADR_private_j[2] = rtb_DataTypeConversion_kl[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_kl[6]; - /* SignalConversion generated from: '/LIN1' incorporates: - * Concatenate: '/LIN1' + /* SignalConversion generated from: '/LIN1' incorporates: + * Concatenate: '/LIN1' */ rtDW.BUS_ADR_private_j[5] = rtb_DataTypeConversion_kl[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' */ - max_side_L = rtDW.BUS_ADR_private_j[i]; + /* Product: '/Product' */ + Index_mode_FR_manual = 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)(max_side_L * + rtDW.POS_private_m[i] = (uint16_t)((double)(Index_mode_FR_manual * rtDW.MaxPositionCh1_private[i]) / 100.0); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ - rtb_LogicalOperator3_n2[i] = (rtb_DataTypeConversion_mo[i] == max_side_L); + rtb_LogicalOperator3_n[i] = (rtb_DataTypeConversion_mo[i] == + Index_mode_FR_manual); } - /* Logic: '/Logical Operator' */ - rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + /* Logic: '/Logical Operator' */ + rtb_Compare_e1 = rtb_LogicalOperator3_n[0]; for (i = 0; i < 8; i++) { - rtb_Compare_e = (rtb_Compare_e && rtb_LogicalOperator3_n2[i + 1]); + rtb_Compare_e1 = (rtb_Compare_e1 && rtb_LogicalOperator3_n[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_Compare_e) { + if (rtb_Compare_e1) { rtDW.COM_private_g[i] = 0U; } else { 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_mo[i] != rtDW.BUS_ADR_private_j[i]) * - rtConstP.pooled147[i]); + rtConstP.pooled149[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_D > 0.0) { + if (rtb_area_R_o > 0.0) { /* : fprintf("[LIN 2] Homing. Callibration successful \n"); */ printf("[LIN 2] Homing. Callibration successful \n"); 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]; @@ -52732,33 +55393,33 @@ 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_ad[i] = (rtDW.ErrorCalibration_private_p[i] == 0); + rtb_Compare_lx[i] = (rtDW.ErrorCalibration_private_p[i] == 0); } - /* End of RelationalOperator: '/Compare' */ + /* End of RelationalOperator: '/Compare' */ - /* Logic: '/Logical Operator' */ - rtb_Compare_e = rtb_Compare_ad[0]; + /* Logic: '/Logical Operator' */ + rtb_Compare_e1 = rtb_Compare_lx[0]; for (i = 0; i < 5; i++) { - rtb_Compare_e = (rtb_Compare_e || rtb_Compare_ad[i + 1]); + rtb_Compare_e1 = (rtb_Compare_e1 || rtb_Compare_lx[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_Compare_e) { + if (rtb_Compare_e1) { rtb_DataTypeConversion_mo[i] = (uint8_t)((uint32_t) rtDW.ErrorCalibration_private_p[i] * rtConstP.Constant3_Value[i]); } else { @@ -52766,69 +55427,68 @@ void HVAC_model_step(void) } } - /* 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_mo[6] = 0U; rtb_DataTypeConversion_mo[7] = 0U; rtb_DataTypeConversion_mo[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_mo[i]; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.COM_private_g[i] = 0U; } 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_Saturation2 = rtDW.MaxPositionCh2_private[i]; - if (rtb_Saturation2 != 0) { - rtb_duct_select_index_dbg_c = (double) - Actuator_Ch2_Status_Model.in_CPOS_ALL[i] / (double)rtb_Saturation2 * - 100.0; + Gain1 = rtDW.MaxPositionCh2_private[i]; + if (Gain1 != 0) { + rtb_Divide5 = (double)Actuator_Ch2_Status_Model.in_CPOS_ALL[i] / (double) + Gain1 * 100.0; } else { - rtb_duct_select_index_dbg_c = 0.0; + rtb_Divide5 = 0.0; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Saturate: '/Saturation' */ - if (rtb_duct_select_index_dbg_c > 100.0) { - /* DataTypeConversion: '/Data Type Conversion' */ + /* Saturate: '/Saturation' */ + if (rtb_Divide5 > 100.0) { + /* DataTypeConversion: '/Data Type Conversion' */ rtb_DataTypeConversion_mo[i] = 100U; } else { - /* DataTypeConversion: '/Data Type Conversion' */ - rtb_DataTypeConversion_mo[i] = (uint8_t)rtb_duct_select_index_dbg_c; + /* DataTypeConversion: '/Data Type Conversion' */ + rtb_DataTypeConversion_mo[i] = (uint8_t)rtb_Divide5; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ } - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Constant: '/Constant1' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/Constant1' */ rtb_DataTypeConversion_mo[8] = 0U; - /* DataStoreWrite: '/Data Store Write2' */ + /* DataStoreWrite: '/Data Store Write2' */ for (i = 0; i < 9; i++) { rtb_DataTypeConversion_kl[i] = rtb_DataTypeConversion_mo[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_cb = rtDW.stepSig_private_g; @@ -52836,328 +55496,328 @@ void HVAC_model_step(void) rtb_y_cb = 1; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* SwitchCase: '/Switch Case' */ + /* SwitchCase: '/Switch Case' */ switch (rtb_y_cb) { 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_b = (int8_t)(rtb_y_cb + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ - if (rtb_D == 2.0) { + if (rtb_area_R_o == 2.0) { /* : fprintf('[LIN 3] Stop Mode\n'); */ printf("[LIN 3] Stop Mode\n"); 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_b = rtb_y_cb; - /* 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_b = (int8_t)(rtb_y_cb + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ - if (rtb_D == 2.0) { + if (rtb_area_R_o == 2.0) { /* : fprintf('[LIN 3] Initial CPOS Min\n'); */ printf("[LIN 3] Initial CPOS Min\n"); 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_b = rtb_y_cb; - /* 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_b = (int8_t)(rtb_y_cb + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ - if (rtb_D == 2.0) { + if (rtb_area_R_o == 2.0) { /* : fprintf('[LIN 3] Normal Mode\n'); */ printf("[LIN 3] Normal Mode\n"); 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_b = rtb_y_cb; - /* 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_b = (int8_t)(rtb_y_cb + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ - if (rtb_D == 2.0) { + if (rtb_area_R_o == 2.0) { /* : fprintf('[LIN 3] Move to position Min\n'); */ printf("[LIN 3] Move to position Min\n"); 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_b = rtb_y_cb; - /* 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_ad[i] = ((Actuator_Ch2_Status_Model.in_Act_Stall_Slave[i] == 1) + rtb_Compare_lx[i] = ((Actuator_Ch2_Status_Model.in_Act_Stall_Slave[i] == 1) || (Actuator_Ch2_Status_Model.in_CPOS_ALL[i] == 0) || (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_Compare_e = rtb_Compare_ad[0]; + rtb_Compare_e1 = rtb_Compare_lx[0]; for (i = 0; i < 7; i++) { - rtb_Compare_e = (rtb_Compare_e && rtb_Compare_ad[i + 1]); + rtb_Compare_e1 = (rtb_Compare_e1 && rtb_Compare_lx[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_Compare_e) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + (Actuator_Ch2_Status_Model.Error_Connect == 0) && rtb_Compare_e1) { + /* 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_b = (int8_t)(rtb_y_cb + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ - if (rtb_D == 2.0) { + if (rtb_area_R_o == 2.0) { /* : fprintf('[LIN 3] Check Stall Min\n'); */ printf("[LIN 3] Check Stall Min\n"); fflush(stdout); @@ -53165,12 +55825,12 @@ void HVAC_model_step(void) /* : for i = 1:numel(data) */ for (i = 0; i < 9; i++) { /* : fprintf('[LIN 3] MIN = %d ', int16(data(i))); */ - rtb_out_mxq = Actuator_Ch2_Status_Model.in_CPOS_ALL[i]; - if (rtb_out_mxq > 32767) { - rtb_out_mxq = 32767U; + rtb_out_bf = Actuator_Ch2_Status_Model.in_CPOS_ALL[i]; + if (rtb_out_bf > 32767) { + rtb_out_bf = 32767U; } - printf("[LIN 3] MIN = %d ", (int16_t)rtb_out_mxq); + printf("[LIN 3] MIN = %d ", (int16_t)rtb_out_bf); fflush(stdout); } @@ -53179,235 +55839,235 @@ 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_b = rtb_y_cb; - /* 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_b = (int8_t)(rtb_y_cb + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ - if (rtb_D == 2.0) { + if (rtb_area_R_o == 2.0) { /* : fprintf('[LIN 3] Initial CPOS Max\n'); */ printf("[LIN 3] Initial CPOS Max\n"); 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_b = rtb_y_cb; - /* 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_b = (int8_t)(rtb_y_cb + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ - if (rtb_D == 2.0) { + if (rtb_area_R_o == 2.0) { /* : fprintf('[LIN 3] Move to position Max\n'); */ printf("[LIN 3] Move to position Max\n"); 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_b = rtb_y_cb; - /* 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_ad[i] = ((Actuator_Ch2_Status_Model.in_Act_Stall_Slave[i] == 1) + rtb_Compare_lx[i] = ((Actuator_Ch2_Status_Model.in_Act_Stall_Slave[i] == 1) || (Actuator_Ch2_Status_Model.in_CPOS_ALL[i] == 6000) || (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_Compare_e = rtb_Compare_ad[0]; + rtb_Compare_e1 = rtb_Compare_lx[0]; for (i = 0; i < 7; i++) { - rtb_Compare_e = (rtb_Compare_e && rtb_Compare_ad[i + 1]); + rtb_Compare_e1 = (rtb_Compare_e1 && rtb_Compare_lx[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_Compare_e) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + (Actuator_Ch2_Status_Model.Error_Connect == 0) && rtb_Compare_e1) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ for (i = 0; i < 9; i++) { - /* Switch: '/Switch' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read51' - * Switch: '/Switch' + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read51' + * Switch: '/Switch' */ if (rtDW.act_debug_command > 0) { - /* DataStoreWrite: '/Data Store Write1' incorporates: - * Constant: '/ACT1' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * Constant: '/ACT1' */ - rtDW.MaxPositionCh2_private[i] = rtConstP.pooled94[i]; + rtDW.MaxPositionCh2_private[i] = rtConstP.pooled95[i]; } else if (rtDW.ErrorCalibration_private_b[i] != 0) { - /* Switch: '/Switch' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* Switch: '/Switch' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.MaxPositionCh2_private[i] = Actuator_Ch2_Status_Model.in_CPOS_ALL[i]; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' - * Sum: '/step inc' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' + * Sum: '/step inc' */ rtB.Merge_b = (int8_t)(rtb_y_cb + 1); - /* MATLAB Function: '/Write' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Write' incorporates: + * DataStoreRead: '/Data Store Read3' */ /* : if(LOGGER == 2) */ - if (rtb_D == 2.0) { + if (rtb_area_R_o == 2.0) { /* : fprintf('[LIN 3] Check Stall MAX\n'); */ printf("[LIN 3] Check Stall MAX\n"); fflush(stdout); @@ -53415,12 +56075,12 @@ void HVAC_model_step(void) /* : for i = 1:numel(data) */ for (i = 0; i < 9; i++) { /* : fprintf('[LIN 3] MAX = %d ', int16(data(i))); */ - rtb_out_mxq = Actuator_Ch2_Status_Model.in_CPOS_ALL[i]; - if (rtb_out_mxq > 32767) { - rtb_out_mxq = 32767U; + rtb_out_bf = Actuator_Ch2_Status_Model.in_CPOS_ALL[i]; + if (rtb_out_bf > 32767) { + rtb_out_bf = 32767U; } - printf("[LIN 3] MAX = %d ", (int16_t)rtb_out_mxq); + printf("[LIN 3] MAX = %d ", (int16_t)rtb_out_bf); fflush(stdout); } @@ -53429,84 +56089,83 @@ 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_b = rtb_y_cb; - /* 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_pb[i] = (double)rtDW.MaxPositionCh2_private[i] / (double) - rtConstP.ACT1_Value_m[i]; + rtb_DataTypeConversion1[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: '/koef for special actuator' + /* SignalConversion generated from: '/Vector Concatenate' incorporates: + * Constant: '/koef for special actuator' */ - rtb_Divide1_pb[8] = 1.0; + rtb_DataTypeConversion1[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_duct_select_index_dbg_c = rtb_Divide1_pb[i]; + /* RelationalOperator: '/Compare' */ + rtb_Divide5 = rtb_DataTypeConversion1[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' */ - rtb_RelationalOperator6_f = ((rtb_duct_select_index_dbg_c >= 0.6) && - (rtb_duct_select_index_dbg_c <= 1.5)); - rtb_LogicalOperator3_n2[i] = rtb_RelationalOperator6_f; + rtb_RelationalOperator6_f = ((rtb_Divide5 >= 0.7) && (rtb_Divide5 <= 1.3)); + rtb_LogicalOperator3_n[i] = rtb_RelationalOperator6_f; - /* 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) ((!rtb_RelationalOperator6_f) && (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_D > 0.0) { + if (rtb_area_R_o > 0.0) { /* : fprintf("[LIN 3] Homing 0\n"); */ printf("[LIN 3] Homing 0\n"); fflush(stdout); @@ -53514,97 +56173,102 @@ void HVAC_model_step(void) /* : for i = 1:numel(MAX) */ for (i = 0; i < 6; i++) { /* : fprintf('[LIN 3] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ - rtb_out_mxq = rtDW.MaxPositionCh2_private[i]; - if (rtb_out_mxq > 32767) { - rtb_out_mxq = 32767U; + rtb_out_bf = rtDW.MaxPositionCh2_private[i]; + if (rtb_out_bf > 32767) { + rtb_out_bf = 32767U; } printf("[LIN 3] ACT%d MAX = %d KOEF = %f Callibration = %d \n", - (int16_t)(i + 1), (int16_t)rtb_out_mxq, rtb_Divide1_pb[i], - (int16_t)!rtb_LogicalOperator3_n2[i]); + (int16_t)(i + 1), (int16_t)rtb_out_bf, + rtb_DataTypeConversion1[i], (int16_t)!rtb_LogicalOperator3_n[i]); fflush(stdout); } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator1' */ - rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + /* Logic: '/Logical Operator1' */ + rtb_Compare_e1 = rtb_LogicalOperator3_n[0]; for (i = 0; i < 8; i++) { - rtb_Compare_e = (rtb_Compare_e && rtb_LogicalOperator3_n2[i + 1]); + rtb_Compare_e1 = (rtb_Compare_e1 && rtb_LogicalOperator3_n[i + 1]); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator1' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator1' */ - if (rtb_Compare_e) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + if (rtb_Compare_e1) { + /* 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' + /* Logic: '/Logical Operator3' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ for (i = 0; i < 9; i++) { - rtb_LogicalOperator3_n2[i] = (rtb_Divide1_pb[i] > 1.5); + /* RelationalOperator: '/Compare' */ + rtb_Divide5 = rtb_DataTypeConversion1[i]; + rtb_LogicalOperator3_n[i] = ((rtb_Divide5 < 0.7) || (rtb_Divide5 > 1.3)); } - /* End of RelationalOperator: '/Compare' */ + /* End of Logic: '/Logical Operator3' */ - /* Logic: '/Logical Operator' */ - rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + /* Logic: '/Logical Operator' */ + rtb_Compare_e1 = rtb_LogicalOperator3_n[0]; for (i = 0; i < 8; i++) { - rtb_Compare_e = (rtb_Compare_e || rtb_LogicalOperator3_n2[i + 1]); + rtb_Compare_e1 = (rtb_Compare_e1 || rtb_LogicalOperator3_n[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_Compare_e; + rtDW.CCU_ActuatorErrF_Stat_private = rtb_Compare_e1; for (i = 0; i < 9; i++) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ - rtb_RelationalOperator6_f = rtb_LogicalOperator3_n2[i]; + rtb_RelationalOperator6_f = rtb_LogicalOperator3_n[i]; rtDW.COM_private_k[i] = rtb_RelationalOperator6_f; - /* 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)(rtb_RelationalOperator6_f || (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_D >= 0.0) { + if (rtb_area_R_o >= 0.0) { /* : for i = 1:numel(ErrCallibration) */ for (i = 0; i < 9; i++) { /* : if ErrCallibration(i) == 1 */ - if (rtb_LogicalOperator3_n2[i]) { + if (rtb_LogicalOperator3_n[i]) { /* : fprintf('[LIN 3] Failure with actuator #%d\n', int16(i)); */ printf("[LIN 3] Failure with actuator #%d\n", (int16_t)(i + 1)); fflush(stdout); @@ -53612,39 +56276,39 @@ 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' */ - rtb_RelationalOperator6_f = rtb_LogicalOperator3_n2[i]; + /* Logic: '/Logical Operator1' */ + rtb_RelationalOperator6_f = rtb_LogicalOperator3_n[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) ((!rtb_RelationalOperator6_f) && (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] = rtb_RelationalOperator6_f; } - /* 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_D > 0.0) { + if (rtb_area_R_o > 0.0) { /* : fprintf("[LIN 3] Homing 1. Start Callibration \n"); */ printf("[LIN 3] Homing 1. Start Callibration \n"); fflush(stdout); @@ -53654,83 +56318,83 @@ void HVAC_model_step(void) /* : if(ERRORS(i)==1) */ if (rtDW.ErrorCalibration_private_b[i] == 1) { /* : fprintf('[LIN 3] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ - rtb_out_mxq = rtDW.MaxPositionCh2_private[i]; - if (rtb_out_mxq > 32767) { - rtb_out_mxq = 32767U; + rtb_out_bf = rtDW.MaxPositionCh2_private[i]; + if (rtb_out_bf > 32767) { + rtb_out_bf = 32767U; } printf("[LIN 3] ACT%d MAX = %d KOEF = %f Callibration = %d \n", - (int16_t)(i + 1), (int16_t)rtb_out_mxq, rtb_Divide1_pb[i], - (int16_t)rtDW.ErrorCalibration_private_b[i]); + (int16_t)(i + 1), (int16_t)rtb_out_bf, + rtb_DataTypeConversion1[i], (int16_t) + rtDW.ErrorCalibration_private_b[i]); fflush(stdout); } } } - /* 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_Compare_e = (rtDW.ErrorCalibration_private_b[0] != 0); + rtb_Compare_e1 = (rtDW.ErrorCalibration_private_b[0] != 0); for (i = 0; i < 8; i++) { - rtb_Compare_e = (rtb_Compare_e || (rtDW.ErrorCalibration_private_b[i + 1] - != 0)); + rtb_Compare_e1 = (rtb_Compare_e1 || (rtDW.ErrorCalibration_private_b[i + + 1] != 0)); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ - if (rtb_Compare_e) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + if (rtb_Compare_e1) { + /* 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_duct_select_index_dbg_c = rtb_Divide1_pb[i]; + /* RelationalOperator: '/Compare' */ + rtb_Divide5 = rtb_DataTypeConversion1[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' */ - rtb_RelationalOperator6_f = (((rtb_duct_select_index_dbg_c < 0.97) || - (rtb_duct_select_index_dbg_c > 1.03)) && - (rtDW.ErrorCalibration_private_b[i] != 0)); - rtb_LogicalOperator3_n2[i] = rtb_RelationalOperator6_f; + rtb_RelationalOperator6_f = (((rtb_Divide5 < 0.7) || (rtb_Divide5 > 1.3)) + && (rtDW.ErrorCalibration_private_b[i] != 0)); + rtb_LogicalOperator3_n[i] = rtb_RelationalOperator6_f; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.ErrorCalibration_private_b[i] = rtb_RelationalOperator6_f; } - /* 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_D > 0.0) { + if (rtb_area_R_o > 0.0) { /* : fprintf("[LIN 3] Homing 3. Callibration \n"); */ printf("[LIN 3] Homing 3. Callibration \n"); fflush(stdout); @@ -53738,97 +56402,98 @@ void HVAC_model_step(void) /* : for i = 1:numel(MAX) */ for (i = 0; i < 6; i++) { /* : if(ERRORS(i)==1) */ - if (rtb_LogicalOperator3_n2[i]) { + if (rtb_LogicalOperator3_n[i]) { /* : fprintf('[LIN 3] ACT%d MAX = %d KOEF = %f Callibration = %d \n', int16(i), int16(MAX(i)), KOEF(i), int16(ERRORS(i))); */ - rtb_out_mxq = rtDW.MaxPositionCh2_private[i]; - if (rtb_out_mxq > 32767) { - rtb_out_mxq = 32767U; + rtb_out_bf = rtDW.MaxPositionCh2_private[i]; + if (rtb_out_bf > 32767) { + rtb_out_bf = 32767U; } printf("[LIN 3] ACT%d MAX = %d KOEF = %f Callibration = %d \n", - (int16_t)(i + 1), (int16_t)rtb_out_mxq, rtb_Divide1_pb[i], 1); + (int16_t)(i + 1), (int16_t)rtb_out_bf, + rtb_DataTypeConversion1[i], 1); fflush(stdout); } } } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* Logic: '/Logical Operator2' */ - rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + /* Logic: '/Logical Operator2' */ + rtb_Compare_e1 = rtb_LogicalOperator3_n[0]; for (i = 0; i < 8; i++) { - rtb_Compare_e = (rtb_Compare_e || rtb_LogicalOperator3_n2[i + 1]); + rtb_Compare_e1 = (rtb_Compare_e1 || rtb_LogicalOperator3_n[i + 1]); } - /* Switch: '/Switch' incorporates: - * Logic: '/Logical Operator2' + /* Switch: '/Switch' incorporates: + * Logic: '/Logical Operator2' */ - if (rtb_Compare_e) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant3' + if (rtb_Compare_e1) { + /* 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_D > 1.0) { + if (rtb_area_R_o > 1.0) { /* : fprintf("[LIN 3] Homing 3. Start Time on step %d\n",int16(step)); */ - rtb_duct_select_index_dbg_c = rt_roundd(rtDW.ErrorHomming_private_m); - if (rtb_duct_select_index_dbg_c < 32768.0) { - if (rtb_duct_select_index_dbg_c >= -32768.0) { - rtb_Switch2_nb = (int16_t)rtb_duct_select_index_dbg_c; + rtb_Divide5 = rt_roundd(rtDW.ErrorHomming_private_m); + if (rtb_Divide5 < 32768.0) { + if (rtb_Divide5 >= -32768.0) { + rtb_Switch5_l = (int16_t)rtb_Divide5; } else { - rtb_Switch2_nb = INT16_MIN; + rtb_Switch5_l = INT16_MIN; } } else { - rtb_Switch2_nb = INT16_MAX; + rtb_Switch5_l = INT16_MAX; } - printf("[LIN 3] Homing 3. Start Time on step %d\n", rtb_Switch2_nb); + printf("[LIN 3] Homing 3. Start Time on step %d\n", rtb_Switch5_l); 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); + MATLABFunction_h(rtDW.Start_timer, rtDW.t_now, &rtb_dt_i, + &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_D > 1.0) { + if (rtb_area_R_o > 1.0) { /* : fprintf("[LIN 3] Homing 3. Start TIme dt = %d \n",int32(data)); */ - rtb_Subtract = rtb_dt_nx; - if (rtb_dt_nx > 2147483647U) { + rtb_Subtract = rtb_dt_i; + if (rtb_dt_i > 2147483647U) { rtb_Subtract = 2147483647U; } @@ -53837,389 +56502,388 @@ void HVAC_model_step(void) fflush(stdout); } - /* End of MATLAB Function: '/MAX POSITION' */ + /* End of MATLAB Function: '/MAX POSITION' */ - /* If: '/If' */ - if (rtb_dt_nx > 3600000U) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* If: '/300000 ms = 5 min' */ + if (rtb_dt_i > 300000U) { + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* Merge: '/Merge' */ + /* Merge: '/Merge' */ IfActionSubsystem(&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' */ + /* DataTypeConversion: '/Data Type Conversion2' */ for (i = 0; i < 6; i++) { - /* Saturate: '/Saturation' */ - rtb_Saturation2 = rtb_Gain1_o3[i]; - if (rtb_Saturation2 <= 99) { - coef_max[i] = (uint8_t)rtb_Saturation2; + /* Saturate: '/Saturation' */ + Gain1 = rtb_Gain1_o3[i]; + if (Gain1 <= 99) { + coef_max[i] = (uint8_t)Gain1; } else { coef_max[i] = 99U; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ } - /* 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] = coef_max[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] = coef_max[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] = coef_max[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] = coef_max[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] = coef_max[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] = coef_max[3]; - /* SignalConversion generated from: '/Vector Concatenate' incorporates: - * Concatenate: '/Vector Concatenate' - * Constant: '/Constant1' - * SignalConversion generated from: '/Vector Concatenate' + /* DataStoreRead: '/valves target in percent1' incorporates: + * Concatenate: '/Vector Concatenate' */ - rtDW.BUS_ADR_private_a[8] = 0U; + rtDW.BUS_ADR_private_a[8] = side_percent_L; for (i = 0; i < 9; i++) { - /* Product: '/Product' */ - min_side_L = rtDW.BUS_ADR_private_a[i]; + /* Product: '/Product' */ + Index_mode_FR_manual = 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)(min_side_L * + rtDW.POS_private_h[i] = (uint16_t)((double)(Index_mode_FR_manual * rtDW.MaxPositionCh2_private[i]) / 100.0); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ - rtb_LogicalOperator3_n2[i] = (rtb_DataTypeConversion_mo[i] == - min_side_L); + rtb_LogicalOperator3_n[i] = (rtb_DataTypeConversion_mo[i] == + Index_mode_FR_manual); } - /* Logic: '/Logical Operator' */ - rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + /* Logic: '/Logical Operator' */ + rtb_Compare_e1 = rtb_LogicalOperator3_n[0]; for (i = 0; i < 8; i++) { - rtb_Compare_e = (rtb_Compare_e && rtb_LogicalOperator3_n2[i + 1]); + rtb_Compare_e1 = (rtb_Compare_e1 && rtb_LogicalOperator3_n[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_Compare_e) { + if (rtb_Compare_e1) { rtDW.COM_private_k[i] = 0U; } else { 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_mo[i] != rtDW.BUS_ADR_private_a[i]) * - rtConstP.pooled147[i]); + rtConstP.pooled149[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: '/300000 ms = 5 min' */ + /* 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(&rtB.Merge_h3, &rtDW.CCU_ActuatorErrF_Stat_private, rtDW.COM_private_k, rtDW.ErrorActuator_a, - rtDW.ErrorCalibration_private_b, &rtb_D, + rtDW.ErrorCalibration_private_b, &rtb_area_R_o, 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' */ + /* DataTypeConversion: '/Data Type Conversion2' */ for (i = 0; i < 6; i++) { - /* Saturate: '/Saturation' */ - rtb_Saturation2 = rtb_Gain1_o3[i]; - if (rtb_Saturation2 <= 99) { - coef_max[i] = (uint8_t)rtb_Saturation2; + /* Saturate: '/Saturation' */ + Gain1 = rtb_Gain1_o3[i]; + if (Gain1 <= 99) { + coef_max[i] = (uint8_t)Gain1; } else { coef_max[i] = 99U; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ } - /* 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] = coef_max[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] = coef_max[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] = coef_max[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] = coef_max[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] = coef_max[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] = coef_max[3]; - /* DataStoreRead: '/valves target in percent1' incorporates: - * Concatenate: '/Vector Concatenate' + /* DataStoreRead: '/valves target in percent1' incorporates: + * Concatenate: '/Vector Concatenate' */ - rtDW.BUS_ADR_private_a[8] = min_side_L; + rtDW.BUS_ADR_private_a[8] = side_percent_L; for (i = 0; i < 9; i++) { - /* Product: '/Product' */ - min_side_L = rtDW.BUS_ADR_private_a[i]; + /* Product: '/Product' */ + Index_mode_FR_manual = 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)(min_side_L * + rtDW.POS_private_h[i] = (uint16_t)((double)(Index_mode_FR_manual * rtDW.MaxPositionCh2_private[i]) / 100.0); - /* RelationalOperator: '/Relational Operator1' incorporates: - * DataStoreWrite: '/Data Store Write2' + /* RelationalOperator: '/Relational Operator1' incorporates: + * DataStoreWrite: '/Data Store Write2' */ - rtb_LogicalOperator3_n2[i] = (rtb_DataTypeConversion_mo[i] == min_side_L); + rtb_LogicalOperator3_n[i] = (rtb_DataTypeConversion_mo[i] == + Index_mode_FR_manual); } - /* Logic: '/Logical Operator' */ - rtb_Compare_e = rtb_LogicalOperator3_n2[0]; + /* Logic: '/Logical Operator' */ + rtb_Compare_e1 = rtb_LogicalOperator3_n[0]; for (i = 0; i < 8; i++) { - rtb_Compare_e = (rtb_Compare_e && rtb_LogicalOperator3_n2[i + 1]); + rtb_Compare_e1 = (rtb_Compare_e1 && rtb_LogicalOperator3_n[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_Compare_e) { + if (rtb_Compare_e1) { rtDW.COM_private_k[i] = 0U; } else { 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_mo[i] != rtDW.BUS_ADR_private_a[i]) * - rtConstP.pooled147[i]); + rtConstP.pooled149[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_D > 0.0) { + if (rtb_area_R_o > 0.0) { /* : fprintf("[LIN 3] Homing. Callibration successful \n"); */ printf("[LIN 3] Homing. Callibration successful \n"); 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_b = 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' */ - /* DataStoreWrite: '/Finish write stepSig' */ + /* DataStoreWrite: '/Finish write stepSig' */ rtDW.stepSig_private_g = rtB.Merge_b; - /* 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]; @@ -54233,33 +56897,33 @@ 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' */ - /* 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_ad[i] = (rtDW.ErrorCalibration_private_b[i] == 0); + rtb_Compare_lx[i] = (rtDW.ErrorCalibration_private_b[i] == 0); } - /* End of RelationalOperator: '/Compare' */ + /* End of RelationalOperator: '/Compare' */ - /* Logic: '/Logical Operator' */ - rtb_Compare_e = rtb_Compare_ad[0]; + /* Logic: '/Logical Operator' */ + rtb_Compare_e1 = rtb_Compare_lx[0]; for (i = 0; i < 7; i++) { - rtb_Compare_e = (rtb_Compare_e || rtb_Compare_ad[i + 1]); + rtb_Compare_e1 = (rtb_Compare_e1 || rtb_Compare_lx[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_Compare_e) { + if (rtb_Compare_e1) { rtb_DataTypeConversion_mo[i] = (uint8_t)((uint32_t) rtDW.ErrorCalibration_private_b[i] * rtConstP.Constant3_Value_d[i]); } else { @@ -54267,27 +56931,27 @@ void HVAC_model_step(void) } } - /* 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_mo[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_mo[i]; - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.COM_private_k[i] = 0U; } - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreWrite: '/Data Store Write1' - * Logic: '/OR2' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreWrite: '/Data Store Write1' + * Logic: '/OR2' */ rtDW.CCU_AirQualSenErr_Stat = (uint8_t) ((rtDW.LIN4_ERROR_model.in_error_connect[0] != 0) || @@ -54295,23 +56959,23 @@ void HVAC_model_step(void) (rtDW.LIN4_AirQS_Stat_Model.AirQS_LinRespErr_Stat != 0) || (rtDW.LIN4_AirQS_Stat_Model.AirQS_Err_Stat != 0)); - /* DataStoreWrite: '/Data Store Write11' incorporates: - * DataStoreRead: '/Data Store Read2' + /* 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' + /* 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' + /* 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) || @@ -54319,158 +56983,158 @@ void HVAC_model_step(void) (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' + /* 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' + /* 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' + /* 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' + /* 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' + /* 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' + /* 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' + /* 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' + /* 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' + /* 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' + /* 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' + /* 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' + /* 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' + /* 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' + /* 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' + /* 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' + /* 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' + /* 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' + /* 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' + /* 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': + * Block description for '/Delay Input1': * * Store in Global RAM * - * Block description for '/Delay Input1': + * Block description for '/Delay Input1': * * Store in Global RAM * - * Block description for '/Delay Input1': + * Block description for '/Delay Input1': * * Store in Global RAM * - * Block description for '/Delay Input1': + * Block description for '/Delay Input1': * * Store in Global RAM * - * Block description for '/Delay Input1': + * Block description for '/Delay Input1': * * Store in Global RAM * - * Block description for '/Delay Input1': + * Block description for '/Delay Input1': * * Store in Global RAM * - * Block description for '/Delay Input1': + * Block description for '/Delay Input1': * * Store in Global RAM * - * Block description for '/Delay Input1': + * 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' + /* 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) || @@ -54487,24 +57151,24 @@ void HVAC_model_step(void) (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' + /* 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' + /* 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' + /* 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) || @@ -54521,34 +57185,34 @@ void HVAC_model_step(void) (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' + /* 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' + /* 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' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read7' */ rtb_RelationalOperator6_f = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[0] > 0); - /* Outputs for Enabled SubSystem: '/Subsystem' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem' incorporates: + * EnablePort: '/Enable' */ if ((int32_t)rtb_RelationalOperator6_f > (int32_t)rtDW.DelayInput1_DSTATE_e5) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Sum: '/Add' + /* 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); @@ -54556,33 +57220,33 @@ void HVAC_model_step(void) rtDW.DRS_SFL = 3U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Outputs for SubSystem: '/Subsystem' */ + /* End of Outputs for SubSystem: '/Subsystem' */ - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read7' - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read7' + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' * - * Block description for '/Delay Input1': + * Block description for '/Delay Input1': * * Store in Global RAM */ - rtb_Compare_e = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[1] > 0); + rtb_Compare_bp = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[1] > 0); - /* Outputs for Enabled SubSystem: '/Subsystem1' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem1' incorporates: + * EnablePort: '/Enable' */ - if ((int32_t)rtb_Compare_e > (int32_t)rtDW.DelayInput1_DSTATE_k) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Sum: '/Add' + if ((int32_t)rtb_Compare_bp > (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_CFL - 1) >= 0) { rtDW.DRS_CFL = (uint8_t)((int8_t)rtDW.DRS_CFL - 1); @@ -54590,33 +57254,33 @@ void HVAC_model_step(void) rtDW.DRS_CFL = 3U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Outputs for SubSystem: '/Subsystem1' */ + /* End of Outputs for SubSystem: '/Subsystem1' */ - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read7' - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read7' + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' * - * Block description for '/Delay Input1': + * Block description for '/Delay Input1': * * Store in Global RAM */ - rtb_Compare_pnq = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[2] > 0); + rtb_Compare_kv = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[2] > 0); - /* Outputs for Enabled SubSystem: '/Subsystem2' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem2' incorporates: + * EnablePort: '/Enable' */ - if ((int32_t)rtb_Compare_pnq > (int32_t)rtDW.DelayInput1_DSTATE_l) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Sum: '/Add' + if ((int32_t)rtb_Compare_kv > (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_CFR - 1) >= 0) { rtDW.DRS_CFR = (uint8_t)((int8_t)rtDW.DRS_CFR - 1); @@ -54624,33 +57288,33 @@ void HVAC_model_step(void) rtDW.DRS_CFR = 3U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Outputs for SubSystem: '/Subsystem2' */ + /* End of Outputs for SubSystem: '/Subsystem2' */ - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read7' - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read7' + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' * - * Block description for '/Delay Input1': + * Block description for '/Delay Input1': * * Store in Global RAM */ - rtb_Compare_ff = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[3] > 0); + rtb_Compare_i3s = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[3] > 0); - /* Outputs for Enabled SubSystem: '/Subsystem3' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem3' incorporates: + * EnablePort: '/Enable' */ - if ((int32_t)rtb_Compare_ff > (int32_t)rtDW.DelayInput1_DSTATE_kb) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Sum: '/Add' + if ((int32_t)rtb_Compare_i3s > (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_SFR - 1) >= 0) { rtDW.DRS_SFR = (uint8_t)((int8_t)rtDW.DRS_SFR - 1); @@ -54658,33 +57322,33 @@ void HVAC_model_step(void) rtDW.DRS_SFR = 3U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Outputs for SubSystem: '/Subsystem3' */ + /* End of Outputs for SubSystem: '/Subsystem3' */ - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read7' - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read7' + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' * - * Block description for '/Delay Input1': + * Block description for '/Delay Input1': * * Store in Global RAM */ - rtb_Compare_mg = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[4] > 0); + rtb_Compare_hdv = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[4] > 0); - /* Outputs for Enabled SubSystem: '/Subsystem4' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem4' incorporates: + * EnablePort: '/Enable' */ - if ((int32_t)rtb_Compare_mg > (int32_t)rtDW.DelayInput1_DSTATE_kk) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Sum: '/Add' + if ((int32_t)rtb_Compare_hdv > (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); @@ -54692,33 +57356,33 @@ void HVAC_model_step(void) rtDW.DRS_SRL = 3U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Outputs for SubSystem: '/Subsystem4' */ + /* End of Outputs for SubSystem: '/Subsystem4' */ - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read7' - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read7' + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' * - * Block description for '/Delay Input1': + * Block description for '/Delay Input1': * * Store in Global RAM */ - rtb_Compare_gq = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[5] > 0); + rtb_Compare_e1 = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[5] > 0); - /* Outputs for Enabled SubSystem: '/Subsystem5' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem5' incorporates: + * EnablePort: '/Enable' */ - if ((int32_t)rtb_Compare_gq > (int32_t)rtDW.DelayInput1_DSTATE_d) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Sum: '/Add' + if ((int32_t)rtb_Compare_e1 > (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); @@ -54726,33 +57390,33 @@ void HVAC_model_step(void) rtDW.DRS_SRR = 3U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Outputs for SubSystem: '/Subsystem5' */ + /* End of Outputs for SubSystem: '/Subsystem5' */ - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read7' - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read7' + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' * - * Block description for '/Delay Input1': + * Block description for '/Delay Input1': * * Store in Global RAM */ - rtb_Compare_de = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[6] > 0); + rtb_Compare_em = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[6] > 0); - /* Outputs for Enabled SubSystem: '/Subsystem6' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem6' incorporates: + * EnablePort: '/Enable' */ - if ((int32_t)rtb_Compare_de > (int32_t)rtDW.DelayInput1_DSTATE_b) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Sum: '/Add' + if ((int32_t)rtb_Compare_em > (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); @@ -54760,33 +57424,33 @@ void HVAC_model_step(void) rtDW.DRS_CRL = 3U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Outputs for SubSystem: '/Subsystem6' */ + /* End of Outputs for SubSystem: '/Subsystem6' */ - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read7' - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read7' + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' * - * Block description for '/Delay Input1': + * Block description for '/Delay Input1': * * Store in Global RAM */ - rtb_Compare_dw = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[7] > 0); + rtb_Compare_d1 = (rtDW.LIN5_SENSON_ADR_Stat_model.in_COUNT[7] > 0); - /* Outputs for Enabled SubSystem: '/Subsystem7' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem7' incorporates: + * EnablePort: '/Enable' */ - if ((int32_t)rtb_Compare_dw > (int32_t)rtDW.DelayInput1_DSTATE_i) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Sum: '/Add' + if ((int32_t)rtb_Compare_d1 > (int32_t)rtDW.DelayInput1_DSTATE_i) { + /* 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); @@ -54794,104 +57458,104 @@ void HVAC_model_step(void) rtDW.DRS_CRR = 3U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Outputs for SubSystem: '/Subsystem7' */ + /* End of Outputs for SubSystem: '/Subsystem7' */ - /* Update for UnitDelay: '/Delay Input1' incorporates: - * RelationalOperator: '/FixPt Relational Operator' - * UnitDelay: '/Delay Input1' + /* Update for UnitDelay: '/Delay Input1' incorporates: + * RelationalOperator: '/FixPt Relational Operator' + * UnitDelay: '/Delay Input1' * - * Block description for '/Delay Input1': + * Block description for '/Delay Input1': * * Store in Global RAM * - * Block description for '/Delay Input1': + * Block description for '/Delay Input1': * * Store in Global RAM */ rtDW.DelayInput1_DSTATE_e5 = rtb_RelationalOperator6_f; - /* 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_k = rtb_Compare_e; + rtDW.DelayInput1_DSTATE_k = rtb_Compare_bp; - /* 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_l = rtb_Compare_pnq; + rtDW.DelayInput1_DSTATE_l = rtb_Compare_kv; - /* 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_kb = rtb_Compare_ff; + rtDW.DelayInput1_DSTATE_kb = rtb_Compare_i3s; - /* 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_kk = rtb_Compare_mg; + rtDW.DelayInput1_DSTATE_kk = rtb_Compare_hdv; - /* 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_d = rtb_Compare_gq; + rtDW.DelayInput1_DSTATE_d = rtb_Compare_e1; - /* 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_b = rtb_Compare_de; + rtDW.DelayInput1_DSTATE_b = rtb_Compare_em; - /* 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_dw; + rtDW.DelayInput1_DSTATE_i = rtb_Compare_d1; } - /* End of DataStoreRead: '/Data Store Read1' */ - /* End of Outputs for SubSystem: '/CHANEL4' */ + /* End of DataStoreRead: '/Data Store Read1' */ + /* End of Outputs for SubSystem: '/CHANEL4' */ - /* BusCreator: '/Bus Creator' incorporates: - * Constant: '/MODE_ACTIVE_CONDITIONS1_MAX_AC' - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read82' - * DataStoreWrite: '/Data Store Write32' - * DataTypeConversion: '/Data Type Conversion2' - * Logic: '/OR' - * RelationalOperator: '/Relational Operator3' + /* BusCreator: '/Bus Creator' incorporates: + * Constant: '/MODE_ACTIVE_CONDITIONS1_MAX_AC' + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read82' + * DataStoreWrite: '/Data Store Write32' + * DataTypeConversion: '/Data Type Conversion2' + * Logic: '/OR' + * RelationalOperator: '/Relational Operator3' */ rtDW.LIN4_CCU_Req_Model.CCU_Ionization_Req = rtDW.CCU_Ionization_algo_active; rtDW.LIN4_CCU_Req_Model.CCU_AirQS_Req = (uint8_t)((rtDW.Max_AC_mode == 10) || - rtb_RelationalOperator2_p); + rtb_Compare_i5); 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; - /* MATLAB Function: '/MATLAB Function1' incorporates: - * DataStoreWrite: '/Data Store Write29' + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreWrite: '/Data Store Write29' */ /* : IDLE = uint8(0); */ /* : LO_RIGHT = uint8(1); */ @@ -54905,19 +57569,19 @@ void HVAC_model_step(void) /* : CAN_LoHi_Front = IDLE; */ rtDW.CAN_LoHi_Front = 0U; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' - * MATLAB Function: '/MATLAB Function1' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + * MATLAB Function: '/MATLAB Function1' */ /* : CAN_LoHi_Rear = IDLE; */ rtDW.dbgCAN_Logic_State_model.Logic_LoHi_Rear = 0U; - /* MATLAB Function: '/MATLAB Function1' incorporates: - * DataStoreRead: '/Data Store Read40' - * DataStoreRead: '/Data Store Read41' - * DataStoreRead: '/Data Store Read42' - * DataStoreRead: '/Data Store Read61' - * DataStoreWrite: '/Data Store Write29' + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read40' + * DataStoreRead: '/Data Store Read41' + * DataStoreRead: '/Data Store Read42' + * DataStoreRead: '/Data Store Read61' + * DataStoreWrite: '/Data Store Write29' */ /* : is_HI_4zone = (FL == 2 && FR == 2 && RL == 2 && RR == 2); */ /* : is_LO_4zone = (FL == 1 && FR == 1 && RL == 1 && RR == 1); */ @@ -54930,9 +57594,9 @@ void HVAC_model_step(void) /* : CAN_LoHi_Front = HI_4ZONE; */ rtDW.CAN_LoHi_Front = 99U; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write29' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write29' + * DataStoreWrite: '/Data Store Write' */ /* : CAN_LoHi_Rear = HI_4ZONE; */ rtDW.dbgCAN_Logic_State_model.Logic_LoHi_Rear = 99U; @@ -54968,50 +57632,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_RelationalOperator6_f) { - /* 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; */ @@ -55019,110 +57683,130 @@ void HVAC_model_step(void) } } - /* Switch: '/Switch7' incorporates: - * Constant: '/Constant17' - * Constant: '/Constant18' - * Constant: '/Constant19' - * Constant: '/Constant5' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator16' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Relational Operator5' - * Sum: '/Subtract' - * Switch: '/Switch4' - * Switch: '/Switch5' - * Switch: '/Switch6' + /* Switch: '/Switch7' incorporates: + * Constant: '/Constant17' + * Constant: '/Constant18' + * Constant: '/Constant19' + * Constant: '/Constant5' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator16' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Relational Operator5' + * Sum: '/Subtract' + * Switch: '/Switch4' + * Switch: '/Switch5' + * Switch: '/Switch6' */ /* : if is_HI_4zone */ if (rtDW.leaving == 2.0) { - rtb_Add_p4 = 1.0; - rtb_Divide11 = 1.0; - rtb_Divide10 = 1.0; + rtb_Divide5 = 1.0; + rtb_output_h = 1.0; + rtb_P = 1.0; rtb_D = 1.0; } else { - rtb_Add_p4 = (rtDW.CCU_AmbTempSensErr_Stat == 0); - rtb_Divide11 = (AMB_RAW < 50); - rtb_Divide10 = ((int16_t)(rtDW.AMB - AMB_RAW) > 150); + rtb_Divide5 = (rtDW.CCU_AmbTempSensErr_Stat == 0); + rtb_output_h = (AMB_RAW < 50); + rtb_P = ((int16_t)(rtDW.AMB - AMB_RAW) > 150); rtb_D = (rtb_Divide1_jg > 50.0); } - /* End of Switch: '/Switch7' */ + /* End of Switch: '/Switch7' */ - /* Switch: '/Switch3' incorporates: - * Constant: '/Constant12' - * Constant: '/Constant13' - * Constant: '/Constant14' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read76' - * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write1' - * Logic: '/AND' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator10' - * RelationalOperator: '/Relational Operator11' - * RelationalOperator: '/Relational Operator13' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator6' - * RelationalOperator: '/Relational Operator9' - * Sum: '/Subtract1' - * Switch: '/Switch1' + /* RelationalOperator: '/Relational Operator10' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * Sum: '/Subtract1' */ - if ((rtb_Add_p4 != 0.0) && (rtDW.BCM_T15_Stat == 1) && (rtDW.Mode_FL == 1) && - (rtb_Divide11 != 0.0) && (rtb_Divide10 != 0.0) && (rtb_D != 0.0) && - (rtDW.CCU_AC_MAX != 1) && (rtDW.t_now - rtDW.timer < 600000U) && - (rtDW.start_control_finished_front == 0) && (g_assAUTODEMIST_STEP_UP[0] < - 0)) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read1' - * RelationalOperator: '/Relational Operator12' - * RelationalOperator: '/Compare' + rtb_RelationalOperator6_f = (rtDW.t_now - rtDW.timer < 600000U); + + /* Logic: '/AND' incorporates: + * Constant: '/Constant' + * Constant: '/Constant14' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read51' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read76' + * DataStoreRead: '/Data Store Read8' + * DataStoreRead: '/Data Store Read9' + * Logic: '/Logical Operator' + * Logic: '/OR' + * RelationalOperator: '/Equal' + * RelationalOperator: '/Equal1' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator11' + * RelationalOperator: '/Relational Operator13' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator6' + * RelationalOperator: '/Relational Operator7' + * RelationalOperator: '/Relational Operator8' + * RelationalOperator: '/Relational Operator9' + */ + rtb_Compare_i5 = ((rtb_Divide5 != 0.0) && (rtDW.BCM_T15_Stat == 1) && + (rtDW.Mode_FL == 1) && (rtb_output_h != 0.0) && (rtb_P != + 0.0) && (rtb_D != 0.0) && ((rtDW.CCU_AC_MAX != 1) && (rtDW.CCU_Defrost != 1) + && ((rtDW.LO_HI_MODE_FL <= 0) && (rtDW.LO_HI_MODE_FR <= 0))) && + rtb_RelationalOperator6_f && + (rtDW.start_control_finished_front == 0) && (rtDW.Dew_point > + g_assAUTODEMIST_STEP_UP[0])); + + /* Switch: '/Switch3' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + if (rtb_Compare_i5) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read1' + * RelationalOperator: '/Relational Operator12' + * RelationalOperator: '/Compare' */ if (rtDW.timer <= 0U) { - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + */ rtDW.timer = rtDW.t_now; } - /* End of Switch: '/Switch' */ - rtDW.leaving = 2.0; + /* End of Switch: '/Switch' */ } else { rtDW.timer = 0U; - rtDW.leaving = 0.0; } - /* End of Switch: '/Switch3' */ + /* End of Switch: '/Switch3' */ - /* Outputs for Atomic SubSystem: '/MAX AC' */ - /* Logic: '/Logical Operator' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read8' - * RelationalOperator: '/Equal' + /* Switch: '/Switch1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtb_Compare_e = ((rtDW.AMB >= g_assAC_CUT_OFF_AMB_F[0]) && (rtDW.CCU_AC_MAX != - 0)); + rtDW.leaving = rtb_Compare_i5; - /* MATLAB Function: '/MATLAB Function1' incorporates: - * Constant: '/FIU_CCU! null' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write33' + /* Outputs for Atomic SubSystem: '/MAX AC' */ + /* Logic: '/Logical Operator' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read8' + * RelationalOperator: '/Equal' + */ + rtb_Compare_bp = ((rtDW.AMB >= g_assAC_CUT_OFF_AMB_F[0]) && (rtDW.CCU_AC_MAX + != 0)); + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * Constant: '/FIU_CCU! null' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write33' */ /* : MODE_ACTIVE_CONDITIONS1_MAX_AC = uint8(10); */ /* : MODE_ACTIVE_CONDITIONS2_MAX_AC = uint8(11); */ /* : exit_condition = false; */ - rtb_Compare_pnq = false; + rtb_Compare_kv = false; /* : DRS_array_trunc = DRS_array(1:4); */ /* : if isempty(DRS_array_persistent) */ @@ -55138,7 +57822,7 @@ void HVAC_model_step(void) /* : if max_ac_mode == MODE_ACTIVE_CONDITIONS1_MAX_AC || max_ac_mode == MODE_ACTIVE_CONDITIONS2_MAX_AC */ if ((rtDW.Max_AC_mode == 10) || (rtDW.Max_AC_mode == 11)) { /* : if ~isequal(DRS_array_trunc, DRS_array_persistent) */ - rtb_RelationalOperator2_p = false; + rtb_Compare_i5 = false; rtb_RelationalOperator6_f = true; i = 0; exitg2 = false; @@ -55152,24 +57836,24 @@ void HVAC_model_step(void) } if (rtb_RelationalOperator6_f) { - rtb_RelationalOperator2_p = true; + rtb_Compare_i5 = true; } - if (!rtb_RelationalOperator2_p) { + if (!rtb_Compare_i5) { /* : exit_condition = true; */ - rtb_Compare_pnq = true; + rtb_Compare_kv = true; } /* : if ~isequal(FIU_CCU1_model, FIU_CCU1_model_null) */ if (!isequal(rtDW.FIU_CCU1_MODEL, HVAC_model_rtZCmdCAN_FIU_CCU1_Bus)) { /* : exit_condition = true; */ - rtb_Compare_pnq = true; + rtb_Compare_kv = true; } /* : if AcButton == 0 */ if (rtDW.CCU_AC_MAX == 0) { /* : exit_condition = true; */ - rtb_Compare_pnq = true; + rtb_Compare_kv = true; } } @@ -55179,31 +57863,31 @@ void HVAC_model_step(void) rtDW.DRS_array_persistent_i[2] = rtY.DRS_output[2]; rtDW.DRS_array_persistent_i[3] = rtY.DRS_output[3]; - /* End of MATLAB Function: '/MATLAB Function1' */ + /* End of MATLAB Function: '/MATLAB Function1' */ - /* MATLAB Function: '/MATLAB Function' incorporates: - * Constant: '/Blower step' - * Constant: '/Constant1' + /* MATLAB Function: '/MATLAB Function' incorporates: + * Constant: '/Blower step' + * Constant: '/Constant1' * DataStoreRead: '/Data Store Read12' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read43' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read8' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read43' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read8' * DataStoreWrite: '/Data Store Write12' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write3' - * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write3' - * DataStoreWrite: '/Data Store Write4' - * DataStoreWrite: '/Data Store Write5' - * DataStoreWrite: '/Data Store Write6' - * DataStoreWrite: '/Data Store Write8' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Equal1' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write3' + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write3' + * DataStoreWrite: '/Data Store Write4' + * DataStoreWrite: '/Data Store Write5' + * DataStoreWrite: '/Data Store Write6' + * DataStoreWrite: '/Data Store Write8' + * Logic: '/Logical Operator1' + * RelationalOperator: '/Equal1' */ /* : MODE_OFF = uint8(0); */ /* : MODE_ENTRY_STEP1_MAX_AC = uint8(1); */ @@ -55216,10 +57900,10 @@ void HVAC_model_step(void) /* : CONDITION_1 = uint8(1); */ /* : CONDITION_2 = uint8(2); */ /* : if isempty(is_active_persistent) */ - if (!rtDW.is_active_persistent_not_empty) { + if (!rtDW.is_active_persistent_not_empty_p) { /* : mode_reg = MODE_OFF; */ /* : is_active_persistent = false; */ - rtDW.is_active_persistent_not_empty = true; + rtDW.is_active_persistent_not_empty_p = true; /* : active_condition_reg = CONDITION_NONE; */ rtDW.active_condition_reg = 0U; @@ -55261,7 +57945,7 @@ void HVAC_model_step(void) /* : if is_active_persistent == false && ... */ /* : (entry_conditions1_max_ac == true || entry_conditions2_max_ac == true) */ - if ((!rtDW.is_active_persistent_i) && (rtb_Compare_e || ((rtDW.AMB < + if ((!rtDW.is_active_persistent_i) && (rtb_Compare_bp || ((rtDW.AMB < g_assAC_CUT_OFF_AMB_F[0]) && (rtDW.CCU_AC_MAX != 0)))) { /* : is_active_persistent = true; */ rtDW.is_active_persistent_i = true; @@ -55270,7 +57954,7 @@ void HVAC_model_step(void) rtDW.mode_reg_o = 1U; /* : if entry_conditions1_max_ac == true */ - if (rtb_Compare_e) { + if (rtb_Compare_bp) { /* : active_condition_reg = CONDITION_1; */ rtDW.active_condition_reg = 1U; } else { @@ -55278,7 +57962,7 @@ void HVAC_model_step(void) /* : active_condition_reg = CONDITION_2; */ rtDW.active_condition_reg = 2U; } - } else if (rtb_Compare_pnq && rtDW.is_active_persistent_i) { + } else if (rtb_Compare_kv && rtDW.is_active_persistent_i) { /* : elseif exit_conditions_max_ac == true && is_active_persistent == true */ /* : is_active_persistent = false; */ rtDW.is_active_persistent_i = false; @@ -55299,7 +57983,7 @@ void HVAC_model_step(void) case 1U: /* : case MODE_ENTRY_STEP1_MAX_AC */ /* : if (CCU_STAT1_model_in.CCU_ModeFL_Stat == 0) */ - if (rtDW.CCU_MODE_FL == 0) { + if (hvacFanPwm == 0) { /* : FIU_CCmodeFL_Req = uint8(1); */ rtDW.FIU_CCmodeFL_Req_j = 1U; } else { @@ -55309,20 +57993,20 @@ void HVAC_model_step(void) } /* : FIU_CCautoModeFL_Req = CCU_STAT1_model_in.CCU_AutoModeFL_Stat; */ - rtDW.FIU_CCautoModeFL_Req_n = rtDW.CCU_AUTOMODE_FL; + rtDW.FIU_CCautoModeFL_Req_n = rtb_Switch_k_FIU_CCmodeFL_Req; /* : if (CCU_STAT1_model_in.CCU_BlowerSpeedFL_Stat == 0) */ - if (rtb_Switch_f_FIU_AirDirectionFL_Def_Req == 0) { + if (rtb_Switch_k_FIU_ACfrontOFF_Req == 0) { /* : FIU_BlowerSpeedFL_Req = uint8(8); */ rtDW.FIU_BlowerSpeedFL_Req_k = 8U; } else { /* : else */ /* : FIU_BlowerSpeedFL_Req = CCU_STAT1_model_in.CCU_BlowerSpeedFL_Stat; */ - rtDW.FIU_BlowerSpeedFL_Req_k = rtb_Switch_f_FIU_AirDirectionFL_Def_Req; + rtDW.FIU_BlowerSpeedFL_Req_k = rtb_Switch_k_FIU_ACfrontOFF_Req; } /* : if (CCU_STAT1_model_in.CCU_AirDirectionFL_Face_Stat == 0) */ - if (rtDW.CCU_FACE_FL == 0) { + if (rtb_Switch_k_FIU_BlowerSpeedFR_Req == 0) { /* : FIU_AirDirectionFL_Face_Req = uint8(2); */ rtDW.FIU_AirDirectionFL_Face_Req_e = 2U; } else { @@ -55332,7 +58016,7 @@ void HVAC_model_step(void) } /* : if (CCU_STAT1_model_in.CCU_AirDirectionFL_Foot_Stat == 0) */ - if (rtDW.CCU_FOOT_FL == 0) { + if (rtb_Switch_k_FIU_CCautoModeFL_Req == 0) { /* : FIU_AirDirectionFL_Foot_Req = uint8(2); */ rtDW.FIU_AirDirectionFL_Foot_Req_k = 2U; } else { @@ -55342,7 +58026,7 @@ void HVAC_model_step(void) } /* : if (CCU_STAT1_model_in.CCU_AirDirectionFL_Def_Stat == 0) */ - if (rtDW.CCU_DEF_FL == 0) { + if (rtb_Switch_k_FIU_BlowerSpeedFL_Req == 0) { /* : FIU_AirDirectionFL_Def_Req = uint8(2); */ rtDW.FIU_AirDirectionFL_Def_Req_b = 2U; } else { @@ -55352,15 +58036,15 @@ void HVAC_model_step(void) } /* : FIU_FootTempCorFL_Req = CCU_STAT2_model_in.CCU_FootTempCorFL_Stat + 1; */ - i = (int32_t)(rtDW.CCU_FootTempCorr_FL + 1U); - if (rtDW.CCU_FootTempCorr_FL + 1U > 255U) { + i = (int32_t)(CCU_STAT2_MODEL_CCU_FootTempCorFL_Stat + 1U); + if (CCU_STAT2_MODEL_CCU_FootTempCorFL_Stat + 1U > 255U) { i = 255; } rtDW.FIU_FootTempCorFL_Req_e = (uint8_t)i; /* : if (CCU_STAT1_model_in.CCU_ModeFR_Stat == 0) */ - if (rtb_DataTypeConversion1_gy == 0) { + if (rtb_Merge_np == 0) { /* : FIU_CCmodeFR_Req = uint8(1); */ rtDW.FIU_CCmodeFR_Req_p = 1U; } else { @@ -55370,20 +58054,20 @@ void HVAC_model_step(void) } /* : FIU_CCautoModeFR_Req = CCU_STAT1_model_in.CCU_AutoModeFR_Stat; */ - rtDW.FIU_CCautoModeFR_Req_g = center_percent; + rtDW.FIU_CCautoModeFR_Req_g = rtb_Switch_k_FIU_AirDirectionFL_Def_Req; /* : if (CCU_STAT1_model_in.CCU_BlowerSpeedFR_Stat == 0) */ - if (rtb_Switch_f_FIU_AirDirectionFL_Face_Req == 0) { + if (rtb_Switch_k_FIU_DeflectorSwFPR_Req == 0) { /* : FIU_BlowerSpeedFR_Req = uint8(8); */ rtDW.FIU_BlowerSpeedFR_Req_a = 8U; } else { /* : else */ /* : FIU_BlowerSpeedFR_Req = CCU_STAT1_model_in.CCU_BlowerSpeedFR_Stat; */ - rtDW.FIU_BlowerSpeedFR_Req_a = rtb_Switch_f_FIU_AirDirectionFL_Face_Req; + rtDW.FIU_BlowerSpeedFR_Req_a = rtb_Switch_k_FIU_DeflectorSwFPR_Req; } /* : if (CCU_STAT1_model_in.CCU_AirDirectionFR_Face_Stat == 0) */ - if (rtb_Merge_m4 == 0) { + if (rtb_Switch_k_FIU_Recirculation_Req == 0) { /* : FIU_AirDirectionFR_Face_Req = uint8(2); */ rtDW.FIU_AirDirectionFR_Face_Req_b = 2U; } else { @@ -55393,7 +58077,7 @@ void HVAC_model_step(void) } /* : if (CCU_STAT1_model_in.CCU_AirDirectionFR_Foot_Stat == 0) */ - if (rtb_Switch_f_FIU_CCmodeFL_Req == 0) { + if (rtb_Switch_k_FIU_DeflectorSwDL_Req == 0) { /* : FIU_AirDirectionFR_Foot_Req = uint8(2); */ rtDW.FIU_AirDirectionFR_Foot_Req_j = 2U; } else { @@ -55403,7 +58087,7 @@ void HVAC_model_step(void) } /* : if (CCU_STAT1_model_in.CCU_AirDirectionFR_Def_Stat == 0) */ - if (rtb_Merge_c5 == 0) { + if (rtb_Switch_k_FIU_CCautoModeFR_Req == 0) { /* : FIU_AirDirectionFR_Def_Req = uint8(2); */ rtDW.FIU_AirDirectionFR_Def_Req_b = 2U; } else { @@ -55413,51 +58097,51 @@ void HVAC_model_step(void) } /* : FIU_FootTempCorFR_Req = CCU_STAT2_model_in.CCU_FootTempCorFR_Stat + 1; */ - i = (int32_t)(rtDW.CCU_SET_FOOT_FR + 1U); - if (rtDW.CCU_SET_FOOT_FR + 1U > 255U) { + i = (int32_t)(CCU_STAT2_MODEL_CCU_FootTempCorFR_Stat + 1U); + if (CCU_STAT2_MODEL_CCU_FootTempCorFR_Stat + 1U > 255U) { i = 255; } rtDW.FIU_FootTempCorFR_Req_a = (uint8_t)i; /* : if (CCU_STAT2_model_in.CCU_DeflectorSwDL_Stat == 0) */ - if (rtb_Switch_f_FIU_AirDirectionFL_Foot_Req == 0) { + if (CCU_STAT2_MODEL_CCU_DeflectorSwDL_Stat == 0) { /* : FIU_DeflectorSwDL_Req = uint8(4); */ rtDW.FIU_DeflectorSwDL_Req_i = 4U; } else { /* : else */ /* : FIU_DeflectorSwDL_Req = CCU_STAT2_model_in.CCU_DeflectorSwDL_Stat; */ - rtDW.FIU_DeflectorSwDL_Req_i = rtb_Switch_f_FIU_AirDirectionFL_Foot_Req; + rtDW.FIU_DeflectorSwDL_Req_i = CCU_STAT2_MODEL_CCU_DeflectorSwDL_Stat; } /* : if (CCU_STAT2_model_in.CCU_DeflectorSwDR_Stat == 0) */ - if (rtb_Switch_f_FIU_CCmodeFR_Req == 0) { + if (CCU_STAT2_MODEL_CCU_DeflectorSwDR_Stat == 0) { /* : FIU_DeflectorSwDR_Req = uint8(4); */ rtDW.FIU_DeflectorSwDR_Req_i = 4U; } else { /* : else */ /* : FIU_DeflectorSwDR_Req = CCU_STAT2_model_in.CCU_DeflectorSwDR_Stat; */ - rtDW.FIU_DeflectorSwDR_Req_i = rtb_Switch_f_FIU_CCmodeFR_Req; + rtDW.FIU_DeflectorSwDR_Req_i = CCU_STAT2_MODEL_CCU_DeflectorSwDR_Stat; } /* : if (CCU_STAT2_model_in.CCU_DeflectorSwFPL_Stat == 0) */ - if (rtb_Switch_f_FIU_AirDirectionFR_Def_Req == 0) { + if (CCU_STAT2_MODEL_CCU_DeflectorSwFPL_Stat == 0) { /* : FIU_DeflectorSwFPL_Req = uint8(4); */ rtDW.FIU_DeflectorSwFPL_Req_m = 4U; } else { /* : else */ /* : FIU_DeflectorSwFPL_Req = CCU_STAT2_model_in.CCU_DeflectorSwFPL_Stat; */ - rtDW.FIU_DeflectorSwFPL_Req_m = rtb_Switch_f_FIU_AirDirectionFR_Def_Req; + rtDW.FIU_DeflectorSwFPL_Req_m = CCU_STAT2_MODEL_CCU_DeflectorSwFPL_Stat; } /* : if (CCU_STAT2_model_in.CCU_DeflectorSwFPR_Stat == 0) */ - if (rtb_Switch_f_FIU_AirDirectionFR_Face_Req == 0) { + if (CCU_STAT2_MODEL_CCU_DeflectorSwFPR_Stat == 0) { /* : FIU_DeflectorSwFPR_Req = uint8(4); */ rtDW.FIU_DeflectorSwFPR_Req_i = 4U; } else { /* : else */ /* : FIU_DeflectorSwFPR_Req = CCU_STAT2_model_in.CCU_DeflectorSwFPR_Stat; */ - rtDW.FIU_DeflectorSwFPR_Req_i = rtb_Switch_f_FIU_AirDirectionFR_Face_Req; + rtDW.FIU_DeflectorSwFPR_Req_i = CCU_STAT2_MODEL_CCU_DeflectorSwFPR_Stat; } /* : FIU_CCU1_model_out.FIU_CCmodeFL_Req = uint8(1); */ @@ -55828,29 +58512,29 @@ void HVAC_model_step(void) /* : is_active = is_active_persistent; */ rtDW.Max_AC_algo_active = rtDW.is_active_persistent_i; - /* End of MATLAB Function: '/MATLAB Function' */ - /* End of Outputs for SubSystem: '/MAX AC' */ + /* End of MATLAB Function: '/MATLAB Function' */ + /* End of Outputs for SubSystem: '/MAX AC' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write1' */ rtDW.CCU_AC_MAX = rtDW.Max_AC_algo_active; - /* Outputs for Atomic SubSystem: '/MAX DEF1' */ - /* MATLAB Function: '/MATLAB Function1' incorporates: - * Constant: '/Constant1' - * Constant: '/FIU_CCU! null' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreWrite: '/Data Store Write33' - * RelationalOperator: '/Equal1' + /* Outputs for Atomic SubSystem: '/MAX DEF1' */ + /* MATLAB Function: '/MATLAB Function1' incorporates: + * Constant: '/Constant1' + * Constant: '/FIU_CCU! null' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreWrite: '/Data Store Write33' + * RelationalOperator: '/Equal1' */ /* : MODE_ACTIVE_MAX_DEF = uint8(10); */ /* : exit_condition = false; */ - rtb_Compare_e = false; + rtb_Compare_bp = false; /* : DRS_array_trunc = DRS_array(1:4); */ /* : if isempty(DRS_array_persistent) */ @@ -55866,7 +58550,7 @@ void HVAC_model_step(void) /* : if max_def_mode == MODE_ACTIVE_MAX_DEF */ if (rtDW.Max_def_mode == 10) { /* : if ~isequal(DRS_array_trunc, DRS_array_persistent) */ - rtb_RelationalOperator2_p = false; + rtb_Compare_i5 = false; rtb_RelationalOperator6_f = true; i = 0; exitg2 = false; @@ -55880,30 +58564,30 @@ void HVAC_model_step(void) } if (rtb_RelationalOperator6_f) { - rtb_RelationalOperator2_p = true; + rtb_Compare_i5 = true; } - if (!rtb_RelationalOperator2_p) { + if (!rtb_Compare_i5) { /* : exit_condition = true; */ - rtb_Compare_e = true; + rtb_Compare_bp = true; } /* : if ~isequal(FIU_CCU1_model, FIU_CCU1_model_null) */ if (!isequal(rtDW.FIU_CCU1_MODEL, HVAC_model_rtZCmdCAN_FIU_CCU1_Bus)) { /* : exit_condition = true; */ - rtb_Compare_e = true; + rtb_Compare_bp = true; } /* : if defButton == 0 */ if (rtDW.CCU_Defrost == 0) { /* : exit_condition = true; */ - rtb_Compare_e = true; + rtb_Compare_bp = true; } /* : if Req_Autodemist */ - if (rtb_DataTypeConversion1_hy == 2) { + if (rtb_PWM_out_a == 2) { /* : exit_condition = true; */ - rtb_Compare_e = true; + rtb_Compare_bp = true; } } @@ -55913,18 +58597,33 @@ void HVAC_model_step(void) rtDW.DRS_array_persistent[2] = rtY.DRS_output[2]; rtDW.DRS_array_persistent[3] = rtY.DRS_output[3]; - /* End of MATLAB Function: '/MATLAB Function1' */ + /* End of MATLAB Function: '/MATLAB Function1' */ - /* Lookup_n-D: '/Max_blower_speed_for_ui_step' incorporates: - * DataStoreRead: '/Data Store Read2' - * Lookup_n-D: '/Max_blower_speed' + /* Lookup_n-D: '/Max_blower_speed_for_ui_step' incorporates: + * DataStoreRead: '/Data Store Read2' + * Lookup_n-D: '/Max_blower_speed' */ - min_side_L = rtConstP.pooled136[plook_u32u16_binckan + Index_mode_FR_manual = rtConstP.pooled138[plook_u32u16_binckan (look1_is16lu64n32tu16_binlcse(rtDW.ECT, rtConstP.Max_blower_speed_bp01Data, &g_ausMAX_BLR_SPD[0], 5U), &g_ausFLOW_FR_DE2BLR_AF[0], 7U)]; - /* MATLAB Function: '/MATLAB Function' incorporates: - * DataStoreWrite: '/Data Store Write3' + /* MATLAB Function: '/MATLAB Function' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read43' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read8' + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write3' + * DataStoreWrite: '/Data Store Write5' + * DataStoreWrite: '/Data Store Write7' + * DataStoreWrite: '/Data Store Write8' + * Logic: '/Logical Operator' + * Lookup_n-D: '/Max_Def_U_Dtg' + * RelationalOperator: '/Equal' */ /* : MODE_OFF = uint8(0); */ /* : MODE_ENTRY_STEP1_MAX_DEF = uint8(1); */ @@ -55936,61 +58635,38 @@ void HVAC_model_step(void) /* : flu_duct_target = int16(0); */ rtDW.Max_def_FLU_duct_tg = 0; - /* Switch: '/Switch1' incorporates: - * DataStoreWrite: '/Data Store Write7' - * MATLAB Function: '/MATLAB Function' - */ /* : fru_duct_target = int16(0); */ /* : OSA_valve = uint8(0); */ rtDW.Max_def_OSA_valve = 0U; - /* Switch: '/Switch2' incorporates: - * MATLAB Function: '/MATLAB Function' - */ /* : REC_valve = uint8(0); */ rtDW.Max_def_Rec_valve = 0U; - /* MATLAB Function: '/MATLAB Function' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read43' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read8' - * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write2' - * DataStoreWrite: '/Data Store Write3' - * DataStoreWrite: '/Data Store Write5' - * Logic: '/Logical Operator' - * Lookup_n-D: '/Max_Def_U_Dtg' - * RelationalOperator: '/Equal' - */ /* : FIU_CCU1_model_out = FIU_CCU1_model_in; */ rtDW.FIU_CCU1_MaxDef = rtDW.FIU_CCU1_MODEL; /* : if entry_conditions_max_defrost == true && is_active_persistent == false */ - if (((rtb_DataTypeConversion1_hy == 1) || (rtDW.CCU_Defrost != 0)) && - (!rtDW.is_active_persistent)) { + if (((rtb_PWM_out_a == 1) || (rtDW.CCU_Defrost != 0)) && + (!rtDW.is_active_persistent_c)) { /* : is_active_persistent = true; */ - rtDW.is_active_persistent = true; + rtDW.is_active_persistent_c = true; /* : mode_reg = MODE_ENTRY_STEP1_MAX_DEF; */ - rtDW.mode_reg = 1U; - } else if (rtb_Compare_e && rtDW.is_active_persistent) { + rtDW.mode_reg_b = 1U; + } else if (rtb_Compare_bp && rtDW.is_active_persistent_c) { /* : elseif exit_conditions_max_defrost == true && is_active_persistent == true */ /* : is_active_persistent = false; */ - rtDW.is_active_persistent = false; + rtDW.is_active_persistent_c = false; /* : mode_reg = MODE_EXIT_MAX_DEF; */ - rtDW.mode_reg = 15U; + rtDW.mode_reg_b = 15U; } /* : mode_reg_active = mode_reg; */ - rtDW.Max_def_mode = rtDW.mode_reg; + rtDW.Max_def_mode = rtDW.mode_reg_b; /* : switch mode_reg */ - switch (rtDW.mode_reg) { + switch (rtDW.mode_reg_b) { case 0U: /* : case MODE_OFF */ break; @@ -55998,7 +58674,7 @@ void HVAC_model_step(void) case 1U: /* : case MODE_ENTRY_STEP1_MAX_DEF */ /* : if (CCU_STAT1_model_in.CCU_ModeFL_Stat == 0) */ - if (rtDW.CCU_MODE_FL == 0) { + if (hvacFanPwm == 0) { /* : FIU_CCmodeFL_Req = uint8(1); */ rtDW.FIU_CCmodeFL_Req = 1U; } else { @@ -56008,20 +58684,20 @@ void HVAC_model_step(void) } /* : FIU_CCautoModeFL_Req = CCU_STAT1_model_in.CCU_AutoModeFL_Stat; */ - rtDW.FIU_CCautoModeFL_Req = rtDW.CCU_AUTOMODE_FL; + rtDW.FIU_CCautoModeFL_Req = rtb_Switch_k_FIU_CCmodeFL_Req; /* : if (CCU_STAT1_model_in.CCU_BlowerSpeedFL_Stat == 0) */ - if (rtb_Switch_f_FIU_AirDirectionFL_Def_Req == 0) { + if (rtb_Switch_k_FIU_ACfrontOFF_Req == 0) { /* : FIU_BlowerSpeedFL_Req = uint8(8); */ rtDW.FIU_BlowerSpeedFL_Req = 8U; } else { /* : else */ /* : FIU_BlowerSpeedFL_Req = CCU_STAT1_model_in.CCU_BlowerSpeedFL_Stat; */ - rtDW.FIU_BlowerSpeedFL_Req = rtb_Switch_f_FIU_AirDirectionFL_Def_Req; + rtDW.FIU_BlowerSpeedFL_Req = rtb_Switch_k_FIU_ACfrontOFF_Req; } /* : if (CCU_STAT1_model_in.CCU_AirDirectionFL_Face_Stat == 0) */ - if (rtDW.CCU_FACE_FL == 0) { + if (rtb_Switch_k_FIU_BlowerSpeedFR_Req == 0) { /* : FIU_AirDirectionFL_Face_Req = uint8(2); */ rtDW.FIU_AirDirectionFL_Face_Req = 2U; } else { @@ -56031,7 +58707,7 @@ void HVAC_model_step(void) } /* : if (CCU_STAT1_model_in.CCU_AirDirectionFL_Foot_Stat == 0) */ - if (rtDW.CCU_FOOT_FL == 0) { + if (rtb_Switch_k_FIU_CCautoModeFL_Req == 0) { /* : FIU_AirDirectionFL_Foot_Req = uint8(2); */ rtDW.FIU_AirDirectionFL_Foot_Req = 2U; } else { @@ -56041,7 +58717,7 @@ void HVAC_model_step(void) } /* : if (CCU_STAT1_model_in.CCU_AirDirectionFL_Def_Stat == 0) */ - if (rtDW.CCU_DEF_FL == 0) { + if (rtb_Switch_k_FIU_BlowerSpeedFL_Req == 0) { /* : FIU_AirDirectionFL_Def_Req = uint8(2); */ rtDW.FIU_AirDirectionFL_Def_Req = 2U; } else { @@ -56051,15 +58727,15 @@ void HVAC_model_step(void) } /* : FIU_FootTempCorFL_Req = CCU_STAT2_model_in.CCU_FootTempCorFL_Stat + 1; */ - i = (int32_t)(rtDW.CCU_FootTempCorr_FL + 1U); - if (rtDW.CCU_FootTempCorr_FL + 1U > 255U) { + i = (int32_t)(CCU_STAT2_MODEL_CCU_FootTempCorFL_Stat + 1U); + if (CCU_STAT2_MODEL_CCU_FootTempCorFL_Stat + 1U > 255U) { i = 255; } rtDW.FIU_FootTempCorFL_Req = (uint8_t)i; /* : if (CCU_STAT1_model_in.CCU_ModeFR_Stat == 0) */ - if (rtb_DataTypeConversion1_gy == 0) { + if (rtb_Merge_np == 0) { /* : FIU_CCmodeFR_Req = uint8(1); */ rtDW.FIU_CCmodeFR_Req = 1U; } else { @@ -56069,20 +58745,20 @@ void HVAC_model_step(void) } /* : FIU_CCautoModeFR_Req = CCU_STAT1_model_in.CCU_AutoModeFR_Stat; */ - rtDW.FIU_CCautoModeFR_Req = center_percent; + rtDW.FIU_CCautoModeFR_Req = rtb_Switch_k_FIU_AirDirectionFL_Def_Req; /* : if (CCU_STAT1_model_in.CCU_BlowerSpeedFR_Stat == 0) */ - if (rtb_Switch_f_FIU_AirDirectionFL_Face_Req == 0) { + if (rtb_Switch_k_FIU_DeflectorSwFPR_Req == 0) { /* : FIU_BlowerSpeedFR_Req = uint8(8); */ rtDW.FIU_BlowerSpeedFR_Req = 8U; } else { /* : else */ /* : FIU_BlowerSpeedFR_Req = CCU_STAT1_model_in.CCU_BlowerSpeedFR_Stat; */ - rtDW.FIU_BlowerSpeedFR_Req = rtb_Switch_f_FIU_AirDirectionFL_Face_Req; + rtDW.FIU_BlowerSpeedFR_Req = rtb_Switch_k_FIU_DeflectorSwFPR_Req; } /* : if (CCU_STAT1_model_in.CCU_AirDirectionFR_Face_Stat == 0) */ - if (rtb_Merge_m4 == 0) { + if (rtb_Switch_k_FIU_Recirculation_Req == 0) { /* : FIU_AirDirectionFR_Face_Req = uint8(2); */ rtDW.FIU_AirDirectionFR_Face_Req = 2U; } else { @@ -56092,7 +58768,7 @@ void HVAC_model_step(void) } /* : if (CCU_STAT1_model_in.CCU_AirDirectionFR_Foot_Stat == 0) */ - if (rtb_Switch_f_FIU_CCmodeFL_Req == 0) { + if (rtb_Switch_k_FIU_DeflectorSwDL_Req == 0) { /* : FIU_AirDirectionFR_Foot_Req = uint8(2); */ rtDW.FIU_AirDirectionFR_Foot_Req = 2U; } else { @@ -56102,7 +58778,7 @@ void HVAC_model_step(void) } /* : if (CCU_STAT1_model_in.CCU_AirDirectionFR_Def_Stat == 0) */ - if (rtb_Merge_c5 == 0) { + if (rtb_Switch_k_FIU_CCautoModeFR_Req == 0) { /* : FIU_AirDirectionFR_Def_Req = uint8(2); */ rtDW.FIU_AirDirectionFR_Def_Req = 2U; } else { @@ -56112,58 +58788,58 @@ void HVAC_model_step(void) } /* : FIU_FootTempCorFR_Req = CCU_STAT2_model_in.CCU_FootTempCorFR_Stat + 1; */ - i = (int32_t)(rtDW.CCU_SET_FOOT_FR + 1U); - if (rtDW.CCU_SET_FOOT_FR + 1U > 255U) { + i = (int32_t)(CCU_STAT2_MODEL_CCU_FootTempCorFR_Stat + 1U); + if (CCU_STAT2_MODEL_CCU_FootTempCorFR_Stat + 1U > 255U) { i = 255; } rtDW.FIU_FootTempCorFR_Req = (uint8_t)i; /* : if (CCU_STAT2_model_in.CCU_DeflectorSwDL_Stat == 0) */ - if (rtb_Switch_f_FIU_AirDirectionFL_Foot_Req == 0) { + if (CCU_STAT2_MODEL_CCU_DeflectorSwDL_Stat == 0) { /* : FIU_DeflectorSwDL_Req = uint8(4); */ rtDW.FIU_DeflectorSwDL_Req = 4U; } else { /* : else */ /* : FIU_DeflectorSwDL_Req = CCU_STAT2_model_in.CCU_DeflectorSwDL_Stat; */ - rtDW.FIU_DeflectorSwDL_Req = rtb_Switch_f_FIU_AirDirectionFL_Foot_Req; + rtDW.FIU_DeflectorSwDL_Req = CCU_STAT2_MODEL_CCU_DeflectorSwDL_Stat; } /* : if (CCU_STAT2_model_in.CCU_DeflectorSwDR_Stat == 0) */ - if (rtb_Switch_f_FIU_CCmodeFR_Req == 0) { + if (CCU_STAT2_MODEL_CCU_DeflectorSwDR_Stat == 0) { /* : FIU_DeflectorSwDR_Req = uint8(4); */ rtDW.FIU_DeflectorSwDR_Req = 4U; } else { /* : else */ /* : FIU_DeflectorSwDR_Req = CCU_STAT2_model_in.CCU_DeflectorSwDR_Stat; */ - rtDW.FIU_DeflectorSwDR_Req = rtb_Switch_f_FIU_CCmodeFR_Req; + rtDW.FIU_DeflectorSwDR_Req = CCU_STAT2_MODEL_CCU_DeflectorSwDR_Stat; } /* : if (CCU_STAT2_model_in.CCU_DeflectorSwFPL_Stat == 0) */ - if (rtb_Switch_f_FIU_AirDirectionFR_Def_Req == 0) { + if (CCU_STAT2_MODEL_CCU_DeflectorSwFPL_Stat == 0) { /* : FIU_DeflectorSwFPL_Req = uint8(4); */ rtDW.FIU_DeflectorSwFPL_Req = 4U; } else { /* : else */ /* : FIU_DeflectorSwFPL_Req = CCU_STAT2_model_in.CCU_DeflectorSwFPL_Stat; */ - rtDW.FIU_DeflectorSwFPL_Req = rtb_Switch_f_FIU_AirDirectionFR_Def_Req; + rtDW.FIU_DeflectorSwFPL_Req = CCU_STAT2_MODEL_CCU_DeflectorSwFPL_Stat; } /* : if (CCU_STAT2_model_in.CCU_DeflectorSwFPR_Stat == 0) */ - if (rtb_Switch_f_FIU_AirDirectionFR_Face_Req == 0) { + if (CCU_STAT2_MODEL_CCU_DeflectorSwFPR_Stat == 0) { /* : FIU_DeflectorSwFPR_Req = uint8(4); */ rtDW.FIU_DeflectorSwFPR_Req = 4U; } else { /* : else */ /* : FIU_DeflectorSwFPR_Req = CCU_STAT2_model_in.CCU_DeflectorSwFPR_Stat; */ - rtDW.FIU_DeflectorSwFPR_Req = rtb_Switch_f_FIU_AirDirectionFR_Face_Req; + rtDW.FIU_DeflectorSwFPR_Req = CCU_STAT2_MODEL_CCU_DeflectorSwFPR_Stat; } /* : FIU_CCU1_model_out.FIU_CCmodeFL_Req = uint8(1); */ rtDW.FIU_CCU1_MaxDef.FIU_CCmodeFL_Req = 1U; /* : FIU_CCU1_model_out.FIU_BlowerSpeedFL_Req = Max_blower_speed_step; */ - rtDW.FIU_CCU1_MaxDef.FIU_BlowerSpeedFL_Req = min_side_L; + rtDW.FIU_CCU1_MaxDef.FIU_BlowerSpeedFL_Req = Index_mode_FR_manual; /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Face_Req = uint8(2); */ rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFL_Face_Req = 2U; @@ -56181,7 +58857,7 @@ void HVAC_model_step(void) rtDW.FIU_CCU1_MaxDef.FIU_CCmodeFR_Req = 1U; /* : FIU_CCU1_model_out.FIU_BlowerSpeedFR_Req = Max_blower_speed_step; */ - rtDW.FIU_CCU1_MaxDef.FIU_BlowerSpeedFR_Req = min_side_L; + rtDW.FIU_CCU1_MaxDef.FIU_BlowerSpeedFR_Req = Index_mode_FR_manual; /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Face_Req = uint8(2); */ rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFR_Face_Req = 2U; @@ -56208,7 +58884,7 @@ void HVAC_model_step(void) rtDW.FIU_CCU1_MaxDef.FIU_DeflectorSwFPR_Req = 3U; /* : mode_reg = MODE_ENTRY_STEP2_MAX_DEF; */ - rtDW.mode_reg = 2U; + rtDW.mode_reg_b = 2U; break; case 2U: @@ -56217,7 +58893,7 @@ void HVAC_model_step(void) rtDW.FIU_CCU1_MaxDef.FIU_CCmodeFL_Req = 0U; /* : FIU_CCU1_model_out.FIU_BlowerSpeedFL_Req = Max_blower_speed_step; */ - rtDW.FIU_CCU1_MaxDef.FIU_BlowerSpeedFL_Req = min_side_L; + rtDW.FIU_CCU1_MaxDef.FIU_BlowerSpeedFL_Req = Index_mode_FR_manual; /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Face_Req = uint8(2); */ rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFL_Face_Req = 2U; @@ -56235,7 +58911,7 @@ void HVAC_model_step(void) rtDW.FIU_CCU1_MaxDef.FIU_CCmodeFR_Req = 0U; /* : FIU_CCU1_model_out.FIU_BlowerSpeedFR_Req = Max_blower_speed_step; */ - rtDW.FIU_CCU1_MaxDef.FIU_BlowerSpeedFR_Req = min_side_L; + rtDW.FIU_CCU1_MaxDef.FIU_BlowerSpeedFR_Req = Index_mode_FR_manual; /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Face_Req = uint8(2); */ rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFR_Face_Req = 2U; @@ -56250,13 +58926,13 @@ void HVAC_model_step(void) rtDW.FIU_CCU1_MaxDef.FIU_FootTempCorFR_Req = 4U; /* : mode_reg = MODE_ENTRY_STEP3_MAX_DEF; */ - rtDW.mode_reg = 3U; + rtDW.mode_reg_b = 3U; break; case 3U: /* : case MODE_ENTRY_STEP3_MAX_DEF */ /* : FIU_CCU1_model_out.FIU_BlowerSpeedFL_Req = Max_blower_speed_step; */ - rtDW.FIU_CCU1_MaxDef.FIU_BlowerSpeedFL_Req = min_side_L; + rtDW.FIU_CCU1_MaxDef.FIU_BlowerSpeedFL_Req = Index_mode_FR_manual; /* : FIU_CCU1_model_out.FIU_AirDirectionFL_Face_Req = uint8(2); */ rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFL_Face_Req = 2U; @@ -56268,7 +58944,7 @@ void HVAC_model_step(void) rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFL_Def_Req = 1U; /* : FIU_CCU1_model_out.FIU_BlowerSpeedFR_Req = Max_blower_speed_step; */ - rtDW.FIU_CCU1_MaxDef.FIU_BlowerSpeedFR_Req = min_side_L; + rtDW.FIU_CCU1_MaxDef.FIU_BlowerSpeedFR_Req = Index_mode_FR_manual; /* : FIU_CCU1_model_out.FIU_AirDirectionFR_Face_Req = uint8(2); */ rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFR_Face_Req = 2U; @@ -56280,7 +58956,7 @@ void HVAC_model_step(void) rtDW.FIU_CCU1_MaxDef.FIU_AirDirectionFR_Def_Req = 1U; /* : mode_reg = MODE_ACTIVE_MAX_DEF; */ - rtDW.mode_reg = 10U; + rtDW.mode_reg_b = 10U; break; case 10U: @@ -56289,17 +58965,10 @@ void HVAC_model_step(void) rtDW.Max_def_FLU_duct_tg = look1_is16lu64n32Ds32_binlcs(rtDW.AMB, rtConstP.Max_Def_U_Dtg_bp01Data, &g_assMAX_DEF_U_DTG[0], 9U); - /* Switch: '/Switch1' incorporates: - * DataStoreRead: '/Data Store Read8' - * DataStoreWrite: '/Data Store Write3' - * DataStoreWrite: '/Data Store Write7' - * Lookup_n-D: '/Max_Def_U_Dtg' - */ /* : fru_duct_target = Max_Def_U_Dtg; */ /* : OSA_valve = uint8(100); */ rtDW.Max_def_OSA_valve = 100U; - /* Switch: '/Switch2' */ /* : REC_valve = uint8(0); */ rtDW.Max_def_Rec_valve = 0U; break; @@ -56479,24 +59148,25 @@ void HVAC_model_step(void) } /* : mode_reg = MODE_OFF; */ - rtDW.mode_reg = 0U; + rtDW.mode_reg_b = 0U; break; } /* : is_active = is_active_persistent; */ - rtDW.Max_def_algo_active = rtDW.is_active_persistent; + rtDW.Max_def_algo_active = rtDW.is_active_persistent_c; - /* End of Outputs for SubSystem: '/MAX DEF1' */ + /* End of MATLAB Function: '/MATLAB Function' */ + /* End of Outputs for SubSystem: '/MAX DEF1' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write1' */ rtDW.CCU_Defrost = rtDW.Max_def_algo_active; - /* MATLAB Function: '/any message from FIU or TM_CP' incorporates: - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read4' + /* MATLAB Function: '/any message from FIU or TM_CP' incorporates: + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read4' */ /* : exit_condition = false; */ /* : if isempty(FIU_CCU1_model_persistent) */ @@ -56521,15 +59191,15 @@ void HVAC_model_step(void) /* : TM_CP_model_persistent = TM_CP_model; */ rtDW.TM_CP_model_persistent = rtDW.TM_CP_model; - /* End of MATLAB Function: '/any message from FIU or TM_CP' */ + /* End of MATLAB Function: '/any message from FIU or TM_CP' */ - /* Chart: '/Operation mode' incorporates: + /* Chart: '/Operation mode' incorporates: * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read3' * DataStoreWrite: '/Data Store Write1' * DataStoreWrite: '/Data Store Write5' - * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write' */ if (rtDW.is_active_c1511_HVAC_model == 0U) { rtDW.is_active_c1511_HVAC_model = 1U; @@ -56621,20 +59291,20 @@ void HVAC_model_step(void) } } - /* End of Chart: '/Operation mode' */ + /* End of Chart: '/Operation mode' */ - /* MATLAB Function: '/choose sensor FRU' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read33' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/choose sensor FRU' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read33' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' * DataStoreWrite: '/Data Store Write23' - * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write' */ /* : if duct_center_error || duct_side_error */ - if (Duct2_F_error || Duct6_F_error) { + if (rtb_Compare_eb || rtb_Compare_h0) { /* : if duct_side_error */ - if (Duct6_F_error) { + if (rtb_Compare_h0) { /* : sensor = duct_center; */ Eva_F_tg = Duct2_F; @@ -56651,7 +59321,7 @@ void HVAC_model_step(void) /* : else */ /* : if SFR_valve > 0 */ - } else if (rtb_out_cj[3] > 0) { + } else if (rtb_MultiportSwitch_fd[3] > 0) { /* : sensor = duct_side; */ Eva_F_tg = Duct6_F; @@ -56666,51 +59336,52 @@ void HVAC_model_step(void) rtb_Cmd_3Way = 0; } - /* End of MATLAB Function: '/choose sensor FRU' */ + /* End of MATLAB Function: '/choose sensor FRU' */ - /* Gain: '/Gain17' incorporates: - * DataStoreRead: '/Data Store Read44' - * Sum: '/Minus' - * UnitDelay: '/Unit Delay' + /* Gain: '/Gain17' incorporates: + * DataStoreRead: '/Data Store Read44' + * Sum: '/Minus' + * UnitDelay: '/Unit Delay' */ rtb_Gain17 = (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_l) * 0.0010000000002037268; - /* MATLAB Function: '/MATLAB Function' incorporates: - * Constant: '/Constant27' - * Constant: '/Constant28' - * Constant: '/Constant94' - * Constant: '/Constant95' - * Constant: '/Constant96' - * DataStoreRead: '/Data Store Read42' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion29' + /* MATLAB Function: '/MATLAB Function' incorporates: + * Constant: '/Constant27' + * Constant: '/Constant28' + * Constant: '/Constant94' + * Constant: '/Constant95' + * Constant: '/Constant96' + * DataStoreRead: '/Data Store Read42' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion29' */ MATLABFunction_m((double)Duct_FRU_Tg, (double)Eva_F_tg, rtb_Gain17, (double) g_assPID_VALVE_FRONT_UP[0] / 100.0, (double) g_assPID_VALVE_FRONT_UP[1] / 1000.0, (double) g_assPID_VALVE_FRONT_UP[2] / 100.0, (double) g_assPID_VALVE_FRONT_UP[3] / 10.0, (double) - g_assPID_VALVE_FRONT_UP[4] / 10.0, &rtb_output, &rtb_P, - &rtb_output_a, &rtb_output_f, &rtDW.sf_MATLABFunction_m); + g_assPID_VALVE_FRONT_UP[4] / 10.0, &rtb_Divide10, + &rtb_area_R_o, &rtb_output, &rtb_output_f, + &rtDW.sf_MATLABFunction_m); - /* Gain: '/Gain16' */ - rtb_Divide7_d = 10.0 * rtb_output_a; + /* Gain: '/Gain16' */ + IGN_voltage = 10.0 * rtb_output; - /* Gain: '/Gain17' */ - rtb_Gain17_h = 10.0 * rtb_output_f; + /* Gain: '/Gain17' */ + rtb_area_L_j = 10.0 * rtb_output_f; - /* MATLAB Function: '/choose sensor FRU' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read33' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/choose sensor FRU' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read33' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' * DataStoreWrite: '/Data Store Write23' */ /* : if duct_center_error || duct_side_error */ - if (Duct1_F_error || Duct5_F_error) { + if (rtb_FailCond || rtb_Compare_cp) { /* : if duct_side_error */ - if (Duct5_F_error) { + if (rtb_Compare_cp) { /* : sensor = duct_center; */ Eva_F_tg = Duct1_F; @@ -56725,7 +59396,7 @@ void HVAC_model_step(void) /* : else */ /* : if SFL_valve > 0 */ - } else if (rtb_out_cj[3] > 0) { + } else if (rtb_MultiportSwitch_fd[3] > 0) { /* : sensor = duct_side; */ Eva_F_tg = Duct5_F; @@ -56738,865 +59409,1047 @@ void HVAC_model_step(void) /* : duct_select_index_dbg = 0; */ } - /* End of MATLAB Function: '/choose sensor FRU' */ + /* End of MATLAB Function: '/choose sensor FRU' */ - /* MATLAB Function: '/MATLAB Function1' incorporates: - * Constant: '/Constant26' - * Constant: '/Constant29' - * Constant: '/Constant36' - * Constant: '/Constant41' - * Constant: '/Constant98' - * DataStoreRead: '/Data Store Read17' - * DataTypeConversion: '/Data Type Conversion32' - * DataTypeConversion: '/Data Type Conversion33' + /* MATLAB Function: '/MATLAB Function1' incorporates: + * Constant: '/Constant26' + * Constant: '/Constant29' + * Constant: '/Constant36' + * Constant: '/Constant41' + * Constant: '/Constant98' + * DataStoreRead: '/Data Store Read17' + * DataTypeConversion: '/Data Type Conversion32' + * DataTypeConversion: '/Data Type Conversion33' */ MATLABFunction_m((double)Duct_FLU_Tg, (double)Eva_F_tg, rtb_Gain17, (double) g_assPID_VALVE_FRONT_UP[0] / 100.0, (double) g_assPID_VALVE_FRONT_UP[1] / 1000.0, (double) g_assPID_VALVE_FRONT_UP[2] / 100.0, (double) g_assPID_VALVE_FRONT_UP[3] / 10.0, (double) - g_assPID_VALVE_FRONT_UP[4] / 10.0, &rtb_output_a, - &rtb_output_f, &rtb_output_n, &rtb_output_e, - &rtDW.sf_MATLABFunction1_l); + g_assPID_VALVE_FRONT_UP[4] / 10.0, &rtb_output, &rtb_output_f, + &rtb_output_j, &rtb_output_it, &rtDW.sf_MATLABFunction1_l); - /* Gain: '/Gain19' */ - rtb_Gain19 = 10.0 * rtb_output_n; + /* Gain: '/Gain19' */ + rtb_Gain19 = 10.0 * rtb_output_j; - /* Gain: '/Gain20' */ - rtb_Gain20 = 10.0 * rtb_output_e; + /* Gain: '/Gain20' */ + rtb_Gain20 = 10.0 * rtb_output_it; - /* Gain: '/Gain18' */ + /* Gain: '/Gain18' */ rtb_Gain18 = 10.0 * rtb_output_f; - /* MATLAB Function: '/choose sensor FLL' incorporates: + /* MATLAB Function: '/choose sensor FLL' incorporates: * DataStoreRead: '/Data Store Read17' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read33' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read33' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' * DataStoreWrite: '/Data Store Write23' * DataStoreWrite: '/Data Store Write15' + * DataStoreWrite: '/Data Store Write' */ - choosesensorFLL(Duct3_F, rtb_Bias1_h, Duct3_F_error, Duct3_R_error, - rtDW.CCUCAN_tStatus_CCU_Configuration_model.AlgorithmConfiguration, - rtb_out_cj[4], rtb_out_cj[5], &rtb_DataTypeConversion1_oq, - &rtb_duct_select_index_dbg_c); + /* : LIMOUSINE_ALGO = 1; */ + /* : if ~isRearHVACPresent */ + if (!rtDW.RearHVAC_present) { + /* : sensor = sensor_duct_foot1; */ + Eva_F_tg = Duct3_F; - /* MATLAB Function: '/MATLAB Function2' incorporates: - * Constant: '/Constant100' - * Constant: '/Constant43' - * Constant: '/Constant55' - * Constant: '/Constant85' - * Constant: '/Constant99' - * DataStoreRead: '/Data Store Read35' - * DataTypeConversion: '/Data Type Conversion35' - * DataTypeConversion: '/Data Type Conversion36' + /* : duct_select_index_dbg = 0; */ + rtb_Y_o_idx_2 = 0; + + /* : if duct_error_foot1 || duct_error_foot2 */ + } else if (rtb_Compare_ee || rtb_Compare_eu) { + /* : if duct_error_foot1 */ + if (rtb_Compare_ee) { + /* : sensor = sensor_duct_foot2; */ + Eva_F_tg = Duct3_R; + + /* : duct_select_index_dbg = 1; */ + rtb_Y_o_idx_2 = 1; + } else { + /* : else */ + /* : sensor = sensor_duct_foot1; */ + Eva_F_tg = Duct3_F; + + /* : duct_select_index_dbg = 0; */ + rtb_Y_o_idx_2 = 0; + } + + /* : else */ + /* : if algorithm_configuration == LIMOUSINE_ALGO */ + } else if (rtDW.CCUCAN_tStatus_CCU_Configuration_model.AlgorithmConfiguration == + 1) { + /* : if foot2_actuator_pos >= 30 */ + if (rtb_MultiportSwitch_fd[5] >= 30) { + /* : sensor = sensor_duct_foot2; */ + Eva_F_tg = Duct3_R; + + /* : duct_select_index_dbg = 1; */ + rtb_Y_o_idx_2 = 1; + } else { + /* : else */ + /* : sensor = sensor_duct_foot1; */ + Eva_F_tg = Duct3_F; + + /* : duct_select_index_dbg = 0; */ + rtb_Y_o_idx_2 = 0; + } + + /* : else */ + /* : if foot1_actuator_pos >= 20 */ + } else if (rtb_MultiportSwitch_fd[4] >= 20) { + /* : sensor = sensor_duct_foot1; */ + Eva_F_tg = Duct3_F; + + /* : duct_select_index_dbg = 0; */ + rtb_Y_o_idx_2 = 0; + + /* : else */ + /* : if foot2_actuator_pos >= 30 */ + } else if (rtb_MultiportSwitch_fd[5] >= 30) { + /* : sensor = sensor_duct_foot2; */ + Eva_F_tg = Duct3_R; + + /* : duct_select_index_dbg = 1; */ + rtb_Y_o_idx_2 = 1; + } else { + /* : else */ + /* : sensor = sensor_duct_foot1; */ + Eva_F_tg = Duct3_F; + + /* : duct_select_index_dbg = 0; */ + rtb_Y_o_idx_2 = 0; + } + + /* End of MATLAB Function: '/choose sensor FLL' */ + + /* MATLAB Function: '/MATLAB Function2' incorporates: + * Constant: '/Constant100' + * Constant: '/Constant43' + * Constant: '/Constant55' + * Constant: '/Constant85' + * Constant: '/Constant99' + * DataStoreRead: '/Data Store Read35' + * DataTypeConversion: '/Data Type Conversion35' + * DataTypeConversion: '/Data Type Conversion36' */ - MATLABFunction_m((double)rtb_y_ds, (double)rtb_DataTypeConversion1_oq, - rtb_Gain17, (double)g_assPID_VALVE_FRONT_LOW[0] / 100.0, - (double)g_assPID_VALVE_FRONT_LOW[1] / 1000.0, (double) + MATLABFunction_m((double)rtb_y_ds, (double)Eva_F_tg, rtb_Gain17, (double) + g_assPID_VALVE_FRONT_LOW[0] / 100.0, (double) + g_assPID_VALVE_FRONT_LOW[1] / 1000.0, (double) g_assPID_VALVE_FRONT_LOW[2] / 100.0, (double) g_assPID_VALVE_FRONT_LOW[3] / 10.0, (double) g_assPID_VALVE_FRONT_LOW[4] / 10.0, &rtb_output_f, - &rtb_output_n, &rtb_output_e, &rtb_Divide11, - &rtDW.sf_MATLABFunction2); + &rtb_output_j, &rtb_output_it, &rtb_output_h, + &rtDW.sf_MATLABFunction2_m); - /* Gain: '/Gain22' */ - rtb_Gain22 = 10.0 * rtb_output_e; + /* Gain: '/Gain22' */ + rtb_uDLookupTable1_jw = 10.0 * rtb_output_it; - /* Gain: '/Gain23' */ - rtb_Gain23 = 10.0 * rtb_Divide11; + /* Gain: '/Gain23' */ + rtb_uDLookupTable2_fm = 10.0 * rtb_output_h; - /* Bias: '/Add Constant6' incorporates: - * Gain: '/Gain21' + /* Bias: '/Add Constant6' incorporates: + * Gain: '/Gain21' */ - rtb_Add_p4 = 10.0 * rtb_output_n + 2048.0; + rtb_Divide5 = 10.0 * rtb_output_j + 2048.0; - /* Saturate: '/Saturation22' */ - if (rtb_Add_p4 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* Saturate: '/Saturation22' */ + if (rtb_Divide5 > 4095.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.P_FLL = 4095U; - } else if (rtb_Add_p4 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + } else if (rtb_Divide5 < 0.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.P_FLL = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.dbg_PIDValve_model.P_FLL = (uint16_t)rtb_Add_p4; + rtDW.dbg_PIDValve_model.P_FLL = (uint16_t)rtb_Divide5; } - /* End of Saturate: '/Saturation22' */ + /* End of Saturate: '/Saturation22' */ - /* MATLAB Function: '/choose sensor FRightLower' incorporates: + /* MATLAB Function: '/choose sensor FRightLower' incorporates: * DataStoreRead: '/Data Store Read17' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read33' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read33' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read5' * DataStoreWrite: '/Data Store Write23' * DataStoreWrite: '/Data Store Write15' + * DataStoreWrite: '/Data Store Write' */ - choosesensorFLL(Duct4_F, rtb_FLU_tg_correct_ot, Duct4_F_error, Duct4_R_error, - rtDW.CCUCAN_tStatus_CCU_Configuration_model.AlgorithmConfiguration, - rtb_out_cj[6], rtb_out_cj[7], &rtb_DataTypeConversion1_oq, - &IGN_voltage); + /* : LIMOUSINE_ALGO = 1; */ + /* : if ~isRearHVACPresent */ + if (!rtDW.RearHVAC_present) { + /* : sensor = sensor_duct_foot1; */ + Eva_F_tg = Duct4_F; - /* MATLAB Function: '/MATLAB Function3' incorporates: - * Constant: '/Constant101' - * Constant: '/Constant102' - * Constant: '/Constant42' - * Constant: '/Constant86' - * Constant: '/Constant87' - * DataStoreRead: '/Data Store Read34' - * DataTypeConversion: '/Data Type Conversion37' - * DataTypeConversion: '/Data Type Conversion38' + /* : duct_select_index_dbg = 0; */ + rtb_Y_o_idx_3 = 0; + + /* : if duct_error_foot1 || duct_error_foot2 */ + } else if (rtb_Compare_n0 || rtb_Compare_e3) { + /* : if duct_error_foot1 */ + if (rtb_Compare_n0) { + /* : sensor = sensor_duct_foot2; */ + Eva_F_tg = Duct4_R; + + /* : duct_select_index_dbg = 1; */ + rtb_Y_o_idx_3 = 1; + } else { + /* : else */ + /* : sensor = sensor_duct_foot1; */ + Eva_F_tg = Duct4_F; + + /* : duct_select_index_dbg = 0; */ + rtb_Y_o_idx_3 = 0; + } + + /* : else */ + /* : if algorithm_configuration == LIMOUSINE_ALGO */ + } else if (rtDW.CCUCAN_tStatus_CCU_Configuration_model.AlgorithmConfiguration == + 1) { + /* : if foot2_actuator_pos >= 30 */ + if (rtb_MultiportSwitch_fd[7] >= 30) { + /* : sensor = sensor_duct_foot2; */ + Eva_F_tg = Duct4_R; + + /* : duct_select_index_dbg = 1; */ + rtb_Y_o_idx_3 = 1; + } else { + /* : else */ + /* : sensor = sensor_duct_foot1; */ + Eva_F_tg = Duct4_F; + + /* : duct_select_index_dbg = 0; */ + rtb_Y_o_idx_3 = 0; + } + + /* : else */ + /* : if foot1_actuator_pos >= 20 */ + } else if (rtb_MultiportSwitch_fd[6] >= 20) { + /* : sensor = sensor_duct_foot1; */ + Eva_F_tg = Duct4_F; + + /* : duct_select_index_dbg = 0; */ + rtb_Y_o_idx_3 = 0; + + /* : else */ + /* : if foot2_actuator_pos >= 30 */ + } else if (rtb_MultiportSwitch_fd[7] >= 30) { + /* : sensor = sensor_duct_foot2; */ + Eva_F_tg = Duct4_R; + + /* : duct_select_index_dbg = 1; */ + rtb_Y_o_idx_3 = 1; + } else { + /* : else */ + /* : sensor = sensor_duct_foot1; */ + Eva_F_tg = Duct4_F; + + /* : duct_select_index_dbg = 0; */ + rtb_Y_o_idx_3 = 0; + } + + /* End of MATLAB Function: '/choose sensor FRightLower' */ + + /* MATLAB Function: '/MATLAB Function3' incorporates: + * Constant: '/Constant101' + * Constant: '/Constant102' + * Constant: '/Constant42' + * Constant: '/Constant86' + * Constant: '/Constant87' + * DataStoreRead: '/Data Store Read34' + * DataTypeConversion: '/Data Type Conversion37' + * DataTypeConversion: '/Data Type Conversion38' */ - MATLABFunction_m((double)rtb_y_he, (double)rtb_DataTypeConversion1_oq, - rtb_Gain17, (double)g_assPID_VALVE_FRONT_LOW[0] / 100.0, - (double)g_assPID_VALVE_FRONT_LOW[1] / 1000.0, (double) + MATLABFunction_m((double)rtb_FLU_tg_correct_ot, (double)Eva_F_tg, rtb_Gain17, + (double)g_assPID_VALVE_FRONT_LOW[0] / 100.0, (double) + g_assPID_VALVE_FRONT_LOW[1] / 1000.0, (double) g_assPID_VALVE_FRONT_LOW[2] / 100.0, (double) g_assPID_VALVE_FRONT_LOW[3] / 10.0, (double) - g_assPID_VALVE_FRONT_LOW[4] / 10.0, &rtb_output_n, - &rtb_output_e, &rtb_Add_p4, &rtb_Divide11, - &rtDW.sf_MATLABFunction3); + g_assPID_VALVE_FRONT_LOW[4] / 10.0, &rtb_output_j, + &rtb_output_it, &rtb_Divide5, &rtb_output_h, + &rtDW.sf_MATLABFunction3_i); - /* Gain: '/Gain25' */ - rtb_Gain25 = 10.0 * rtb_Add_p4; + /* Gain: '/Gain25' */ + rtb_uDLookupTable3_bz = 10.0 * rtb_Divide5; - /* Gain: '/Gain26' */ - rtb_Gain26 = 10.0 * rtb_Divide11; + /* Gain: '/Gain26' */ + rtb_uDLookupTable4_en = 10.0 * rtb_output_h; - /* Bias: '/Add Constant9' incorporates: - * Gain: '/Gain24' + /* Bias: '/Add Constant9' incorporates: + * Gain: '/Gain24' */ - rtb_Add_p4 = 10.0 * rtb_output_e + 2048.0; + rtb_Divide5 = 10.0 * rtb_output_it + 2048.0; - /* Saturate: '/Saturation25' */ - if (rtb_Add_p4 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* Saturate: '/Saturation25' */ + if (rtb_Divide5 > 4095.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.P_FRL = 4095U; - } else if (rtb_Add_p4 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + } else if (rtb_Divide5 < 0.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.P_FRL = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.dbg_PIDValve_model.P_FRL = (uint16_t)rtb_Add_p4; + rtDW.dbg_PIDValve_model.P_FRL = (uint16_t)rtb_Divide5; } - /* End of Saturate: '/Saturation25' */ + /* End of Saturate: '/Saturation25' */ - /* MATLAB Function: '/MATLAB Function4' incorporates: - * Constant: '/Constant103' - * Constant: '/Constant104' - * Constant: '/Constant89' - * Constant: '/Constant90' - * Constant: '/Constant91' - * DataStoreRead: '/Data Store Read39' - * DataStoreRead: '/Data Store Read40' - * DataTypeConversion: '/Data Type Conversion39' - * DataTypeConversion: '/Data Type Conversion40' + /* MATLAB Function: '/MATLAB Function4' incorporates: + * Constant: '/Constant103' + * Constant: '/Constant104' + * Constant: '/Constant89' + * Constant: '/Constant90' + * Constant: '/Constant91' + * DataStoreRead: '/Data Store Read39' + * DataStoreRead: '/Data Store Read40' + * DataTypeConversion: '/Data Type Conversion39' + * DataTypeConversion: '/Data Type Conversion40' */ - MATLABFunction_m((double)rtb_Merge_b, (double)rtb_X, rtb_Gain17, (double) - g_assPID_VALVE_REAR[0] / 100.0, (double)g_assPID_VALVE_REAR[1] - / 1000.0, (double)g_assPID_VALVE_REAR[2] / 100.0, (double) - g_assPID_VALVE_REAR[3] / 10.0, (double)g_assPID_VALVE_REAR[4] - / 10.0, &rtb_output_e, &rtb_Divide11, &rtb_Add_p4, - &rtb_Divide10, &rtDW.sf_MATLABFunction4); - - /* Gain: '/Gain28' */ - rtb_Gain28 = 10.0 * rtb_Add_p4; - - /* Gain: '/Gain29' */ - rtb_Gain29 = 10.0 * rtb_Divide10; - - /* Bias: '/Add Constant14' incorporates: - * Gain: '/Gain27' - */ - rtb_Add_p4 = 10.0 * rtb_Divide11 + 2048.0; - - /* Saturate: '/Saturation28' */ - if (rtb_Add_p4 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.dbg_PIDValve_model.P_RL = 4095U; - } else if (rtb_Add_p4 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.dbg_PIDValve_model.P_RL = 0U; - } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' - */ - rtDW.dbg_PIDValve_model.P_RL = (uint16_t)rtb_Add_p4; - } - - /* End of Saturate: '/Saturation28' */ - - /* MATLAB Function: '/MATLAB Function5' incorporates: - * Constant: '/Constant105' - * Constant: '/Constant106' - * Constant: '/Constant88' - * Constant: '/Constant92' - * Constant: '/Constant93' - * DataStoreRead: '/Data Store Read38' - * DataStoreRead: '/Data Store Read41' - * DataTypeConversion: '/Data Type Conversion41' - * DataTypeConversion: '/Data Type Conversion42' - */ - MATLABFunction_m((double)rtDW.Duct_RR_Tg, (double)rtb_MultiportSwitch_ac, + MATLABFunction_m((double)rtb_Merge_b, (double)rtb_FLU_tg_correct_aa, rtb_Gain17, (double)g_assPID_VALVE_REAR[0] / 100.0, (double) g_assPID_VALVE_REAR[1] / 1000.0, (double)g_assPID_VALVE_REAR [2] / 100.0, (double)g_assPID_VALVE_REAR[3] / 10.0, (double) - g_assPID_VALVE_REAR[4] / 10.0, &rtb_Divide11, &rtb_Divide10, - &rtb_Add_p4, &rtb_D, &rtDW.sf_MATLABFunction5); + g_assPID_VALVE_REAR[4] / 10.0, &rtb_output_it, &rtb_output_h, + &rtb_Divide5, &rtb_P, &rtDW.sf_MATLABFunction4_e); - /* Gain: '/Gain31' */ - rtb_Gain17 = 10.0 * rtb_Add_p4; + /* Gain: '/Gain28' */ + rtb_Gain28 = 10.0 * rtb_Divide5; - /* Switch: '/Switch13' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant97' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read76' - * RelationalOperator: '/Relational Operator2' - * Switch: '/Switch' + /* Gain: '/Gain29' */ + rtb_Gain29 = 10.0 * rtb_P; + + /* Bias: '/Add Constant14' incorporates: + * Gain: '/Gain27' */ - if (rtDW.CCU_AC_MAX > 0) { - min_side_L = 0U; - } else if (rtDW.LO_HI_MODE_FL == 1) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + rtb_Divide5 = 10.0 * rtb_output_h + 2048.0; + + /* Saturate: '/Saturation28' */ + if (rtb_Divide5 > 4095.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - min_side_L = 0U; + rtDW.dbg_PIDValve_model.P_RL = 4095U; + } else if (rtb_Divide5 < 0.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' + */ + rtDW.dbg_PIDValve_model.P_RL = 0U; } else { - /* DataTypeConversion: '/Data Type Conversion28' incorporates: - * Switch: '/Switch' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtb_Add_p4 = fabs(rtb_output_f); - if (rtb_Add_p4 < 4.503599627370496E+15) { - if (rtb_Add_p4 >= 0.5) { + rtDW.dbg_PIDValve_model.P_RL = (uint16_t)rtb_Divide5; + } + + /* End of Saturate: '/Saturation28' */ + + /* MATLAB Function: '/MATLAB Function5' incorporates: + * Constant: '/Constant105' + * Constant: '/Constant106' + * Constant: '/Constant88' + * Constant: '/Constant92' + * Constant: '/Constant93' + * DataStoreRead: '/Data Store Read38' + * DataStoreRead: '/Data Store Read41' + * DataTypeConversion: '/Data Type Conversion41' + * DataTypeConversion: '/Data Type Conversion42' + */ + MATLABFunction_m((double)rtDW.Duct_RR_Tg, (double)rtb_Switch2_ho, rtb_Gain17, + (double)g_assPID_VALVE_REAR[0] / 100.0, (double) + g_assPID_VALVE_REAR[1] / 1000.0, (double)g_assPID_VALVE_REAR + [2] / 100.0, (double)g_assPID_VALVE_REAR[3] / 10.0, (double) + g_assPID_VALVE_REAR[4] / 10.0, &rtb_output_h, &rtb_P, + &rtb_Divide5, &rtb_D, &rtDW.sf_MATLABFunction5_oj); + + /* Gain: '/Gain31' */ + rtb_Gain17 = 10.0 * rtb_Divide5; + + /* Switch: '/Switch3' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read76' + * RelationalOperator: '/Relational Operator2' + * Switch: '/Switch' + * Switch: '/Switch13' + */ + if (rtDW.REST_is_active) { + Index_mode_FR_manual = 100U; + } else if (rtDW.CCU_AC_MAX > 0) { + /* Switch: '/Switch13' incorporates: + * Constant: '/Constant97' + */ + Index_mode_FR_manual = 0U; + } else if (rtDW.LO_HI_MODE_FL == 1) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Switch: '/Switch13' + */ + Index_mode_FR_manual = 0U; + } else { + /* DataTypeConversion: '/Data Type Conversion28' incorporates: + * Switch: '/Switch' + * Switch: '/Switch13' + */ + rtb_Divide5 = fabs(rtb_output_f); + if (rtb_Divide5 < 4.503599627370496E+15) { + if (rtb_Divide5 >= 0.5) { rtb_output_f = floor(rtb_output_f + 0.5); } else { rtb_output_f = 0.0; } } - /* Saturate: '/Saturation10' incorporates: - * DataTypeConversion: '/Data Type Conversion28' - * Switch: '/Switch' + /* Saturate: '/Saturation10' incorporates: + * DataTypeConversion: '/Data Type Conversion28' + * Switch: '/Switch' + * Switch: '/Switch13' */ if ((uint8_t)rtb_output_f <= 100) { - min_side_L = (uint8_t)rtb_output_f; + Index_mode_FR_manual = (uint8_t)rtb_output_f; } else { - min_side_L = 100U; + Index_mode_FR_manual = 100U; } - /* End of Saturate: '/Saturation10' */ + /* End of Saturate: '/Saturation10' */ } - /* End of Switch: '/Switch13' */ + /* End of Switch: '/Switch3' */ - /* Logic: '/Logical Operator1' incorporates: - * DataStoreRead: '/Data Store Read1' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator1' + /* Logic: '/Logical Operator1' incorporates: + * DataStoreRead: '/Data Store Read1' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator1' */ - rtb_Compare_e = !rtDW.EAC_OR_FIRE_is_active; + rtb_Compare_e1 = !rtDW.EAC_OR_FIRE_is_active; - /* Outputs for Enabled SubSystem: '/PID_TempFLL' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/PID_TempFLL' incorporates: + * EnablePort: '/Enable' */ - /* Logic: '/Logical Operator' incorporates: - * DataStoreRead: '/Data Store Read' - * Logic: '/Logical Operator1' + /* Logic: '/Logical Operator' incorporates: + * DataStoreRead: '/Data Store Read' + * Logic: '/Logical Operator1' */ - if (rtb_Compare_e || CCU_AC_FRONT_req_summary) { - /* DataStoreWrite: '/Data Store Write14' */ - rtDW.PID_TempFLL = min_side_L; + if (rtb_Compare_e1 || CCU_AC_FRONT_req_summary) { + /* DataStoreWrite: '/Data Store Write14' */ + rtDW.PID_TempFLL = Index_mode_FR_manual; } - /* End of Logic: '/Logical Operator' */ - /* End of Outputs for SubSystem: '/PID_TempFLL' */ + /* End of Logic: '/Logical Operator' */ + /* End of Outputs for SubSystem: '/PID_TempFLL' */ - /* Switch: '/Switch14' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant97' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read76' - * RelationalOperator: '/Relational Operator2' - * Switch: '/Switch' + /* Switch: '/Switch4' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read76' + * RelationalOperator: '/Relational Operator2' + * Switch: '/Switch' + * Switch: '/Switch14' */ - if (rtDW.CCU_AC_MAX > 0) { - min_side_L = 0U; + if (rtDW.REST_is_active) { + Index_mode_FR_manual = 100U; + } else if (rtDW.CCU_AC_MAX > 0) { + /* Switch: '/Switch14' incorporates: + * Constant: '/Constant97' + */ + Index_mode_FR_manual = 0U; } else if (rtDW.LO_HI_MODE_FR == 1) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Switch: '/Switch14' */ - min_side_L = 0U; + Index_mode_FR_manual = 0U; } else { - /* DataTypeConversion: '/Data Type Conversion27' incorporates: - * Switch: '/Switch' + /* DataTypeConversion: '/Data Type Conversion27' incorporates: + * Switch: '/Switch' + * Switch: '/Switch14' */ - rtb_Add_p4 = fabs(rtb_output_n); - if (rtb_Add_p4 < 4.503599627370496E+15) { - if (rtb_Add_p4 >= 0.5) { - rtb_output_n = floor(rtb_output_n + 0.5); + rtb_Divide5 = fabs(rtb_output_j); + if (rtb_Divide5 < 4.503599627370496E+15) { + if (rtb_Divide5 >= 0.5) { + rtb_output_j = floor(rtb_output_j + 0.5); } else { - rtb_output_n = 0.0; + rtb_output_j = 0.0; } } - /* Saturate: '/Saturation11' incorporates: - * DataTypeConversion: '/Data Type Conversion27' - * Switch: '/Switch' + /* Saturate: '/Saturation11' incorporates: + * DataTypeConversion: '/Data Type Conversion27' + * Switch: '/Switch' + * Switch: '/Switch14' */ - if ((uint8_t)rtb_output_n <= 100) { - min_side_L = (uint8_t)rtb_output_n; + if ((uint8_t)rtb_output_j <= 100) { + Index_mode_FR_manual = (uint8_t)rtb_output_j; } else { - min_side_L = 100U; + Index_mode_FR_manual = 100U; } - /* End of Saturate: '/Saturation11' */ + /* End of Saturate: '/Saturation11' */ } - /* End of Switch: '/Switch14' */ + /* End of Switch: '/Switch4' */ - /* Outputs for Enabled SubSystem: '/PID_TempFRL' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/PID_TempFRL' incorporates: + * EnablePort: '/Enable' */ - /* Logic: '/Logical Operator' incorporates: - * DataStoreRead: '/Data Store Read' + /* Logic: '/Logical Operator' incorporates: + * DataStoreRead: '/Data Store Read' */ - if (rtb_Compare_e || Enable_Comp_PID) { - /* DataStoreWrite: '/Data Store Write13' */ - rtDW.PID_TempFRL = min_side_L; + if (rtb_Compare_e1 || Enable_Comp_PID) { + /* DataStoreWrite: '/Data Store Write13' */ + rtDW.PID_TempFRL = Index_mode_FR_manual; } - /* End of Logic: '/Logical Operator' */ - /* End of Outputs for SubSystem: '/PID_TempFRL' */ + /* End of Logic: '/Logical Operator' */ + /* End of Outputs for SubSystem: '/PID_TempFRL' */ - /* Switch: '/Switch12' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant97' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read76' - * RelationalOperator: '/Relational Operator2' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read76' + * RelationalOperator: '/Relational Operator2' + * Switch: '/Switch' + * Switch: '/Switch12' */ - if (rtDW.CCU_AC_MAX > 0) { - min_side_L = 0U; + if (rtDW.REST_is_active) { + Index_mode_FR_manual = 100U; + } else if (rtDW.CCU_AC_MAX > 0) { + /* Switch: '/Switch12' incorporates: + * Constant: '/Constant97' + */ + Index_mode_FR_manual = 0U; } else if (rtDW.LO_HI_MODE_FL == 1) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Switch: '/Switch12' */ - min_side_L = 0U; + Index_mode_FR_manual = 0U; } else { - /* DataTypeConversion: '/Data Type Conversion26' incorporates: - * Switch: '/Switch' + /* DataTypeConversion: '/Data Type Conversion26' incorporates: + * Switch: '/Switch' + * Switch: '/Switch12' */ - rtb_Add_p4 = fabs(rtb_output_a); - if (rtb_Add_p4 < 4.503599627370496E+15) { - if (rtb_Add_p4 >= 0.5) { - rtb_output_a = floor(rtb_output_a + 0.5); - } else { - rtb_output_a = 0.0; - } - } - - /* Saturate: '/Saturation9' incorporates: - * DataTypeConversion: '/Data Type Conversion26' - * Switch: '/Switch' - */ - if ((uint8_t)rtb_output_a <= 100) { - min_side_L = (uint8_t)rtb_output_a; - } else { - min_side_L = 100U; - } - - /* End of Saturate: '/Saturation9' */ - } - - /* End of Switch: '/Switch12' */ - - /* Outputs for Enabled SubSystem: '/PID_TempFUL' incorporates: - * EnablePort: '/Enable' - */ - /* Logic: '/Logical Operator' incorporates: - * DataStoreRead: '/Data Store Read' - */ - if (rtb_Compare_e || CCU_AC_FRONT_req_summary) { - /* DataStoreWrite: '/Data Store Write12' */ - rtDW.PID_TempFUL = min_side_L; - } - - /* End of Logic: '/Logical Operator' */ - /* End of Outputs for SubSystem: '/PID_TempFUL' */ - - /* Switch: '/Switch11' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant97' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read76' - * RelationalOperator: '/Relational Operator2' - * Switch: '/Switch' - */ - if (rtDW.CCU_AC_MAX > 0) { - min_side_L = 0U; - } else if (rtDW.LO_HI_MODE_FR == 1) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - */ - min_side_L = 0U; - } else { - /* DataTypeConversion: '/Data Type Conversion34' incorporates: - * Switch: '/Switch' - */ - rtb_Add_p4 = fabs(rtb_output); - if (rtb_Add_p4 < 4.503599627370496E+15) { - if (rtb_Add_p4 >= 0.5) { + rtb_Divide5 = fabs(rtb_output); + if (rtb_Divide5 < 4.503599627370496E+15) { + if (rtb_Divide5 >= 0.5) { rtb_output = floor(rtb_output + 0.5); } else { rtb_output = 0.0; } } - /* Saturate: '/Saturation14' incorporates: - * DataTypeConversion: '/Data Type Conversion34' - * Switch: '/Switch' + /* Saturate: '/Saturation9' incorporates: + * DataTypeConversion: '/Data Type Conversion26' + * Switch: '/Switch' + * Switch: '/Switch12' */ if ((uint8_t)rtb_output <= 100) { - min_side_L = (uint8_t)rtb_output; + Index_mode_FR_manual = (uint8_t)rtb_output; } else { - min_side_L = 100U; + Index_mode_FR_manual = 100U; } - /* End of Saturate: '/Saturation14' */ - } - - /* End of Switch: '/Switch11' */ - - /* Outputs for Enabled SubSystem: '/PID_TempFUR' incorporates: - * EnablePort: '/Enable' - */ - /* Logic: '/Logical Operator' incorporates: - * DataStoreRead: '/Data Store Read' - */ - if (rtb_Compare_e || Enable_Comp_PID) { - /* DataStoreWrite: '/Data Store Write17' */ - rtDW.PID_TempFUR = min_side_L; - } - - /* End of Logic: '/Logical Operator' */ - /* End of Outputs for SubSystem: '/PID_TempFUR' */ - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * RelationalOperator: '/Relational Operator2' - */ - if (rtDW.LO_HI_MODE_RL == 1) { - min_side_L = 0U; - } else { - /* DataTypeConversion: '/Data Type Conversion31' */ - rtb_Add_p4 = fabs(rtb_output_e); - if (rtb_Add_p4 < 4.503599627370496E+15) { - if (rtb_Add_p4 >= 0.5) { - rtb_output_e = floor(rtb_output_e + 0.5); - } else { - rtb_output_e = 0.0; - } - } - - /* Saturate: '/Saturation12' incorporates: - * DataTypeConversion: '/Data Type Conversion31' - */ - if ((uint8_t)rtb_output_e <= 100) { - min_side_L = (uint8_t)rtb_output_e; - } else { - min_side_L = 100U; - } - - /* End of Saturate: '/Saturation12' */ - } - - /* End of Switch: '/Switch' */ - - /* Outputs for Enabled SubSystem: '/PID_TempRL' incorporates: - * EnablePort: '/Enable' - */ - /* Logic: '/Logical Operator' incorporates: - * DataStoreRead: '/Data Store Read' - */ - if (rtb_Compare_e || Duct1_R_error) { - /* DataStoreWrite: '/Data Store Write16' */ - rtDW.PID_TempRL = min_side_L; - } - - /* End of Logic: '/Logical Operator' */ - /* End of Outputs for SubSystem: '/PID_TempRL' */ - - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read1' - * RelationalOperator: '/Relational Operator2' - */ - if (rtDW.LO_HI_MODE_RR == 1) { - min_side_L = 0U; - } else { - /* DataTypeConversion: '/Data Type Conversion30' */ - rtb_Add_p4 = fabs(rtb_Divide11); - if (rtb_Add_p4 < 4.503599627370496E+15) { - if (rtb_Add_p4 >= 0.5) { - rtb_Divide11 = floor(rtb_Divide11 + 0.5); - } else { - rtb_Divide11 = 0.0; - } - } - - /* Saturate: '/Saturation13' incorporates: - * DataTypeConversion: '/Data Type Conversion30' - */ - if ((uint8_t)rtb_Divide11 <= 100) { - min_side_L = (uint8_t)rtb_Divide11; - } else { - min_side_L = 100U; - } - - /* End of Saturate: '/Saturation13' */ - } - - /* End of Switch: '/Switch' */ - - /* Outputs for Enabled SubSystem: '/PID_TempRR' incorporates: - * EnablePort: '/Enable' - */ - /* Logic: '/Logical Operator' incorporates: - * DataStoreRead: '/Data Store Read' - */ - if (rtb_Compare_e || Duct2_R_error) { - /* DataStoreWrite: '/Data Store Write15' */ - rtDW.PID_TempRR = min_side_L; - } - - /* End of Logic: '/Logical Operator' */ - /* End of Outputs for SubSystem: '/PID_TempRR' */ - - /* RelationalOperator: '/Equal' incorporates: - * Constant: '/Full mode' - * DataStoreRead: '/Data Store Read64' - */ - rtb_RelationalOperator2_p = (i == 3); - - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read5' - * Product: '/Divide' - * Sum: '/Add' - * Switch: '/Если включен режим REST' - */ - if (rtb_RelationalOperator2_p) { - rtb_Add_p4 = (double)(rtb_Saturation_as + Gain1) / 4.0; - } else if (rtDW.REST_is_active > 0.0) { - /* Switch: '/Если включен режим REST' incorporates: - * DataStoreRead: '/Data Store Read8' - */ - rtb_Add_p4 = rtDW.REST_blower_PWM_F; - } else { - rtb_Add_p4 = 0.0; + /* End of Saturate: '/Saturation9' */ } /* End of Switch: '/Switch2' */ - /* DataTypeConversion: '/Data Type Conversion1' */ - min_side_L = (uint8_t)rtb_Add_p4; - - /* Switch: '/Switch4' incorporates: - * Constant: '/Constant7' + /* Outputs for Enabled SubSystem: '/PID_TempFUL' incorporates: + * EnablePort: '/Enable' */ - if (rtb_RelationalOperator2_p) { - /* Switch: '/Switch6' incorporates: - * Constant: '/Constant2' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read6' - * DataStoreRead: '/Data Store Read7' - * DataStoreWrite: '/Data Store Write2' - * Product: '/Divide1' - * Sum: '/Add1' - */ - if (rtDW.DifferentBlower_Rear_isActive) { - rtb_Add_p4 = rtB.PWM; - } else { - rtb_Add_p4 = (double)(rtb_out_fr3 + rtb_out_fm3) / 4.0; - } - - /* End of Switch: '/Switch6' */ - } else { - rtb_Add_p4 = 0.0; + /* Logic: '/Logical Operator' incorporates: + * DataStoreRead: '/Data Store Read' + */ + if (rtb_Compare_e1 || CCU_AC_FRONT_req_summary) { + /* DataStoreWrite: '/Data Store Write12' */ + rtDW.PID_TempFUL = Index_mode_FR_manual; } - /* End of Switch: '/Switch4' */ + /* End of Logic: '/Logical Operator' */ + /* End of Outputs for SubSystem: '/PID_TempFUL' */ - /* Outputs for Atomic SubSystem: '/BlowerLimit - by battery status and battery temp' */ - /* Gain: '/Gain' incorporates: - * DataTypeConversion: '/Data Type Conversion2' + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read76' + * RelationalOperator: '/Relational Operator2' + * Switch: '/Switch' + * Switch: '/Switch11' */ - rtb_Saturation2 = (uint16_t)(10U * (uint8_t)rtb_Add_p4); + if (rtDW.REST_is_active) { + Index_mode_FR_manual = 100U; + } else if (rtDW.CCU_AC_MAX > 0) { + /* Switch: '/Switch11' incorporates: + * Constant: '/Constant97' + */ + Index_mode_FR_manual = 0U; + } else if (rtDW.LO_HI_MODE_FR == 1) { + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Switch: '/Switch11' + */ + Index_mode_FR_manual = 0U; + } else { + /* DataTypeConversion: '/Data Type Conversion34' incorporates: + * Switch: '/Switch' + * Switch: '/Switch11' + */ + rtb_Divide5 = fabs(rtb_Divide10); + if (rtb_Divide5 < 4.503599627370496E+15) { + if (rtb_Divide5 >= 0.5) { + rtb_Divide10 = floor(rtb_Divide10 + 0.5); + } else { + rtb_Divide10 = 0.0; + } + } - /* Gain: '/Gain1' */ - rtb_out_fhd = (uint16_t)(10U * min_side_L); + /* Saturate: '/Saturation14' incorporates: + * DataTypeConversion: '/Data Type Conversion34' + * Switch: '/Switch' + * Switch: '/Switch11' + */ + if ((uint8_t)rtb_Divide10 <= 100) { + Index_mode_FR_manual = (uint8_t)rtb_Divide10; + } else { + Index_mode_FR_manual = 100U; + } - /* MATLAB Function: '/blowerControlBySOC' incorporates: - * Constant: '/auto1' - * Constant: '/auto12' - * Constant: '/auto2' - * Constant: '/auto3' + /* End of Saturate: '/Saturation14' */ + } + + /* End of Switch: '/Switch1' */ + + /* Outputs for Enabled SubSystem: '/PID_TempFUR' incorporates: + * EnablePort: '/Enable' + */ + /* Logic: '/Logical Operator' incorporates: + * DataStoreRead: '/Data Store Read' + */ + if (rtb_Compare_e1 || Enable_Comp_PID) { + /* DataStoreWrite: '/Data Store Write17' */ + rtDW.PID_TempFUR = Index_mode_FR_manual; + } + + /* End of Logic: '/Logical Operator' */ + /* End of Outputs for SubSystem: '/PID_TempFUR' */ + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * RelationalOperator: '/Relational Operator2' + */ + if (rtDW.LO_HI_MODE_RL == 1) { + Index_mode_FR_manual = 0U; + } else { + /* DataTypeConversion: '/Data Type Conversion31' */ + rtb_Divide5 = fabs(rtb_output_it); + if (rtb_Divide5 < 4.503599627370496E+15) { + if (rtb_Divide5 >= 0.5) { + rtb_output_it = floor(rtb_output_it + 0.5); + } else { + rtb_output_it = 0.0; + } + } + + /* Saturate: '/Saturation12' incorporates: + * DataTypeConversion: '/Data Type Conversion31' + */ + if ((uint8_t)rtb_output_it <= 100) { + Index_mode_FR_manual = (uint8_t)rtb_output_it; + } else { + Index_mode_FR_manual = 100U; + } + + /* End of Saturate: '/Saturation12' */ + } + + /* End of Switch: '/Switch' */ + + /* Outputs for Enabled SubSystem: '/PID_TempRL' incorporates: + * EnablePort: '/Enable' + */ + /* Logic: '/Logical Operator' incorporates: + * DataStoreRead: '/Data Store Read' + */ + if (rtb_Compare_e1 || Duct1_R_error) { + /* DataStoreWrite: '/Data Store Write16' */ + rtDW.PID_TempRL = Index_mode_FR_manual; + } + + /* End of Logic: '/Logical Operator' */ + /* End of Outputs for SubSystem: '/PID_TempRL' */ + + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read1' + * RelationalOperator: '/Relational Operator2' + */ + if (rtDW.LO_HI_MODE_RR == 1) { + Index_mode_FR_manual = 0U; + } else { + /* DataTypeConversion: '/Data Type Conversion30' */ + rtb_Divide5 = fabs(rtb_output_h); + if (rtb_Divide5 < 4.503599627370496E+15) { + if (rtb_Divide5 >= 0.5) { + rtb_output_h = floor(rtb_output_h + 0.5); + } else { + rtb_output_h = 0.0; + } + } + + /* Saturate: '/Saturation13' incorporates: + * DataTypeConversion: '/Data Type Conversion30' + */ + if ((uint8_t)rtb_output_h <= 100) { + Index_mode_FR_manual = (uint8_t)rtb_output_h; + } else { + Index_mode_FR_manual = 100U; + } + + /* End of Saturate: '/Saturation13' */ + } + + /* End of Switch: '/Switch' */ + + /* Outputs for Enabled SubSystem: '/PID_TempRR' incorporates: + * EnablePort: '/Enable' + */ + /* Logic: '/Logical Operator' incorporates: + * DataStoreRead: '/Data Store Read' + */ + if (rtb_Compare_e1 || Duct2_R_error) { + /* DataStoreWrite: '/Data Store Write15' */ + rtDW.PID_TempRR = Index_mode_FR_manual; + } + + /* End of Logic: '/Logical Operator' */ + /* End of Outputs for SubSystem: '/PID_TempRR' */ + + /* MATLAB Function: '/REST is ON' incorporates: + * DataStoreRead: '/Data Store Read' + */ + RESTisON(rtDW.RestMode_mode, &rtb_RelationalOperator6_f); + + /* Logic: '/Logical Operator' incorporates: + * Constant: '/Full mode' + * DataStoreRead: '/Data Store Read64' + * RelationalOperator: '/Equal' + */ + rtb_Compare_i5 = ((i == 3) || rtb_RelationalOperator6_f); + + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant' + * Constant: '/Constant5' + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read11' + * Product: '/Divide' + * Sum: '/Add' + */ + if (rtb_Compare_i5) { + rtb_Divide5 = (double)(rtb_Saturation_as + rtb_Saturation2) / 4.0; + } else { + rtb_Divide5 = 0.0; + } + + /* End of Switch: '/Switch2' */ + + /* DataTypeConversion: '/Data Type Conversion1' */ + Index_mode_FR_manual = (uint8_t)rtb_Divide5; + + /* Switch: '/Switch4' incorporates: + * Constant: '/Constant7' + */ + if (rtb_Compare_i5) { + /* Switch: '/Switch6' incorporates: + * Constant: '/Constant2' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read7' + * DataStoreWrite: '/Data Store Write2' + * Product: '/Divide1' + * Sum: '/Add1' + */ + if (rtDW.DifferentBlower_Rear_isActive) { + rtb_Divide5 = rtB.PWM; + } else { + rtb_Divide5 = (double)(rtb_out_ew5 + rtb_out_ip) / 4.0; + } + + /* End of Switch: '/Switch6' */ + } else { + rtb_Divide5 = 0.0; + } + + /* End of Switch: '/Switch4' */ + + /* Outputs for Atomic SubSystem: '/BlowerLimit - by battery status and battery temp' */ + /* Gain: '/Gain' incorporates: + * DataTypeConversion: '/Data Type Conversion2' + */ + Gain1 = (uint16_t)(10U * (uint8_t)rtb_Divide5); + + /* Gain: '/Gain1' */ + rtb_out_ihi = (uint16_t)(10U * Index_mode_FR_manual); + + /* MATLAB Function: '/blowerControlBySOC' incorporates: + * Constant: '/auto1' + * Constant: '/auto12' + * Constant: '/auto2' + * Constant: '/auto3' * DataStoreRead: '/Data Store Read2' * DataStoreWrite: '/Data Store Write9' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator2' */ /* : frontPWM_out = FrontPWM_in; */ - rtb_out_crw = rtb_out_fhd; + rtb_out_kez = rtb_out_ihi; /* : rearPWM_out = RearPWM_in; */ - rtb_out_fze = rtb_Saturation2; + rtb_out_cryk = Gain1; /* : if entry_conditions */ if (rtDW.CCUCAN_BCM_EEM_model.BCM_EEM_StPowMgn > 1) { - /* Lookup_n-D: '/FRONT_HVAC_LIMITED' */ + /* Lookup_n-D: '/FRONT_HVAC_LIMITED' */ /* : frontPWM_out = min(FrontPWM_in, Front_limitedPWM); */ - rtb_out_crw = look1_iu8bu16lu64n32tu16_binlcse - (rtDW.CCUCAN_BCM_EEM_model.BCM_EEM_StPowMgn, rtConstP.pooled96, + rtb_out_kez = look1_iu8bu16lu64n32tu16_binlcse + (rtDW.CCUCAN_BCM_EEM_model.BCM_EEM_StPowMgn, rtConstP.pooled97, rtConstP.FRONT_HVAC_LIMITED_tableData, 5U); - if (rtb_out_fhd <= rtb_out_crw) { - rtb_out_crw = rtb_out_fhd; + if (rtb_out_ihi <= rtb_out_kez) { + rtb_out_kez = rtb_out_ihi; } - /* Lookup_n-D: '/REAR_HVAC_LIMITED' */ + /* Lookup_n-D: '/REAR_HVAC_LIMITED' */ /* : rearPWM_out = min(RearPWM_in, Rear_limitedPWM); */ - rtb_out_fze = look1_iu8bu16lu64n32tu16_binlcse - (rtDW.CCUCAN_BCM_EEM_model.BCM_EEM_StPowMgn, rtConstP.pooled96, + rtb_out_cryk = look1_iu8bu16lu64n32tu16_binlcse + (rtDW.CCUCAN_BCM_EEM_model.BCM_EEM_StPowMgn, rtConstP.pooled97, rtConstP.REAR_HVAC_LIMITED_tableData, 5U); - if (rtb_Saturation2 <= rtb_out_fze) { - rtb_out_fze = rtb_Saturation2; + if (Gain1 <= rtb_out_cryk) { + rtb_out_cryk = Gain1; } /* : if frontPWM_out > 0 */ - if ((rtb_out_crw > 0) && (rtb_out_crw < g_ausMIN_PWM[0])) { + if ((rtb_out_kez > 0) && (rtb_out_kez < g_ausMIN_PWM[0])) { /* : frontPWM_out = max(frontPWM_out, Front_minPWM); */ - rtb_out_crw = g_ausMIN_PWM[0]; + rtb_out_kez = g_ausMIN_PWM[0]; } /* : if rearPWM_out > 0 */ - if ((rtb_out_fze > 0) && (rtb_out_fze < g_ausMIN_PWM[1])) { + if ((rtb_out_cryk > 0) && (rtb_out_cryk < g_ausMIN_PWM[1])) { /* : rearPWM_out = max(rearPWM_out, Rear_minPWM); */ - rtb_out_fze = g_ausMIN_PWM[1]; + rtb_out_cryk = g_ausMIN_PWM[1]; } } /* : if exit_conditions */ if (rtDW.CCUCAN_BCM_EEM_model.BCM_EEM_StPowMgn <= 1) { /* : frontPWM_out = FrontPWM_in; */ - rtb_out_crw = rtb_out_fhd; + rtb_out_kez = rtb_out_ihi; /* : rearPWM_out = RearPWM_in; */ - rtb_out_fze = rtb_Saturation2; + rtb_out_cryk = Gain1; } - /* RelationalOperator: '/Relational Operator3' incorporates: - * Constant: '/auto6' - * DataStoreRead: '/Data Store Read3' + /* RelationalOperator: '/Relational Operator3' incorporates: + * Constant: '/auto6' + * DataStoreRead: '/Data Store Read3' */ - Duct3_R_error = (rtb_Switch6_c < 43); + rtb_Compare_eu = (BMS_ActualTemp_Val_ro < 43); - /* MATLAB Function: '/blowerLimitByBattTemp' incorporates: - * Constant: '/auto10' - * Constant: '/auto11' - * Constant: '/auto7' - * Constant: '/auto8' - * DataStoreRead: '/Data Store Read3' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * MATLAB Function: '/blowerControlBySOC' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Relational Operator5' - * RelationalOperator: '/Relational Operator7' - * RelationalOperator: '/Relational Operator8' + /* MATLAB Function: '/blowerLimitByBattTemp' incorporates: + * Constant: '/auto10' + * Constant: '/auto11' + * Constant: '/auto7' + * Constant: '/auto8' + * DataStoreRead: '/Data Store Read3' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * MATLAB Function: '/blowerControlBySOC' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Relational Operator5' + * RelationalOperator: '/Relational Operator7' + * RelationalOperator: '/Relational Operator8' */ /* : if isempty(is_active_persistent_front) */ /* : frontPWM_out = FrontPWM_in; */ /* : rearPWM_out = RearPWM_in; */ /* : if entry_conditions_front && is_active_persistent_front == false */ - if (rtb_RelationalOperator2_p && (rtb_out_crw > 400) && (rtb_Switch6_c >= 45) && + if (rtb_Compare_i5 && (rtb_out_kez > 400) && (BMS_ActualTemp_Val_ro >= 45) && (!rtDW.is_active_persistent_front)) { /* : is_active_persistent_front = true; */ rtDW.is_active_persistent_front = true; } /* : if entry_conditions_rear && is_active_persistent_rear == false */ - if (rtb_RelationalOperator2_p && (rtb_out_fze > 400) && (rtb_Switch6_c >= 45) && + if (rtb_Compare_i5 && (rtb_out_cryk > 400) && (BMS_ActualTemp_Val_ro >= 45) && (!rtDW.is_active_persistent_rear)) { /* : is_active_persistent_rear = true; */ rtDW.is_active_persistent_rear = true; } /* : if exit_conditions && is_active_persistent_front == true */ - if (Duct3_R_error && rtDW.is_active_persistent_front) { + if (rtb_Compare_eu && rtDW.is_active_persistent_front) { /* : is_active_persistent_front = false; */ rtDW.is_active_persistent_front = false; } /* : if exit_conditions && is_active_persistent_rear == true */ - if (Duct3_R_error && rtDW.is_active_persistent_rear) { + if (rtb_Compare_eu && rtDW.is_active_persistent_rear) { /* : is_active_persistent_rear = false; */ rtDW.is_active_persistent_rear = false; } /* : if is_active_persistent_front */ - if (rtDW.is_active_persistent_front && (rtb_out_crw > 400)) { + if (rtDW.is_active_persistent_front && (rtb_out_kez > 400)) { /* : frontPWM_out = min(FrontPWM_in, Front_maxPWM); */ - rtb_out_crw = 400U; + rtb_out_kez = 400U; } /* : if is_active_persistent_rear */ - if (rtDW.is_active_persistent_rear && (rtb_out_fze > 400)) { + if (rtDW.is_active_persistent_rear && (rtb_out_cryk > 400)) { /* : rearPWM_out = min(RearPWM_in, Rear_maxPWM); */ - rtb_out_fze = 400U; + rtb_out_cryk = 400U; } - /* End of MATLAB Function: '/blowerLimitByBattTemp' */ + /* End of MATLAB Function: '/blowerLimitByBattTemp' */ - /* MATLAB Function: '/filter PWM front' incorporates: - * DataStoreRead: '/Data Store Read44' - * Gain: '/Gain2' - * Sum: '/Minus' - * UnitDelay: '/Unit Delay' + /* MATLAB Function: '/filter PWM front' incorporates: + * DataStoreRead: '/Data Store Read44' + * Gain: '/Gain2' + * Sum: '/Minus' + * UnitDelay: '/Unit Delay' */ - filterPWMfront((uint8_t)((52429U * rtb_out_crw) >> 19), rtDW.t_now - - rtDW.UnitDelay_DSTATE_bp, &rtb_DataTypeConversion1_hy, + filterPWMfront((uint8_t)((52429U * rtb_out_kez) >> 19), rtDW.t_now - + rtDW.UnitDelay_DSTATE_bp, &rtb_PWM_out_a, &rtDW.sf_filterPWMfront); - /* End of Outputs for SubSystem: '/BlowerLimit - by battery status and battery temp' */ + /* End of Outputs for SubSystem: '/BlowerLimit - by battery status and battery temp' */ - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' - * DataStoreWrite: '/Data Store Write2' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' + * DataStoreWrite: '/Data Store Write2' */ - if (rtb_DataTypeConversion1_hy > 0) { - /* Saturate: '/Saturation2' */ - if (rtb_DataTypeConversion1_hy > 80) { + if (rtb_PWM_out_a > 0) { + /* Saturate: '/Saturation2' */ + if (rtb_PWM_out_a > 80) { rtDW.PWM_front = 80U; - } else if (rtb_DataTypeConversion1_hy < 15) { + } else if (rtb_PWM_out_a < 15) { rtDW.PWM_front = 15U; } else { - rtDW.PWM_front = rtb_DataTypeConversion1_hy; + rtDW.PWM_front = rtb_PWM_out_a; } - /* End of Saturate: '/Saturation2' */ + /* End of Saturate: '/Saturation2' */ } else { rtDW.PWM_front = 0U; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Outputs for Atomic SubSystem: '/BlowerLimit - by battery status and battery temp' */ - /* MATLAB Function: '/filter PWM front1' incorporates: - * DataStoreRead: '/Data Store Read44' - * Gain: '/Gain3' - * Sum: '/Minus' - * UnitDelay: '/Unit Delay' + /* Outputs for Atomic SubSystem: '/BlowerLimit - by battery status and battery temp' */ + /* MATLAB Function: '/filter PWM rear' incorporates: + * DataStoreRead: '/Data Store Read44' + * Gain: '/Gain3' + * Sum: '/Minus' + * UnitDelay: '/Unit Delay' */ - filterPWMfront((uint8_t)((52429U * rtb_out_fze) >> 19), rtDW.t_now - + filterPWMfront((uint8_t)((52429U * rtb_out_cryk) >> 19), rtDW.t_now - rtDW.UnitDelay_DSTATE_li, &rtDW.PWM_rear, - &rtDW.sf_filterPWMfront1); + &rtDW.sf_filterPWMrear); - /* End of Outputs for SubSystem: '/BlowerLimit - by battery status and battery temp' */ + /* End of Outputs for SubSystem: '/BlowerLimit - by battery status and battery temp' */ - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant3' - * DataStoreWrite: '/Data Store Write3' + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant3' */ if (rtDW.PWM_rear > 0) { - /* Saturate: '/Saturation1' */ + /* Saturate: '/Saturation1' */ if (rtDW.PWM_rear > 80) { rtDW.PWM_rear = 80U; } else if (rtDW.PWM_rear < 15) { rtDW.PWM_rear = 15U; } - /* End of Saturate: '/Saturation1' */ + /* End of Saturate: '/Saturation1' */ } else { rtDW.PWM_rear = 0U; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* 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; PWM_Get.pwmPercentFrontReserved = 0U; PWM_Get.pwmPercentRearReserved = 0U; - /* BusCreator: '/Bus Creator' incorporates: + /* BusCreator: '/Bus Creator' incorporates: * DataStoreRead: '/Data Store Read7' - * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write1' + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write1' */ /* : if(LOGGER) */ rtDW.ModelPowerDown_model.PowerDownStatus = rtDW.CCUCAN_BCM_VEH_STATE_model.BCM_CCTermDisableWarning; - /* 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' */ rtDW.PowerEnable_Model.SW5V_EN = rtDW.SW5V_EN; rtDW.PowerEnable_Model.PBATT_CK_EN = rtDW.PBATT_CK_EN; @@ -57616,145 +60469,894 @@ void HVAC_model_step(void) rtDW.PowerEnable_Model.EN_BATTChiller = (uint8_t)(EN_BATTChiller == 0); rtDW.PowerEnable_Model.EN_PowerReserve = rtDW.EN_PowerReserve; - /* 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: '/incar motors ON' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/incar motors ON' 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: '/incar motors ON' */ + /* End of Outputs for SubSystem: '/incar motors ON' */ } else { - /* Outputs for IfAction SubSystem: '/incar motors OFF' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/incar motors OFF' 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: '/incar motors OFF' */ + /* End of Outputs for SubSystem: '/incar motors OFF' */ } - /* End of SwitchCase: '/Incar Motors' */ + /* End of SwitchCase: '/Incar Motors' */ - /* Outputs for Atomic SubSystem: '/ClimatRecirculation_by_Door_Ajar' */ - /* Switch: '/Switch' incorporates: - * Constant: '/auto1' - * Constant: '/auto11' - * Constant: '/auto12' - * Constant: '/auto13' - * Constant: '/auto14' - * Constant: '/auto15' - * Constant: '/auto2' - * Constant: '/auto3' - * Constant: '/auto4' - * Constant: '/auto5' - * Constant: '/auto6' + /* Gain: '/Gain' incorporates: + * DataStoreRead: '/Data Store Read2' + */ + rtb_Gain_ee = 10 * rtDW.ECT; + + /* Gain: '/Gain1' incorporates: + * DataStoreRead: '/Data Store Read5' + */ + Eva_F_tg = (int16_t)floor(10.0 * index_start); + + /* DataStoreRead: '/Data Store Read6' */ + Index_mode_FR_manual = rtDW.CCU_Rest_req; + + /* Outputs for Atomic SubSystem: '/REST' */ + /* DataStoreWrite: '/Data Store Write13' incorporates: + * Constant: '/Constant' + */ + rtDW.CCU_Rest_req = 0U; + + /* MATLAB Function: '/MATLAB Function' incorporates: + * DataStoreRead: '/Data Store Read1' + */ + /* : IGN_OFF = false; */ + /* : IGN_ON = true; */ + /* : if isempty(ignition_previous) */ + /* : if isempty(latch) */ + /* : if T15 == IGN_ON */ + if (rtDW.BCM_T15_Stat == 1) { + /* : latch = false; */ + rtDW.latch = false; + + /* : else */ + /* : if ignition_previous == IGN_ON */ + } else if (rtDW.ignition_previous) { + /* : latch = true; */ + rtDW.latch = true; + } + + /* : ignition_previous = boolean(T15); */ + rtDW.ignition_previous = (rtDW.BCM_T15_Stat != 0); + + /* Logic: '/AND_SUMMER' incorporates: + * Constant: '/auto8' + * Constant: '/auto9' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write9' + * MATLAB Function: '/MATLAB Function' + * RelationalOperator: '/Relational Operator5' + * RelationalOperator: '/Relational Operator8' + * RelationalOperator: '/Relational Operator9' + */ + /* : IgnitionWasTurnedOff = latch; */ + rtb_Compare_i5 = ((rtDW.AMB > g_ssRESTS_AMB) && (Eva_F_tg >= g_ssREST_BATT) && + (rtDW.CCUCAN_BCM_EEM_model.BCM_EEM_StPowMgn <= 2) && + rtDW.latch); + + /* MATLAB Function: '/MATLAB Function1' incorporates: + * Constant: '/auto20' + * Constant: '/auto21' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read3' + */ + /* : REST_MODE_NONE = uint8(0); */ + /* : MODE_ACTIVE_CONDITIONS1_SUMMER = uint8(10); */ + /* : MODE_ACTIVE_CONDITIONS2_WINTER = uint8(11); */ + /* : NO_TIMEOUT = uint32(0); */ + /* : if isempty(timeout_active) */ + if (!rtDW.timeout_active_not_empty) { + /* : timeout_active = NO_TIMEOUT; */ + rtDW.timeout_active = 0U; + rtDW.timeout_active_not_empty = true; + } + + /* : if isempty(mode_prev) */ + if (!rtDW.mode_prev_not_empty) { + /* : mode_prev = REST_MODE_NONE; */ + rtDW.mode_prev = 0U; + rtDW.mode_prev_not_empty = true; + } + + /* : if Rest_mode ~= MODE_ACTIVE_CONDITIONS1_SUMMER && Rest_mode ~= MODE_ACTIVE_CONDITIONS2_WINTER */ + if ((rtDW.RestMode_mode != 10) && (rtDW.RestMode_mode != 11)) { + /* : timeout_active = NO_TIMEOUT; */ + rtDW.timeout_active = 0U; + + /* : mode_prev = REST_MODE_NONE; */ + rtDW.mode_prev = 0U; + + /* : TimeoutRest = false; */ + rtb_Compare_eu = false; + + /* : OperatingTime = int16(0); */ + } else { + /* : if timeout_active == NO_TIMEOUT || mode_prev ~= Rest_mode */ + if ((rtDW.timeout_active == 0U) || (rtDW.mode_prev != rtDW.RestMode_mode)) { + /* : if Rest_mode == MODE_ACTIVE_CONDITIONS2_WINTER */ + switch (rtDW.RestMode_mode) { + case 11: + /* : timeout_active = t_now + uint32(WinterDuration) * 1000; */ + rtDW.timeout_active = g_usRESTW_TIMEOUTTIME * 1000U + /*MW:OvSatOk*/ + rtDW.t_now; + if (rtDW.timeout_active < rtDW.t_now) { + rtDW.timeout_active = UINT32_MAX; + } + break; + + case 10: + /* : elseif Rest_mode == MODE_ACTIVE_CONDITIONS1_SUMMER */ + /* : timeout_active = t_now + uint32(SummerDuration) * 1000; */ + rtDW.timeout_active = g_usRESTS_TIMEOUTTIME * 1000U + /*MW:OvSatOk*/ + rtDW.t_now; + if (rtDW.timeout_active < rtDW.t_now) { + rtDW.timeout_active = UINT32_MAX; + } + break; + } + + /* : mode_prev = Rest_mode; */ + rtDW.mode_prev = rtDW.RestMode_mode; + } + + /* : if timeout_active < t_now */ + if (rtDW.timeout_active < rtDW.t_now) { + /* : TimeoutRest = true; */ + rtb_Compare_eu = true; + + /* : OperatingTime = int16(0); */ + } else { + /* : OperatingTime = int16((timeout_active - t_now) / 1000); */ + /* : if OperatingTime < 0 */ + /* : TimeoutRest = false; */ + rtb_Compare_eu = false; + } + } + + /* End of MATLAB Function: '/MATLAB Function1' */ + + /* Switch: '/Switch' incorporates: + * Constant: '/auto15' + * Constant: '/auto19' + * DataStoreRead: '/Data Store Read' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator10' + */ + if (rtDW.RestMode_mode == 11) { + rtb_RelationalOperator6_f = (rtb_Gain_ee < g_assRESTW_WATER[1]); + } else { + rtb_RelationalOperator6_f = false; + } + + /* End of Switch: '/Switch' */ + + /* MATLAB Function: '/REST_Mode' incorporates: + * Constant: '/auto16' + * Constant: '/auto2' + * Constant: '/auto3' + * Constant: '/auto4' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read3' + * DataStoreWrite: '/Data Store Write9' + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write1' + * DataStoreWrite: '/Data Store Write2' + * DataStoreWrite: '/Data Store Write3' + * DataStoreWrite: '/Data Store Write4' + * DataStoreWrite: '/Data Store Write5' + * Logic: '/AND_WINTER' + * Logic: '/OR_EXIT' + * MATLAB Function: '/MATLAB Function' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Relational Operator6' + * RelationalOperator: '/Relational Operator7' + */ + b_g_ucRESTW_BLRSTEP.contents = g_ucRESTW_BLRSTEP; + b_g_ucRESTS_BLRSTEP.contents = g_ucRESTS_BLRSTEP; + b_g_aucRESTW_MODE.contents[0] = g_aucRESTW_MODE[0]; + b_g_aucRESTS_MODE.contents[0] = g_aucRESTS_MODE[0]; + b_g_aucRESTW_MODE.contents[1] = g_aucRESTW_MODE[1]; + b_g_aucRESTS_MODE.contents[1] = g_aucRESTS_MODE[1]; + CCU_STAT1_model_in.contents.CCU_ModeFL_Stat = hvacFanPwm; + CCU_STAT1_model_in.contents.CCU_ModeFR_Stat = rtb_Merge_np; + CCU_STAT1_model_in.contents.CCU_ModeRL_Stat = rtb_Merge_h; + CCU_STAT1_model_in.contents.CCU_ModeRR_Stat = rtb_Merge_md; + CCU_STAT1_model_in.contents.CCU_AutoModeFL_Stat = + rtb_Switch_k_FIU_CCmodeFL_Req; + CCU_STAT1_model_in.contents.CCU_AutoModeFR_Stat = + rtb_Switch_k_FIU_AirDirectionFL_Def_Req; + CCU_STAT1_model_in.contents.CCU_AirDirectionRL_Face_Stat = + rtb_Switch_k_FIU_AirDirectionFL_Face_Req; + CCU_STAT1_model_in.contents.CCU_AirDirectionRL_Foot_Stat = + rtb_Switch_k_FIU_AirDirectionFL_Foot_Req; + CCU_STAT1_model_in.contents.CCU_AutoModeRL_Stat = + rtb_Switch_k_FIU_CCmodeFR_Req; + CCU_STAT1_model_in.contents.CCU_AutoModeRR_Stat = + rtb_Switch_k_FIU_AirDirectionFR_Def_Req; + CCU_STAT1_model_in.contents.CCU_AirDirectionRR_Face_Stat = + rtb_Switch_k_FIU_AirDirectionFR_Face_Req; + CCU_STAT1_model_in.contents.CCU_AirDirectionRR_Foot_Stat = + rtb_Switch_k_FIU_AirDirectionFR_Foot_Req; + CCU_STAT1_model_in.contents.CCU_AirDirectionFL_Def_Stat = + rtb_Switch_k_FIU_BlowerSpeedFL_Req; + CCU_STAT1_model_in.contents.CCU_AirDirectionFL_Face_Stat = + rtb_Switch_k_FIU_BlowerSpeedFR_Req; + CCU_STAT1_model_in.contents.CCU_AirDirectionFL_Foot_Stat = + rtb_Switch_k_FIU_CCautoModeFL_Req; + CCU_STAT1_model_in.contents.CCU_AirDirectionFR_Def_Stat = + rtb_Switch_k_FIU_CCautoModeFR_Req; + CCU_STAT1_model_in.contents.CCU_AirDirectionFR_Face_Stat = + rtb_Switch_k_FIU_Recirculation_Req; + CCU_STAT1_model_in.contents.CCU_AirDirectionFR_Foot_Stat = + rtb_Switch_k_FIU_DeflectorSwDL_Req; + CCU_STAT1_model_in.contents.CCU_Recirculation_Stat = + rtb_Switch_k_FIU_DeflectorSwDR_Req; + CCU_STAT1_model_in.contents.CCU_BlowerSpeedFL_Stat = + rtb_Switch_k_FIU_ACfrontOFF_Req; + CCU_STAT1_model_in.contents.CCU_TargetTempFL_Stat_ro = + rtb_Switch_k_FIU_DeflectorSwFPL_Req; + CCU_STAT1_model_in.contents.CCU_BlowerSpeedFR_Stat = + rtb_Switch_k_FIU_DeflectorSwFPR_Req; + CCU_STAT1_model_in.contents.CCU_TargetTempFR_Stat_ro = + rtb_Switch_k_FIU_FrontZoneSync_Req; + CCU_STAT1_model_in.contents.CCU_BlowerSpeedRL_Stat = + CCU_STAT1_MODEL_CCU_BlowerSpeedRL_Stat; + CCU_STAT1_model_in.contents.CCU_TargetTempRR_Stat_ro = + CCU_STAT1_MODEL_CCU_TargetTempRR_Stat_ro; + CCU_STAT1_model_in.contents.CCU_BlowerSpeedRR_Stat = + CCU_STAT1_MODEL_CCU_BlowerSpeedRR_Stat; + CCU_STAT1_model_in.contents.CCU_TargetTempRL_Stat_ro = + CCU_STAT1_MODEL_CCU_TargetTempRL_Stat_ro; + CCU_STAT2_model_in.contents.CCU_AromaCartridgeSw_Stat = + CCU_STAT2_MODEL_CCU_AromaCartridgeSw_Stat; + CCU_STAT2_model_in.contents.CCU_FrontZoneSync_Stat = + CCU_STAT2_MODEL_CCU_FrontZoneSync_Stat; + CCU_STAT2_model_in.contents.CCU_RearZoneSync_Stat = + CCU_STAT2_MODEL_CCU_RearZoneSync_Stat; + CCU_STAT2_model_in.contents.CCU_AllZoneSync_Stat = + CCU_STAT2_MODEL_CCU_AllZoneSync_Stat; + CCU_STAT2_model_in.contents.CCU_ACfront_Stat = + CCU_STAT2_MODEL_CCU_ACfront_Stat; + CCU_STAT2_model_in.contents.CCU_ACrear_Stat = CCU_STAT2_MODEL_CCU_ACrear_Stat; + CCU_STAT2_model_in.contents.CCU_ACmaxF_Stat = CCU_STAT2_MODEL_CCU_ACmaxF_Stat; + CCU_STAT2_model_in.contents.CCU_ACmaxR_Stat = 0U; + CCU_STAT2_model_in.contents.CCU_Defrost_Stat = + CCU_STAT2_MODEL_CCU_Defrost_Stat; + CCU_STAT2_model_in.contents.CCU_Ionization_Stat = + CCU_STAT2_MODEL_CCU_Ionization_Stat; + CCU_STAT2_model_in.contents.CCU_FootTempCorFL_Stat = + CCU_STAT2_MODEL_CCU_FootTempCorFL_Stat; + CCU_STAT2_model_in.contents.CCU_FootTempCorFR_Stat = + CCU_STAT2_MODEL_CCU_FootTempCorFR_Stat; + CCU_STAT2_model_in.contents.CCU_AromaIntens_Stat = + CCU_STAT2_MODEL_CCU_AromaIntens_Stat; + CCU_STAT2_model_in.contents.CCU_FootTempCorRL_Stat = + CCU_STAT2_MODEL_CCU_FootTempCorRL_Stat; + CCU_STAT2_model_in.contents.CCU_FootTempCorRR_Stat = + CCU_STAT2_MODEL_CCU_FootTempCorRR_Stat; + CCU_STAT2_model_in.contents.CCU_DeflectorSwDL_Stat = + CCU_STAT2_MODEL_CCU_DeflectorSwDL_Stat; + CCU_STAT2_model_in.contents.CCU_DeflectorSwDR_Stat = + CCU_STAT2_MODEL_CCU_DeflectorSwDR_Stat; + CCU_STAT2_model_in.contents.CCU_DeflectorSwFPL_Stat = + CCU_STAT2_MODEL_CCU_DeflectorSwFPL_Stat; + CCU_STAT2_model_in.contents.CCU_DeflectorSwFPR_Stat = + CCU_STAT2_MODEL_CCU_DeflectorSwFPR_Stat; + CCU_STAT2_model_in.contents.CCU_DeflectorSwFCL_Stat = + CCU_STAT2_MODEL_CCU_DeflectorSwFCL_Stat; + CCU_STAT2_model_in.contents.CCU_DeflectorSwFCR_Stat = + CCU_STAT2_MODEL_CCU_DeflectorSwFCR_Stat; + CCU_STAT2_model_in.contents.CCU_DeflectorSwRLB_Stat = + CCU_STAT2_MODEL_CCU_DeflectorSwRLB_Stat; + CCU_STAT2_model_in.contents.CCU_DeflectorSwRRB_Stat = + CCU_STAT2_MODEL_CCU_DeflectorSwRRB_Stat; + + /* : MODE_OFF = uint8(0); */ + /* : MODE_ENTRY = uint8(5); */ + /* : MODE_ENTRY_STEP1 = uint8(1); */ + /* : MODE_ENTRY_STEP2 = uint8(2); */ + /* : MODE_ENTRY_STEP3 = uint8(3); */ + /* : MODE_ACTIVE_CONDITIONS1_SUMMER = uint8(10); */ + /* : MODE_ACTIVE_CONDITIONS2_WINTER = uint8(11); */ + /* : MODE_EXIT = uint8(15); */ + /* : MODE_WAIT_EXIT = uint8(20); */ + /* : FIU_REQ_ACCEPT = uint8(1); */ + /* : FIU_REQ_REJECT = uint8(2); */ + /* : VALVE_AUTO = uint8(0); */ + /* : VALVE_CLOSE = uint8(1); */ + /* : VALVE_OPEN = uint8(2); */ + /* : IGN_OFF = uint8(0); */ + /* : IGN_ON = uint8(1); */ + /* : CONDITION_NONE = uint8(0); */ + /* : CONDITION_1_SUMMER = uint8(1); */ + CONDITION_1_SUMMER.contents = 1U; + + /* : CONDITION_2_WINTER = uint8(2); */ + CONDITION_2_WINTER.contents = 2U; + + /* : CCU_STAT_NOT_REQUESTED = uint8(0); */ + /* : CCU_STAT_STANDBY = uint8(1); */ + /* : CCU_STAT_ACTIVE = uint8(2); */ + /* : CCU_STAT_INACTIVE = uint8(3); */ + /* : if isempty(is_active_persistent) */ + if (!rtDW.is_active_persistent_not_empty) { + /* : mode_reg = MODE_OFF; */ + rtDW.mode_reg = 0U; + + /* : is_active_persistent = false; */ + rtDW.is_active_persistent = false; + rtDW.is_active_persistent_not_empty = true; + + /* : active_condition_reg = CONDITION_NONE; */ + rtDW.active_condition_reg_l.contents = 0U; + + /* : timeout_wait_button_rest = uint32(0); */ + rtDW.timeout_wait_button_rest = 0U; + + /* : persistent_LowTempValveReq = VALVE_AUTO; */ + rtDW.persistent_LowTempValveReq = 0U; + + /* : FIU_ACfrontOFF_Req = uint8(0); */ + rtDW.FIU_ACfrontOFF_Req.contents = 0U; + + /* : FIU_ACrearOFF_Req = uint8(0); */ + rtDW.FIU_ACrearOFF_Req.contents = 0U; + + /* : FIU_Recirculation_Req = uint8(0); */ + rtDW.FIU_Recirculation_Req.contents = 0U; + + /* : FIU_CCmodeFL_Req = uint8(0); */ + rtDW.FIU_CCmodeFL_Req_o.contents = 0U; + + /* : FIU_BlowerSpeedFL_Req = uint8(0); */ + rtDW.FIU_BlowerSpeedFL_Req_c.contents = 0U; + + /* : FIU_AirDirectionFL_Face_Req = uint8(0); */ + rtDW.FIU_AirDirectionFL_Face_Req_k.contents = 0U; + + /* : FIU_AirDirectionFL_Foot_Req = uint8(0); */ + rtDW.FIU_AirDirectionFL_Foot_Req_n.contents = 0U; + + /* : FIU_AirDirectionFL_Def_Req = uint8(0); */ + rtDW.FIU_AirDirectionFL_Def_Req_o.contents = 0U; + + /* : FIU_FootTempCorFL_Req = uint8(0); */ + rtDW.FIU_FootTempCorFL_Req_k.contents = 0U; + + /* : FIU_CCautoModeFL_Req = uint8(0); */ + rtDW.FIU_CCautoModeFL_Req_m.contents = 0U; + + /* : FIU_CCmodeFR_Req = uint8(0); */ + rtDW.FIU_CCmodeFR_Req_k.contents = 0U; + + /* : FIU_BlowerSpeedFR_Req = uint8(0); */ + rtDW.FIU_BlowerSpeedFR_Req_n.contents = 0U; + + /* : FIU_AirDirectionFR_Face_Req = uint8(0); */ + rtDW.FIU_AirDirectionFR_Face_Req_n.contents = 0U; + + /* : FIU_AirDirectionFR_Foot_Req = uint8(0); */ + rtDW.FIU_AirDirectionFR_Foot_Req_c.contents = 0U; + + /* : FIU_AirDirectionFR_Def_Req = uint8(0); */ + rtDW.FIU_AirDirectionFR_Def_Req_p.contents = 0U; + + /* : FIU_FootTempCorFR_Req = uint8(0); */ + rtDW.FIU_FootTempCorFR_Req_o.contents = 0U; + + /* : FIU_CCautoModeFR_Req = uint8(0); */ + rtDW.FIU_CCautoModeFR_Req_h.contents = 0U; + + /* : FIU_CCmodeRL_Req = uint8(0); */ + rtDW.FIU_CCmodeRL_Req.contents = 0U; + + /* : FIU_BlowerSpeedRL_Req = uint8(0); */ + rtDW.FIU_BlowerSpeedRL_Req.contents = 0U; + + /* : FIU_AirDirectionRL_Face_Req = uint8(0); */ + rtDW.FIU_AirDirectionRL_Face_Req.contents = 0U; + + /* : FIU_AirDirectionRL_Foot_Req = uint8(0); */ + rtDW.FIU_AirDirectionRL_Foot_Req.contents = 0U; + + /* : FIU_FootTempCorRL_Req = uint8(0); */ + rtDW.FIU_FootTempCorRL_Req.contents = 0U; + + /* : FIU_CCautoModeRL_Req = uint8(0); */ + rtDW.FIU_CCautoModeRL_Req.contents = 0U; + + /* : FIU_CCmodeRR_Req = uint8(0); */ + rtDW.FIU_CCmodeRR_Req.contents = 0U; + + /* : FIU_BlowerSpeedRR_Req = uint8(0); */ + rtDW.FIU_BlowerSpeedRR_Req.contents = 0U; + + /* : FIU_AirDirectionRR_Face_Req = uint8(0); */ + rtDW.FIU_AirDirectionRR_Face_Req.contents = 0U; + + /* : FIU_AirDirectionRR_Foot_Req = uint8(0); */ + rtDW.FIU_AirDirectionRR_Foot_Req.contents = 0U; + + /* : FIU_FootTempCorRR_Req = uint8(0); */ + rtDW.FIU_FootTempCorRR_Req.contents = 0U; + + /* : FIU_CCautoModeRR_Req = uint8(0); */ + rtDW.FIU_CCautoModeRR_Req.contents = 0U; + } + + /* : FIU_CCU1_model_out = FIU_CCU1_model_in; */ + FIU_CCU1_model_out.contents = rtDW.FIU_CCU1_MODEL; + + /* : FIU_CCU2_model_out = FIU_CCU2_model_in; */ + FIU_CCU2_model_out.contents = rtDW.FIU_CCU2_MODEL; + + /* : mode_reg_active = mode_reg; */ + rtDW.RestMode_mode = rtDW.mode_reg; + + /* : if mode_reg == MODE_WAIT_EXIT */ + guard1 = false; + if (rtDW.mode_reg == 20) { + /* : CCU_RestMode_Stat = CCU_STAT_INACTIVE; */ + rtDW.REST_mode_CCU_stat = 3U; + + /* : if T15 == IGN_ON */ + if (rtDW.BCM_T15_Stat == 1) { + /* : is_active_persistent = false; */ + rtDW.is_active_persistent = false; + + /* : mode_reg = MODE_EXIT; */ + rtDW.mode_reg = 15U; + guard1 = true; + } else { + /* : else */ + /* : is_active_persistent = false; */ + rtDW.is_active_persistent = false; + + /* : FIU_CCU1_model_out = FIU_CCU1_null; */ + memset(&FIU_CCU1_model_out.contents, 0, sizeof(CmdCAN_FIU_CCU1_Bus)); + + /* : FIU_CCU2_model_out = FIU_CCU2_null; */ + memset(&FIU_CCU2_model_out.contents, 0, sizeof(CmdCAN_FIU_CCU2_Bus)); + + /* : LowTempValveReq = VALVE_CLOSE; */ + rtDW.LowTempValve_req = 1U; + + /* : is_active = true; */ + rtDW.REST_is_active = true; + } + } else { + guard1 = true; + } + + if (guard1) { + /* : if is_active_persistent == false && ... */ + /* : (entry_conditions_summer == true || entry_conditions_winter == true) */ + if ((!rtDW.is_active_persistent) && (rtb_Compare_i5 || ((rtDW.AMB <= + g_ssRESTW_AMB) && (rtb_Gain_ee > g_assRESTW_WATER[0]) && (Eva_F_tg >= + g_ssREST_BATT) && (rtDW.CCUCAN_BCM_EEM_model.BCM_EEM_StPowMgn <= 2) && + rtDW.latch))) { + /* : is_active_persistent = true; */ + rtDW.is_active_persistent = true; + + /* : if entry_conditions_summer == true */ + if (rtb_Compare_i5) { + /* : active_condition_reg = CONDITION_1_SUMMER; */ + rtDW.active_condition_reg_l.contents = 1U; + + /* : timeout_wait_button_rest = uint32(t_now + uint32(g_uctRESTS_READYEXPIRETIME) * 1000); */ + rtDW.timeout_wait_button_rest = g_uctRESTS_READYEXPIRETIME * 1000U + + /*MW:OvSatOk*/ rtDW.t_now; + if (rtDW.timeout_wait_button_rest < rtDW.t_now) { + rtDW.timeout_wait_button_rest = UINT32_MAX; + } + + /* : persistent_LowTempValveReq = VALVE_AUTO; */ + rtDW.persistent_LowTempValveReq = 0U; + } else { + /* : else */ + /* : active_condition_reg = CONDITION_2_WINTER; */ + rtDW.active_condition_reg_l.contents = 2U; + + /* : timeout_wait_button_rest = uint32(t_now + uint32(g_usRESTW_READYEXPIRETIME) * 1000); */ + rtDW.timeout_wait_button_rest = g_usRESTW_READYEXPIRETIME * 1000U + + /*MW:OvSatOk*/ rtDW.t_now; + if (rtDW.timeout_wait_button_rest < rtDW.t_now) { + rtDW.timeout_wait_button_rest = UINT32_MAX; + } + + /* : persistent_LowTempValveReq = VALVE_OPEN; */ + rtDW.persistent_LowTempValveReq = 2U; + } + + /* : mode_reg = MODE_ENTRY; */ + rtDW.mode_reg = 5U; + } else if ((rtb_RelationalOperator6_f || (Eva_F_tg < g_ssREST_BATT) || + (rtDW.CCUCAN_BCM_EEM_model.BCM_EEM_StPowMgn > 2) || + (rtDW.BCM_T15_Stat != 0) || rtb_Compare_eu) && + rtDW.is_active_persistent) { + /* : elseif exit_conditions == true && is_active_persistent == true */ + /* : is_active_persistent = false; */ + rtDW.is_active_persistent = false; + + /* : if T15 == IGN_ON */ + if (rtDW.BCM_T15_Stat == 1) { + /* : mode_reg = MODE_EXIT; */ + rtDW.mode_reg = 15U; + } else { + /* : else */ + /* : mode_reg = MODE_WAIT_EXIT; */ + rtDW.mode_reg = 20U; + } + } + + /* : CCU_RestMode_Stat = CCU_STAT_NOT_REQUESTED; */ + rtDW.REST_mode_CCU_stat = 0U; + + /* : switch mode_reg */ + switch (rtDW.mode_reg) { + case 0U: + /* : case MODE_OFF */ + /* : save_FIU_CCU(); */ + save_FIU_CCU(&CCU_STAT2_model_in, &rtDW.FIU_ACfrontOFF_Req, + &rtDW.FIU_ACrearOFF_Req, &CCU_STAT1_model_in, + &rtDW.FIU_Recirculation_Req, &rtDW.FIU_CCmodeFL_Req_o, + &rtDW.FIU_CCautoModeFL_Req_m, &rtDW.FIU_BlowerSpeedFL_Req_c, + &rtDW.FIU_AirDirectionFL_Face_Req_k, + &rtDW.FIU_AirDirectionFL_Foot_Req_n, + &rtDW.FIU_AirDirectionFL_Def_Req_o, + &rtDW.FIU_FootTempCorFL_Req_k, &rtDW.FIU_CCmodeFR_Req_k, + &rtDW.FIU_CCautoModeFR_Req_h, &rtDW.FIU_BlowerSpeedFR_Req_n, + &rtDW.FIU_AirDirectionFR_Face_Req_n, + &rtDW.FIU_AirDirectionFR_Foot_Req_c, + &rtDW.FIU_AirDirectionFR_Def_Req_p, + &rtDW.FIU_FootTempCorFR_Req_o, &rtDW.FIU_CCmodeRL_Req, + &rtDW.FIU_CCautoModeRL_Req, &rtDW.FIU_BlowerSpeedRL_Req, + &rtDW.FIU_AirDirectionRL_Face_Req, + &rtDW.FIU_AirDirectionRL_Foot_Req, + &rtDW.FIU_FootTempCorRL_Req, &rtDW.FIU_CCmodeRR_Req, + &rtDW.FIU_CCautoModeRR_Req, &rtDW.FIU_BlowerSpeedRR_Req, + &rtDW.FIU_AirDirectionRR_Face_Req, + &rtDW.FIU_AirDirectionRR_Foot_Req); + break; + + case 5U: + /* : case MODE_ENTRY */ + /* : CCU_RestMode_Stat = CCU_STAT_STANDBY; */ + rtDW.REST_mode_CCU_stat = 1U; + + /* : if FIU_Rest_Req == FIU_REQ_ACCEPT */ + if (Index_mode_FR_manual == 1) { + /* : mode_reg = MODE_ENTRY_STEP1; */ + rtDW.mode_reg = 1U; + } else if ((Index_mode_FR_manual == 2) || (rtDW.timeout_wait_button_rest < + rtDW.t_now)) { + /* : elseif FIU_Rest_Req == FIU_REQ_REJECT || timeout_wait_button_rest < t_now */ + /* : mode_reg = MODE_WAIT_EXIT; */ + rtDW.mode_reg = 20U; + } + break; + + case 1U: + /* : case MODE_ENTRY_STEP1 */ + /* : CCU_RestMode_Stat = CCU_STAT_ACTIVE; */ + rtDW.REST_mode_CCU_stat = 2U; + + /* : FIU_CCU1_model_out.FIU_CCmodeFL_Req = uint8(1); */ + FIU_CCU1_model_out.contents.FIU_CCmodeFL_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_CCmodeFR_Req = uint8(1); */ + FIU_CCU1_model_out.contents.FIU_CCmodeFR_Req = 1U; + + /* : FIU_CCU1_model_out.FIU_ACfrontOFF_Req = uint8(2); */ + FIU_CCU1_model_out.contents.FIU_ACfrontOFF_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_Recirculation_Req = uint8(2); */ + FIU_CCU1_model_out.contents.FIU_Recirculation_Req = 2U; + + /* : FIU_CCU2_model_out.FIU_CCmodeRL_Req = uint8(1); */ + FIU_CCU2_model_out.contents.FIU_CCmodeRL_Req = 1U; + + /* : FIU_CCU2_model_out.FIU_CCmodeRR_Req = uint8(1); */ + FIU_CCU2_model_out.contents.FIU_CCmodeRR_Req = 1U; + + /* : FIU_CCU2_model_out.FIU_ACrearOFF_Req = uint8(2); */ + FIU_CCU2_model_out.contents.FIU_ACrearOFF_Req = 2U; + + /* : set_FIU_CCU(); */ + set_FIU_CCU(&rtDW.active_condition_reg_l, &CONDITION_1_SUMMER, + &FIU_CCU1_model_out, &b_g_ucRESTS_BLRSTEP, &FIU_CCU2_model_out, + &b_g_aucRESTS_MODE, &CONDITION_2_WINTER, &b_g_ucRESTW_BLRSTEP, + &b_g_aucRESTW_MODE); + + /* : mode_reg = MODE_ENTRY_STEP2; */ + rtDW.mode_reg = 2U; + break; + + case 2U: + /* : case MODE_ENTRY_STEP2 */ + /* : CCU_RestMode_Stat = CCU_STAT_ACTIVE; */ + rtDW.REST_mode_CCU_stat = 2U; + + /* : FIU_CCU1_model_out.FIU_CCmodeFL_Req = uint8(0); */ + FIU_CCU1_model_out.contents.FIU_CCmodeFL_Req = 0U; + + /* : FIU_CCU1_model_out.FIU_CCmodeFR_Req = uint8(0); */ + FIU_CCU1_model_out.contents.FIU_CCmodeFR_Req = 0U; + + /* : FIU_CCU1_model_out.FIU_ACfrontOFF_Req = uint8(2); */ + FIU_CCU1_model_out.contents.FIU_ACfrontOFF_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_Recirculation_Req = uint8(2); */ + FIU_CCU1_model_out.contents.FIU_Recirculation_Req = 2U; + + /* : FIU_CCU2_model_out.FIU_CCmodeRL_Req = uint8(1); */ + FIU_CCU2_model_out.contents.FIU_CCmodeRL_Req = 1U; + + /* : FIU_CCU2_model_out.FIU_CCmodeRR_Req = uint8(1); */ + FIU_CCU2_model_out.contents.FIU_CCmodeRR_Req = 1U; + + /* : FIU_CCU2_model_out.FIU_ACrearOFF_Req = uint8(2); */ + FIU_CCU2_model_out.contents.FIU_ACrearOFF_Req = 2U; + + /* : set_FIU_CCU(); */ + set_FIU_CCU(&rtDW.active_condition_reg_l, &CONDITION_1_SUMMER, + &FIU_CCU1_model_out, &b_g_ucRESTS_BLRSTEP, &FIU_CCU2_model_out, + &b_g_aucRESTS_MODE, &CONDITION_2_WINTER, &b_g_ucRESTW_BLRSTEP, + &b_g_aucRESTW_MODE); + + /* : mode_reg = MODE_ENTRY_STEP3; */ + rtDW.mode_reg = 3U; + break; + + case 3U: + /* : case MODE_ENTRY_STEP3 */ + /* : CCU_RestMode_Stat = CCU_STAT_ACTIVE; */ + rtDW.REST_mode_CCU_stat = 2U; + + /* : FIU_CCU1_model_out.FIU_CCmodeFL_Req = uint8(0); */ + FIU_CCU1_model_out.contents.FIU_CCmodeFL_Req = 0U; + + /* : FIU_CCU1_model_out.FIU_CCmodeFR_Req = uint8(0); */ + FIU_CCU1_model_out.contents.FIU_CCmodeFR_Req = 0U; + + /* : FIU_CCU1_model_out.FIU_ACfrontOFF_Req = uint8(2); */ + FIU_CCU1_model_out.contents.FIU_ACfrontOFF_Req = 2U; + + /* : FIU_CCU1_model_out.FIU_Recirculation_Req = uint8(2); */ + FIU_CCU1_model_out.contents.FIU_Recirculation_Req = 2U; + + /* : FIU_CCU2_model_out.FIU_CCmodeRL_Req = uint8(1); */ + FIU_CCU2_model_out.contents.FIU_CCmodeRL_Req = 1U; + + /* : FIU_CCU2_model_out.FIU_CCmodeRR_Req = uint8(1); */ + FIU_CCU2_model_out.contents.FIU_CCmodeRR_Req = 1U; + + /* : FIU_CCU2_model_out.FIU_ACrearOFF_Req = uint8(2); */ + FIU_CCU2_model_out.contents.FIU_ACrearOFF_Req = 2U; + + /* : set_FIU_CCU(); */ + set_FIU_CCU(&rtDW.active_condition_reg_l, &CONDITION_1_SUMMER, + &FIU_CCU1_model_out, &b_g_ucRESTS_BLRSTEP, &FIU_CCU2_model_out, + &b_g_aucRESTS_MODE, &CONDITION_2_WINTER, &b_g_ucRESTW_BLRSTEP, + &b_g_aucRESTW_MODE); + + /* : if active_condition_reg == CONDITION_1_SUMMER */ + if (rtDW.active_condition_reg_l.contents == 1) { + /* : mode_reg = MODE_ACTIVE_CONDITIONS1_SUMMER; */ + rtDW.mode_reg = 10U; + } else { + /* : else */ + /* : mode_reg = MODE_ACTIVE_CONDITIONS2_WINTER; */ + rtDW.mode_reg = 11U; + } + break; + + case 10U: + /* : case MODE_ACTIVE_CONDITIONS1_SUMMER */ + /* : CCU_RestMode_Stat = CCU_STAT_ACTIVE; */ + rtDW.REST_mode_CCU_stat = 2U; + + /* : FIU_CCU1_model_out = FIU_CCU1_null; */ + memset(&FIU_CCU1_model_out.contents, 0, sizeof(CmdCAN_FIU_CCU1_Bus)); + + /* : FIU_CCU2_model_out = FIU_CCU2_null; */ + memset(&FIU_CCU2_model_out.contents, 0, sizeof(CmdCAN_FIU_CCU2_Bus)); + break; + + case 11U: + /* : case MODE_ACTIVE_CONDITIONS2_WINTER */ + /* : CCU_RestMode_Stat = CCU_STAT_ACTIVE; */ + rtDW.REST_mode_CCU_stat = 2U; + + /* : FIU_CCU1_model_out = FIU_CCU1_null; */ + memset(&FIU_CCU1_model_out.contents, 0, sizeof(CmdCAN_FIU_CCU1_Bus)); + + /* : FIU_CCU2_model_out = FIU_CCU2_null; */ + memset(&FIU_CCU2_model_out.contents, 0, sizeof(CmdCAN_FIU_CCU2_Bus)); + break; + + case 15U: + /* : case MODE_EXIT */ + /* : load_FIU_CCU(); */ + load_FIU_CCU(&FIU_CCU1_model_out, &rtDW.FIU_ACfrontOFF_Req, + &FIU_CCU2_model_out, &rtDW.FIU_ACrearOFF_Req, + &rtDW.FIU_Recirculation_Req, &rtDW.FIU_CCmodeFL_Req_o, + &rtDW.FIU_BlowerSpeedFL_Req_c, + &rtDW.FIU_AirDirectionFL_Face_Req_k, + &rtDW.FIU_AirDirectionFL_Foot_Req_n, + &rtDW.FIU_AirDirectionFL_Def_Req_o, + &rtDW.FIU_FootTempCorFL_Req_k, &rtDW.FIU_CCautoModeFL_Req_m, + &rtDW.FIU_CCmodeFR_Req_k, &rtDW.FIU_BlowerSpeedFR_Req_n, + &rtDW.FIU_AirDirectionFR_Face_Req_n, + &rtDW.FIU_AirDirectionFR_Foot_Req_c, + &rtDW.FIU_AirDirectionFR_Def_Req_p, + &rtDW.FIU_FootTempCorFR_Req_o, &rtDW.FIU_CCautoModeFR_Req_h, + &rtDW.FIU_CCmodeRL_Req, &rtDW.FIU_BlowerSpeedRL_Req, + &rtDW.FIU_AirDirectionRL_Face_Req, + &rtDW.FIU_AirDirectionRL_Foot_Req, + &rtDW.FIU_FootTempCorRL_Req, &rtDW.FIU_CCautoModeRL_Req, + &rtDW.FIU_CCmodeRR_Req, &rtDW.FIU_BlowerSpeedRR_Req, + &rtDW.FIU_AirDirectionRR_Face_Req, + &rtDW.FIU_AirDirectionRR_Foot_Req, + &rtDW.FIU_FootTempCorRR_Req, &rtDW.FIU_CCautoModeRR_Req); + + /* : mode_reg = MODE_OFF; */ + rtDW.mode_reg = 0U; + break; + } + + /* : LowTempValveReq = persistent_LowTempValveReq; */ + rtDW.LowTempValve_req = rtDW.persistent_LowTempValveReq; + + /* : is_active = is_active_persistent; */ + rtDW.REST_is_active = rtDW.is_active_persistent; + } + + rtDW.FIU_CCU1_REST = FIU_CCU1_model_out.contents; + rtDW.FIU_CCU2_REST = FIU_CCU2_model_out.contents; + + /* End of MATLAB Function: '/REST_Mode' */ + /* End of Outputs for SubSystem: '/REST' */ + + /* Outputs for Atomic SubSystem: '/ClimatRecirculation_by_Door_Ajar' */ + /* Switch: '/Switch' incorporates: + * Constant: '/auto1' + * Constant: '/auto11' + * Constant: '/auto12' + * Constant: '/auto13' + * Constant: '/auto14' + * Constant: '/auto15' + * Constant: '/auto2' + * Constant: '/auto3' + * Constant: '/auto4' + * Constant: '/auto5' + * Constant: '/auto6' * DataStoreRead: '/Data Store Read14' * DataStoreRead: '/Data Store Read15' * DataStoreRead: '/Data Store Read19' * DataStoreRead: '/Data Store Read20' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' * DataStoreWrite: '/Data Store Write10' * DataStoreWrite: '/Data Store Write11' * DataStoreWrite: '/Data Store Write17' * DataStoreWrite: '/Data Store Write18' - * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write1' - * DataStoreWrite: '/Data Store Write4' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Logic: '/Logical Operator' - * Logic: '/Logical Operator1' - * Logic: '/Logical Operator2' - * Logic: '/OR1' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator1' - * RelationalOperator: '/Relational Operator12' - * RelationalOperator: '/Relational Operator13' - * RelationalOperator: '/Relational Operator14' - * RelationalOperator: '/Relational Operator15' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' - * RelationalOperator: '/Relational Operator5' + * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write1' + * DataStoreWrite: '/Data Store Write4' + * DataStoreWrite: '/Data Store Write5' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Logic: '/Logical Operator' + * Logic: '/Logical Operator1' + * Logic: '/Logical Operator2' + * Logic: '/OR1' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator1' + * RelationalOperator: '/Relational Operator12' + * RelationalOperator: '/Relational Operator13' + * RelationalOperator: '/Relational Operator14' + * RelationalOperator: '/Relational Operator15' + * RelationalOperator: '/Relational Operator2' + * RelationalOperator: '/Relational Operator3' + * RelationalOperator: '/Relational Operator4' + * RelationalOperator: '/Relational Operator5' */ /* : if isempty(is_active_state) */ /* : if entry_conditions && (FullRecirculation ~= 1) */ if ((rtDW.CCUCAN_ccu_candb_error_missing_rx_model.DMFL_Msg1 != 0) || (rtDW.CCUCAN_ccu_candb_error_missing_rx_model.DMFR_Msg1 != 0) || (rtDW.CCUCAN_ccu_candb_error_missing_rx_model.DMRL_Msg1 != 0) || - (rtDW.CCUCAN_ccu_candb_error_missing_rx_model.DMFR_Msg1 != 0)) { - rtb_Compare_e = false; + (rtDW.CCUCAN_ccu_candb_error_missing_rx_model.DMRR_Msg1 != 0)) { + rtb_Compare_e1 = false; } else { - rtb_Compare_e = ((((int32_t)(10U * rtDW.PWM_front) >= g_ausMIN_PWM[0]) || - ((int32_t)(10U * rtDW.PWM_rear) >= g_ausMIN_PWM[1])) && - ((rtDW.CCUCAN_DMFL_Msg1_model.DMFL_DoorAjarState == 0) || - (rtDW.CCUCAN_DMFR_Msg1_model.DMFR_DoorAjarState == 0) || - (rtDW.CCUCAN_DMRL_Msg1_model.DMRL_DoorAjarState == 0) || - (rtDW.CCUCAN_DMRR_Msg1_model.DMRR_DoorAjarState == 0))); + rtb_Compare_e1 = ((((int32_t)(10U * rtDW.PWM_front) >= g_ausMIN_PWM[0]) || + ((int32_t)(10U * rtDW.PWM_rear) >= g_ausMIN_PWM[1])) && + ((rtDW.CCUCAN_DMFL_Msg1_model.DMFL_DoorAjarState == 0) || + (rtDW.CCUCAN_DMFR_Msg1_model.DMFR_DoorAjarState == 0) || + (rtDW.CCUCAN_DMRL_Msg1_model.DMRL_DoorAjarState == 0) || + (rtDW.CCUCAN_DMRR_Msg1_model.DMRR_DoorAjarState == 0))); } - /* MATLAB Function: '/recirc_by_door_ajar' incorporates: - * Constant: '/auto1' - * Constant: '/auto10' - * Constant: '/auto6' - * Constant: '/auto7' - * Constant: '/auto8' - * Constant: '/auto9' + /* MATLAB Function: '/recirc_by_door_ajar' incorporates: + * Constant: '/auto1' + * Constant: '/auto10' + * Constant: '/auto6' + * Constant: '/auto7' + * Constant: '/auto8' + * Constant: '/auto9' * DataStoreRead: '/Data Store Read14' * DataStoreRead: '/Data Store Read15' * DataStoreRead: '/Data Store Read19' * DataStoreRead: '/Data Store Read20' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read6' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read6' * DataStoreWrite: '/Data Store Write10' * DataStoreWrite: '/Data Store Write11' * DataStoreWrite: '/Data Store Write17' * DataStoreWrite: '/Data Store Write18' - * DataStoreWrite: '/Data Store Write' - * Logic: '/Logical Operator3' - * Logic: '/Logical Operator4' - * Logic: '/Logical Operator5' - * RelationalOperator: '/Relational Operator10' - * RelationalOperator: '/Relational Operator11' - * RelationalOperator: '/Relational Operator6' - * RelationalOperator: '/Relational Operator7' - * RelationalOperator: '/Relational Operator8' - * RelationalOperator: '/Relational Operator9' - * Switch: '/Switch' + * DataStoreWrite: '/Data Store Write' + * Logic: '/Logical Operator3' + * Logic: '/Logical Operator4' + * Logic: '/Logical Operator5' + * RelationalOperator: '/Relational Operator10' + * RelationalOperator: '/Relational Operator11' + * RelationalOperator: '/Relational Operator6' + * RelationalOperator: '/Relational Operator7' + * RelationalOperator: '/Relational Operator8' + * RelationalOperator: '/Relational Operator9' + * Switch: '/Switch' */ - if (rtb_Compare_e && (rtDW.Full_Rec != 1)) { + if (rtb_Compare_e1 && (rtDW.Full_Rec != 1)) { /* : is_active_state = true; */ rtDW.is_active_state = true; } else if (((rtDW.PWM_front < g_ausMIN_PWM[0]) && (rtDW.PWM_rear < @@ -57771,10 +61373,10 @@ void HVAC_model_step(void) /* : is_active = is_active_state; */ rtDW.Door_ajar_is_active = rtDW.is_active_state; - /* End of MATLAB Function: '/recirc_by_door_ajar' */ - /* End of Outputs for SubSystem: '/ClimatRecirculation_by_Door_Ajar' */ + /* End of MATLAB Function: '/recirc_by_door_ajar' */ + /* End of Outputs for SubSystem: '/ClimatRecirculation_by_Door_Ajar' */ - /* Chart: '/Synchronization stateflow chart' */ + /* 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; @@ -57920,217 +61522,217 @@ void HVAC_model_step(void) } } - /* End of Chart: '/Synchronization stateflow chart' */ + /* End of Chart: '/Synchronization stateflow chart' */ - /* DataStoreWrite: '/Data Store Write16' */ + /* DataStoreWrite: '/Data Store Write16' */ rtDW.CCU_ALL_ZONE_SYNC = rtB.sync_all; - /* If: '/If' */ + /* If: '/If' */ if (rtB.sync_all > 0) { - /* Outputs for IfAction SubSystem: '/all zone sync' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/all zone sync' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataStoreRead: '/Data Store Read' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read' */ 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' */ - /* DataStoreWrite: '/Data Store Write17' */ + /* DataStoreWrite: '/Data Store Write17' */ rtDW.CCU_FRONT_SYNC = rtB.sync_front; - /* If: '/If1' */ + /* If: '/If1' */ if (rtB.sync_front > 0) { - /* Outputs for IfAction SubSystem: '/front sync' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/front sync' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataStoreRead: '/Data Store Read' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read' */ 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' */ - /* DataStoreWrite: '/Data Store Write15' */ + /* DataStoreWrite: '/Data Store Write15' */ rtDW.CCU_REAR_SYNC = rtB.sync_rear; - /* If: '/If2' */ + /* If: '/If2' */ if (rtB.sync_rear > 0) { - /* Outputs for IfAction SubSystem: '/rear sync' incorporates: - * ActionPort: '/Action Port' + /* 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' */ - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ 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; @@ -58139,55 +61741,55 @@ void HVAC_model_step(void) 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; - /* Saturate: '/Saturation' incorporates: - * DataStoreRead: '/Data Store Read3' + /* Saturate: '/Saturation' incorporates: + * DataStoreRead: '/Data Store Read3' */ if (rtDW.CCU_SET_FR > 310) { - rtb_out_mxq = 310U; + rtb_out_bf = 310U; } else if (rtDW.CCU_SET_FR < 155) { - rtb_out_mxq = 155U; + rtb_out_bf = 155U; } else { - rtb_out_mxq = rtDW.CCU_SET_FR; + rtb_out_bf = 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_mxq - 16.0) * 2.0); + (double)rtb_out_bf - 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_mxq = 310U; + rtb_out_bf = 310U; } else if (rtDW.CCU_SET_RL < 155) { - rtb_out_mxq = 155U; + rtb_out_bf = 155U; } else { - rtb_out_mxq = rtDW.CCU_SET_RL; + rtb_out_bf = rtDW.CCU_SET_RL; } - /* BusCreator: '/Bus Creator' incorporates: - * Bias: '/Bias' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read53' - * DataStoreRead: '/Data Store Read54' - * DataStoreRead: '/Data Store Read6' + /* BusCreator: '/Bus Creator' incorporates: + * Bias: '/Bias' + * 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' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - * Saturate: '/Saturation' + * 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_mxq - 16.0) * 2.0); + (double)rtb_out_bf - 16.0) * 2.0); rtDW.dbgCAN_CCU_IO_model.dbg_IO_Txv_F = rtb_timer_out; rtDW.dbgCAN_CCU_IO_model.dbg_IO_Txv_R = ShutOffRear_EN; rtDW.dbgCAN_CCU_IO_model.dbg_IO_Txv_Ch = EN_BATTChiller; @@ -58195,68 +61797,68 @@ void HVAC_model_step(void) 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_mxq = 310U; + rtb_out_bf = 310U; } else if (rtDW.CCU_SET_FL < 155) { - rtb_out_mxq = 155U; + rtb_out_bf = 155U; } else { - rtb_out_mxq = rtDW.CCU_SET_FL; + rtb_out_bf = 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_mxq - 16.0) * 2.0); + (double)rtb_out_bf - 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_mxq = 310U; + rtb_out_bf = 310U; } else if (rtDW.CCU_SET_RR < 155) { - rtb_out_mxq = 155U; + rtb_out_bf = 155U; } else { - rtb_out_mxq = rtDW.CCU_SET_RR; + rtb_out_bf = rtDW.CCU_SET_RR; } - /* BusCreator: '/Bus Creator' incorporates: - * Bias: '/Bias' + /* BusCreator: '/Bus Creator' incorporates: + * Bias: '/Bias' * DataStoreRead: '/Data Store Read2' - * DataStoreWrite: '/Data Store Write' + * DataStoreWrite: '/Data Store Write' * DataStoreWrite: '/Data Store Write6' * DataStoreWrite: '/Data Store Write7' - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - * Saturate: '/Saturation' + * 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_mxq - 16.0) * 2.0); + (double)rtb_out_bf - 16.0) * 2.0); rtDW.dbgCAN_CCU_IO_model.dbg_IO_Input_Emergency = rtDW.ADC_Key_Data_Model.EmergencyAirCleanSwitch; rtDW.dbgCAN_CCU_IO_model.dbg_IO_Input_FireExtinguisher = rtDW.ADC_Key_Data_Model.FireExtinguishSwitch; rtDW.dbgCAN_CCU_IO_model.dbg_IO_Install_Sealing_Valve = 0U; - /* 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' + /* 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.DRS_SFL; rtDW.dbg_Drs_t_model.dbg_Drs_1_CFL_FPL = rtDW.DRS_CFL; @@ -58267,16 +61869,16 @@ void HVAC_model_step(void) 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 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' + /* 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; @@ -58290,11 +61892,11 @@ void HVAC_model_step(void) 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 Read2' - * DataStoreWrite: '/Data Store Write27' - * DataStoreWrite: '/Data Store Write28' - * DataStoreWrite: '/Data Store Write' + /* 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; @@ -58312,12 +61914,12 @@ void HVAC_model_step(void) 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' - * DataStoreRead: '/Data Store Read3' - * DataStoreWrite: '/Data Store Write29' - * DataStoreWrite: '/Data Store Write30' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read3' + * 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; @@ -58326,429 +61928,424 @@ void HVAC_model_step(void) rtDW.dbg_LIN_Ionizer_Stat_t_model.LIN_Ionizer_Ionization = rtDW.CCU_Ionization_algo_active; - /* Saturate: '/Saturation19' incorporates: - * Bias: '/Add Constant3' + /* Saturate: '/Saturation19' incorporates: + * Bias: '/Add Constant3' */ if (rtb_Gain18 + 2048.0 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.P_FUL = 4095U; } else if (rtb_Gain18 + 2048.0 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.P_FUL = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.P_FUL = (uint16_t)(rtb_Gain18 + 2048.0); } - /* End of Saturate: '/Saturation19' */ + /* End of Saturate: '/Saturation19' */ - /* Saturate: '/Saturation17' incorporates: - * Bias: '/Add Constant4' + /* Saturate: '/Saturation17' incorporates: + * Bias: '/Add Constant4' */ if (rtb_Gain19 + 2048.0 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_FUL = 4095U; } else if (rtb_Gain19 + 2048.0 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_FUL = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_FUL = (uint16_t)(rtb_Gain19 + 2048.0); } - /* End of Saturate: '/Saturation17' */ + /* End of Saturate: '/Saturation17' */ - /* Saturate: '/Saturation18' incorporates: - * Bias: '/Add Constant5' + /* Saturate: '/Saturation18' incorporates: + * Bias: '/Add Constant5' */ if (rtb_Gain20 + 2048.0 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.D_FUL = 4095U; } else if (rtb_Gain20 + 2048.0 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.D_FUL = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.D_FUL = (uint16_t)(rtb_Gain20 + 2048.0); } - /* End of Saturate: '/Saturation18' */ + /* End of Saturate: '/Saturation18' */ - /* Bias: '/Add Constant' incorporates: - * Gain: '/Gain15' + /* Bias: '/Add Constant' incorporates: + * Gain: '/Gain15' */ - rtb_Divide11 = 10.0 * rtb_P + 2048.0; + rtb_output_h = 10.0 * rtb_area_R_o + 2048.0; - /* Saturate: '/Saturation8' */ - if (rtb_Divide11 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* Saturate: '/Saturation8' */ + if (rtb_output_h > 4095.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.P_FUR = 4095U; - } else if (rtb_Divide11 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + } else if (rtb_output_h < 0.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.P_FUR = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.dbg_PIDValve_model.P_FUR = (uint16_t)rtb_Divide11; + rtDW.dbg_PIDValve_model.P_FUR = (uint16_t)rtb_output_h; } - /* End of Saturate: '/Saturation8' */ + /* End of Saturate: '/Saturation8' */ - /* Saturate: '/Saturation15' incorporates: - * Bias: '/Add Constant1' + /* Saturate: '/Saturation15' incorporates: + * Bias: '/Add Constant1' */ - if (rtb_Divide7_d + 2048.0 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + if (IGN_voltage + 2048.0 > 4095.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_FUR = 4095U; - } else if (rtb_Divide7_d + 2048.0 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + } else if (IGN_voltage + 2048.0 < 0.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_FUR = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.dbg_PIDValve_model.I_FUR = (uint16_t)(rtb_Divide7_d + 2048.0); + rtDW.dbg_PIDValve_model.I_FUR = (uint16_t)(IGN_voltage + 2048.0); } - /* End of Saturate: '/Saturation15' */ + /* End of Saturate: '/Saturation15' */ - /* Saturate: '/Saturation16' incorporates: - * Bias: '/Add Constant2' + /* Saturate: '/Saturation16' incorporates: + * Bias: '/Add Constant2' */ - if (rtb_Gain17_h + 2048.0 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + if (rtb_area_L_j + 2048.0 > 4095.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.D_FUR = 4095U; - } else if (rtb_Gain17_h + 2048.0 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + } else if (rtb_area_L_j + 2048.0 < 0.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.D_FUR = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.dbg_PIDValve_model.D_FUR = (uint16_t)(rtb_Gain17_h + 2048.0); + rtDW.dbg_PIDValve_model.D_FUR = (uint16_t)(rtb_area_L_j + 2048.0); } - /* End of Saturate: '/Saturation16' */ + /* End of Saturate: '/Saturation16' */ - /* Saturate: '/Saturation20' incorporates: - * Bias: '/Add Constant7' + /* Saturate: '/Saturation20' incorporates: + * Bias: '/Add Constant7' */ - if (rtb_Gain22 + 2048.0 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + if (rtb_uDLookupTable1_jw + 2048.0 > 4095.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_FLL = 4095U; - } else if (rtb_Gain22 + 2048.0 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + } else if (rtb_uDLookupTable1_jw + 2048.0 < 0.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_FLL = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.dbg_PIDValve_model.I_FLL = (uint16_t)(rtb_Gain22 + 2048.0); + rtDW.dbg_PIDValve_model.I_FLL = (uint16_t)(rtb_uDLookupTable1_jw + 2048.0); } - /* End of Saturate: '/Saturation20' */ + /* End of Saturate: '/Saturation20' */ - /* Saturate: '/Saturation21' incorporates: - * Bias: '/Add Constant8' + /* Saturate: '/Saturation21' incorporates: + * Bias: '/Add Constant8' */ - if (rtb_Gain23 + 2048.0 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + if (rtb_uDLookupTable2_fm + 2048.0 > 4095.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.D_FLL = 4095U; - } else if (rtb_Gain23 + 2048.0 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + } else if (rtb_uDLookupTable2_fm + 2048.0 < 0.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.D_FLL = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.dbg_PIDValve_model.D_FLL = (uint16_t)(rtb_Gain23 + 2048.0); + rtDW.dbg_PIDValve_model.D_FLL = (uint16_t)(rtb_uDLookupTable2_fm + 2048.0); } - /* End of Saturate: '/Saturation21' */ + /* End of Saturate: '/Saturation21' */ - /* Saturate: '/Saturation23' incorporates: - * Bias: '/Add Constant10' + /* Saturate: '/Saturation23' incorporates: + * Bias: '/Add Constant10' */ - if (rtb_Gain25 + 2048.0 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + if (rtb_uDLookupTable3_bz + 2048.0 > 4095.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_FRL = 4095U; - } else if (rtb_Gain25 + 2048.0 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + } else if (rtb_uDLookupTable3_bz + 2048.0 < 0.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_FRL = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.dbg_PIDValve_model.I_FRL = (uint16_t)(rtb_Gain25 + 2048.0); + rtDW.dbg_PIDValve_model.I_FRL = (uint16_t)(rtb_uDLookupTable3_bz + 2048.0); } - /* End of Saturate: '/Saturation23' */ + /* End of Saturate: '/Saturation23' */ - /* Saturate: '/Saturation24' incorporates: - * Bias: '/Add Constant11' + /* Saturate: '/Saturation24' incorporates: + * Bias: '/Add Constant11' */ - if (rtb_Gain26 + 2048.0 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + if (rtb_uDLookupTable4_en + 2048.0 > 4095.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.D_FRL = 4095U; - } else if (rtb_Gain26 + 2048.0 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + } else if (rtb_uDLookupTable4_en + 2048.0 < 0.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.D_FRL = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.dbg_PIDValve_model.D_FRL = (uint16_t)(rtb_Gain26 + 2048.0); + rtDW.dbg_PIDValve_model.D_FRL = (uint16_t)(rtb_uDLookupTable4_en + 2048.0); } - /* End of Saturate: '/Saturation24' */ + /* End of Saturate: '/Saturation24' */ - /* Saturate: '/Saturation26' incorporates: - * Bias: '/Add Constant12' + /* Saturate: '/Saturation26' incorporates: + * Bias: '/Add Constant12' */ if (rtb_Gain28 + 2048.0 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_RL = 4095U; } else if (rtb_Gain28 + 2048.0 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_RL = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_RL = (uint16_t)(rtb_Gain28 + 2048.0); } - /* End of Saturate: '/Saturation26' */ + /* End of Saturate: '/Saturation26' */ - /* Saturate: '/Saturation27' incorporates: - * Bias: '/Add Constant13' + /* Saturate: '/Saturation27' incorporates: + * Bias: '/Add Constant13' */ if (rtb_Gain29 + 2048.0 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.D_RL = 4095U; } else if (rtb_Gain29 + 2048.0 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.D_RL = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.D_RL = (uint16_t)(rtb_Gain29 + 2048.0); } - /* End of Saturate: '/Saturation27' */ + /* End of Saturate: '/Saturation27' */ - /* Bias: '/Add Constant17' incorporates: - * Gain: '/Gain30' + /* Bias: '/Add Constant17' incorporates: + * Gain: '/Gain30' */ - rtb_Divide11 = 10.0 * rtb_Divide10 + 2048.0; + rtb_output_h = 10.0 * rtb_P + 2048.0; - /* Saturate: '/Saturation31' */ - if (rtb_Divide11 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* Saturate: '/Saturation31' */ + if (rtb_output_h > 4095.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.P_RR = 4095U; - } else if (rtb_Divide11 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + } else if (rtb_output_h < 0.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.P_RR = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.dbg_PIDValve_model.P_RR = (uint16_t)rtb_Divide11; + rtDW.dbg_PIDValve_model.P_RR = (uint16_t)rtb_output_h; } - /* End of Saturate: '/Saturation31' */ + /* End of Saturate: '/Saturation31' */ - /* Saturate: '/Saturation29' incorporates: - * Bias: '/Add Constant15' + /* Saturate: '/Saturation29' incorporates: + * Bias: '/Add Constant15' */ if (rtb_Gain17 + 2048.0 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_RR = 4095U; } else if (rtb_Gain17 + 2048.0 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_RR = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.I_RR = (uint16_t)(rtb_Gain17 + 2048.0); } - /* End of Saturate: '/Saturation29' */ + /* End of Saturate: '/Saturation29' */ - /* Bias: '/Add Constant16' incorporates: - * Gain: '/Gain32' + /* Bias: '/Add Constant16' incorporates: + * Gain: '/Gain32' */ - rtb_Divide11 = 10.0 * rtb_D + 2048.0; + rtb_output_h = 10.0 * rtb_D + 2048.0; - /* Saturate: '/Saturation30' */ - if (rtb_Divide11 > 4095.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* Saturate: '/Saturation30' */ + if (rtb_output_h > 4095.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.D_RR = 4095U; - } else if (rtb_Divide11 < 0.0) { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + } else if (rtb_output_h < 0.0) { + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ rtDW.dbg_PIDValve_model.D_RR = 0U; } else { - /* BusCreator: '/Bus Creator1' incorporates: - * DataStoreWrite: '/Data Store Write1' + /* BusCreator: '/Bus Creator1' incorporates: + * DataStoreWrite: '/Data Store Write1' */ - rtDW.dbg_PIDValve_model.D_RR = (uint16_t)rtb_Divide11; + rtDW.dbg_PIDValve_model.D_RR = (uint16_t)rtb_output_h; } - /* End of Saturate: '/Saturation30' */ + /* End of Saturate: '/Saturation30' */ - /* Gain: '/factor 0.1' incorporates: - * DataStoreRead: '/Data Store Read3' - */ - index_start *= 10.0; - - /* DataTypeConversion: '/Data Type Conversion3' */ - if (index_start >= 0.5) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* DataTypeConversion: '/Data Type Conversion3' */ + if (rtb_uDLookupTable3 >= 0.5) { + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ - rtDW.dbgCAN_dbg_Sen_0_model.dbg_Sen_BattVolt_ro = (uint8_t)floor(index_start - + 0.5); + rtDW.dbgCAN_dbg_Sen_0_model.dbg_Sen_BattVolt_ro = (uint8_t)floor + (rtb_uDLookupTable3 + 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_BattVolt_ro = 0U; } - /* End of DataTypeConversion: '/Data Type Conversion3' */ + /* End of DataTypeConversion: '/Data Type Conversion3' */ - /* 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_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_Add_p4 = fabs(rtDW.Sun_L); - if (rtb_Add_p4 < 4.503599627370496E+15) { - if (rtb_Add_p4 >= 0.5) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + rtb_Divide5 = fabs(rtDW.Sun_L); + if (rtb_Divide5 < 4.503599627370496E+15) { + if (rtb_Divide5 >= 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_Add_p4 = fabs(rtDW.Sun_R); - if (rtb_Add_p4 < 4.503599627370496E+15) { - if (rtb_Add_p4 >= 0.5) { - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + rtb_Divide5 = fabs(rtDW.Sun_R); + if (rtb_Divide5 < 4.503599627370496E+15) { + if (rtb_Divide5 >= 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: - * 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_b4q[0]; rtDW.dbgCAN_dbg_Act0_model.dbg_Act01_Vent_SFL = rtb_DataTypeConversion_b4q[5]; @@ -58759,11 +62356,11 @@ void HVAC_model_step(void) 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_b4q[6]; rtDW.dbgCAN_dbg_Act2_model.dbg_Act17_TempU_FR = Actuator_pos_percent_Ch1[0]; @@ -58775,11 +62372,11 @@ void HVAC_model_step(void) rtDW.dbgCAN_dbg_Act2_model.dbg_Act23_SealingValve = rtb_DataTypeConversion_kl [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_kl[2]; @@ -58790,70 +62387,68 @@ void HVAC_model_step(void) rtDW.dbgCAN_dbg_Act1_model.dbg_Act14_Foot_RR = rtb_DataTypeConversion_kl[6]; rtDW.dbgCAN_dbg_Act1_model.dbg_Act15_TempU_FL = rtb_DataTypeConversion_b4q[3]; - /* 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_ks; - 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_g; - rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Vtg_RR = rtb_u6FRU_tg_amb; - rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Incar_RL = rtb_MultiportSwitch_oa; - rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Incar_FR = rtb_u5FLU_tg_incar_i; - rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Incar_RR = rtb_MultiportSwitch_if; - rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Incar_FL = rtb_Bias4; - rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Amb_RL = rtb_u5FRU_tg_incar; - rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Amb_FR = rtb_u6FLU_tg_amb_g; - rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Sun_RR = rtb_MultiportSwitch_az; - rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Amb_FL = rtb_Bias2_n; - rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Sun_FR = rtb_u6FLU_tg_amb_a3; - rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Sun_RL = rtb_u6FRU_tg_amb_f; - rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Amb_RR = rtb_MultiportSwitch_cq; - rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Sun_FL = rtb_Bias3; + rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Vtg_RL = rtb_u6FLU_tg_amb_ht; + rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Vtg_FL = rtb_MultiportSwitch_pa; + rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Vtg_FR = rtb_u6FRU_tg_amb; + rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Vtg_RR = rtb_u8Vtg_FX_plus; + rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Incar_RL = rtb_Bias1_h; + rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Incar_FR = rtb_MultiportSwitch_dbp; + rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Incar_RR = rtb_Bias4; + rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Incar_FL = rtb_MultiportSwitch_fg; + rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Amb_RL = rtb_u6FLU_tg_amb_p; + rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Amb_FR = rtb_MultiportSwitch_cq; + rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Sun_RR = rtb_u6FLU_tg_amb_ha; + rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Amb_FL = rtb_u5FRU_tg_incar; + rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Sun_FR = rtb_u5FLU_tg_incar_g; + rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Sun_RL = rtb_y_he; + rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Amb_RR = rtb_u6FLU_tg_amb_l; + rtDW.dbg_Auto_AF_model.dbg_Auto_AF_Sun_FL = rtb_u6FRU_tg_amb_f; - /* 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' + /* 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' * SignalConversion generated from: '/Vector Concatenate' + * SignalConversion generated from: '/Vector Concatenate' + * 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 = Duct_FLU_Tg; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tg_Incar_FL_Upper_ro = (int16_t) - (rtb_MultiportSwitch_dq2 - 200); + (rtb_MultiportSwitch_bvo - 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_Merge_b; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tgt_FR_Upper_ro = Duct_FRU_Tg; - rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tgt_FR_Lower_ro = rtb_y_he; + rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tgt_FR_Lower_ro = rtb_FLU_tg_correct_ot; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tgt_FL_Lower_ro = rtb_y_ds; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tg_Incar_FR_Upper_ro = (int16_t) - (rtb_VectorConcatenate_kz[4] - 200); - rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tg_FL_Upper_ro = - rtb_MultiportSwitch_ehw; + (rtb_MultiportSwitch_ar - 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_by[0]; - rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tg_FR_Upper_ro = - rtb_VectorConcatenate_kz[0]; + rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tg_FR_Lower_ro = rtb_Bias2_n; + rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tg_FR_Upper_ro = rtb_MultiportSwitch_gj; 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) @@ -58861,43 +62456,40 @@ void HVAC_model_step(void) rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Incar_FL_Lower_ro = Duct_FRU_Tg_DBG[1]; 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_kz[1]; + rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Incar_FR_Upper_ro = rtb_u5FLL_tg_incar; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Incar_FR_Lower_ro = - rtb_VectorConcatenate_by[1]; + rtb_VectorConcatenate_kz[1]; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Incar_FL_Upper_ro = rtb_u5FLU_tg_incar_b; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tg_Incar_FR_Lower_ro = (int16_t) - (rtb_VectorConcatenate_by[4] - 200); + (rtb_VectorConcatenate_kz[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_kz[2]; + rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Amb_FR_Upper_ro = rtb_u6FLL_tg_amb; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Amb_FR_Lower_ro = - rtb_VectorConcatenate_by[2]; + rtb_VectorConcatenate_kz[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_h; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Tg_Incar_RL_ro = (int16_t) - (rtb_MultiportSwitch_np - 200); + (rtb_MultiportSwitch_pe - 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_by[3]; - rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Sun_FR_Upper_ro = rtb_VectorConcatenate_kz[3]; + rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Sun_FR_Upper_ro = rtb_Bias3; rtDW.dbg_Auto_Duct_model.dbg_Auto_Duct_Sun_RL_ro = rtb_u6FLU_tg_amb_n; 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 Read9' - * DataStoreRead: '/Data Store Read9' - * DataStoreRead: '/Data Store Read9' - * DataStoreWrite: '/Data Store Write1' - * DataStoreWrite: '/Data Store Write1' - * DataStoreWrite: '/Data Store Write1' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read9' + * DataStoreRead: '/Data Store Read9' + * DataStoreRead: '/Data Store Read9' + * DataStoreWrite: '/Data Store Write1' + * DataStoreWrite: '/Data Store Write1' + * DataStoreWrite: '/Data Store Write1' + * DataStoreWrite: '/Data Store Write' */ rtDW.dbg_Act_calibration_error_model.dbg_Act_calib_00_Def_error = rtDW.ErrorCalibration_private[0]; @@ -58948,12 +62540,12 @@ void HVAC_model_step(void) rtDW.dbg_Act_calibration_error_model.dbg_Act_calib_23_Sealing_error = rtDW.ErrorCalibration_private_b[8]; - /* BusCreator: '/Bus Creator' incorporates: - * Constant: '/Constant6' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * Constant: '/Constant6' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreWrite: '/Data Store Write' */ rtDW.dbg_Act_calibration_model.dbg_Act_calib_MultMsg_Idx = 0U; rtDW.dbg_Act_calibration_model.dbg_Act_calib_21_Rec = @@ -59005,31 +62597,31 @@ void HVAC_model_step(void) rtDW.dbg_Act_calibration_model.dbg_Act_calib_23_SealingValve = rtDW.MaxPositionCh2_private[8]; - /* 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_o(WinterCondition_is_active_F, WinterCondition_eTXV_ON_Front, - &rtb_DataTypeConversion1_hy); + MATLABFunction_o(rtb_AND2_b, WinterCondition_eTXV_ON_Front, + &rtb_DataTypeConversion1_nc); - /* 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_o(WinterCondition_is_active_R, WinterCondition_eTXV_ON_Rear, - &rtb_DataTypeConversion3_hs); + &rtb_Switch_bm); - /* 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 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; @@ -59038,7 +62630,7 @@ void HVAC_model_step(void) 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 = eComp_stop; + rtDW.dbg_Logic_Ac_model.Logic_Ac_Comp_EmrStop_Reason = rtb_LogicalOperator1; /* Outport: '/CCU_Errors_model' incorporates: * DataStoreRead: '/Data Store Read10' @@ -59065,45 +62657,45 @@ void HVAC_model_step(void) */ rtY.Actuator_Ch2_Command_Model_out = Actuator_Ch2_Command_Model; - /* Switch: '/Switch4' */ + /* Switch: '/Switch4' */ if (rtB.Chiller_Only_Flag > 0.0) { - /* BusCreator: '/Bus Creator' incorporates: - * Constant: '/Constant' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * Constant: '/Constant' + * 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' */ + /* 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 = rtb_DataTypeConversion1_hy; - rtDW.dbg_Logic_Ac_model.Logic_Ac_WinterSts_Rear = rtb_DataTypeConversion3_hs; + rtDW.dbg_Logic_Ac_model.Logic_Ac_WinterSts_Front = rtb_DataTypeConversion1_nc; + rtDW.dbg_Logic_Ac_model.Logic_Ac_WinterSts_Rear = rtb_Switch_bm; - /* 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' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * DataTypeConversion: '/Data Type Conversion2' - * DataTypeConversion: '/Data Type Conversion3' + /* 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' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * DataTypeConversion: '/Data Type Conversion2' + * DataTypeConversion: '/Data Type Conversion3' */ 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; @@ -59113,25 +62705,65 @@ void HVAC_model_step(void) rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_Pwm_Rear = rtDW.PWM_rear; rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_AF_FL = (uint8_t) rtb_Saturation_as; - rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_AF_FR = (uint8_t)Gain1; - rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_AF_RL = (uint8_t)rtb_out_fr3; - rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_AF_RR = (uint8_t)rtb_out_fm3; + rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_AF_FR = (uint8_t) + rtb_Saturation2; + rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_AF_RL = (uint8_t)rtb_out_ew5; + rtDW.dbgCAN_dbg_Logic_Blower_model.Logic_Blower_AF_RR = (uint8_t)rtb_out_ip; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read8' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read8' + * DataStoreWrite: '/Data Store Write' * DataStoreWrite: '/Data Store Write3' - * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' */ rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Idx = rtDW.Full_Rec; + rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Spd_Sts = rtb_Saturation4; rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Winter = 0U; - rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Summer = rtb_Saturation4; - rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_FreshAirPurge_Sts = 0U; rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Ajar_Stat = rtDW.Door_ajar_is_active; + rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_Partial_Summer = + rtb_DataTypeConversion3_c1; + rtDW.dbgCAN_Logic_Rec_model.Logic_Rec_FreshAirPurge_Sts = 0U; - /* MATLAB Function: '/select MAX AC node for dbg' incorporates: - * DataStoreRead: '/Data Store Read' + /* MATLAB Function: '/MATLAB Function' incorporates: + * DataStoreRead: '/Data Store Read' + */ + /* : MODE_ACTIVE_CONDITIONS1_SUMMER = uint8(10); */ + /* : MODE_ACTIVE_CONDITIONS2_WINTER = uint8(11); */ + /* : if Rest_mode == MODE_ACTIVE_CONDITIONS2_WINTER */ + switch (rtDW.RestMode_mode) { + case 11: + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + /* : rest_dbg = uint8(1); */ + rtDW.dbgCAN_Logic_State_model.Logic_Rest_Mode = 1U; + break; + + case 10: + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + /* : elseif Rest_mode == MODE_ACTIVE_CONDITIONS1_SUMMER */ + /* : rest_dbg = uint8(2); */ + rtDW.dbgCAN_Logic_State_model.Logic_Rest_Mode = 2U; + break; + + default: + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' + */ + /* : else */ + /* : rest_dbg = uint8(0); */ + rtDW.dbgCAN_Logic_State_model.Logic_Rest_Mode = 0U; + break; + } + + /* End of MATLAB Function: '/MATLAB Function' */ + + /* MATLAB Function: '/select MAX AC node for dbg' incorporates: + * DataStoreRead: '/Data Store Read' */ /* : MODE_OFF = uint8(0); */ /* : MODE_ENTRY_STEP1_MAX_AC = uint8(1); */ @@ -59144,16 +62776,16 @@ void HVAC_model_step(void) /* : if MAC_AC_mode == MODE_ACTIVE_CONDITIONS1_MAX_AC */ switch (rtDW.Max_AC_mode) { case 10: - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* : dbg_mode = uint8(1); */ rtDW.dbgCAN_Logic_State_model.Logic_Full_MaxAc = 1U; break; case 11: - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* : elseif MAC_AC_mode == MODE_ACTIVE_CONDITIONS2_MAX_AC */ /* : dbg_mode = uint8(2); */ @@ -59161,8 +62793,8 @@ void HVAC_model_step(void) break; default: - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreWrite: '/Data Store Write' */ /* : else */ /* : dbg_mode = uint8(0); */ @@ -59170,23 +62802,24 @@ void HVAC_model_step(void) break; } - /* End of MATLAB Function: '/select MAX AC node for dbg' */ + /* End of MATLAB Function: '/select MAX AC node for dbg' */ - /* BusCreator: '/Bus Creator' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreRead: '/Data Store Read4' - * DataStoreRead: '/Data Store Read7' - * DataStoreRead: '/Data Store Read82' - * DataStoreRead: '/Data Store Read9' - * DataStoreRead: '/Data Store Read' - * DataStoreWrite: '/Data Store Write' - * Sum: '/Sum' - * Sum: '/Sum1' - * Switch: '/Switch' + /* BusCreator: '/Bus Creator' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read7' + * DataStoreRead: '/Data Store Read8' + * DataStoreRead: '/Data Store Read82' + * DataStoreRead: '/Data Store Read9' + * DataStoreRead: '/Data Store Read' + * DataStoreWrite: '/Data Store Write' + * Sum: '/Sum' + * Sum: '/Sum1' + * Switch: '/Switch' */ rtDW.dbgCAN_Logic_State_model.Logic_Operation_Mode = (uint8_t)i; rtDW.dbgCAN_Logic_State_model.Logic_Amb_Level = rtDW.LEVEL; @@ -59194,7 +62827,6 @@ void HVAC_model_step(void) rtDW.FrontWindowHeating_req; rtDW.dbgCAN_Logic_State_model.Logic_AutoDemist_Garage = 0U; rtDW.dbgCAN_Logic_State_model.Logic_RemoteStart = 0U; - rtDW.dbgCAN_Logic_State_model.Logic_Rest_Mode = rtDW.RestMode_winter_or_summer; rtDW.dbgCAN_Logic_State_model.Logic_LoHi_Front = rtDW.CAN_LoHi_Front; rtDW.dbgCAN_Logic_State_model.Logic_2WayValve_Status = 0U; rtDW.dbgCAN_Logic_State_model.Logic_Full_Auto_FL = 0U; @@ -59209,15 +62841,17 @@ void HVAC_model_step(void) rtDW.dbgCAN_Logic_State_model.Logic_Valve_Use_DiffBlr_R2 = 0U; rtDW.dbgCAN_Logic_State_model.Logic_Duct_WaitCorrection_FRL = 0U; rtDW.dbgCAN_Logic_State_model.Logic_Duct_WaitCorrection_FLL = 0U; - rtDW.dbgCAN_Logic_State_model.Logic_AF_WaitCorrection_FL = 0U; - rtDW.dbgCAN_Logic_State_model.Logic_AF_WaitCorrection_FR = 0U; + rtDW.dbgCAN_Logic_State_model.Logic_AF_WaitCorrection_FL = + rtDW.wait_correction_AF_FL_state; + rtDW.dbgCAN_Logic_State_model.Logic_AF_WaitCorrection_FR = + rtDW.wait_correction_AF_FR_state; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreWrite: '/Data Store Write' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreWrite: '/Data Store Write' */ rtDW.dbg_Logic_Valve_model.Logic_Valve_Index_FL = rtDW.Index_mode_FL; rtDW.dbg_Logic_Valve_model.Logic_Valve_Index_FR = rtDW.Index_mode_FR; @@ -59228,44 +62862,44 @@ 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 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 = AMB_RAW; rtDW.dbgCAN_dbg_Sen_Amb_model.dbg_Amb_Tg_ro = 0; - /* 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' + /* 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.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_MultMsg_Idx = 0U; - rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_Raw_FL_ro = rtb_Switch3_no; + rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_Raw_FL_ro = rtb_Switch1_pd; rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_FL_ro = rtDW.Incar_FL; - rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_Raw_FR_ro = rtb_Switch1_pd; + rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_Raw_FR_ro = rtb_Switch2_ac; rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_FR_ro = rtDW.Incar_FR; - rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_Raw_RL_ro = rtb_Switch5_l; + rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_Raw_RL_ro = rtb_Switch4_f5; rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_RL_ro = rtDW.Incar_RL; - rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_Raw_RR_ro = rtb_Switch4_f5; + rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_Raw_RR_ro = rtb_Switch3_no; rtDW.dbgCAN_dbg_Sen_Incar_model.dbg_Sen_Incar_RR_ro = rtDW.Incar_RR; - /* BusCreator: '/Bus Creator' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read3' - * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion1' - * DataTypeConversion: '/Data Type Conversion2' - * Gain: '/Gain1' + /* BusCreator: '/Bus Creator' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreWrite: '/Data Store Write' + * DataTypeConversion: '/Data Type Conversion1' + * DataTypeConversion: '/Data Type Conversion2' + * Gain: '/Gain1' */ rtDW.dbg_Sen_Demist_model.dbg_Sen_DewPoint_Diff_ro = rtDW.Dew_point; rtDW.dbg_Sen_Demist_model.dbg_Sen_WindShield_Humidity_ro = (uint16_t)(10.0 * @@ -59273,72 +62907,371 @@ void HVAC_model_step(void) rtDW.dbg_Sen_Demist_model.dbg_Sen_WindShield_Temp_ro = (int16_t)floor (rtb_Divide1_jg); - /* BusCreator: '/Bus Creator1' incorporates: - * Constant: '/Constant6' - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read10' - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read12' - * DataStoreRead: '/Data Store Read13' - * DataStoreRead: '/Data Store Read14' - * DataStoreRead: '/Data Store Read15' - * DataStoreRead: '/Data Store Read16' - * 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 Write' - * DataStoreWrite: '/Data Store Write' - * DataStoreWrite: '/Data Store Write1' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * DataTypeConversion: '/Data Type Conversion2' - * DataTypeConversion: '/Data Type Conversion3' + /* BusCreator: '/Bus Creator1' incorporates: + * Constant: '/Constant6' + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read12' + * DataStoreRead: '/Data Store Read13' + * DataStoreRead: '/Data Store Read14' + * DataStoreRead: '/Data Store Read15' + * DataStoreRead: '/Data Store Read16' + * DataStoreRead: '/Data Store Read17' + * DataStoreRead: '/Data Store Read18' + * DataStoreRead: '/Data Store Read19' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read20' + * 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' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * DataTypeConversion: '/Data Type Conversion2' + * DataTypeConversion: '/Data Type Conversion3' */ rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_MultMsg_Idx = 0U; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Fb_Select = (uint8_t) rtb_Cmd_3Way; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RR_Fb_Select = (uint8_t) - IGN_voltage; + rtb_Y_o_idx_3; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RL_Fb_Select = (uint8_t) - rtb_duct_select_index_dbg_c; + rtb_Y_o_idx_2; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Fb_Select = (uint8_t) rtb_Cmd_3Way; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RL_Tgt_ro = rtb_Merge_b; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Upper_Tgt_ro = Duct_FRU_Tg; 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 = Duct_FLU_Tg; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RR_Fb_ro = rtb_MultiportSwitch_ac; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RL_Fb_ro = rtb_X; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RR_Fb_ro = rtb_Switch2_ho; + rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RL_Fb_ro = rtb_FLU_tg_correct_aa; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Upper_Fb_ro = Duct2_F; 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 = rtb_Bias1_h; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_RR_Side_Fb_ro = + 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_ot; - rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FR_Lower_Tgt_ro = rtb_y_he; rtDW.dbgCAN_dbg_Sen_Duct_model.dbg_Sen_Duct_FL_Lower_Tgt_ro = rtb_y_ds; 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 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 = 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; + /* MATLAB Function: '/correction_wait_time FL' incorporates: + * DataStoreRead: '/Data Store Read' + */ + /* : correct_after_time = [g_assCORRECT_AF_TIME_FL_LV0; g_assCORRECT_AF_TIME_FL_LV1; g_assCORRECT_AF_TIME_FL_LV2; g_assCORRECT_AF_TIME_FL_LV3; g_assCORRECT_AF_TIME_FL_LV4; g_assCORRECT_AF_TIME_FL_LV5]; */ + /* : y = correct_after_time(LVL + 1, :); */ + i = (int32_t)(rtDW.LEVEL + 1U); + if (rtDW.LEVEL + 1U > 255U) { + i = 255; + } + + for (rtb_Cmd_3Way = 0; rtb_Cmd_3Way < 7; rtb_Cmd_3Way++) { + tmp_2[6 * rtb_Cmd_3Way] = g_assCORRECT_AF_TIME_FL_LV0[rtb_Cmd_3Way]; + tmp_2[6 * rtb_Cmd_3Way + 1] = g_assCORRECT_AF_TIME_FL_LV1[rtb_Cmd_3Way]; + tmp_2[6 * rtb_Cmd_3Way + 2] = g_assCORRECT_AF_TIME_FL_LV2[rtb_Cmd_3Way]; + tmp_2[6 * rtb_Cmd_3Way + 3] = g_assCORRECT_AF_TIME_FL_LV3[rtb_Cmd_3Way]; + tmp_2[6 * rtb_Cmd_3Way + 4] = g_assCORRECT_AF_TIME_FL_LV4[rtb_Cmd_3Way]; + tmp_2[6 * rtb_Cmd_3Way + 5] = g_assCORRECT_AF_TIME_FL_LV5[rtb_Cmd_3Way]; + rtb_uDLookupTable7_g[rtb_Cmd_3Way] = tmp_2[(6 * rtb_Cmd_3Way + i) - 1]; + } + + /* Lookup_n-D: '/wait time FL' incorporates: + * DataStoreRead: '/Data Store Read16' + */ + rtb_out_oum = look1_iu16lu64n48ts16Ds32Iu16_binlcs(rtDW.CCU_SET_FL, + rtConstP.pooled118, rtb_uDLookupTable7_g, 6U); + + /* MATLAB Function: '/correction_wait_time FR' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/correction_wait_time FL' + */ + /* : 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, :); */ + i = (int32_t)(rtDW.LEVEL + 1U); + if (rtDW.LEVEL + 1U > 255U) { + i = 255; + } + + for (rtb_Cmd_3Way = 0; rtb_Cmd_3Way < 7; rtb_Cmd_3Way++) { + tmp_2[6 * rtb_Cmd_3Way] = g_assCORRECT_AF_TIME_FR_LV0[rtb_Cmd_3Way]; + tmp_2[6 * rtb_Cmd_3Way + 1] = g_assCORRECT_AF_TIME_FR_LV1[rtb_Cmd_3Way]; + tmp_2[6 * rtb_Cmd_3Way + 2] = g_assCORRECT_AF_TIME_FR_LV2[rtb_Cmd_3Way]; + tmp_2[6 * rtb_Cmd_3Way + 3] = g_assCORRECT_AF_TIME_FR_LV3[rtb_Cmd_3Way]; + tmp_2[6 * rtb_Cmd_3Way + 4] = g_assCORRECT_AF_TIME_FR_LV4[rtb_Cmd_3Way]; + tmp_2[6 * rtb_Cmd_3Way + 5] = g_assCORRECT_AF_TIME_FR_LV5[rtb_Cmd_3Way]; + rtb_uDLookupTable7_g[rtb_Cmd_3Way] = tmp_2[(6 * rtb_Cmd_3Way + i) - 1]; + } + + /* End of MATLAB Function: '/correction_wait_time FR' */ + + /* Lookup_n-D: '/wait time FR' incorporates: + * DataStoreRead: '/Data Store Read17' + */ + Gain1 = look1_iu16lu64n48ts16Ds32Iu16_binlcs(rtDW.CCU_SET_FR, + rtConstP.pooled118, rtb_uDLookupTable7_g, 6U); + + /* MATLAB Function: '/all_correction_rates' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/correction_wait_time FL' + */ + /* : 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]; */ + /* : y = correct_rate(LVL + 1, :); */ + i = (int32_t)(rtDW.LEVEL + 1U); + if (rtDW.LEVEL + 1U > 255U) { + i = 255; + } + + for (rtb_Cmd_3Way = 0; rtb_Cmd_3Way < 7; rtb_Cmd_3Way++) { + tmp_2[6 * rtb_Cmd_3Way] = g_assCORRECT_AF_RATE_LV0[rtb_Cmd_3Way]; + tmp_2[6 * rtb_Cmd_3Way + 1] = g_assCORRECT_AF_RATE_LV1[rtb_Cmd_3Way]; + tmp_2[6 * rtb_Cmd_3Way + 2] = g_assCORRECT_AF_RATE_LV2[rtb_Cmd_3Way]; + tmp_2[6 * rtb_Cmd_3Way + 3] = g_assCORRECT_AF_RATE_LV3[rtb_Cmd_3Way]; + tmp_2[6 * rtb_Cmd_3Way + 4] = g_assCORRECT_AF_RATE_LV4[rtb_Cmd_3Way]; + tmp_2[6 * rtb_Cmd_3Way + 5] = g_assCORRECT_AF_RATE_LV5[rtb_Cmd_3Way]; + rtb_uDLookupTable7_g[rtb_Cmd_3Way] = tmp_2[(6 * rtb_Cmd_3Way + i) - 1]; + } + + /* End of MATLAB Function: '/all_correction_rates' */ + + /* Lookup_n-D: '/correction_rate FL' incorporates: + * DataStoreRead: '/Data Store Read16' + */ + rtb_out_ihi = look1_iu16lu64n48ts16Ds32Iu16_binlcs(rtDW.CCU_SET_FL, + rtConstP.pooled118, rtb_uDLookupTable7_g, 6U); + + /* Lookup_n-D: '/correction_rate FR' incorporates: + * DataStoreRead: '/Data Store Read17' + */ + rtb_out_kez = look1_iu16lu64n48ts16Ds32Iu16_binlcs(rtDW.CCU_SET_FR, + rtConstP.pooled118, rtb_uDLookupTable7_g, 6U); + + /* MATLAB Function: '/all_correction_max' incorporates: + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/correction_wait_time FL' + */ + /* : correct_af_max = [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_af_max(LVL + 1, :); */ + i = (int32_t)(rtDW.LEVEL + 1U); + if (rtDW.LEVEL + 1U > 255U) { + i = 255; + } + + for (rtb_Cmd_3Way = 0; rtb_Cmd_3Way < 7; rtb_Cmd_3Way++) { + tmp_2[6 * rtb_Cmd_3Way] = g_assCORRECT_AF_MAX_LV0[rtb_Cmd_3Way]; + tmp_2[6 * rtb_Cmd_3Way + 1] = g_assCORRECT_AF_MAX_LV1[rtb_Cmd_3Way]; + tmp_2[6 * rtb_Cmd_3Way + 2] = g_assCORRECT_AF_MAX_LV2[rtb_Cmd_3Way]; + tmp_2[6 * rtb_Cmd_3Way + 3] = g_assCORRECT_AF_MAX_LV3[rtb_Cmd_3Way]; + tmp_2[6 * rtb_Cmd_3Way + 4] = g_assCORRECT_AF_MAX_LV4[rtb_Cmd_3Way]; + tmp_2[6 * rtb_Cmd_3Way + 5] = g_assCORRECT_AF_MAX_LV5[rtb_Cmd_3Way]; + rtb_uDLookupTable7_g[rtb_Cmd_3Way] = tmp_2[(6 * rtb_Cmd_3Way + i) - 1]; + } + + /* End of MATLAB Function: '/all_correction_max' */ + + /* Lookup_n-D: '/correction_max FL' incorporates: + * DataStoreRead: '/Data Store Read16' + */ + rtb_out_cryk = look1_iu16lu64n48ts16Ds32Iu16_binlcs(rtDW.CCU_SET_FL, + rtConstP.pooled118, rtb_uDLookupTable7_g, 6U); + + /* Lookup_n-D: '/correction_max FL1' incorporates: + * DataStoreRead: '/Data Store Read17' + */ + rtb_out_ew5 = look1_iu16lu64n48ts16Ds32Iu16_binlcs(rtDW.CCU_SET_FR, + rtConstP.pooled118, rtb_uDLookupTable7_g, 6U); + + /* MATLAB Function: '/wait correсtion calculations' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read44' + * DataStoreRead: '/Data Store Read51' + * DataStoreRead: '/Data Store Read61' + * DataStoreWrite: '/Data Store Write3' + * DataStoreWrite: '/Data Store Write4' + * DataTypeConversion: '/Data Type Conversion' + */ + /* : STATE_OFF = uint8(0); */ + /* : STATE_WAIT = uint8(1); */ + /* : STATE_CHANGE = uint8(2); */ + /* : STATE_DONE = uint8(3); */ + /* : wait_state_FL = STATE_OFF; */ + rtDW.wait_correction_AF_FL_state = 0U; + + /* : wait_state_FR = STATE_OFF; */ + rtDW.wait_correction_AF_FR_state = 0U; + + /* : if isempty(start_time_FL) */ + /* : if (Start_Control_Step >= 0 && Start_Control_Step < 3) */ + if ((rtDW.step_start_controle_front >= 0) && (rtDW.step_start_controle_front < + 3)) { + /* : timer_started_FL = false; */ + rtDW.timer_started_FL = false; + + /* : timer_started_FR = false; */ + rtDW.timer_started_FR = false; + } else { + /* : else */ + /* : if AF_left_in ~= 0 && timer_started_FL == false */ + if ((rtb_Saturation_as != 0) && (!rtDW.timer_started_FL)) { + /* : start_time_FL = t_now; */ + rtDW.start_time_FL = rtDW.t_now; + + /* : timer_started_FL = true; */ + rtDW.timer_started_FL = true; + } + + /* : else */ + /* : if AF_right_in ~= 0 && timer_started_FR == false */ + if ((rtb_Saturation2 != 0) && (!rtDW.timer_started_FR)) { + /* : start_time_FR = t_now; */ + rtDW.start_time_FR = rtDW.t_now; + + /* : timer_started_FR = true; */ + rtDW.timer_started_FR = true; + } + } + + /* : if (Start_Control_Step >= 0 && Start_Control_Step < 3) */ + /* : corr_AF_left = 0; */ + i = 0; + + /* : if timer_started_FL && CCU_MODE_FL == 1 */ + if (rtDW.timer_started_FL && (rtDW.CCU_MODE_FL == 1)) { + /* : elapsed_time_FL = (t_now - start_time_FL) / 1000; */ + index_start = ((double)rtDW.t_now - rtDW.start_time_FL) / 1000.0; + + /* : if elapsed_time_FL < wait_time_FL */ + if (index_start < rtb_out_oum) { + /* : wait_state_FL = STATE_WAIT; */ + rtDW.wait_correction_AF_FL_state = 1U; + } else { + /* : else */ + /* : time_after_wait = elapsed_time_FL - wait_time_FL; */ + /* : calculated_corr = double(rate_FL) * double(time_after_wait); */ + rtb_Divide5 = rt_roundd(index_start - (double)rtb_out_oum); + if (rtb_Divide5 < 65536.0) { + if (rtb_Divide5 >= 0.0) { + rtb_out_bf = (uint16_t)rtb_Divide5; + } else { + rtb_out_bf = 0U; + } + } else { + rtb_out_bf = UINT16_MAX; + } + + rtb_Subtract = (uint32_t)rtb_out_ihi * rtb_out_bf; + + /* : if calculated_corr < max_corr_FL */ + if (rtb_Subtract < rtb_out_cryk) { + /* : wait_state_FL = STATE_CHANGE; */ + rtDW.wait_correction_AF_FL_state = 2U; + + /* : corr_AF_left = calculated_corr; */ + i = (int32_t)rtb_Subtract; + } else { + /* : else */ + /* : wait_state_FL = STATE_DONE; */ + rtDW.wait_correction_AF_FL_state = 3U; + + /* : corr_AF_left = double(max_corr_FL); */ + i = rtb_out_cryk; + } + } + } + + /* : corr_AF_right = 0; */ + rtb_Cmd_3Way = 0; + + /* : if timer_started_FR && CCU_MODE_FR == 1 */ + if (rtDW.timer_started_FR && (rtDW.CCU_MODE_FR == 1)) { + /* : elapsed_time_FR = (t_now - start_time_FR) / 1000; */ + index_start = ((double)rtDW.t_now - rtDW.start_time_FR) / 1000.0; + + /* : if elapsed_time_FR < wait_time_FR */ + if (index_start < Gain1) { + /* : wait_state_FR = STATE_WAIT; */ + rtDW.wait_correction_AF_FR_state = 1U; + } else { + /* : else */ + /* : time_after_wait_FR = elapsed_time_FR - wait_time_FR; */ + /* : calculated_corr = double(rate_FR) * double(time_after_wait_FR); */ + rtb_Divide5 = rt_roundd(index_start - (double)Gain1); + if (rtb_Divide5 < 65536.0) { + if (rtb_Divide5 >= 0.0) { + rtb_out_bf = (uint16_t)rtb_Divide5; + } else { + rtb_out_bf = 0U; + } + } else { + rtb_out_bf = UINT16_MAX; + } + + rtb_Subtract = (uint32_t)rtb_out_kez * rtb_out_bf; + + /* : if calculated_corr < max_corr_FR */ + if (rtb_Subtract < rtb_out_ew5) { + /* : wait_state_FR = STATE_CHANGE; */ + rtDW.wait_correction_AF_FR_state = 2U; + + /* : corr_AF_right = calculated_corr; */ + rtb_Cmd_3Way = (int32_t)rtb_Subtract; + } else { + /* : else */ + /* : wait_state_FR = STATE_DONE; */ + rtDW.wait_correction_AF_FR_state = 3U; + + /* : corr_AF_right = double(max_corr_FR); */ + rtb_Cmd_3Way = rtb_out_ew5; + } + } + } + + /* : wait_correction_AF_left = int16(corr_AF_left); */ + /* : wait_correction_AF_right = int16(corr_AF_right); */ + if (i > 32767) { + i = 32767; + } + + /* Gain: '/Gain' incorporates: + * DataStoreWrite: '/Data Store Write1' + * MATLAB Function: '/wait correсtion calculations' + */ + i *= 13107; + rtDW.wait_correction_AF_FL = (int16_t)(((((uint32_t)i & 65536U) != 0U) && + ((((uint32_t)i & 65535U) != 0U) || (i > 0))) + (i >> 17)); + + /* MATLAB Function: '/wait correсtion calculations' */ + if (rtb_Cmd_3Way > 32767) { + rtb_Cmd_3Way = 32767; + } + + /* Gain: '/Gain1' incorporates: + * DataStoreWrite: '/Data Store Write2' + * MATLAB Function: '/wait correсtion calculations' + */ + i = 13107 * rtb_Cmd_3Way; + rtDW.wait_correction_AF_FR = (int16_t)(((((uint32_t)i & 65536U) != 0U) && + ((((uint32_t)i & 65535U) != 0U) || (i > 0))) + (i >> 17)); + /* Outport: '/dtc_state_error_model' incorporates: * DataStoreRead: '/Data Store Read1' */ @@ -59361,21 +63294,53 @@ void HVAC_model_step(void) rtY.dbgCAN_dbg_Act2_model = rtDW.dbgCAN_dbg_Act2_model; /* Outport: '/CCU_Stat1_model' */ - rtY.CCU_Stat1_model.CCU_ModeFL_Stat = rtDW.CCU_MODE_FL; - rtY.CCU_Stat1_model.CCU_ModeFR_Stat = rtb_DataTypeConversion1_gy; - rtY.CCU_Stat1_model.CCU_AutoModeFL_Stat = rtDW.CCU_AUTOMODE_FL; - rtY.CCU_Stat1_model.CCU_AutoModeFR_Stat = center_percent; - rtY.CCU_Stat1_model.CCU_AirDirectionFL_Def_Stat = rtDW.CCU_DEF_FL; - rtY.CCU_Stat1_model.CCU_AirDirectionFL_Face_Stat = rtDW.CCU_FACE_FL; - rtY.CCU_Stat1_model.CCU_AirDirectionFL_Foot_Stat = rtDW.CCU_FOOT_FL; - rtY.CCU_Stat1_model.CCU_AirDirectionFR_Def_Stat = rtb_Merge_c5; - rtY.CCU_Stat1_model.CCU_AirDirectionFR_Face_Stat = rtb_Merge_m4; + rtY.CCU_Stat1_model.CCU_ModeFL_Stat = hvacFanPwm; + rtY.CCU_Stat1_model.CCU_ModeFR_Stat = rtb_Merge_np; + rtY.CCU_Stat1_model.CCU_ModeRL_Stat = rtb_Merge_h; + rtY.CCU_Stat1_model.CCU_ModeRR_Stat = rtb_Merge_md; + rtY.CCU_Stat1_model.CCU_AutoModeFL_Stat = rtb_Switch_k_FIU_CCmodeFL_Req; + rtY.CCU_Stat1_model.CCU_AutoModeFR_Stat = + rtb_Switch_k_FIU_AirDirectionFL_Def_Req; + rtY.CCU_Stat1_model.CCU_AirDirectionRL_Face_Stat = + rtb_Switch_k_FIU_AirDirectionFL_Face_Req; + rtY.CCU_Stat1_model.CCU_AirDirectionRL_Foot_Stat = + rtb_Switch_k_FIU_AirDirectionFL_Foot_Req; + rtY.CCU_Stat1_model.CCU_AutoModeRL_Stat = rtb_Switch_k_FIU_CCmodeFR_Req; + rtY.CCU_Stat1_model.CCU_AutoModeRR_Stat = + rtb_Switch_k_FIU_AirDirectionFR_Def_Req; + rtY.CCU_Stat1_model.CCU_AirDirectionRR_Face_Stat = + rtb_Switch_k_FIU_AirDirectionFR_Face_Req; + rtY.CCU_Stat1_model.CCU_AirDirectionRR_Foot_Stat = + rtb_Switch_k_FIU_AirDirectionFR_Foot_Req; + rtY.CCU_Stat1_model.CCU_AirDirectionFL_Def_Stat = + rtb_Switch_k_FIU_BlowerSpeedFL_Req; + rtY.CCU_Stat1_model.CCU_AirDirectionFL_Face_Stat = + rtb_Switch_k_FIU_BlowerSpeedFR_Req; + rtY.CCU_Stat1_model.CCU_AirDirectionFL_Foot_Stat = + rtb_Switch_k_FIU_CCautoModeFL_Req; + rtY.CCU_Stat1_model.CCU_AirDirectionFR_Def_Stat = + rtb_Switch_k_FIU_CCautoModeFR_Req; + rtY.CCU_Stat1_model.CCU_AirDirectionFR_Face_Stat = + rtb_Switch_k_FIU_Recirculation_Req; rtY.CCU_Stat1_model.CCU_AirDirectionFR_Foot_Stat = - rtb_Switch_f_FIU_CCmodeFL_Req; - rtY.CCU_Stat1_model.CCU_BlowerSpeedFL_Stat = - rtb_Switch_f_FIU_AirDirectionFL_Def_Req; + rtb_Switch_k_FIU_DeflectorSwDL_Req; + rtY.CCU_Stat1_model.CCU_Recirculation_Stat = + rtb_Switch_k_FIU_DeflectorSwDR_Req; + rtY.CCU_Stat1_model.CCU_BlowerSpeedFL_Stat = rtb_Switch_k_FIU_ACfrontOFF_Req; + rtY.CCU_Stat1_model.CCU_TargetTempFL_Stat_ro = + rtb_Switch_k_FIU_DeflectorSwFPL_Req; rtY.CCU_Stat1_model.CCU_BlowerSpeedFR_Stat = - rtb_Switch_f_FIU_AirDirectionFL_Face_Req; + rtb_Switch_k_FIU_DeflectorSwFPR_Req; + rtY.CCU_Stat1_model.CCU_TargetTempFR_Stat_ro = + rtb_Switch_k_FIU_FrontZoneSync_Req; + rtY.CCU_Stat1_model.CCU_BlowerSpeedRL_Stat = + CCU_STAT1_MODEL_CCU_BlowerSpeedRL_Stat; + rtY.CCU_Stat1_model.CCU_TargetTempRR_Stat_ro = + CCU_STAT1_MODEL_CCU_TargetTempRR_Stat_ro; + rtY.CCU_Stat1_model.CCU_BlowerSpeedRR_Stat = + CCU_STAT1_MODEL_CCU_BlowerSpeedRR_Stat; + rtY.CCU_Stat1_model.CCU_TargetTempRL_Stat_ro = + CCU_STAT1_MODEL_CCU_TargetTempRL_Stat_ro; /* Outport: '/dbgCAN_dbg_Sen_Duct_model' incorporates: * DataStoreRead: '/Data Store Read8' @@ -59398,15 +63363,46 @@ void HVAC_model_step(void) rtY.dbgCAN_dbg_Sen_Amb_model = rtDW.dbgCAN_dbg_Sen_Amb_model; /* Outport: '/CCU_Stat2_model' */ - rtY.CCU_Stat2_model.CCU_FootTempCorFL_Stat = rtDW.CCU_FootTempCorr_FL; - rtY.CCU_Stat2_model.CCU_FootTempCorFR_Stat = rtDW.CCU_SET_FOOT_FR; + rtY.CCU_Stat2_model.CCU_AromaCartridgeSw_Stat = + CCU_STAT2_MODEL_CCU_AromaCartridgeSw_Stat; + rtY.CCU_Stat2_model.CCU_FrontZoneSync_Stat = + CCU_STAT2_MODEL_CCU_FrontZoneSync_Stat; + rtY.CCU_Stat2_model.CCU_RearZoneSync_Stat = + CCU_STAT2_MODEL_CCU_RearZoneSync_Stat; + rtY.CCU_Stat2_model.CCU_AllZoneSync_Stat = + CCU_STAT2_MODEL_CCU_AllZoneSync_Stat; + rtY.CCU_Stat2_model.CCU_ACfront_Stat = CCU_STAT2_MODEL_CCU_ACfront_Stat; + rtY.CCU_Stat2_model.CCU_ACrear_Stat = CCU_STAT2_MODEL_CCU_ACrear_Stat; + rtY.CCU_Stat2_model.CCU_ACmaxF_Stat = CCU_STAT2_MODEL_CCU_ACmaxF_Stat; + rtY.CCU_Stat2_model.CCU_ACmaxR_Stat = 0U; + rtY.CCU_Stat2_model.CCU_Defrost_Stat = CCU_STAT2_MODEL_CCU_Defrost_Stat; + rtY.CCU_Stat2_model.CCU_Ionization_Stat = CCU_STAT2_MODEL_CCU_Ionization_Stat; + rtY.CCU_Stat2_model.CCU_FootTempCorFL_Stat = + CCU_STAT2_MODEL_CCU_FootTempCorFL_Stat; + rtY.CCU_Stat2_model.CCU_FootTempCorFR_Stat = + CCU_STAT2_MODEL_CCU_FootTempCorFR_Stat; + rtY.CCU_Stat2_model.CCU_AromaIntens_Stat = + CCU_STAT2_MODEL_CCU_AromaIntens_Stat; + rtY.CCU_Stat2_model.CCU_FootTempCorRL_Stat = + CCU_STAT2_MODEL_CCU_FootTempCorRL_Stat; + rtY.CCU_Stat2_model.CCU_FootTempCorRR_Stat = + CCU_STAT2_MODEL_CCU_FootTempCorRR_Stat; rtY.CCU_Stat2_model.CCU_DeflectorSwDL_Stat = - rtb_Switch_f_FIU_AirDirectionFL_Foot_Req; - rtY.CCU_Stat2_model.CCU_DeflectorSwDR_Stat = rtb_Switch_f_FIU_CCmodeFR_Req; + CCU_STAT2_MODEL_CCU_DeflectorSwDL_Stat; + rtY.CCU_Stat2_model.CCU_DeflectorSwDR_Stat = + CCU_STAT2_MODEL_CCU_DeflectorSwDR_Stat; rtY.CCU_Stat2_model.CCU_DeflectorSwFPL_Stat = - rtb_Switch_f_FIU_AirDirectionFR_Def_Req; + CCU_STAT2_MODEL_CCU_DeflectorSwFPL_Stat; rtY.CCU_Stat2_model.CCU_DeflectorSwFPR_Stat = - rtb_Switch_f_FIU_AirDirectionFR_Face_Req; + CCU_STAT2_MODEL_CCU_DeflectorSwFPR_Stat; + rtY.CCU_Stat2_model.CCU_DeflectorSwFCL_Stat = + CCU_STAT2_MODEL_CCU_DeflectorSwFCL_Stat; + rtY.CCU_Stat2_model.CCU_DeflectorSwFCR_Stat = + CCU_STAT2_MODEL_CCU_DeflectorSwFCR_Stat; + rtY.CCU_Stat2_model.CCU_DeflectorSwRLB_Stat = + CCU_STAT2_MODEL_CCU_DeflectorSwRLB_Stat; + rtY.CCU_Stat2_model.CCU_DeflectorSwRRB_Stat = + CCU_STAT2_MODEL_CCU_DeflectorSwRRB_Stat; /* Outport: '/dbgCAN_dbg_Sen_Incar_model' incorporates: * DataStoreRead: '/Data Store Read48' @@ -59548,55 +63544,57 @@ void HVAC_model_step(void) */ rtY.dbg_Act_calibration_error_model_out = rtDW.dbg_Act_calibration_error_model; - /* Saturate: '/from 0 to 3' incorporates: - * Constant: '/Constant' - * Sum: '/Add' - * UnitDelay: '/Unit Delay' + /* Saturate: '/from 0 to 5' incorporates: + * Constant: '/Constant' + * Sum: '/Add' + * UnitDelay: '/Unit Delay' */ - if (rtDW.UnitDelay_DSTATE + 1.0 > 3.0) { - rtDW.UnitDelay_DSTATE = 3.0; + if (rtDW.UnitDelay_DSTATE + 1.0 > 5.0) { + rtDW.UnitDelay_DSTATE = 5.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' */ + /* End of Saturate: '/from 0 to 5' */ /* If: '/если SC front не завершен2' incorporates: * DataStoreRead: '/Data Store Read1' * DataTypeConversion: '/Data Type Conversion' * DataTypeConversion: '/Data Type Conversion2' - * UnitDelay: '/Unit Delay' + * UnitDelay: '/Unit Delay' */ if (((uint8_t)rtDW.start_control_finished_front == 0) && ((uint8_t) - rtDW.UnitDelay_DSTATE >= 3)) { + rtDW.UnitDelay_DSTATE >= 5)) { /* Outputs for IfAction SubSystem: '/Start Control Front' incorporates: - * ActionPort: '/Action Port' + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read' + /* 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' + /* Outputs for IfAction SubSystem: '/Step -1 F (Entry Condition)' incorporates: + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read1' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' */ switch (rtDW.LEVEL) { case 0: - /* Outputs for IfAction SubSystem: '/Level 0' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: - * DataStoreRead: '/Data Store Read3' + /* 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' + /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/correction_wait_time FL' */ /* : out = g_ausSTART_ENTER_SETTEMP(LVL+1); */ i = (int32_t)(rtDW.LEVEL + 1U); @@ -59604,48 +63602,50 @@ void HVAC_model_step(void) 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' + /* 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' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_pe = 1; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ rtB.Merge_pe = -1; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Level 0' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Level 0' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Level 1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: - * DataStoreRead: '/Data Store Read3' + /* 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' + /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: + * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/correction_wait_time FL' */ /* : out = int16(g_ausSTART_ENTER_SETTEMP(LVL+1)); */ i = (int32_t)(rtDW.LEVEL + 1U); @@ -59653,225 +63653,222 @@ void HVAC_model_step(void) i = 255; } - rtb_out_mxq = g_ausSTART_ENTER_SETTEMP[i - 1]; - if (rtb_out_mxq > 32767) { - rtb_out_mxq = 32767U; + rtb_out_bf = g_ausSTART_ENTER_SETTEMP[i - 1]; + if (rtb_out_bf > 32767) { + rtb_out_bf = 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' + /* 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_mxq) && (rtDW.LO_HI_MODE_FL == 0)) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + (rtDW.CCU_SET_FL < rtb_out_bf) && (rtDW.LO_HI_MODE_FL == 0)) { + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_pe = 1; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ rtB.Merge_pe = -1; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Level 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' + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' */ Level2(&rtB.Merge_pe); - /* End of Outputs for SubSystem: '/Level 2' */ + /* End of Outputs for SubSystem: '/Level 2' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Level 3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 3' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/g_assSTART_ENTER_COOLANT ' incorporates: - * DataStoreRead: '/Data Store Read3' + /* 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' + /* 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' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_pe = 0; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ rtB.Merge_pe = -1; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Level 3' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Level 3' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Level 4' incorporates: - * ActionPort: '/Action Port' + /* 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' */ + /* End of Outputs for SubSystem: '/Level 4' */ break; case 5: - /* Outputs for IfAction SubSystem: '/Level 5' incorporates: - * ActionPort: '/Action Port' + /* 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' */ + /* End of Outputs for SubSystem: '/Level 5' */ break; } - /* End of SwitchCase: '/Switch Case' */ - /* End of Outputs for SubSystem: '/Step -1 F (Entry Condition)' */ + /* 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' + /* Outputs for IfAction SubSystem: '/Step 0 F' incorporates: + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read1' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' */ switch (rtDW.LEVEL) { case 0: - /* Outputs for IfAction SubSystem: '/Level 0' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' */ Level0(&rtB.Merge_pe); - /* End of Outputs for SubSystem: '/Level 0' */ + /* End of Outputs for SubSystem: '/Level 0' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Level 1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' */ Level0(&rtB.Merge_pe); - /* End of Outputs for SubSystem: '/Level 1' */ + /* End of Outputs for SubSystem: '/Level 1' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Level 2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' */ Level0(&rtB.Merge_pe); - /* End of Outputs for SubSystem: '/Level 2' */ + /* End of Outputs for SubSystem: '/Level 2' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Level 3' incorporates: - * ActionPort: '/Action Port' + /* 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' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Blower_FL = 20U; - /* DataStoreWrite: '/Data Store Write10' incorporates: - * Constant: '/Constant4' + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/Constant4' */ rtDW.Dtg_FUR = 600U; - /* DataStoreWrite: '/Data Store Write11' incorporates: - * Constant: '/Constant4' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * Constant: '/Constant4' */ rtDW.Dtg_FUL = 600U; - /* DataStoreWrite: '/Data Store Write12' incorporates: - * Constant: '/Constant6' + /* DataStoreWrite: '/Data Store Write12' incorporates: + * Constant: '/Constant6' */ rtDW.Dtg_FLR = 800U; - /* DataStoreWrite: '/Data Store Write13' incorporates: - * Constant: '/Constant6' + /* 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' + /* 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' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' */ incarfilterdown(rtDW.LEVEL, &EN_BATTChiller); - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Mode - def' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Mode - def' */ rtDW.Mode_FL = 80U; - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Constant: '/Recirc logic Partial REC' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' */ index_start = 1.0; - /* DataStoreWrite: '/Data Store Write8' incorporates: - * Constant: '/Valve open' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * Constant: '/Valve open' */ rtb_timer_out = 1U; - /* DataStoreWrite: '/Data Store Write9' incorporates: - * Constant: '/Valve open' + /* 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' + /* 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' + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' */ rtB.Merge_pe = 3; } else { - /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' incorporates: + * DataStoreRead: '/Data Store Read3' + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/correction_wait_time FL' */ i = (int32_t)(rtDW.LEVEL + 1U); if (rtDW.LEVEL + 1U > 255U) { @@ -59883,526 +63880,220 @@ void HVAC_model_step(void) rtb_Subtract = 0U; } - /* Merge: '/Merge' incorporates: - * DataStoreRead: '/Engine coolant temp' - * MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' - * RelationalOperator: '/Relational Operator' + /* 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' */ + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Level 3' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Level 4' incorporates: - * ActionPort: '/Action Port' + /* 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' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Blower_FL = 20U; - /* DataStoreWrite: '/Data Store Write10' incorporates: - * Constant: '/Constant4' + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/Constant4' */ rtDW.Dtg_FUR = 600U; - /* DataStoreWrite: '/Data Store Write11' incorporates: - * Constant: '/Constant4' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * Constant: '/Constant4' */ rtDW.Dtg_FUL = 600U; - /* DataStoreWrite: '/Data Store Write12' incorporates: - * Constant: '/Constant6' + /* DataStoreWrite: '/Data Store Write12' incorporates: + * Constant: '/Constant6' */ rtDW.Dtg_FLR = 800U; - /* DataStoreWrite: '/Data Store Write13' incorporates: - * Constant: '/Constant6' + /* 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' + /* 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' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' */ incarfilterdown(rtDW.LEVEL, &EN_BATTChiller); - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Mode - def' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Mode - def' */ rtDW.Mode_FL = 80U; - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Constant: '/Recirc logic Partial REC' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' */ index_start = 1.0; - /* DataStoreWrite: '/Data Store Write8' incorporates: - * Constant: '/Valve open' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * Constant: '/Valve open' */ rtb_timer_out = 1U; - /* DataStoreWrite: '/Data Store Write9' incorporates: - * Constant: '/Valve open' + /* DataStoreWrite: '/Data Store Write9' incorporates: + * Constant: '/Valve open' */ ShutOffRear_EN = 1U; - /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' incorporates: - * DataStoreRead: '/Data Store Read3' + /* 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' + /* 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' + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' */ rtB.Merge_pe = 3; } else { - /* Merge: '/Merge' incorporates: - * DataStoreRead: '/Engine coolant temp' - * RelationalOperator: '/Relational Operator' + /* 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' */ + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Level 4' */ break; case 5: - /* Outputs for IfAction SubSystem: '/Level 5' incorporates: - * ActionPort: '/Action Port' + /* 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' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Blower_FL = 20U; - /* DataStoreWrite: '/Data Store Write10' incorporates: - * Constant: '/Constant4' + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/Constant4' */ rtDW.Dtg_FUR = 800U; - /* DataStoreWrite: '/Data Store Write11' incorporates: - * Constant: '/Constant4' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * Constant: '/Constant4' */ rtDW.Dtg_FUL = 800U; - /* DataStoreWrite: '/Data Store Write12' incorporates: - * Constant: '/Constant6' + /* DataStoreWrite: '/Data Store Write12' incorporates: + * Constant: '/Constant6' */ rtDW.Dtg_FLR = 800U; - /* DataStoreWrite: '/Data Store Write13' incorporates: - * Constant: '/Constant6' + /* 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' + /* 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' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' */ incarfilterdown(rtDW.LEVEL, &EN_BATTChiller); - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Mode - def' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Mode - def' */ rtDW.Mode_FL = 80U; - /* DataStoreWrite: '/Data Store Write7' incorporates: - * Constant: '/Recirc logic Partial REC' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' */ index_start = 1.0; - /* DataStoreWrite: '/Data Store Write8' incorporates: - * Constant: '/Valve open' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * Constant: '/Valve open' */ rtb_timer_out = 1U; - /* DataStoreWrite: '/Data Store Write9' incorporates: - * Constant: '/Valve open' + /* DataStoreWrite: '/Data Store Write9' incorporates: + * Constant: '/Valve open' */ ShutOffRear_EN = 1U; - /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' incorporates: - * DataStoreRead: '/Data Store Read3' + /* 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' + /* 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' + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' */ rtB.Merge_pe = 3; } else { - /* Merge: '/Merge' incorporates: - * DataStoreRead: '/Engine coolant temp' - * RelationalOperator: '/Relational Operator' + /* 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' */ + /* 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' */ + /* 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' + /* Outputs for IfAction SubSystem: '/Step 1 F' incorporates: + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read1' + /* 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, &rtb_timer_out); - - /* 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 Write3' incorporates: - * DataStoreRead: '/Data Store Read5' - * MATLAB Function: '/mode FR step 1' - */ - modeFRstep1(rtDW.LEVEL, &rtDW.Mode_FL); - - /* 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, &rtb_Saturation_as); - - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write5' - */ - rtDW.Blower_FR = (uint8_t)rtb_Saturation_as; - - /* 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' - */ - index_start = 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_mxq = g_ausSTART_TIME_STEP1_TO_2[i - 1]; - if (rtb_out_mxq > 32767) { - rtb_out_mxq = 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_mxq), - &WinterCondition_is_active_F, &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) || - WinterCondition_is_active_F) { - /* 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, &rtb_timer_out); - - /* 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 Write3' incorporates: - * DataStoreRead: '/Data Store Read5' - * MATLAB Function: '/mode FR step 1' - */ - modeFRstep1(rtDW.LEVEL, &rtDW.Mode_FL); - - /* 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, &rtb_Saturation_as); - - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write5' - */ - rtDW.Blower_FR = (uint8_t)rtb_Saturation_as; - - /* 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' - */ - index_start = 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, &Eva_Target); - - /* MATLAB Function: '/MATLAB Function1' incorporates: - * DataStoreRead: '/Data Store Read13' - * Gain: '/из сек в мс' - */ - MATLABFunction1_j(rtDW.t_now, (uint32_t)(1000 * Eva_Target), - &WinterCondition_is_active_F, - &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) || - WinterCondition_is_active_F) { - /* 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: + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: * ActionPort: '/Action Port' */ /* DataStoreWrite: '/Data Store Write8' incorporates: - * DataStoreRead: '/Data Store Read11' + * DataStoreRead: '/Data Store Read10' * MATLAB Function: '/3 way valve status' */ uwayvalvestatus(rtDW.LEVEL, &rtb_timer_out); @@ -60430,39 +64121,22 @@ void HVAC_model_step(void) */ windowheating(rtDW.LEVEL, &Comp_Max_RPM_Allowed); - /* MATLAB Function: '/blower min max' incorporates: + /* MATLAB Function: '/blower FR' incorporates: * DataStoreRead: '/Data Store Read7' */ - blowerminmax(rtDW.LEVEL, rtb_out_fm); - - /* MATLAB Function: '/ECT min max' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - ECTminmax(rtDW.LEVEL, rtb_out_jow); - - /* Lookup_n-D: '/blower для текущего ECT' incorporates: - * DataStoreRead: '/engine coolant temp' - */ - rtb_FLU_tg_correct = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, - rtb_out_jow, rtb_out_fm, 1U); - - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write5' - * DataTypeConversion: '/Data Type Conversion' - */ - rtDW.Blower_FR = (uint8_t)rtb_FLU_tg_correct; + blowerFR(rtDW.LEVEL, &rtb_Saturation_as); /* DataStoreWrite: '/Data Store Write6' incorporates: - * DataStoreWrite: '/Data Store Write5' + * DataTypeConversion: '/Data Type Conversion' */ - rtDW.Blower_FL = rtDW.Blower_FR; + rtDW.Blower_FL = (uint8_t)rtb_Saturation_as; /* MATLAB Function: '/Dtg_FrontUpper_X' incorporates: * DataStoreRead: '/Data Store Read8' */ Dtg_FrontUpper_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); - /* Gain: '/Gain1' incorporates: + /* Gain: '/Gain' incorporates: * DataStoreWrite: '/Data Store Write10' */ rtDW.Dtg_FUR = (uint16_t)(10U * Comp_Max_RPM_Allowed); @@ -60477,7 +64151,7 @@ void HVAC_model_step(void) */ Dtg_FrontLower_X(rtDW.LEVEL, &Comp_Max_RPM_Allowed); - /* Gain: '/Gain2' incorporates: + /* Gain: '/Gain1' incorporates: * DataStoreWrite: '/Data Store Write12' */ rtDW.Dtg_FLR = (uint16_t)(10U * Comp_Max_RPM_Allowed); @@ -60495,80 +64169,69 @@ void HVAC_model_step(void) /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: * DataStoreRead: '/Data Store Read3' */ - Incartempgotofromstep1tostep2(rtDW.LEVEL, &Eva_Target); + Incartempgotofromstep1tostep2(rtDW.LEVEL, &rtb_FLU_tg_correct); /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: * DataStoreRead: '/Data Store Read4' + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/correction_wait_time FL' */ - Timegotofromstep1tostep2(rtDW.LEVEL, &rtb_FLU_tg_correct); + /* : 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_bf = g_ausSTART_TIME_STEP1_TO_2[i - 1]; + if (rtb_out_bf > 32767) { + rtb_out_bf = 32767U; + } /* MATLAB Function: '/MATLAB Function1' incorporates: - * DataStoreRead: '/Data Store Read14' + * DataStoreRead: '/Data Store Read13' * Gain: '/из сек в мс' + * MATLAB Function: '/Time goto from step 1 to step 2 ' */ - MATLABFunction1_j(rtDW.t_now, (uint32_t)(1000 * rtb_FLU_tg_correct), - &WinterCondition_is_active_F, - &rtDW.sf_MATLABFunction1_d); + MATLABFunction1(rtDW.t_now, (uint16_t)(1000 * rtb_out_bf), &rtb_AND2_b, + &rtDW.sf_MATLABFunction1_n); /* Switch: '/Switch1' incorporates: - * Constant: '/LO' + * Constant: '/not LO or HI' + * DataStoreRead: '/Data Store Read11' * DataStoreRead: '/Data Store Read12' - * DataStoreRead: '/Data Store Read13' + * DataStoreRead: '/incar temp' + * Logic: '/Logical Operator' * Logic: '/Logical Operator1' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator2' * RelationalOperator: '/Relational Operator3' - * RelationalOperator: '/Relational Operator4' + * Switch: '/Switch' */ - /* : 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: + if ((rtDW.CCU_MODE_FL != 1) || (rtDW.LO_HI_MODE_FL != 0)) { + /* Merge: '/Merge' incorporates: * Constant: '/exit algorithm' */ rtB.Merge_pe = 3; - } else { - /* MATLAB Function: '/g_assSTART_COOLANT_TO_STEP2 ' incorporates: - * DataStoreRead: '/Data Store Read10' - */ - i = (int32_t)(rtDW.LEVEL + 1U); - if (rtDW.LEVEL + 1U > 255U) { - i = 255; - } - - rtb_Subtract = (uint32_t)i - 3U; - if ((uint32_t)i - 3U > (uint32_t)i) { - rtb_Subtract = 0U; - } - + } else if ((rtDW.Incar_FL < rtb_FLU_tg_correct) || rtb_AND2_b) { /* 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' + * Constant: '/go to next step' + * Merge: '/Merge' */ - if ((rtDW.Incar_FL < Eva_Target) || WinterCondition_is_active_F || - (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' */ + 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 3' */ + /* End of Outputs for SubSystem: '/Level 0' */ break; - case 4: - /* Outputs for IfAction SubSystem: '/Level 4' incorporates: + case 1: + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: * ActionPort: '/Action Port' */ /* DataStoreWrite: '/Data Store Write8' incorporates: @@ -60600,32 +64263,15 @@ void HVAC_model_step(void) */ windowheating(rtDW.LEVEL, &Comp_Max_RPM_Allowed); - /* MATLAB Function: '/blower min max' incorporates: + /* MATLAB Function: '/blower FR' incorporates: * DataStoreRead: '/Data Store Read7' */ - blowerminmax(rtDW.LEVEL, rtb_out_fm); - - /* MATLAB Function: '/ECT min max' incorporates: - * DataStoreRead: '/Data Store Read7' - */ - ECTminmax(rtDW.LEVEL, rtb_out_jow); - - /* Lookup_n-D: '/blower для текущего ECT' incorporates: - * DataStoreRead: '/engine coolant temp' - */ - rtb_FLU_tg_correct = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, - rtb_out_jow, rtb_out_fm, 1U); - - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write5' - * DataTypeConversion: '/Data Type Conversion1' - */ - rtDW.Blower_FR = (uint8_t)rtb_FLU_tg_correct; + blowerFR(rtDW.LEVEL, &rtb_Saturation_as); /* DataStoreWrite: '/Data Store Write6' incorporates: - * DataStoreWrite: '/Data Store Write5' + * DataTypeConversion: '/Data Type Conversion' */ - rtDW.Blower_FL = rtDW.Blower_FR; + rtDW.Blower_FL = (uint8_t)rtb_Saturation_as; /* MATLAB Function: '/Dtg_FrontUpper_X' incorporates: * DataStoreRead: '/Data Store Read8' @@ -60665,23 +64311,22 @@ void HVAC_model_step(void) /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: * DataStoreRead: '/Data Store Read3' */ - Incartempgotofromstep1tostep2(rtDW.LEVEL, &Eva_Target); + 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_FLU_tg_correct); + Timegotofromstep1tostep2(rtDW.LEVEL, &Eva_Target); /* MATLAB Function: '/MATLAB Function1' incorporates: * DataStoreRead: '/Data Store Read13' * Gain: '/из сек в мс' */ - MATLABFunction1_j(rtDW.t_now, (uint32_t)(1000 * rtb_FLU_tg_correct), - &WinterCondition_is_active_F, - &rtDW.sf_MATLABFunction1_h); + MATLABFunction1_j(rtDW.t_now, (uint32_t)(1000 * Eva_Target), &rtb_AND2_b, + &rtDW.sf_MATLABFunction1_j); /* Switch: '/Switch1' incorporates: - * Constant: '/LO' + * Constant: '/not LO or HI' * DataStoreRead: '/Data Store Read11' * DataStoreRead: '/Data Store Read12' * DataStoreRead: '/incar temp' @@ -60692,20 +64337,19 @@ void HVAC_model_step(void) * RelationalOperator: '/Relational Operator3' * Switch: '/Switch' */ - if ((rtDW.CCU_MODE_FL != 1) || (rtDW.LO_HI_MODE_FL == 1)) { - /* Merge: '/Merge' incorporates: + 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 > Eva_Target) || WinterCondition_is_active_F) - { + } else if ((rtDW.Incar_FL < rtb_FLU_tg_correct) || rtb_AND2_b) { /* Switch: '/Switch' incorporates: * Constant: '/go to next step' - * Merge: '/Merge' + * Merge: '/Merge' */ rtB.Merge_pe = 2; } else { - /* Merge: '/Merge' incorporates: + /* Merge: '/Merge' incorporates: * Constant: '/stay at step 1' * Switch: '/Switch' */ @@ -60713,233 +64357,546 @@ void HVAC_model_step(void) } /* End of Switch: '/Switch1' */ - /* End of Outputs for SubSystem: '/Level 4' */ + /* End of Outputs for SubSystem: '/Level 1' */ break; - case 5: - /* Outputs for IfAction SubSystem: '/Level 5' incorporates: + case 2: + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write8' incorporates: - * DataStoreRead: '/Data Store Read10' - * MATLAB Function: '/3 way valve status' + /* 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, &rtb_timer_out); - /* DataStoreWrite: '/Data Store Write' incorporates: - * DataStoreRead: '/Data Store Read1' - * MATLAB Function: '/incar filter up' + /* 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' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' */ incarfilterdown(rtDW.LEVEL, &EN_BATTChiller); - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataStoreRead: '/Data Store Read5' - * MATLAB Function: '/mode FR step 1' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreRead: '/Data Store Read5' + * MATLAB Function: '/mode FR step 1' */ modeFRstep1(rtDW.LEVEL, &rtDW.Mode_FL); - /* MATLAB Function: '/window heating' incorporates: - * DataStoreRead: '/Data Store Read6' + /* 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' + /* MATLAB Function: '/blower min max' incorporates: + * DataStoreRead: '/Data Store Read7' */ blowerminmax(rtDW.LEVEL, rtb_out_fm); - /* MATLAB Function: '/ECT min max' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/ECT min max' incorporates: + * DataStoreRead: '/Data Store Read7' */ ECTminmax(rtDW.LEVEL, rtb_out_jow); - /* Lookup_n-D: '/blower для текущего ECT' incorporates: - * DataStoreRead: '/engine coolant temp' + /* Lookup_n-D: '/blower для текущего ECT' incorporates: + * DataStoreRead: '/engine coolant temp' */ rtb_FLU_tg_correct = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, rtb_out_jow, rtb_out_fm, 1U); - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write5' - * DataTypeConversion: '/Data Type Conversion1' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' */ - rtDW.Blower_FR = (uint8_t)rtb_FLU_tg_correct; + rtDW.Blower_FL = (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' + /* 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' + /* 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' + /* 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' + /* 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' + /* 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' + /* 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' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' */ index_start = 1.0; - /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' */ Incartempgotofromstep1tostep2(rtDW.LEVEL, &Eva_Target); - /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: - * DataStoreRead: '/Data Store Read4' + /* 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: '/из сек в мс' + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read14' + * Gain: '/из сек в мс' */ MATLABFunction1_j(rtDW.t_now, (uint32_t)(1000 * rtb_FLU_tg_correct), - &WinterCondition_is_active_F, - &rtDW.sf_MATLABFunction1_p); + &rtb_AND2_b, &rtDW.sf_MATLABFunction1_d); - /* 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' + /* 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' + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' */ rtB.Merge_pe = 3; - } else if ((rtDW.Incar_FL > Eva_Target) || WinterCondition_is_active_F) - { - /* Switch: '/Switch' incorporates: - * Constant: '/go to next step' - * Merge: '/Merge' + } else { + /* MATLAB Function: '/g_assSTART_COOLANT_TO_STEP2 ' incorporates: + * DataStoreRead: '/Data Store Read10' + * DataStoreRead: '/Data Store Read' + * MATLAB Function: '/correction_wait_time FL' + */ + i = (int32_t)(rtDW.LEVEL + 1U); + if (rtDW.LEVEL + 1U > 255U) { + i = 255; + } + + rtb_Subtract = (uint32_t)i - 3U; + if ((uint32_t)i - 3U > (uint32_t)i) { + 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 < Eva_Target) || rtb_AND2_b || (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, &rtb_timer_out); + + /* 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 Write3' incorporates: + * DataStoreRead: '/Data Store Read5' + * MATLAB Function: '/mode FR step 1' + */ + modeFRstep1(rtDW.LEVEL, &rtDW.Mode_FL); + + /* 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_fm); + + /* MATLAB Function: '/ECT min max' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + ECTminmax(rtDW.LEVEL, rtb_out_jow); + + /* Lookup_n-D: '/blower для текущего ECT' incorporates: + * DataStoreRead: '/engine coolant temp' + */ + rtb_FLU_tg_correct = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, + rtb_out_jow, rtb_out_fm, 1U); + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.Blower_FL = (uint8_t)rtb_FLU_tg_correct; + + /* 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' + */ + index_start = 1.0; + + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + Incartempgotofromstep1tostep2(rtDW.LEVEL, &Eva_Target); + + /* 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), + &rtb_AND2_b, &rtDW.sf_MATLABFunction1_hi); + + /* 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 > Eva_Target) || rtb_AND2_b) { + /* 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' + /* 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' */ + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Level 4' */ 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' + 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' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read10' + * MATLAB Function: '/3 way valve status' */ - uwayvalvestatus_m(rtDW.LEVEL, &rtb_timer_out); + uwayvalvestatus(rtDW.LEVEL, &rtb_timer_out); - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* DataStoreWrite: '/Data Store Write' incorporates: + * DataStoreRead: '/Data Store Read1' + * MATLAB Function: '/incar filter up' */ - Eva_Target = (int16_t)((rtDW.Dtg_FLL - rtb_y_n) >> 1); + incarfilterup(rtDW.LEVEL, &Comp_Max_RPM_Allowed); - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read9' + /* DataStoreWrite: '/Data Store Write1' incorporates: + * DataStoreRead: '/Data Store Read2' + * MATLAB Function: '/incar filter down' + */ + incarfilterdown(rtDW.LEVEL, &EN_BATTChiller); + + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreRead: '/Data Store Read5' + * MATLAB Function: '/mode FR step 1' + */ + modeFRstep1(rtDW.LEVEL, &rtDW.Mode_FL); + + /* 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_fm); + + /* MATLAB Function: '/ECT min max' incorporates: + * DataStoreRead: '/Data Store Read7' + */ + ECTminmax(rtDW.LEVEL, rtb_out_jow); + + /* Lookup_n-D: '/blower для текущего ECT' incorporates: + * DataStoreRead: '/engine coolant temp' + */ + rtb_FLU_tg_correct = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, + rtb_out_jow, rtb_out_fm, 1U); + + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + */ + rtDW.Blower_FL = (uint8_t)rtb_FLU_tg_correct; + + /* 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); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read9' + /* 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' + */ + index_start = 1.0; + + /* MATLAB Function: '/Incar temp goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read3' + */ + Incartempgotofromstep1tostep2(rtDW.LEVEL, &Eva_Target); + + /* 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), + &rtb_AND2_b, &rtDW.sf_MATLABFunction1_p3); + + /* 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 > Eva_Target) || rtb_AND2_b) { + /* 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, &rtb_timer_out); + + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + */ + Eva_Target = (int16_t)((rtDW.Dtg_FLL - rtb_y_n) >> 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' */ + /* Abs: '/Abs' */ if (Eva_Target < 0) { Eva_Target = (int16_t)-Eva_Target; } - /* 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' + /* 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)Eva_Target * 2.0 <= 0.01) { rtDW.Dtg_FLR = (uint16_t)rtb_y_n; } else { if (rtDW.Dtg_FLL <= rtb_y_n) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } @@ -60949,66 +64906,66 @@ void HVAC_model_step(void) rtDW.UnitDelay_DSTATE_k) * (double)i + (double)rtDW.Dtg_FLL); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write13' incorporates: - * DataStoreWrite: '/Data Store Write12' + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreWrite: '/Data Store Write12' */ rtDW.Dtg_FLL = rtDW.Dtg_FLR; - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ Eva_Target = (int16_t)((rtDW.Dtg_FUL - rtb_FLU_tg_correct) >> 1); - /* Abs: '/Abs' */ + /* Abs: '/Abs' */ if (Eva_Target < 0) { Eva_Target = (int16_t)-Eva_Target; } - /* End of Abs: '/Abs' */ + /* End of Abs: '/Abs' */ - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read8' + /* 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' + /* 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' + /* 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)Eva_Target * 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' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } @@ -61018,119 +64975,119 @@ void HVAC_model_step(void) rtDW.UnitDelay_DSTATE_cm) * (double)i + (double)rtDW.Dtg_FUL); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write11' incorporates: - * DataStoreWrite: '/Data Store Write10' + /* 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' + /* 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' + /* 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' + /* 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' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' */ timeforstep_f(rtDW.LEVEL, &EN_BATTChiller); - /* Switch: '/Switch' incorporates: - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Sum: '/Add' - * Switch: '/Switch' + /* Switch: '/Switch' incorporates: + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Sum: '/Add' + * Switch: '/Switch' */ if ((uint8_t)(rtDW.Mode_FL - rtDW.Mode_logic_FL) <= 0.01) { - /* DataStoreWrite: '/Data Store Write3' */ + /* DataStoreWrite: '/Data Store Write3' */ rtDW.Mode_FL = rtDW.Mode_logic_FL; } else { if (rtDW.Mode_FL <= rtDW.Mode_logic_FL) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/текущее время в мс' - * Product: '/Product1' - * Product: '/change rate (step//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/текущее время в мс' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ rtDW.Mode_FL = (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' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/blower step' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' */ /* : out = g_aucSTART_ELEC_WINDOW(LVL + 1 + 6); */ blowerstep(rtDW.LEVEL, &rtb_Saturation_as); - /* MATLAB Function: '/blower time for step' incorporates: - * DataStoreRead: '/Data Store Read7' + /* 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' + /* 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) { index_start = rtDW.Blower_logic_FL; } else { if (rtDW.Blower_FL <= rtDW.Blower_logic_FL) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } @@ -61140,158 +65097,151 @@ void HVAC_model_step(void) (double)rtDW.Blower_FL; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write5' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtDW.Blower_FR = (uint8_t)index_start; + rtDW.Blower_FL = (uint8_t)index_start; - /* 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' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' */ index_start = 1.0; - /* RelationalOperator: '/Relational Operator2' incorporates: - * DataStoreRead: '/Data Store Read11' + /* RelationalOperator: '/Relational Operator2' incorporates: + * DataStoreRead: '/Data Store Read11' */ - WinterCondition_is_active_F = (rtDW.CCU_MODE_FL != 1); + rtb_AND2_b = (rtDW.CCU_MODE_FL != 1); - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/not LO or HI' - * DataStoreRead: '/Data Store Read12' - * RelationalOperator: '/Relational Operator3' + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/not LO or HI' + * DataStoreRead: '/Data Store Read12' + * RelationalOperator: '/Relational Operator3' */ - WinterCondition_eTXV_ON_Front = (WinterCondition_is_active_F || - (rtDW.LO_HI_MODE_FL != 0)); + WinterCondition_eTXV_ON_Front = (rtb_AND2_b || (rtDW.LO_HI_MODE_FL != 0)); - /* MATLAB Function: '/Time goto from step 2 to step 3 ' incorporates: - * DataStoreRead: '/Data Store Read4' + /* MATLAB Function: '/Time goto from step 2 to step 3 ' incorporates: + * DataStoreRead: '/Data Store Read4' */ Timegotofromstep2tostep3(rtDW.LEVEL, &Eva_Target); - /* MATLAB Function: '/MATLAB Function1' incorporates: - * DataStoreRead: '/Data Store Read3' - * Gain: '/из сек в мс' + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read3' + * Gain: '/из сек в мс' */ - MATLABFunction1_j(rtDW.t_now, (uint32_t)(1000 * Eva_Target), - &WinterCondition_is_active_F, + MATLABFunction1_j(rtDW.t_now, (uint32_t)(1000 * Eva_Target), &rtb_AND2_b, &rtDW.sf_MATLABFunction1_m); - /* Switch: '/Switch1' incorporates: - * Switch: '/Switch' + /* Switch: '/Switch1' incorporates: + * Switch: '/Switch' */ if (WinterCondition_eTXV_ON_Front) { - /* Merge: '/Merge' incorporates: - * Constant: '/exit algorithm' + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' */ rtB.Merge_pe = 3; - } else if (WinterCondition_is_active_F) { - /* Switch: '/Switch' incorporates: - * Constant: '/go to next step' - * Merge: '/Merge' + } else if (rtb_AND2_b) { + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + * Merge: '/Merge' */ rtB.Merge_pe = 3; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/stay at step' - * Switch: '/Switch' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step' + * Switch: '/Switch' */ rtB.Merge_pe = 2; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_k = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_cm = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_f = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_gc = rtDW.t_now; - /* End of Outputs for SubSystem: '/Level 0' */ + /* End of Outputs for SubSystem: '/Level 0' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Level 1' incorporates: - * ActionPort: '/Action Port' + /* 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' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read10' + * MATLAB Function: '/3 way valve status' */ uwayvalvestatus_m(rtDW.LEVEL, &rtb_timer_out); - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ Eva_Target = (int16_t)((rtDW.Dtg_FLL - rtb_y_n) >> 1); - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read9' + /* 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' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read9' */ timeforstep(rtDW.LEVEL, &EN_BATTChiller); - /* Abs: '/Abs' */ + /* Abs: '/Abs' */ if (Eva_Target < 0) { Eva_Target = (int16_t)-Eva_Target; } - /* 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' + /* 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)Eva_Target * 2.0 <= 0.01) { rtDW.Dtg_FLR = (uint16_t)rtb_y_n; } else { if (rtDW.Dtg_FLL <= rtb_y_n) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } @@ -61301,66 +65251,66 @@ void HVAC_model_step(void) rtDW.UnitDelay_DSTATE_mz) * (double)i + (double)rtDW.Dtg_FLL); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write13' incorporates: - * DataStoreWrite: '/Data Store Write12' + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreWrite: '/Data Store Write12' */ rtDW.Dtg_FLL = rtDW.Dtg_FLR; - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ Eva_Target = (int16_t)((rtDW.Dtg_FUL - rtb_FLU_tg_correct) >> 1); - /* Abs: '/Abs' */ + /* Abs: '/Abs' */ if (Eva_Target < 0) { Eva_Target = (int16_t)-Eva_Target; } - /* End of Abs: '/Abs' */ + /* End of Abs: '/Abs' */ - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read8' + /* 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' + /* 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' + /* 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)Eva_Target * 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' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } @@ -61370,131 +65320,131 @@ void HVAC_model_step(void) rtDW.UnitDelay_DSTATE_n) * (double)i + (double)rtDW.Dtg_FUL); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write11' incorporates: - * DataStoreWrite: '/Data Store Write10' + /* 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' + /* 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' + /* 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 (в соответствии с логикой)' + /* 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' + /* MATLAB Function: '/step' incorporates: + * DataStoreRead: '/Data Store Read5' */ step_g(rtDW.LEVEL, &EN_BATTChiller); - /* MATLAB Function: '/time for step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' */ timeforstep_f(rtDW.LEVEL, &rtb_timer_out); - /* Switch: '/Switch' incorporates: - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' + /* Switch: '/Switch' incorporates: + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' */ if (Comp_Max_RPM_Allowed <= 0.01) { - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtDW.Mode_FL = rtDW.Mode_logic_FL; } else { if (rtDW.Mode_FL <= rtDW.Mode_logic_FL) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/текущее время в мс' - * Product: '/Product1' - * Product: '/change rate (step//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/текущее время в мс' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ rtDW.Mode_FL = (uint8_t)((double)EN_BATTChiller / (double) rtb_timer_out / 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_le) * (double)i + (double)rtDW.Mode_FL); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/window heating' incorporates: - * DataStoreRead: '/Data Store Read6' + /* 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' + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' */ blowerstep(rtDW.LEVEL, &rtb_Saturation_as); - /* MATLAB Function: '/blower time for step' incorporates: - * DataStoreRead: '/Data Store Read7' + /* 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' + /* 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) { index_start = rtDW.Blower_logic_FL; } else { if (rtDW.Blower_FL <= rtDW.Blower_logic_FL) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } @@ -61504,199 +65454,192 @@ void HVAC_model_step(void) (double)rtDW.Blower_FL; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write5' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtDW.Blower_FR = (uint8_t)index_start; + rtDW.Blower_FL = (uint8_t)index_start; - /* 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' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' */ index_start = 1.0; - /* RelationalOperator: '/Relational Operator2' incorporates: - * DataStoreRead: '/Data Store Read11' + /* RelationalOperator: '/Relational Operator2' incorporates: + * DataStoreRead: '/Data Store Read11' */ - WinterCondition_is_active_F = (rtDW.CCU_MODE_FL != 1); + rtb_AND2_b = (rtDW.CCU_MODE_FL != 1); - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/not LO or HI' - * DataStoreRead: '/Data Store Read12' - * RelationalOperator: '/Relational Operator3' + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/not LO or HI' + * DataStoreRead: '/Data Store Read12' + * RelationalOperator: '/Relational Operator3' */ - WinterCondition_eTXV_ON_Front = (WinterCondition_is_active_F || - (rtDW.LO_HI_MODE_FL != 0)); + WinterCondition_eTXV_ON_Front = (rtb_AND2_b || (rtDW.LO_HI_MODE_FL != 0)); - /* MATLAB Function: '/Time goto from step 2 to step 3 ' incorporates: - * DataStoreRead: '/Data Store Read4' + /* MATLAB Function: '/Time goto from step 2 to step 3 ' incorporates: + * DataStoreRead: '/Data Store Read4' */ Timegotofromstep2tostep3(rtDW.LEVEL, &Eva_Target); - /* MATLAB Function: '/MATLAB Function1' incorporates: - * DataStoreRead: '/Data Store Read3' - * Gain: '/из сек в мс' + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read3' + * Gain: '/из сек в мс' */ - MATLABFunction1_j(rtDW.t_now, (uint32_t)(1000 * Eva_Target), - &WinterCondition_is_active_F, + MATLABFunction1_j(rtDW.t_now, (uint32_t)(1000 * Eva_Target), &rtb_AND2_b, &rtDW.sf_MATLABFunction1_i2); - /* Switch: '/Switch1' incorporates: - * Switch: '/Switch' + /* Switch: '/Switch1' incorporates: + * Switch: '/Switch' */ if (WinterCondition_eTXV_ON_Front) { - /* Merge: '/Merge' incorporates: - * Constant: '/exit algorithm' + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' */ rtB.Merge_pe = 3; - } else if (WinterCondition_is_active_F) { - /* Switch: '/Switch' incorporates: - * Constant: '/go to next step' - * Merge: '/Merge' + } else if (rtb_AND2_b) { + /* Switch: '/Switch' incorporates: + * Constant: '/go to next step' + * Merge: '/Merge' */ rtB.Merge_pe = 3; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/stay at step' - * Switch: '/Switch' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step' + * Switch: '/Switch' */ rtB.Merge_pe = 2; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_mz = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_n = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_le = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_cb = rtDW.t_now; - /* End of Outputs for SubSystem: '/Level 1' */ + /* End of Outputs for SubSystem: '/Level 1' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Level 2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' */ Level2(&rtB.Merge_pe); - /* End of Outputs for SubSystem: '/Level 2' */ + /* End of Outputs for SubSystem: '/Level 2' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Level 3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 3' incorporates: + * ActionPort: '/Action Port' */ - Level3(&rtB.Merge_pe, &ShutOffRear_EN, &rtDW.Blower_FL, &rtDW.Blower_FR, + Level3(&rtB.Merge_pe, &ShutOffRear_EN, &rtDW.Blower_FL, &rtb_Saturation4, &rtDW.Blower_logic_FL, &rtDW.CCU_MODE_FL, &rtDW.Dtg_FLL, &rtDW.Dtg_FLR, &rtDW.Dtg_FUL, &rtDW.Dtg_FUR, &rtb_y_n, - &rtb_FLU_tg_correct, &rtb_Saturation4, &rtDW.HI_logic_on, - &EN_BATTChiller, &Comp_Max_RPM_Allowed, &rtDW.LEVEL, - &rtDW.LO_HI_MODE_FL, &rtDW.Mode_FL, &min_side_L, - &rtDW.Mode_logic_FL, &index_start, &rtb_timer_out, &rtDW.t_now, - &rtDW.Level3_d); + &rtb_FLU_tg_correct, &rtb_DataTypeConversion3_c1, + &rtDW.HI_logic_on, &EN_BATTChiller, &Comp_Max_RPM_Allowed, + &rtDW.LEVEL, &rtDW.LO_HI_MODE_FL, &rtDW.Mode_FL, + &Index_mode_FR_manual, &rtDW.Mode_logic_FL, &index_start, + &rtb_timer_out, &rtDW.t_now, &rtDW.Level3_d); - /* End of Outputs for SubSystem: '/Level 3' */ + /* End of Outputs for SubSystem: '/Level 3' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Level 4' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 4' incorporates: + * ActionPort: '/Action Port' */ - Level3(&rtB.Merge_pe, &ShutOffRear_EN, &rtDW.Blower_FL, &rtDW.Blower_FR, + Level3(&rtB.Merge_pe, &ShutOffRear_EN, &rtDW.Blower_FL, &rtb_Saturation4, &rtDW.Blower_logic_FL, &rtDW.CCU_MODE_FL, &rtDW.Dtg_FLL, &rtDW.Dtg_FLR, &rtDW.Dtg_FUL, &rtDW.Dtg_FUR, &rtb_y_n, - &rtb_FLU_tg_correct, &rtb_Saturation4, &rtDW.HI_logic_on, - &EN_BATTChiller, &Comp_Max_RPM_Allowed, &rtDW.LEVEL, - &rtDW.LO_HI_MODE_FL, &rtDW.Mode_FL, &min_side_L, - &rtDW.Mode_logic_FL, &index_start, &rtb_timer_out, &rtDW.t_now, - &rtDW.Level4_l); + &rtb_FLU_tg_correct, &rtb_DataTypeConversion3_c1, + &rtDW.HI_logic_on, &EN_BATTChiller, &Comp_Max_RPM_Allowed, + &rtDW.LEVEL, &rtDW.LO_HI_MODE_FL, &rtDW.Mode_FL, + &Index_mode_FR_manual, &rtDW.Mode_logic_FL, &index_start, + &rtb_timer_out, &rtDW.t_now, &rtDW.Level4_l); - /* End of Outputs for SubSystem: '/Level 4' */ + /* End of Outputs for SubSystem: '/Level 4' */ break; case 5: - /* Outputs for IfAction SubSystem: '/Level 5' incorporates: - * ActionPort: '/Action Port' + /* 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' + /* DataStoreWrite: '/Data Store Write8' incorporates: + * DataStoreRead: '/Data Store Read10' + * MATLAB Function: '/3 way valve status' */ uwayvalvestatus_m(rtDW.LEVEL, &rtb_timer_out); - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ Eva_Target = (int16_t)((rtDW.Dtg_FLL - rtb_y_n) >> 1); - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read9' + /* 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' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read9' */ timeforstep(rtDW.LEVEL, &EN_BATTChiller); - /* Abs: '/Abs' */ + /* Abs: '/Abs' */ if (Eva_Target < 0) { Eva_Target = (int16_t)-Eva_Target; } - /* 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' + /* 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)Eva_Target * 2.0 <= 0.01) { rtDW.Dtg_FLR = (uint16_t)rtb_y_n; } else { if (rtDW.Dtg_FLL <= rtb_y_n) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } @@ -61706,66 +65649,66 @@ void HVAC_model_step(void) rtDW.UnitDelay_DSTATE_g) * (double)i + (double)rtDW.Dtg_FLL); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write13' incorporates: - * DataStoreWrite: '/Data Store Write12' + /* DataStoreWrite: '/Data Store Write13' incorporates: + * DataStoreWrite: '/Data Store Write12' */ rtDW.Dtg_FLL = rtDW.Dtg_FLR; - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ Eva_Target = (int16_t)((rtDW.Dtg_FUL - rtb_FLU_tg_correct) >> 1); - /* Abs: '/Abs' */ + /* Abs: '/Abs' */ if (Eva_Target < 0) { Eva_Target = (int16_t)-Eva_Target; } - /* End of Abs: '/Abs' */ + /* End of Abs: '/Abs' */ - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read8' + /* 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' + /* 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' + /* 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)Eva_Target * 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' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } @@ -61775,136 +65718,136 @@ void HVAC_model_step(void) rtDW.UnitDelay_DSTATE_h) * (double)i + (double)rtDW.Dtg_FUL); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataStoreWrite: '/Data Store Write11' incorporates: - * DataStoreWrite: '/Data Store Write10' + /* 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' + /* 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' + /* 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' + /* MATLAB Function: '/autodemist (autodefog)' incorporates: + * DataStoreRead: '/Data Store Read3' */ autodemistautodefog(rtDW.LEVEL, &Comp_Max_RPM_Allowed); - /* Sum: '/Add' incorporates: - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* Sum: '/Add' incorporates: + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ EN_BATTChiller = (uint8_t)(rtDW.Mode_FL - rtDW.Mode_logic_FL); - /* MATLAB Function: '/step' incorporates: - * DataStoreRead: '/Data Store Read5' + /* 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' + /* MATLAB Function: '/time for step' incorporates: + * DataStoreRead: '/Data Store Read5' */ timeforstep_f(rtDW.LEVEL, &rtb_timer_out); - /* Switch: '/Switch' incorporates: - * Constant: '/epsilon' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/значение auto (в соответствии с логикой)' - * RelationalOperator: '/Relational Operator' - * RelationalOperator: '/Relational Operator' - * Switch: '/Switch' + /* Switch: '/Switch' incorporates: + * Constant: '/epsilon' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/значение auto (в соответствии с логикой)' + * RelationalOperator: '/Relational Operator' + * RelationalOperator: '/Relational Operator' + * Switch: '/Switch' */ if (EN_BATTChiller <= 0.01) { - /* DataStoreWrite: '/Data Store Write3' incorporates: - * DataStoreRead: '/значение auto (в соответствии с логикой)' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * DataStoreRead: '/значение auto (в соответствии с логикой)' */ rtDW.Mode_FL = rtDW.Mode_logic_FL; } else { if (rtDW.Mode_FL <= rtDW.Mode_logic_FL) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } - /* DataStoreWrite: '/Data Store Write3' incorporates: - * Constant: '/Constant' - * DataStoreRead: '/Текущее значение blower ' - * DataStoreRead: '/текущее время в мс' - * Product: '/Product1' - * Product: '/change rate (step//sec)' - * Product: '/скорость в мс' - * Product: '/шаг изменения' - * Sum: '/Add' - * Sum: '/Subtract' - * Switch: '/Switch' - * UnitDelay: '/Unit Delay' + /* DataStoreWrite: '/Data Store Write3' incorporates: + * Constant: '/Constant' + * DataStoreRead: '/Текущее значение blower ' + * DataStoreRead: '/текущее время в мс' + * Product: '/Product1' + * Product: '/change rate (step//sec)' + * Product: '/скорость в мс' + * Product: '/шаг изменения' + * Sum: '/Add' + * Sum: '/Subtract' + * Switch: '/Switch' + * UnitDelay: '/Unit Delay' */ rtDW.Mode_FL = (uint8_t)((double)Comp_Max_RPM_Allowed / (double) rtb_timer_out / 1000.0 * (double)(rtDW.t_now - rtDW.UnitDelay_DSTATE_ly) * (double)i + (double)rtDW.Mode_FL); } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* MATLAB Function: '/window heating' incorporates: - * DataStoreRead: '/Data Store Read6' + /* MATLAB Function: '/window heating' incorporates: + * DataStoreRead: '/Data Store Read6' */ windowheating_o(rtDW.LEVEL, &EN_BATTChiller); - /* MATLAB Function: '/blower step' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower step' incorporates: + * DataStoreRead: '/Data Store Read7' */ blowerstep(rtDW.LEVEL, &rtb_Saturation_as); - /* MATLAB Function: '/blower time for step' incorporates: - * DataStoreRead: '/Data Store Read7' + /* 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' + /* 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) { index_start = rtDW.Blower_logic_FL; } else { if (rtDW.Blower_FL <= rtDW.Blower_logic_FL) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ i = 1; } else { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ i = -1; } @@ -61914,109 +65857,103 @@ void HVAC_model_step(void) (double)rtDW.Blower_FL; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write5' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - rtDW.Blower_FR = (uint8_t)index_start; + rtDW.Blower_FL = (uint8_t)index_start; - /* 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' + /* DataStoreWrite: '/Data Store Write7' incorporates: + * Constant: '/Recirc logic Partial REC' */ index_start = 1.0; - /* MATLAB Function: '/Time goto from step 2 to step 3 ' incorporates: - * DataStoreRead: '/Data Store Read4' + /* MATLAB Function: '/Time goto from step 2 to step 3 ' incorporates: + * DataStoreRead: '/Data Store Read4' */ Timegotofromstep2tostep3(rtDW.LEVEL, &Eva_Target); - /* MATLAB Function: '/MATLAB Function1' incorporates: - * DataStoreRead: '/Data Store Read13' - * Gain: '/из сек в мс' + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read13' + * Gain: '/из сек в мс' */ - MATLABFunction1_j(rtDW.t_now, (uint32_t)(1000 * Eva_Target), - &WinterCondition_is_active_F, + MATLABFunction1_j(rtDW.t_now, (uint32_t)(1000 * Eva_Target), &rtb_AND2_b, &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' + /* 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' + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' */ rtB.Merge_pe = 3; - } else if (WinterCondition_is_active_F || rtDW.HI_logic_on) { - /* Switch: '/Switch' incorporates: - * Constant: '/go to next step' - * Merge: '/Merge' + } else if (rtb_AND2_b || 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' + /* Merge: '/Merge' incorporates: + * Constant: '/stay at step' + * Switch: '/Switch' */ rtB.Merge_pe = 2; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_g = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_h = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_ly = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/текущее время в мс' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/текущее время в мс' */ rtDW.UnitDelay_DSTATE_gu = rtDW.t_now; - /* End of Outputs for SubSystem: '/Level 5' */ + /* End of Outputs for SubSystem: '/Level 5' */ break; } - /* End of SwitchCase: '/Switch Case' */ - /* End of Outputs for SubSystem: '/Step 2 F' */ + /* 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' + /* 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' */ + /* End of Outputs for SubSystem: '/Step 3 F' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.step_start_controle_front = rtB.Merge_pe; /* End of Outputs for SubSystem: '/Start Control Front' */ @@ -62024,56 +65961,58 @@ void HVAC_model_step(void) /* End of If: '/если SC front не завершен2' */ - /* Saturate: '/from 0 to 3' incorporates: - * Constant: '/Constant' - * Sum: '/Add' - * UnitDelay: '/Unit Delay' + /* 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; + if (rtDW.UnitDelay_DSTATE_b + 1.0 > 5.0) { + rtDW.UnitDelay_DSTATE_b = 5.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' */ + /* 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' + * UnitDelay: '/Unit Delay' */ if (((uint8_t)rtDW.start_control_finished_rear == 0) && ((uint8_t) - rtDW.UnitDelay_DSTATE_b >= 2)) { + rtDW.UnitDelay_DSTATE_b >= 5)) { /* Outputs for IfAction SubSystem: '/Start Control Rear' incorporates: - * ActionPort: '/Action Port' + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read' + /* 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' + /* Outputs for IfAction SubSystem: '/Step -1 R (Entry Condition)' incorporates: + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read1' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' */ switch (rtDW.LEVEL) { case 0: - /* Outputs for IfAction SubSystem: '/Level 0' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: - * DataStoreRead: '/Data Store Read4' + /* 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_hg); - /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read3' + * MATLAB Function: '/correction_wait_time FL' */ i = (int32_t)(rtDW.LEVEL + 1U); if (rtDW.LEVEL + 1U > 255U) { @@ -62085,141 +66024,143 @@ void HVAC_model_step(void) rtb_Cmd_3Way = 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' + /* 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_Cmd_3Way - 1]) && (rtDW.CCU_MODE_RR == 1) && (rtDW.CCU_SET_RR < rtb_y_hg) && (rtDW.LO_HI_MODE_RR == 0)) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_a0 = 1; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ rtB.Merge_a0 = -1; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Level 0' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Level 0' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Level 1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: + * DataStoreRead: '/Data Store Read3' */ g_assSTART_ENTER_INCAR_f(rtDW.LEVEL, &rtb_y_hg); - /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: - * DataStoreRead: '/Data Store Read4' + /* 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' + /* 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_hg) && (rtDW.CCU_MODE_RR == 1) && (rtDW.CCU_SET_RR < rtb_FLU_tg_correct) && (rtDW.LO_HI_MODE_RR == 0)) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_a0 = 1; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ rtB.Merge_a0 = -1; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Level 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' + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: + * DataStoreRead: '/Data Store Read3' */ g_assSTART_ENTER_INCAR_f(rtDW.LEVEL, &rtb_y_hg); - /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: - * DataStoreRead: '/Data Store Read4' + /* 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' + /* 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_hg) && (rtDW.CCU_MODE_RR == 1) && (rtDW.CCU_SET_RR > rtb_FLU_tg_correct) && (rtDW.LO_HI_MODE_RR != 1)) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_a0 = 0; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ rtB.Merge_a0 = -1; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Level 2' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Level 2' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Level 3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 3' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: - * DataStoreRead: '/Data Store Read4' + /* MATLAB Function: '/g_assSTART_ENTER_INCAR' incorporates: + * DataStoreRead: '/Data Store Read4' */ g_assSTART_ENTER_INCAR_f(rtDW.LEVEL, &rtb_y_hg); - /* MATLAB Function: '/g_assSTART_ENTER_COOLANT ' incorporates: - * DataStoreRead: '/Data Store Read3' + /* 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' + /* MATLAB Function: '/g_ausSTART_ENTER_SETTEMP' incorporates: + * DataStoreRead: '/Data Store Read' + * DataStoreRead: '/Data Store Read6' + * MATLAB Function: '/correction_wait_time FL' */ /* : out = int16(g_ausSTART_ENTER_SETTEMP(LVL+1+6)); */ i = (int32_t)(rtDW.LEVEL + 1U); @@ -62232,225 +66173,225 @@ void HVAC_model_step(void) rtb_Cmd_3Way = 255; } - rtb_out_mxq = g_ausSTART_ENTER_SETTEMP[rtb_Cmd_3Way - 1]; - if (rtb_out_mxq > 32767) { - rtb_out_mxq = 32767U; + rtb_out_bf = g_ausSTART_ENTER_SETTEMP[rtb_Cmd_3Way - 1]; + if (rtb_out_bf > 32767) { + rtb_out_bf = 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' + /* 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_hg) || (rtDW.ECT < rtb_FLU_tg_correct)) && - (rtDW.CCU_MODE_RR == 1) && (rtDW.CCU_SET_RR > rtb_out_mxq) && + (rtDW.CCU_MODE_RR == 1) && (rtDW.CCU_SET_RR > rtb_out_bf) && (rtDW.LO_HI_MODE_RR != 1)) { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant1' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant1' */ rtB.Merge_a0 = 0; } else { - /* Merge: '/Merge' incorporates: - * Constant: '/Constant' + /* Merge: '/Merge' incorporates: + * Constant: '/Constant' */ rtB.Merge_a0 = -1; } - /* End of Switch: '/Switch' */ - /* End of Outputs for SubSystem: '/Level 3' */ + /* End of Switch: '/Switch' */ + /* End of Outputs for SubSystem: '/Level 3' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Level 4' incorporates: - * ActionPort: '/Action Port' + /* 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' */ + /* End of Outputs for SubSystem: '/Level 4' */ break; case 5: - /* Outputs for IfAction SubSystem: '/Level 5' incorporates: - * ActionPort: '/Action Port' + /* 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' */ + /* End of Outputs for SubSystem: '/Level 5' */ break; } - /* End of SwitchCase: '/Switch Case' */ - /* End of Outputs for SubSystem: '/Step -1 R (Entry Condition)' */ + /* 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' + /* Outputs for IfAction SubSystem: '/Step 0 R' incorporates: + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read1' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' */ switch (rtDW.LEVEL) { case 0: - /* Outputs for IfAction SubSystem: '/Level 0' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 0' incorporates: + * ActionPort: '/Action Port' */ Level0(&rtB.Merge_a0); - /* End of Outputs for SubSystem: '/Level 0' */ + /* End of Outputs for SubSystem: '/Level 0' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Level 1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 1' incorporates: + * ActionPort: '/Action Port' */ Level0(&rtB.Merge_a0); - /* End of Outputs for SubSystem: '/Level 1' */ + /* End of Outputs for SubSystem: '/Level 1' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Level 2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Blower_RR = 10U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Blower_RL = 10U; - /* DataStoreWrite: '/Data Store Write10' incorporates: - * Constant: '/Constant4' + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/Constant4' */ rtDW.Dtg_RR = 650U; - /* DataStoreWrite: '/Data Store Write11' incorporates: - * Constant: '/Constant4' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * Constant: '/Constant4' */ rtDW.Dtg_RL = 650U; - /* MATLAB Function: '/incar filter up' incorporates: - * DataStoreRead: '/Data Store Read1' + /* 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' + /* 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' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Mode - foot' */ rtDW.Mode_RR = 60U; - /* Switch: '/Switch1' incorporates: - * Constant: '/LO' - * DataStoreRead: '/Data Store Read11' - * DataStoreRead: '/Data Store Read12' - * Logic: '/Logical Operator1' - * RelationalOperator: '/Relational Operator2' - * RelationalOperator: '/Relational Operator3' + /* 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' + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' */ rtB.Merge_a0 = 3; } else { - /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' incorporates: - * DataStoreRead: '/Data Store Read3' + /* 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' + /* 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' */ + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Level 2' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Level 3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 3' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write5' incorporates: - * Constant: '/Constant2' + /* DataStoreWrite: '/Data Store Write5' incorporates: + * Constant: '/Constant2' */ rtDW.Blower_RR = 10U; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * Constant: '/Constant3' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * Constant: '/Constant3' */ rtDW.Blower_RL = 10U; - /* DataStoreWrite: '/Data Store Write10' incorporates: - * Constant: '/Constant4' + /* DataStoreWrite: '/Data Store Write10' incorporates: + * Constant: '/Constant4' */ rtDW.Dtg_RR = 650U; - /* DataStoreWrite: '/Data Store Write11' incorporates: - * Constant: '/Constant4' + /* DataStoreWrite: '/Data Store Write11' incorporates: + * Constant: '/Constant4' */ rtDW.Dtg_RL = 650U; - /* MATLAB Function: '/incar filter up' incorporates: - * DataStoreRead: '/Data Store Read1' + /* 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' + /* 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' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * Constant: '/Mode - foot' */ rtDW.Mode_RR = 60U; - /* Merge: '/Merge' incorporates: - * SignalConversion generated from: '/step1' + /* Merge: '/Merge' incorporates: + * SignalConversion generated from: '/step1' */ rtB.Merge_a0 = 0; - /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' incorporates: - * DataStoreRead: '/Data Store Read3' + /* MATLAB Function: '/g_assSTART_COOLANT_STEP0_TO_1 ' incorporates: + * DataStoreRead: '/Data Store Read3' */ g_assSTART_COOLANT_STEP0_TO_1_j(rtDW.LEVEL, &rtb_y_hg); - /* End of Outputs for SubSystem: '/Level 3' */ + /* End of Outputs for SubSystem: '/Level 3' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Level 4' incorporates: - * ActionPort: '/Action Port' + /* 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, @@ -62458,12 +66399,12 @@ void HVAC_model_step(void) &rtDW.LO_HI_MODE_RR, &rtb_Saturation4, &rtDW.Mode_RR, &ShutOffRear_EN, &rtb_timer_out); - /* End of Outputs for SubSystem: '/Level 4' */ + /* End of Outputs for SubSystem: '/Level 4' */ break; case 5: - /* Outputs for IfAction SubSystem: '/Level 5' incorporates: - * ActionPort: '/Action Port' + /* 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, @@ -62471,25 +66412,25 @@ void HVAC_model_step(void) &rtDW.LO_HI_MODE_RR, &rtb_Saturation4, &rtDW.Mode_RR, &ShutOffRear_EN, &rtb_timer_out); - /* End of Outputs for SubSystem: '/Level 5' */ + /* End of Outputs for SubSystem: '/Level 5' */ break; } - /* End of SwitchCase: '/Switch Case' */ - /* End of Outputs for SubSystem: '/Step 0 R' */ + /* 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' + /* Outputs for IfAction SubSystem: '/Step 1 R' incorporates: + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read1' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' */ switch (rtDW.LEVEL) { case 0: - /* Outputs for IfAction SubSystem: '/Level 0' incorporates: - * ActionPort: '/Action Port' + /* 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, @@ -62497,12 +66438,12 @@ void HVAC_model_step(void) &rtDW.LO_HI_MODE_RR, &rtb_Saturation4, &rtDW.Mode_RR, &index_start, &ShutOffRear_EN, &rtDW.t_now, &rtDW.Level0_gj); - /* End of Outputs for SubSystem: '/Level 0' */ + /* End of Outputs for SubSystem: '/Level 0' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Level 1' incorporates: - * ActionPort: '/Action Port' + /* 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, @@ -62510,253 +66451,250 @@ void HVAC_model_step(void) &rtDW.LO_HI_MODE_RR, &rtb_Saturation4, &rtDW.Mode_RR, &index_start, &ShutOffRear_EN, &rtDW.t_now, &rtDW.Level1_l); - /* End of Outputs for SubSystem: '/Level 1' */ + /* End of Outputs for SubSystem: '/Level 1' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Level 2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 2' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * MATLAB Function: '/2 way valve' - * MATLAB Function: '/incar filter down' - * MATLAB Function: '/incar filter up' - * MATLAB Function: '/mode rear step 1' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * MATLAB Function: '/2 way valve' + * MATLAB Function: '/incar filter down' + * MATLAB Function: '/incar filter up' + * MATLAB Function: '/mode rear step 1' */ uwayvalve(rtDW.LEVEL, &rtDW.Mode_RR); incarfilterup_j(rtDW.LEVEL, &rtDW.Mode_RR); incarfilterdown_m(rtDW.LEVEL, &rtDW.Mode_RR); moderearstep1(rtDW.LEVEL, &rtDW.Mode_RR); - /* MATLAB Function: '/blower start finish' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower start finish' incorporates: + * DataStoreRead: '/Data Store Read7' */ blowerstartfinish(rtDW.LEVEL, rtb_out_fm); - /* MATLAB Function: '/ECT min max' */ + /* 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_jow[0] = g_assSTART_COOLANT_STEP0_TO_1[4]; rtb_out_jow[1] = g_assSTART_COOLANT_TO_STEP2[1]; - /* Lookup_n-D: '/blower для текущего ECT' incorporates: - * DataStoreRead: '/engine coolant temp' + /* Lookup_n-D: '/blower для текущего ECT' incorporates: + * DataStoreRead: '/engine coolant temp' */ rtb_y_hg = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, rtb_out_jow, rtb_out_fm, 1U); - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write5' - * DataTypeConversion: '/Data Type Conversion1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write5' + * DataTypeConversion: '/Data Type Conversion1' */ rtDW.Blower_RR = (uint8_t)rtb_y_hg; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * DataStoreWrite: '/Data Store Write5' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' */ rtDW.Blower_RL = rtDW.Blower_RR; - /* MATLAB Function: '/Dtg_rear' incorporates: - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/Dtg_rear' incorporates: + * DataStoreRead: '/Data Store Read8' */ Dtg_rear(rtDW.LEVEL, &Comp_Max_RPM_Allowed); - /* Gain: '/Gain' incorporates: - * DataStoreWrite: '/Data Store Write10' + /* 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' + /* 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' + /* 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' + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' */ Timegotofromstep1tostep2_n(rtDW.LEVEL, &rtb_y_hg); - /* MATLAB Function: '/MATLAB Function1' incorporates: - * DataStoreRead: '/Data Store Read9' - * Gain: '/из сек в мс' + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read9' + * Gain: '/из сек в мс' */ - MATLABFunction1(rtDW.t_now, (uint16_t)(1000 * rtb_y_hg), - &WinterCondition_is_active_F, + MATLABFunction1(rtDW.t_now, (uint16_t)(1000 * rtb_y_hg), &rtb_AND2_b, &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' + /* 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' + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' */ rtB.Merge_a0 = 3; - } else if ((rtDW.Incar_RR > rtb_FLU_tg_correct) || - WinterCondition_is_active_F || (rtDW.ECT > - g_assSTART_COOLANT_TO_STEP2[1])) { - /* Switch: '/Switch' incorporates: - * Constant: '/go to next step' - * Merge: '/Merge' + } else if ((rtDW.Incar_RR > rtb_FLU_tg_correct) || rtb_AND2_b || + (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' + /* 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' */ + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Level 2' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Level 3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Level 3' incorporates: + * ActionPort: '/Action Port' */ - /* DataStoreWrite: '/Data Store Write2' incorporates: - * DataStoreRead: '/Data Store Read1' - * DataStoreRead: '/Data Store Read2' - * DataStoreRead: '/Data Store Read5' - * DataStoreRead: '/Data Store Read6' - * MATLAB Function: '/2 way valve' - * MATLAB Function: '/incar filter down' - * MATLAB Function: '/incar filter up' - * MATLAB Function: '/mode rear step 1' + /* DataStoreWrite: '/Data Store Write2' incorporates: + * DataStoreRead: '/Data Store Read1' + * DataStoreRead: '/Data Store Read2' + * DataStoreRead: '/Data Store Read5' + * DataStoreRead: '/Data Store Read6' + * MATLAB Function: '/2 way valve' + * MATLAB Function: '/incar filter down' + * MATLAB Function: '/incar filter up' + * MATLAB Function: '/mode rear step 1' */ uwayvalve(rtDW.LEVEL, &rtDW.Mode_RR); incarfilterup_j(rtDW.LEVEL, &rtDW.Mode_RR); incarfilterdown_m(rtDW.LEVEL, &rtDW.Mode_RR); moderearstep1(rtDW.LEVEL, &rtDW.Mode_RR); - /* MATLAB Function: '/blower start finish' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/blower start finish' incorporates: + * DataStoreRead: '/Data Store Read7' */ blowerstartfinish(rtDW.LEVEL, rtb_out_fm); - /* MATLAB Function: '/ECT min max' incorporates: - * DataStoreRead: '/Data Store Read7' + /* MATLAB Function: '/ECT min max' incorporates: + * DataStoreRead: '/Data Store Read7' */ ECTminmax_j(rtDW.LEVEL, rtb_out_jow); - /* Lookup_n-D: '/blower для текущего ECT' incorporates: - * DataStoreRead: '/engine coolant temp' + /* Lookup_n-D: '/blower для текущего ECT' incorporates: + * DataStoreRead: '/engine coolant temp' */ rtb_y_hg = look1_is16lu64n32tu16Ds32Is16_binlcs(rtDW.ECT, rtb_out_jow, rtb_out_fm, 1U); - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * DataStoreWrite: '/Data Store Write5' - * DataTypeConversion: '/Data Type Conversion1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * DataStoreWrite: '/Data Store Write5' + * DataTypeConversion: '/Data Type Conversion1' */ rtDW.Blower_RR = (uint8_t)rtb_y_hg; - /* DataStoreWrite: '/Data Store Write6' incorporates: - * DataStoreWrite: '/Data Store Write5' + /* DataStoreWrite: '/Data Store Write6' incorporates: + * DataStoreWrite: '/Data Store Write5' */ rtDW.Blower_RL = rtDW.Blower_RR; - /* MATLAB Function: '/Dtg_rear' incorporates: - * DataStoreRead: '/Data Store Read8' + /* MATLAB Function: '/Dtg_rear' incorporates: + * DataStoreRead: '/Data Store Read8' */ Dtg_rear(rtDW.LEVEL, &Comp_Max_RPM_Allowed); - /* Gain: '/Gain' incorporates: - * DataStoreWrite: '/Data Store Write10' + /* 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' + /* 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' + /* 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' + /* MATLAB Function: '/Time goto from step 1 to step 2 ' incorporates: + * DataStoreRead: '/Data Store Read4' */ Timegotofromstep1tostep2_n(rtDW.LEVEL, &rtb_y_hg); - /* MATLAB Function: '/MATLAB Function1' incorporates: - * DataStoreRead: '/Data Store Read9' - * Gain: '/из сек в мс' + /* MATLAB Function: '/MATLAB Function1' incorporates: + * DataStoreRead: '/Data Store Read9' + * Gain: '/из сек в мс' */ - MATLABFunction1(rtDW.t_now, (uint16_t)(1000 * rtb_y_hg), - &WinterCondition_is_active_F, &rtDW.sf_MATLABFunction1_c); + MATLABFunction1(rtDW.t_now, (uint16_t)(1000 * rtb_y_hg), &rtb_AND2_b, + &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' + /* 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' + /* Merge: '/Merge' incorporates: + * Constant: '/exit algorithm' */ rtB.Merge_a0 = 3; - } else if ((rtDW.Incar_RR > rtb_FLU_tg_correct) || - WinterCondition_is_active_F || (rtDW.ECT > - g_assSTART_COOLANT_TO_STEP2[2])) { - /* Switch: '/Switch' incorporates: - * Constant: '/go to next step' - * Merge: '/Merge' + } else if ((rtDW.Incar_RR > rtb_FLU_tg_correct) || rtb_AND2_b || + (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' + /* 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' */ + /* End of Switch: '/Switch1' */ + /* End of Outputs for SubSystem: '/Level 3' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Level 4' incorporates: - * ActionPort: '/Action Port' + /* 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, @@ -62765,12 +66703,12 @@ void HVAC_model_step(void) &rtDW.Mode_RR, &index_start, &ShutOffRear_EN, &rtDW.t_now, &rtDW.Level4_m5); - /* End of Outputs for SubSystem: '/Level 4' */ + /* End of Outputs for SubSystem: '/Level 4' */ break; case 5: - /* Outputs for IfAction SubSystem: '/Level 5' incorporates: - * ActionPort: '/Action Port' + /* 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, @@ -62779,25 +66717,25 @@ void HVAC_model_step(void) &rtDW.Mode_RR, &index_start, &ShutOffRear_EN, &rtDW.t_now, &rtDW.Level5_i); - /* End of Outputs for SubSystem: '/Level 5' */ + /* End of Outputs for SubSystem: '/Level 5' */ break; } - /* End of SwitchCase: '/Switch Case' */ - /* End of Outputs for SubSystem: '/Step 1 R' */ + /* 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' + /* Outputs for IfAction SubSystem: '/Step 2 R' incorporates: + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read1' + /* SwitchCase: '/Switch Case' incorporates: + * DataStoreRead: '/Data Store Read1' */ switch (rtDW.LEVEL) { case 0: - /* Outputs for IfAction SubSystem: '/Level 0' incorporates: - * ActionPort: '/Action Port' + /* 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, @@ -62806,12 +66744,12 @@ void HVAC_model_step(void) &rtDW.Mode_RR, &rtDW.Mode_logic_RR, &index_start, &ShutOffRear_EN, &rtDW.t_now, &rtDW.Level0_ad); - /* End of Outputs for SubSystem: '/Level 0' */ + /* End of Outputs for SubSystem: '/Level 0' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Level 1' incorporates: - * ActionPort: '/Action Port' + /* 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, @@ -62820,12 +66758,12 @@ void HVAC_model_step(void) &rtDW.Mode_RR, &rtDW.Mode_logic_RR, &index_start, &ShutOffRear_EN, &rtDW.t_now, &rtDW.Level1_hm); - /* End of Outputs for SubSystem: '/Level 1' */ + /* End of Outputs for SubSystem: '/Level 1' */ break; case 2: - /* Outputs for IfAction SubSystem: '/Level 2' incorporates: - * ActionPort: '/Action Port' + /* 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, @@ -62834,12 +66772,12 @@ void HVAC_model_step(void) &rtb_Saturation4, &rtDW.Mode_RR, &rtDW.Mode_logic_RR, &index_start, &ShutOffRear_EN, &rtDW.t_now, &rtDW.Level2_f0); - /* End of Outputs for SubSystem: '/Level 2' */ + /* End of Outputs for SubSystem: '/Level 2' */ break; case 3: - /* Outputs for IfAction SubSystem: '/Level 3' incorporates: - * ActionPort: '/Action Port' + /* 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, @@ -62848,12 +66786,12 @@ void HVAC_model_step(void) &rtb_Saturation4, &rtDW.Mode_RR, &rtDW.Mode_logic_RR, &index_start, &ShutOffRear_EN, &rtDW.t_now, &rtDW.Level3_p); - /* End of Outputs for SubSystem: '/Level 3' */ + /* End of Outputs for SubSystem: '/Level 3' */ break; case 4: - /* Outputs for IfAction SubSystem: '/Level 4' incorporates: - * ActionPort: '/Action Port' + /* 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, @@ -62862,12 +66800,12 @@ void HVAC_model_step(void) &rtb_Saturation4, &rtDW.Mode_RR, &rtDW.Mode_logic_RR, &index_start, &ShutOffRear_EN, &rtDW.t_now, &rtDW.Level4_b); - /* End of Outputs for SubSystem: '/Level 4' */ + /* End of Outputs for SubSystem: '/Level 4' */ break; case 5: - /* Outputs for IfAction SubSystem: '/Level 5' incorporates: - * ActionPort: '/Action Port' + /* 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, @@ -62876,27 +66814,27 @@ void HVAC_model_step(void) &rtb_Saturation4, &rtDW.Mode_RR, &rtDW.Mode_logic_RR, &index_start, &ShutOffRear_EN, &rtDW.t_now, &rtDW.Level5_ph); - /* End of Outputs for SubSystem: '/Level 5' */ + /* End of Outputs for SubSystem: '/Level 5' */ break; } - /* End of SwitchCase: '/Switch Case' */ - /* End of Outputs for SubSystem: '/Step 2 R' */ + /* 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' + /* 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' */ + /* End of Outputs for SubSystem: '/Step 3 R' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* DataStoreWrite: '/Data Store Write' */ + /* DataStoreWrite: '/Data Store Write' */ rtDW.step_start_controle_rear = rtB.Merge_a0; /* End of Outputs for SubSystem: '/Start Control Rear' */ @@ -62904,265 +66842,214 @@ void HVAC_model_step(void) /* End of If: '/если SC front не завершен3' */ - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read' */ if (rtDW.CCU_SET_FL < 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_FL = 1U; - /* End of Outputs for SubSystem: '/LO mode' */ + /* End of Outputs for SubSystem: '/LO mode' */ } else if (rtDW.CCU_SET_FL > 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_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 If: '/If' */ - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read1' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read1' */ if (rtDW.CCU_SET_FR < 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_FR = 1U; - /* End of Outputs for SubSystem: '/LO mode' */ + /* End of Outputs for SubSystem: '/LO mode' */ } else if (rtDW.CCU_SET_FR > 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_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 If: '/If' */ - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read2' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read2' */ 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' */ - /* If: '/If' incorporates: - * DataStoreRead: '/Data Store Read3' + /* If: '/If' incorporates: + * DataStoreRead: '/Data Store Read3' */ 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' */ - /* Update for Memory: '/Memory1' */ + /* Update for Memory: '/Memory1' */ rtDW.MemComp_I_Value = rtb_Gain1_f; - /* Update for Memory: '/pError' */ + /* Update for Memory: '/pError' */ rtDW.pError_PreviousInput = rtb_g_assEVA_TG_AMB_F_m; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/Data Store Read6' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/Data Store Read6' */ rtDW.UnitDelay_DSTATE_fq = rtb_Merge_b; - /* 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 ' */ - rtDW.Cond_prev_private_DSTATE = rtb_LogicalOperator1; - - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_p = rtb_AND2_b; - - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_a = rtb_Compare_byy; - - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_l = rtb_LogicalOperator1_f1; - - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_j = rtb_LogicalOperator1_f; - - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_g = rtb_LogicalOperator1_nf; - - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_c = rtb_FailCond_of; - - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_h = rtb_Compare_pw3; - - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_cr = rtb_Compare_nh; - - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_m = rtb_Compare_ee; - - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_jr = rtb_Compare_n4; - - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_f = rtb_Compare_cp; - - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_cn = rtb_Compare_ca; - - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_k = rtb_Compare_kp; - - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_d = rtb_Compare_jj; - - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_hw = rtb_Compare_f4; - - /* Update for UnitDelay: '/Cond_prev_private ' */ - rtDW.Cond_prev_private_DSTATE_i = rtb_Compare_k2; - - /* 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.out_auto_b; - /* 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_f = rtB.out_auto; - /* 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_e = rtB.out_auto_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_ee = rtB.out_auto_bb; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/Data Store Read44' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/Data Store Read44' */ rtDW.UnitDelay_DSTATE_l = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/Data Store Read44' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/Data Store Read44' */ rtDW.UnitDelay_DSTATE_bp = rtDW.t_now; - /* Update for UnitDelay: '/Unit Delay' incorporates: - * DataStoreRead: '/Data Store Read44' + /* Update for UnitDelay: '/Unit Delay' incorporates: + * DataStoreRead: '/Data Store Read44' */ rtDW.UnitDelay_DSTATE_li = rtDW.t_now; } @@ -63200,16 +67087,16 @@ void HVAC_model_initialize(void) uint8_t out_face_i; uint8_t out_foot_h; - /* 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 DataStoreMemory: '/Data Store Memory106' */ @@ -63230,34 +67117,34 @@ void HVAC_model_initialize(void) /* Start for DataStoreMemory: '/Data Store Memory119' */ rtDW.CCU_AUTOMODE_RR = 3U; 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 Memory1' */ + /* Start for DataStoreMemory: '/Data Store Memory1' */ rtDW.ErrorCalibration_private_p[i] = 1U; - /* Start for DataStoreMemory: '/Data Store Memory1' */ + /* Start for DataStoreMemory: '/Data Store Memory1' */ rtDW.ErrorCalibration_private_b[i] = 1U; /* Start for DataStoreMemory: '/Data Store Memory121' */ - rtDW.MaxPositionCh0_private[i] = rtConstP.pooled91[i]; + rtDW.MaxPositionCh0_private[i] = rtConstP.pooled92[i]; /* Start for DataStoreMemory: '/Data Store Memory123' */ - rtDW.MaxPositionCh1_private[i] = rtConstP.pooled93[i]; + rtDW.MaxPositionCh1_private[i] = rtConstP.pooled94[i]; /* Start for DataStoreMemory: '/Data Store Memory124' */ - rtDW.MaxPositionCh2_private[i] = rtConstP.pooled94[i]; + rtDW.MaxPositionCh2_private[i] = rtConstP.pooled95[i]; } /* Start for 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; @@ -63277,7 +67164,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; @@ -63324,6 +67211,9 @@ void HVAC_model_initialize(void) /* Start for DataStoreMemory: '/Data Store Memory5' */ rtDW.t_now = 10U; + /* Start for DataStoreMemory: '/Data Store Memory501' */ + rtDW.RearHVAC_present = true; + /* Start for DataStoreMemory: '/Data Store Memory76' */ rtDW.CCU_FootTempCorr_FL = 3U; @@ -63375,42 +67265,42 @@ void HVAC_model_initialize(void) /* Start for DataStoreMemory: '/side rear R' */ rtDW.DRS_SRR = 3U; - /* InitializeConditions for RateLimiter: '/Rate Limiter' */ + /* InitializeConditions for RateLimiter: '/Rate Limiter' */ rtDW.PrevY = 0.0; - /* InitializeConditions for UnitDelay: '/Unit Delay' */ + /* InitializeConditions for UnitDelay: '/Unit Delay' */ rtDW.UnitDelay_DSTATE_fq = -9999; - /* InitializeConditions for UnitDelay: '/Unit Delay1' */ + /* InitializeConditions for UnitDelay: '/Unit Delay1' */ rtDW.UnitDelay1_DSTATE = -9999; - /* SystemInitialize for Atomic SubSystem: '/WINTER CONDITION' */ - /* SystemInitialize for MATLAB Function: '/MATLAB Function4' */ + /* SystemInitialize for Atomic SubSystem: '/WINTER CONDITION' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function4' */ /* : amb_condition_latched = false; */ rtDW.amb_condition_latched = false; - /* SystemInitialize for MATLAB Function: '/MATLAB Function3' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function3' */ /* : is_active_persistent = false; */ rtDW.is_active_persistent_m = false; /* : R_Evap_tg_persistent = 0; */ rtDW.R_Evap_tg_persistent = 0.0; - /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ /* : is_active_persistent = false; */ rtDW.is_active_persistent_n = false; /* : FRONT_eTXV_ON_persistent = true; */ rtDW.FRONT_eTXV_ON_persistent = true; - /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ /* : is_active_persistent = false; */ - rtDW.is_active_persistent_c = false; + rtDW.is_active_persistent_cq = false; /* : REAR_eTXV_ON_persistent = true; */ rtDW.REAR_eTXV_ON_persistent = true; - /* End of SystemInitialize for SubSystem: '/WINTER CONDITION' */ + /* End of SystemInitialize for SubSystem: '/WINTER CONDITION' */ /* SystemInitialize for Chart: '/A//C Control' */ rtB.FRONT_eTXV = false; @@ -63433,7 +67323,7 @@ void HVAC_model_initialize(void) rtDW.is_E_COMP_MANAGER = IN_NO_ACTIVE_CHILD_c; rtDW.is_COMP_PROTECTION = IN_NO_ACTIVE_CHILD_c; - /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ rtDW.t_start_not_empty = false; rtDW.is_running = 0U; @@ -63445,14 +67335,14 @@ 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 Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.LEVEL = 0U; /* 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: '/Partial REC' */ + /* SystemInitialize for Chart: '/Partial REC Summer' */ rtB.req_OSA = 0U; rtB.req_REC = 0U; rtDW.X_prev = 0; @@ -63461,82 +67351,133 @@ 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 Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_j = 0; - /* SystemInitialize for Merge: '/Merge1' */ + /* SystemInitialize for Merge: '/Merge1' */ rtB.Merge1 = 0; - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_g = 0; - /* SystemInitialize for Merge: '/Merge1' */ + /* SystemInitialize for Merge: '/Merge1' */ rtB.Merge1_m = 0; - /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ + /* SystemInitialize for MATLAB Function: '/error timer' */ + errortimer_Init(&rtDW.sf_errortimer); + + /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed); - /* SystemInitialize for MATLAB Function: '/filter AC Pressure' */ + /* SystemInitialize for MATLAB Function: '/filter AC Pressure' */ filterACPressure_Init(&rtDW.sf_filterACPressure); - /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ + /* SystemInitialize for MATLAB Function: '/error timer' */ + errortimer_Init(&rtDW.sf_errortimer_b); + + /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_a); - /* SystemInitialize for MATLAB Function: '/filter AC Pressure' */ + /* SystemInitialize for MATLAB Function: '/filter AC Pressure' */ filterACPressure_Init(&rtDW.sf_filterACPressure_p); - /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ + /* SystemInitialize for MATLAB Function: '/error timer' */ + errortimer_Init(&rtDW.sf_errortimer_h); + + /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_d); - /* SystemInitialize for MATLAB Function: '/filter AC Pressure' */ + /* SystemInitialize for MATLAB Function: '/filter AC Pressure' */ rtDW.prev_value_not_empty = false; - /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ - is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_m); + /* SystemInitialize for MATLAB Function: '/error timer' */ + errortimer_Init(&rtDW.sf_errortimer_e); - /* SystemInitialize for MATLAB Function: '/filter duct' */ - filterduct_Init(&rtDW.sf_filterduct_k); + /* SystemInitialize for MATLAB Function: '/error timer1' */ + errortimer_Init(&rtDW.sf_errortimer1); - /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ - is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_f); + /* SystemInitialize for MATLAB Function: '/error timer2' */ + errortimer_Init(&rtDW.sf_errortimer2); - /* SystemInitialize for MATLAB Function: '/filter duct' */ - filterduct_Init(&rtDW.sf_filterduct); + /* SystemInitialize for MATLAB Function: '/error timer3' */ + errortimer_Init(&rtDW.sf_errortimer3); - /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ - is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_o); + /* SystemInitialize for MATLAB Function: '/error timer' */ + errortimer_Init(&rtDW.sf_errortimer_j); - /* SystemInitialize for MATLAB Function: '/filter duct' */ - filterduct_Init(&rtDW.sf_filterduct_c); + /* SystemInitialize for MATLAB Function: '/error timer1' */ + errortimer_Init(&rtDW.sf_errortimer1_k); - /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ - is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_h); + /* SystemInitialize for MATLAB Function: '/error timer2' */ + errortimer_Init(&rtDW.sf_errortimer2_d); - /* SystemInitialize for MATLAB Function: '/filter duct' */ - filterduct_Init(&rtDW.sf_filterduct_o); + /* SystemInitialize for MATLAB Function: '/error timer3' */ + errortimer_Init(&rtDW.sf_errortimer3_f); - /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ - is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_e); + /* SystemInitialize for MATLAB Function: '/error timer4' */ + errortimer_Init(&rtDW.sf_errortimer4); - /* SystemInitialize for MATLAB Function: '/filter duct' */ - filterduct_Init(&rtDW.sf_filterduct_h); + /* SystemInitialize for MATLAB Function: '/error timer5' */ + errortimer_Init(&rtDW.sf_errortimer5); /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ - is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_c); + is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_m); /* SystemInitialize for MATLAB Function: '/filter duct' */ + filterduct_Init(&rtDW.sf_filterduct_k); + + /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ + is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_f); + + /* SystemInitialize for MATLAB Function: '/filter duct' */ + filterduct_Init(&rtDW.sf_filterduct); + + /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ + is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_o); + + /* SystemInitialize for MATLAB Function: '/filter duct' */ + filterduct_Init(&rtDW.sf_filterduct_c); + + /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ + is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_h); + + /* SystemInitialize for MATLAB Function: '/filter duct' */ + filterduct_Init(&rtDW.sf_filterduct_o); + + /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ + is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_e); + + /* SystemInitialize for MATLAB Function: '/filter duct' */ + filterduct_Init(&rtDW.sf_filterduct_h); + + /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ + is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_c); + + /* SystemInitialize for MATLAB Function: '/filter duct' */ filterduct_Init(&rtDW.sf_filterduct_j); - /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ + /* SystemInitialize for MATLAB Function: '/error timer' */ + errortimer_Init(&rtDW.sf_errortimer_f); + + /* SystemInitialize for MATLAB Function: '/error timer' */ + errortimer_Init(&rtDW.sf_errortimer_c); + + /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_mv); - /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ + /* SystemInitialize for MATLAB Function: '/error timer' */ + errortimer_Init(&rtDW.sf_errortimer_d); + + /* SystemInitialize for MATLAB Function: '/error timer' */ + errortimer_Init(&rtDW.sf_errortimer_n); + + /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_fq); - /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ + /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_n); - /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ + /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_mt); /* SystemInitialize for Chart: '/Zone_Climate_Logic_Auto_RL' */ @@ -63556,7 +67497,7 @@ void HVAC_model_initialize(void) &rtB.out_auto_bb, &rtDW.sf_Zone_Climate_Logic_Auto_FR); /* SystemInitialize for Atomic SubSystem: '/AromaLogic' */ - /* SystemInitialize for MATLAB Function: '/ccuAromaLogic' */ + /* SystemInitialize for MATLAB Function: '/ccuAromaLogic' */ /* : savedIntensity = uint8(0); */ rtDW.savedIntensity = 0U; @@ -63566,7 +67507,7 @@ void HVAC_model_initialize(void) /* End of SystemInitialize for SubSystem: '/AromaLogic' */ /* SystemInitialize for Atomic SubSystem: '/Autodemist (all-season mode and winter mode)' */ - /* SystemInitialize for MATLAB Function: '/Calculate_Autodemist_Level' */ + /* SystemInitialize for MATLAB Function: '/Calculate_Autodemist_Level' */ /* : current_level_FL = 0; */ rtDW.current_level_FL = 0.0; @@ -63576,83 +67517,105 @@ void HVAC_model_initialize(void) /* : active_mode = 0; */ rtDW.active_mode = 0.0; - /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ rtDW.req_prev_not_empty = false; /* End of SystemInitialize for SubSystem: '/Autodemist (all-season mode and winter mode)' */ - /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ + /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_k3); - /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ + /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_k); - /* SystemInitialize for MATLAB Function: '/filter sensor' */ + /* SystemInitialize for MATLAB Function: '/filter sensor' */ filtersensor_Init(&rtDW.sf_filtersensor); - /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ + /* SystemInitialize for MATLAB Function: '/is 3 sec after T15 passed' */ is3secafterT15passed_Init(&rtDW.sf_is3secafterT15passed_p); - /* SystemInitialize for MATLAB Function: '/filter sensor' */ + /* SystemInitialize for MATLAB Function: '/filter sensor' */ filtersensor_Init(&rtDW.sf_filtersensor_a); - /* SystemInitialize for Enabled SubSystem: '/TM_CP and FIU - только при зажигании' */ - /* SystemInitialize for Chart: '/Defrost_Active' */ - rtDW.is_active_c837_HVAC_model = 0U; - rtDW.is_c837_HVAC_model = IN_NO_ACTIVE_CHILD_c; + /* SystemInitialize for Enabled SubSystem: '/TM_CP только при зажигании' */ + /* SystemInitialize for Chart: '/Defrost_Active' */ + rtDW.is_active_c1601_HVAC_model = 0U; + rtDW.is_c1601_HVAC_model = IN_NO_ACTIVE_CHILD_c; - /* SystemInitialize for Chart: '/Front Window Heating' */ - rtDW.is_active_c262_HVAC_model = 0U; - rtDW.is_c262_HVAC_model = IN_NO_ACTIVE_CHILD_c; + /* SystemInitialize for Chart: '/Front Window Heating' */ + rtDW.is_active_c1602_HVAC_model = 0U; + rtDW.is_c1602_HVAC_model = IN_NO_ACTIVE_CHILD_c; - /* 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: '/AC_Max_Active' */ + rtDW.is_active_c1600_HVAC_model = 0U; + rtDW.is_c1600_HVAC_model = IN_NO_ACTIVE_CHILD_c; - /* 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 Chart: '/Full_Rec_Active' */ + rtDW.is_active_c1603_HVAC_model = 0U; + rtDW.is_c1603_HVAC_model = IN_NO_ACTIVE_CHILD_c; - /* End of SystemInitialize for SubSystem: '/TM_CP and FIU - только при зажигании' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + /* : isPressed = false; */ + rtDW.isPressed = false; - /* SystemInitialize for Atomic SubSystem: '/Emergency_Air_Cleaning' */ - /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + /* : direction = 0; */ + rtDW.direction = 0.0; + + /* : pressStartMs = uint32(0); */ + rtDW.pressStartMs = 0U; + + /* : baseTemp = uint16(0); */ + rtDW.baseTemp = 0U; + + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + MATLABFunction_Init(&rtDW.sf_MATLABFunction_j); + + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + MATLABFunction_Init(&rtDW.sf_MATLABFunction_my); + + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + MATLABFunction_Init(&rtDW.sf_MATLABFunction_js); + + /* End of SystemInitialize for SubSystem: '/TM_CP только при зажигании' */ + + /* SystemInitialize for Atomic SubSystem: '/Emergency_Air_Cleaning' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ /* : armed = false; */ rtDW.armed_i2 = false; /* : deadline = uint32(0); */ rtDW.deadline_c = 0U; - /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ /* : armed = false; */ rtDW.armed_g = false; /* : deadline = uint32(0); */ rtDW.deadline_g0 = 0U; - /* SystemInitialize for MATLAB Function: '/MATLAB Function2' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function2' */ /* : armed = false; */ rtDW.armed_n = false; /* : deadline = uint32(0); */ rtDW.deadline_e = 0U; - /* SystemInitialize for MATLAB Function: '/MATLAB Function3' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function3' */ /* : armed = false; */ rtDW.armed_i = false; /* : deadline = uint32(0); */ rtDW.deadline_g = 0U; - /* SystemInitialize for MATLAB Function: '/MATLAB Function4' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function4' */ /* : armed = false; */ rtDW.armed = false; /* : deadline = uint32(0); */ rtDW.deadline = 0U; - /* SystemInitialize for MATLAB Function: '/EmergencyAirCleaning' */ - rtDW.is_active_persistent_not_empty_p = false; + /* SystemInitialize for MATLAB Function: '/EmergencyAirCleaning' */ + rtDW.is_active_persistent_not_empty_p1 = false; rtDW.mode_reg_i = 0U; rtDW.is_active_persistent_a = false; rtDW.user_edit_FRONT_FL_blower_speed = false; @@ -63660,14 +67623,14 @@ void HVAC_model_initialize(void) rtDW.user_edit_REAR_RL_blower_speed = false; rtDW.user_edit_REAR_RR_blower_speed = false; - /* SystemInitialize for MATLAB Function: '/MATLAB Function5' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function5' */ rtDW.wasActive_not_empty = false; rtDW.wasActive = false; - /* End of SystemInitialize for SubSystem: '/Emergency_Air_Cleaning' */ + /* End of SystemInitialize for SubSystem: '/Emergency_Air_Cleaning' */ - /* SystemInitialize for Atomic SubSystem: '/FOOT2_CONTROL' */ - /* SystemInitialize for MATLAB Function: '/Foot2DuctControl_RL' */ + /* SystemInitialize for Atomic SubSystem: '/FOOT2_CONTROL' */ + /* SystemInitialize for MATLAB Function: '/Foot2DuctControl_RL' */ /* : , */ /* : hystLV2_FL = false; */ rtDW.hystLV2_FL = false; @@ -63676,7 +67639,7 @@ void HVAC_model_initialize(void) /* : hystLV3_FL = false; */ rtDW.hystLV3_FL = false; - /* SystemInitialize for MATLAB Function: '/Foot2DuctControl_RR' */ + /* SystemInitialize for MATLAB Function: '/Foot2DuctControl_RR' */ /* : , */ /* : hystLV2_FR = false; */ rtDW.hystLV2_FR = false; @@ -63685,74 +67648,74 @@ void HVAC_model_initialize(void) /* : hystLV3_FR = false; */ rtDW.hystLV3_FR = false; - /* End of SystemInitialize for SubSystem: '/FOOT2_CONTROL' */ + /* End of SystemInitialize for SubSystem: '/FOOT2_CONTROL' */ - /* 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_n = 1.0; - /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ - MATLABFunction_Init(&rtDW.sf_MATLABFunction_h); + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + MATLABFunction_g_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' */ - MATLABFunction_Init(&rtDW.sf_MATLABFunction_hk); + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + MATLABFunction_g_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' */ - MATLABFunction_Init(&rtDW.sf_MATLABFunction_g); + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + MATLABFunction_g_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_b = 0; - /* SystemInitialize for Atomic SubSystem: '/MAX AC' */ - /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + /* SystemInitialize for Atomic SubSystem: '/MAX AC' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ rtDW.DRS_array_persistent_not_empty_e = false; - /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ - rtDW.is_active_persistent_not_empty = false; + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + rtDW.is_active_persistent_not_empty_p = false; rtDW.mode_reg_o = 0U; rtDW.is_active_persistent_i = false; rtDW.FIU_CCmodeFL_Req_j = 0U; @@ -63774,18 +67737,18 @@ void HVAC_model_initialize(void) rtDW.FIU_DeflectorSwFPL_Req_m = 0U; rtDW.FIU_DeflectorSwFPR_Req_i = 0U; - /* End of SystemInitialize for SubSystem: '/MAX AC' */ + /* End of SystemInitialize for SubSystem: '/MAX AC' */ - /* SystemInitialize for Atomic SubSystem: '/MAX DEF1' */ - /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + /* SystemInitialize for Atomic SubSystem: '/MAX DEF1' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ rtDW.DRS_array_persistent_not_empty = false; - /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ /* : mode_reg = MODE_OFF; */ - rtDW.mode_reg = 0U; + rtDW.mode_reg_b = 0U; /* : is_active_persistent = false; */ - rtDW.is_active_persistent = false; + rtDW.is_active_persistent_c = false; /* : FIU_CCmodeFL_Req = uint8(0); */ rtDW.FIU_CCmodeFL_Req = 0U; @@ -63841,200 +67804,230 @@ void HVAC_model_initialize(void) /* : FIU_DeflectorSwFPR_Req = uint8(0); */ rtDW.FIU_DeflectorSwFPR_Req = 0U; - /* End of SystemInitialize for SubSystem: '/MAX DEF1' */ + /* End of SystemInitialize for SubSystem: '/MAX DEF1' */ - /* SystemInitialize for MATLAB Function: '/any message from FIU or TM_CP' */ + /* SystemInitialize for MATLAB Function: '/any message from FIU or TM_CP' */ rtDW.FIU_CCU1_model_persistent_not_empty = false; rtDW.TM_CP_model_persistent_not_empty = false; - /* SystemInitialize for Chart: '/Operation mode' */ + /* SystemInitialize for Chart: '/Operation mode' */ rtDW.is_active_c1511_HVAC_model = 0U; rtDW.is_c1511_HVAC_model = IN_NO_ACTIVE_CHILD_c; - /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ MATLABFunction_k_Init(&rtDW.sf_MATLABFunction_m); - /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ MATLABFunction_k_Init(&rtDW.sf_MATLABFunction1_l); - /* SystemInitialize for MATLAB Function: '/MATLAB Function2' */ - MATLABFunction_k_Init(&rtDW.sf_MATLABFunction2); + /* SystemInitialize for MATLAB Function: '/MATLAB Function2' */ + MATLABFunction_k_Init(&rtDW.sf_MATLABFunction2_m); - /* SystemInitialize for MATLAB Function: '/MATLAB Function3' */ - MATLABFunction_k_Init(&rtDW.sf_MATLABFunction3); + /* SystemInitialize for MATLAB Function: '/MATLAB Function3' */ + MATLABFunction_k_Init(&rtDW.sf_MATLABFunction3_i); - /* SystemInitialize for MATLAB Function: '/MATLAB Function4' */ - MATLABFunction_k_Init(&rtDW.sf_MATLABFunction4); + /* SystemInitialize for MATLAB Function: '/MATLAB Function4' */ + MATLABFunction_k_Init(&rtDW.sf_MATLABFunction4_e); - /* SystemInitialize for MATLAB Function: '/MATLAB Function5' */ - MATLABFunction_k_Init(&rtDW.sf_MATLABFunction5); + /* SystemInitialize for MATLAB Function: '/MATLAB Function5' */ + MATLABFunction_k_Init(&rtDW.sf_MATLABFunction5_oj); - /* SystemInitialize for Atomic SubSystem: '/BlowerLimit - by battery status and battery temp' */ - /* SystemInitialize for MATLAB Function: '/blowerLimitByBattTemp' */ + /* SystemInitialize for Atomic SubSystem: '/BlowerLimit - by battery status and battery temp' */ + /* SystemInitialize for MATLAB Function: '/blowerLimitByBattTemp' */ /* : is_active_persistent_front = false; */ rtDW.is_active_persistent_front = false; /* : is_active_persistent_rear = false; */ rtDW.is_active_persistent_rear = false; - /* End of SystemInitialize for SubSystem: '/BlowerLimit - by battery status and battery temp' */ + /* End of SystemInitialize for SubSystem: '/BlowerLimit - by battery status and battery temp' */ - /* SystemInitialize for MATLAB Function: '/filter PWM front' */ + /* SystemInitialize for MATLAB Function: '/filter PWM front' */ filterPWMfront_Init(&rtDW.sf_filterPWMfront); - /* SystemInitialize for MATLAB Function: '/filter PWM front1' */ - filterPWMfront_Init(&rtDW.sf_filterPWMfront1); + /* SystemInitialize for MATLAB Function: '/filter PWM rear' */ + filterPWMfront_Init(&rtDW.sf_filterPWMrear); - /* SystemInitialize for Atomic SubSystem: '/ClimatRecirculation_by_Door_Ajar' */ - /* SystemInitialize for MATLAB Function: '/recirc_by_door_ajar' */ + /* SystemInitialize for Atomic SubSystem: '/REST' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function' */ + /* : ignition_previous = IGN_OFF; */ + rtDW.ignition_previous = false; + + /* : latch = false; */ + rtDW.latch = false; + + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + rtDW.timeout_active_not_empty = false; + rtDW.mode_prev_not_empty = false; + + /* SystemInitialize for MATLAB Function: '/REST_Mode' */ + rtDW.is_active_persistent_not_empty = false; + + /* End of SystemInitialize for SubSystem: '/REST' */ + + /* SystemInitialize for Atomic SubSystem: '/ClimatRecirculation_by_Door_Ajar' */ + /* SystemInitialize for MATLAB Function: '/recirc_by_door_ajar' */ /* : is_active_state = false; */ rtDW.is_active_state = false; - /* End of SystemInitialize for SubSystem: '/ClimatRecirculation_by_Door_Ajar' */ + /* End of SystemInitialize for SubSystem: '/ClimatRecirculation_by_Door_Ajar' */ - /* SystemInitialize for Chart: '/Synchronization stateflow chart' */ + /* SystemInitialize for Chart: '/Synchronization stateflow chart' */ rtB.sync_all = 0U; rtB.sync_front = 0U; rtB.sync_rear = 0U; rtDW.is_active_c618_HVAC_model = 0U; rtDW.is_c618_HVAC_model = IN_NO_ACTIVE_CHILD_c; + /* SystemInitialize for MATLAB Function: '/wait correсtion calculations' */ + /* : start_time_FL = 0; */ + rtDW.start_time_FL = 0.0; + + /* : start_time_FR = 0; */ + rtDW.start_time_FR = 0.0; + + /* : timer_started_FL = false; */ + rtDW.timer_started_FL = false; + + /* : timer_started_FR = false; */ + rtDW.timer_started_FR = false; + /* 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' */ + /* 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' */ + /* End of SystemInitialize for SubSystem: '/Level 0' */ - /* SystemInitialize for IfAction SubSystem: '/Level 1' */ - /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + /* 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' */ + /* End of SystemInitialize for SubSystem: '/Level 1' */ - /* SystemInitialize for IfAction SubSystem: '/Level 3' */ - /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + /* 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' */ + /* 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); + /* SystemInitialize for IfAction SubSystem: '/Level 4' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_a_Init(&rtDW.sf_MATLABFunction1_hi); - /* End of SystemInitialize for SubSystem: '/Level 4' */ + /* 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); + /* SystemInitialize for IfAction SubSystem: '/Level 5' */ + /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + MATLABFunction1_a_Init(&rtDW.sf_MATLABFunction1_p3); - /* End of SystemInitialize for SubSystem: '/Level 5' */ - /* End of SystemInitialize for SubSystem: '/Step 1 F' */ + /* 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' */ + /* 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' */ + /* End of SystemInitialize for SubSystem: '/Level 0' */ - /* SystemInitialize for IfAction SubSystem: '/Level 1' */ - /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + /* 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' */ + /* End of SystemInitialize for SubSystem: '/Level 1' */ - /* SystemInitialize for IfAction SubSystem: '/Level 3' */ + /* SystemInitialize for IfAction SubSystem: '/Level 3' */ Level3_Init(&rtDW.Level3_d); - /* End of SystemInitialize for SubSystem: '/Level 3' */ + /* End of SystemInitialize for SubSystem: '/Level 3' */ - /* SystemInitialize for IfAction SubSystem: '/Level 4' */ + /* SystemInitialize for IfAction SubSystem: '/Level 4' */ Level3_Init(&rtDW.Level4_l); - /* End of SystemInitialize for SubSystem: '/Level 4' */ + /* End of SystemInitialize for SubSystem: '/Level 4' */ - /* SystemInitialize for IfAction SubSystem: '/Level 5' */ - /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + /* 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' */ + /* End of SystemInitialize for SubSystem: '/Level 5' */ + /* End of SystemInitialize for SubSystem: '/Step 2 F' */ - /* SystemInitialize for Merge: '/Merge' */ + /* 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' */ + /* 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' */ + /* End of SystemInitialize for SubSystem: '/Level 0' */ - /* SystemInitialize for IfAction SubSystem: '/Level 1' */ + /* SystemInitialize for IfAction SubSystem: '/Level 1' */ Level0_c_Init(&rtDW.Level1_l); - /* End of SystemInitialize for SubSystem: '/Level 1' */ + /* End of SystemInitialize for SubSystem: '/Level 1' */ - /* SystemInitialize for IfAction SubSystem: '/Level 2' */ - /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + /* 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' */ + /* End of SystemInitialize for SubSystem: '/Level 2' */ - /* SystemInitialize for IfAction SubSystem: '/Level 3' */ - /* SystemInitialize for MATLAB Function: '/MATLAB Function1' */ + /* 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' */ + /* End of SystemInitialize for SubSystem: '/Level 3' */ - /* SystemInitialize for IfAction SubSystem: '/Level 4' */ + /* SystemInitialize for IfAction SubSystem: '/Level 4' */ Level4_b_Init(&rtDW.Level4_m5); - /* End of SystemInitialize for SubSystem: '/Level 4' */ + /* End of SystemInitialize for SubSystem: '/Level 4' */ - /* SystemInitialize for IfAction SubSystem: '/Level 5' */ + /* 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' */ + /* 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' */ + /* 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' */ + /* End of SystemInitialize for SubSystem: '/Level 0' */ - /* SystemInitialize for IfAction SubSystem: '/Level 1' */ + /* SystemInitialize for IfAction SubSystem: '/Level 1' */ Level0_h_Init(&rtDW.Level1_hm); - /* End of SystemInitialize for SubSystem: '/Level 1' */ + /* End of SystemInitialize for SubSystem: '/Level 1' */ - /* SystemInitialize for IfAction SubSystem: '/Level 2' */ + /* SystemInitialize for IfAction SubSystem: '/Level 2' */ Level2_j_Init(&rtDW.Level2_f0); - /* End of SystemInitialize for SubSystem: '/Level 2' */ + /* End of SystemInitialize for SubSystem: '/Level 2' */ - /* SystemInitialize for IfAction SubSystem: '/Level 3' */ + /* SystemInitialize for IfAction SubSystem: '/Level 3' */ Level2_j_Init(&rtDW.Level3_p); - /* End of SystemInitialize for SubSystem: '/Level 3' */ + /* End of SystemInitialize for SubSystem: '/Level 3' */ - /* SystemInitialize for IfAction SubSystem: '/Level 4' */ + /* SystemInitialize for IfAction SubSystem: '/Level 4' */ Level2_j_Init(&rtDW.Level4_b); - /* End of SystemInitialize for SubSystem: '/Level 4' */ + /* End of SystemInitialize for SubSystem: '/Level 4' */ - /* SystemInitialize for IfAction SubSystem: '/Level 5' */ + /* 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' */ + /* End of SystemInitialize for SubSystem: '/Level 5' */ + /* End of SystemInitialize for SubSystem: '/Step 2 R' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ rtB.Merge_a0 = 0; /* End of SystemInitialize for SubSystem: '/Start Control Rear' */ diff --git a/MODULES/HVAC_M7_MODEL/HVAC_model.h b/MODULES/HVAC_M7_MODEL/HVAC_model.h index d2c37ce..e05181b 100644 --- a/MODULES/HVAC_M7_MODEL/HVAC_model.h +++ b/MODULES/HVAC_M7_MODEL/HVAC_model.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'HVAC_model'. * - * Model version : 1.1879 + * Model version : 1.1964 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Wed Oct 28 12:18:29 2026 + * C/C++ source code generated on : Mon Nov 9 11:17:15 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -41,71 +41,77 @@ /* user code (top of header file) */ #include -/* Block states (default storage) for system '/MATLAB Function1' */ +/* Block states (default storage) for system '/MATLAB Function1' */ typedef struct { - uint32_t t_start; /* '/MATLAB Function1' */ - bool t_start_not_empty; /* '/MATLAB Function1' */ + uint32_t t_start; /* '/MATLAB Function1' */ + bool t_start_not_empty; /* '/MATLAB Function1' */ } DW_MATLABFunction1; -/* Block states (default storage) for system '/MATLAB Function1' */ +/* Block states (default storage) for system '/MATLAB Function1' */ typedef struct { - uint32_t t_start; /* '/MATLAB Function1' */ - bool t_start_not_empty; /* '/MATLAB Function1' */ + uint32_t t_start; /* '/MATLAB Function1' */ + bool t_start_not_empty; /* '/MATLAB Function1' */ } DW_MATLABFunction1_f; -/* Block states (default storage) for system '/Level 3' */ +/* 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' */ + 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' */ +/* Block states (default storage) for system '/Level 0' */ typedef struct { - DW_MATLABFunction1 sf_MATLABFunction1;/* '/MATLAB Function1' */ + DW_MATLABFunction1 sf_MATLABFunction1;/* '/MATLAB Function1' */ } DW_Level0_h; -/* Block states (default storage) for system '/Level 4' */ +/* Block states (default storage) for system '/Level 4' */ typedef struct { - DW_MATLABFunction1 sf_MATLABFunction1;/* '/MATLAB Function1' */ + DW_MATLABFunction1 sf_MATLABFunction1;/* '/MATLAB Function1' */ } DW_Level4_h; -/* Block states (default storage) for system '/Level 0' */ +/* 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' */ + 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' */ +/* 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' */ + 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 '/filter AC Pressure' */ +/* Block states (default storage) for system '/error timer' */ typedef struct { - double prev_value; /* '/filter AC Pressure' */ - double prev_time; /* '/filter AC Pressure' */ - bool prev_value_not_empty; /* '/filter AC Pressure' */ + uint32_t t_start; /* '/error timer' */ + bool active; /* '/error timer' */ +} DW_errortimer; + +/* Block states (default storage) for system '/filter AC Pressure' */ +typedef struct { + double prev_value; /* '/filter AC Pressure' */ + double prev_time; /* '/filter AC Pressure' */ + bool prev_value_not_empty; /* '/filter AC Pressure' */ } DW_filterACPressure; -/* Block states (default storage) for system '/is 3 sec after T15 passed' */ +/* Block states (default storage) for system '/is 3 sec after T15 passed' */ typedef struct { - uint32_t timeout_time; /* '/is 3 sec after T15 passed' */ - bool timeout_time_not_empty; /* '/is 3 sec after T15 passed' */ + uint32_t timeout_time; /* '/is 3 sec after T15 passed' */ + bool timeout_time_not_empty; /* '/is 3 sec after T15 passed' */ } DW_is3secafterT15passed; -/* Block states (default storage) for system '/filter duct' */ +/* Block states (default storage) for system '/filter duct' */ typedef struct { - double prev_value; /* '/filter duct' */ - double prev_time; /* '/filter duct' */ - bool prev_value_not_empty; /* '/filter duct' */ + double prev_value; /* '/filter duct' */ + double prev_time; /* '/filter duct' */ + bool prev_value_not_empty; /* '/filter duct' */ } DW_filterduct; /* Block states (default storage) for system '/Zone_Climate_Logic_Auto_FL' */ @@ -126,71 +132,79 @@ typedef struct { uint8_t is_FOOT_SUB; /* '/Zone_Climate_Logic_Auto_RL' */ } DW_Zone_Climate_Logic_Auto_RL; -/* Block states (default storage) for system '/filter sensor' */ +/* Block states (default storage) for system '/filter sensor' */ typedef struct { - double prev_value; /* '/filter sensor' */ - double prev_time; /* '/filter sensor' */ - bool prev_value_not_empty; /* '/filter sensor' */ + double prev_value; /* '/filter sensor' */ + double prev_time; /* '/filter sensor' */ + bool prev_value_not_empty; /* '/filter sensor' */ } DW_filtersensor; -/* 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 direction; /* '/MATLAB Function' */ + uint32_t pressStartMs; /* '/MATLAB Function' */ + uint16_t baseTemp; /* '/MATLAB Function' */ + bool isPressed; /* '/MATLAB Function' */ } DW_MATLABFunction; -/* Block states (default storage) for system '/MATLAB Function' */ +/* Block states (default storage) for system '/MATLAB Function' */ typedef struct { - double integral; /* '/MATLAB Function' */ - double pInput; /* '/MATLAB Function' */ - double smooth_output; /* '/MATLAB Function' */ + double cond_prev; /* '/MATLAB Function' */ + uint32_t t_start; /* '/MATLAB Function' */ + bool t_start_not_empty; /* '/MATLAB Function' */ +} DW_MATLABFunction_e; + +/* Block states (default storage) for system '/MATLAB Function' */ +typedef struct { + double integral; /* '/MATLAB Function' */ + double pInput; /* '/MATLAB Function' */ + double smooth_output; /* '/MATLAB Function' */ } DW_MATLABFunction_n; -/* Block states (default storage) for system '/filter PWM front' */ +/* Block states (default storage) for system '/filter PWM front' */ typedef struct { - double PWM_prev; /* '/filter PWM front' */ - bool PWM_prev_not_empty; /* '/filter PWM front' */ + double PWM_prev; /* '/filter PWM front' */ + bool PWM_prev_not_empty; /* '/filter PWM front' */ } DW_filterPWMfront; /* Block signals (default storage) */ typedef struct { - double PWM; /* '/MATLAB Function' */ + double PWM; /* '/MATLAB Function' */ double Chiller_Only_Flag; /* '/A//C Control' */ - uint16_t MultiportSwitch[6]; /* '/Multiport Switch' */ - uint16_t MultiportSwitch_h[6]; /* '/Multiport Switch' */ - uint16_t MultiportSwitch_j[9]; /* '/Multiport Switch' */ - uint16_t MultiportSwitch_c; /* '/Multiport Switch' */ - uint16_t MultiportSwitch_m; /* '/Multiport Switch' */ - uint16_t MultiportSwitch_a; /* '/Multiport Switch' */ - uint16_t MultiportSwitch_cy; /* '/Multiport Switch' */ - int16_t Merge1; /* '/Merge1' */ - int16_t Merge1_m; /* '/Merge1' */ + uint16_t MultiportSwitch[6]; /* '/Multiport Switch' */ + uint16_t MultiportSwitch_h[6]; /* '/Multiport Switch' */ + uint16_t get_valves[9]; /* '/valves_front' */ + uint16_t MultiportSwitch_c; /* '/Multiport Switch' */ + uint16_t MultiportSwitch_m; /* '/Multiport Switch' */ + uint16_t MultiportSwitch_a; /* '/Multiport Switch' */ + uint16_t MultiportSwitch_cy; /* '/Multiport Switch' */ + int16_t Merge1; /* '/Merge1' */ + int16_t Merge1_m; /* '/Merge1' */ int16_t Comp_Feedback_Temp; /* '/A//C Control' */ int16_t Comp_Target_Temp; /* '/A//C Control' */ - uint8_t LEVEL; /* '/Merge' */ - uint8_t sync_all; /* '/Synchronization stateflow chart' */ - uint8_t sync_front; /* '/Synchronization stateflow chart' */ - uint8_t sync_rear; /* '/Synchronization stateflow chart' */ - uint8_t DataTypeConversion2[6]; /* '/Data Type Conversion2' */ + uint8_t LEVEL; /* '/Merge' */ + uint8_t sync_all; /* '/Synchronization stateflow chart' */ + uint8_t sync_front; /* '/Synchronization stateflow chart' */ + uint8_t sync_rear; /* '/Synchronization stateflow chart' */ + uint8_t DataTypeConversion2[6]; /* '/Data Type Conversion2' */ uint8_t out_auto; /* '/Zone_Climate_Logic_Auto_RR' */ uint8_t out_auto_b; /* '/Zone_Climate_Logic_Auto_RL' */ uint8_t out_auto_bb; /* '/Zone_Climate_Logic_Auto_FR' */ uint8_t out_auto_l; /* '/Zone_Climate_Logic_Auto_FL' */ uint8_t Eva_Ctrl; /* '/A//C Control' */ - uint8_t req_OSA; /* '/Partial REC' */ - uint8_t req_REC; /* '/Partial REC' */ + uint8_t req_OSA; /* '/Partial REC Summer' */ + uint8_t req_REC; /* '/Partial REC Summer' */ uint8_t Cmd_2Way; /* '/13,1,3,15 Valve control' */ - int8_t Merge_j; /* '/Merge' */ - int8_t Merge_g; /* '/Merge' */ - int8_t Merge_f1; /* '/Merge' */ - int8_t Merge_e; /* '/Merge' */ - int8_t Merge_b; /* '/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_j; /* '/Merge' */ + int8_t Merge_g; /* '/Merge' */ + int8_t Merge_f1; /* '/Merge' */ + int8_t Merge_e; /* '/Merge' */ + int8_t Merge_b; /* '/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' */ bool FRONT_eTXV; /* '/A//C Control' */ bool REAR_eTXV; /* '/A//C Control' */ bool Chiller_eTXV; /* '/A//C Control' */ @@ -218,19 +232,21 @@ typedef struct { BCM_VEH_STATE_Bus CCUCAN_BCM_VEH_STATE_model;/* '/Data Store Memory177' */ CCUCAN_TM_CP_Bus TM_CP_model; /* '/Data Store Memory209' */ CCUCAN_TM_CP_Bus TM_CP_model_persistent; - /* '/any message from FIU or TM_CP' */ + /* '/any message from FIU or TM_CP' */ 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_MaxDef; /* '/Data Store Memory382' */ + CmdCAN_FIU_CCU1_Bus FIU_CCU1_REST; /* '/Data Store Memory421' */ CmdCAN_FIU_CCU1_Bus FIU_CCU1_MODEL; /* '/Data Store Memory43' */ CmdCAN_FIU_CCU1_Bus FIU_CCU1_MaxAC; /* '/Data Store Memory472' */ CmdCAN_FIU_CCU1_Bus FIU_CCU1_EAC_or_FIRE;/* '/Data Store Memory481' */ CmdCAN_FIU_CCU1_Bus FIU_CCU1_model_persistent; - /* '/any message from FIU or TM_CP' */ - DW_STATE_Bus CCUCAN_DW_STATE_model; /* '/Data Store Memory432' */ + /* '/any message from FIU or TM_CP' */ + CmdCAN_FIU_CCU2_Bus FIU_CCU2_REST; /* '/Data Store Memory422' */ CmdCAN_FIU_CCU2_Bus FIU_CCU2_MODEL; /* '/Data Store Memory44' */ CmdCAN_FIU_CCU2_Bus FIU_CCU2_EAC_or_FIRE;/* '/Data Store Memory484' */ + DW_STATE_Bus CCUCAN_DW_STATE_model; /* '/Data Store Memory432' */ dbg_Act_calibration_error_Bus dbg_Act_calibration_error_model;/* '/Data Store Memory490' */ DMRL_Msg1_Bus CCUCAN_DMRL_Msg1_model;/* '/Data Store Memory496' */ DMRR_Msg1_Bus CCUCAN_DMRR_Msg1_model;/* '/Data Store Memory497' */ @@ -246,43 +262,45 @@ typedef struct { CmdCAN_FIU_CCU3_Bus FIU_CCU3_MODEL; /* '/Data Store Memory45' */ dbgCAN_dbg_Logic_Blower_Bus dbgCAN_dbg_Logic_Blower_model;/* '/Data Store Memory64' */ Status_Duct_Tgt_Bus Status_Duct_Tgt_model_IO;/* '/Data Store Memory96' */ - 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 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 leaving; /* '/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 leaving; /* '/Data Store Memory1' */ double eCompChiller_Err; /* '/Can_Chiller1' */ - double REST_is_active; /* '/Data Store Memory102' */ double Sun_L; /* '/Data Store Memory143' */ double Sun_R; /* '/Data Store Memory144' */ double Engine_speed; /* '/EMS_nICEngineSpeed3' */ 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 current_level_FL; /* '/Calculate_Autodemist_Level' */ - double current_level_FR; /* '/Calculate_Autodemist_Level' */ - double active_mode; /* '/Calculate_Autodemist_Level' */ - double prev_value; /* '/filter AC Pressure' */ - double prev_time; /* '/filter AC Pressure' */ - double R_Evap_tg_persistent; /* '/MATLAB Function3' */ + double start_time_FL; /* '/wait correсtion calculations' */ + double start_time_FR; /* '/wait correсtion calculations' */ + double Start_timer; /* '/Data Store Memory' */ + double Start_timer_j; /* '/Data Store Memory' */ + double Start_timer_n; /* '/Data Store Memory' */ + double direction; /* '/MATLAB Function' */ + double current_level_FL; /* '/Calculate_Autodemist_Level' */ + double current_level_FR; /* '/Calculate_Autodemist_Level' */ + double active_mode; /* '/Calculate_Autodemist_Level' */ + double prev_value; /* '/filter AC Pressure' */ + double prev_time; /* '/filter AC Pressure' */ + double R_Evap_tg_persistent; /* '/MATLAB Function3' */ double Cmd_RearTemp_3W; /* '/13,1,3,15 Valve control' */ double Cmd_RearTemp_2W; /* '/13,1,3,15 Valve control' */ Status_Eva_Tgt_Bus Status_Eva_Tgt_model_IO;/* '/Data Store Memory100' */ @@ -313,61 +331,49 @@ typedef struct { 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_c;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_h;/* '/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 t_start_delay_private_DSTATE_k;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_m;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_p;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_hb;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_i;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_cc;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_f;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_il;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_k1;/* '/t_start_delay_private ' */ - uint32_t t_start_delay_private_DSTATE_pe;/* '/t_start_delay_private ' */ - uint32_t UnitDelay_DSTATE_l; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_bp; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_li; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_c; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_m; /* '/Unit Delay' */ - uint32_t UnitDelay_DSTATE_lf; /* '/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' */ - uint32_t timer; /* '/Data Store Memory' */ + uint32_t UnitDelay_DSTATE_l; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_bp; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_li; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_c; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_m; /* '/Unit Delay' */ + uint32_t UnitDelay_DSTATE_lf; /* '/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' */ + uint32_t timer; /* '/Data Store Memory' */ uint32_t t_now; /* '/Data Store Memory5' */ - uint32_t t_start; /* '/MATLAB Function1' */ - uint32_t tStart; /* '/MATLAB Function5' */ - uint32_t deadline; /* '/MATLAB Function4' */ - uint32_t deadline_g; /* '/MATLAB Function3' */ - uint32_t deadline_e; /* '/MATLAB Function2' */ - uint32_t deadline_c; /* '/MATLAB Function1' */ - uint32_t deadline_g0; /* '/MATLAB Function' */ - int16_t UnitDelay_DSTATE_fq; /* '/Unit Delay' */ - int16_t UnitDelay1_DSTATE; /* '/Unit Delay1' */ - int16_t pError_PreviousInput; /* '/pError' */ + uint32_t timeout_wait_button_rest; /* '/REST_Mode' */ + uint32_t timeout_active; /* '/MATLAB Function1' */ + uint32_t t_start; /* '/MATLAB Function1' */ + uint32_t tStart; /* '/MATLAB Function5' */ + uint32_t deadline; /* '/MATLAB Function4' */ + uint32_t deadline_g; /* '/MATLAB Function3' */ + uint32_t deadline_e; /* '/MATLAB Function2' */ + uint32_t deadline_c; /* '/MATLAB Function1' */ + uint32_t deadline_g0; /* '/MATLAB Function' */ + uint32_t pressStartMs; /* '/MATLAB Function' */ + int16_t UnitDelay_DSTATE_fq; /* '/Unit Delay' */ + int16_t UnitDelay1_DSTATE; /* '/Unit Delay1' */ + int16_t pError_PreviousInput; /* '/pError' */ int16_t eComp_Temp; /* '/Can_Chiller2' */ int16_t Eva_F; /* '/Data Store Memory10' */ int16_t Incar_FR; /* '/Data Store Memory11' */ int16_t Incar_RR; /* '/Data Store Memory12' */ int16_t Duct_RR_Tg; /* '/Data Store Memory148' */ + int16_t wait_correction_AF_FL; /* '/Data Store Memory26' */ + int16_t wait_correction_AF_FR; /* '/Data Store Memory27' */ int16_t Blower_individual_foot_FL; /* '/Data Store Memory305' */ int16_t Blower_individual_foot_FR; /* '/Data Store Memory306' */ int16_t Dtg_individual_foot_FL; /* '/Data Store Memory309' */ @@ -384,14 +390,14 @@ 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; /* '/Partial REC' */ - uint16_t KEEP_UNTIL_SPEED_DROPS; /* '/Data Store Memory3' */ - uint16_t MinPositionCh0_private[9]; /* '/Data Store Memory12' */ - uint16_t POS_private[9]; /* '/Data Store Memory3' */ - uint16_t MinPositionCh1_private[9]; /* '/Data Store Memory12' */ - uint16_t POS_private_m[9]; /* '/Data Store Memory3' */ - uint16_t MinPositionCh2_private[9]; /* '/Data Store Memory12' */ - uint16_t POS_private_h[9]; /* '/Data Store Memory3' */ + int16_t X_prev; /* '/Partial REC Summer' */ + uint16_t KEEP_UNTIL_SPEED_DROPS; /* '/Data Store Memory3' */ + uint16_t MinPositionCh0_private[9]; /* '/Data Store Memory12' */ + uint16_t POS_private[9]; /* '/Data Store Memory3' */ + uint16_t MinPositionCh1_private[9]; /* '/Data Store Memory12' */ + uint16_t POS_private_m[9]; /* '/Data Store Memory3' */ + uint16_t MinPositionCh2_private[9]; /* '/Data Store Memory12' */ + uint16_t POS_private_h[9]; /* '/Data Store Memory3' */ uint16_t MaxPositionCh0_private[9]; /* '/Data Store Memory121' */ uint16_t MaxPositionCh1_private[9]; /* '/Data Store Memory123' */ uint16_t MaxPositionCh2_private[9]; /* '/Data Store Memory124' */ @@ -409,100 +415,86 @@ typedef struct { uint16_t FR_blower_AF_offset_autodemist;/* '/Data Store Memory371' */ uint16_t Foot2_control_FL; /* '/Data Store Memory393' */ uint16_t Foot2_control_FR; /* '/Data Store Memory395' */ + uint16_t Blower_AF_FL_after_DiffBlower;/* '/Data Store Memory423' */ + uint16_t Blower_AF_FR_after_DiffBlower;/* '/Data Store Memory500' */ 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 DifferentBlower_Front_valves[6];/* '/только 6 заслонок Front' */ + uint16_t baseTemp; /* '/MATLAB Function' */ uint16_t eComp_InputC; /* '/Can_Chiller3' */ - uint8_t UnitDelay_DSTATE_ne; /* '/Unit Delay' */ - uint8_t UnitDelay1_DSTATE_j; /* '/Unit Delay1' */ - uint8_t UnitDelay2_DSTATE; /* '/Unit Delay2' */ - uint8_t UnitDelay3_DSTATE; /* '/Unit Delay3' */ - uint8_t DelayInput1_DSTATE; /* '/Delay Input1' */ - uint8_t DelayInput1_DSTATE_f; /* '/Delay Input1' */ - uint8_t DelayInput1_DSTATE_e; /* '/Delay Input1' */ - uint8_t DelayInput1_DSTATE_ee; /* '/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_l; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_j; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_g; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_c; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_h; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_cr; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_m; /* '/Cond_prev_private ' */ - bool Cond_prev_private_DSTATE_jr; /* '/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_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_e5; /* '/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_i; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_m; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_g; /* '/Delay Input1' */ - bool DelayInput1_DSTATE_c; /* '/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_f3; /* '/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' */ + uint8_t UnitDelay_DSTATE_ne; /* '/Unit Delay' */ + uint8_t UnitDelay_DSTATE_e; /* '/Unit Delay' */ + uint8_t UnitDelay1_DSTATE_j; /* '/Unit Delay1' */ + uint8_t UnitDelay_DSTATE_m3; /* '/Unit Delay' */ + uint8_t UnitDelay2_DSTATE; /* '/Unit Delay2' */ + uint8_t UnitDelay3_DSTATE; /* '/Unit Delay3' */ + uint8_t DelayInput1_DSTATE; /* '/Delay Input1' */ + uint8_t DelayInput1_DSTATE_f; /* '/Delay Input1' */ + uint8_t DelayInput1_DSTATE_e; /* '/Delay Input1' */ + uint8_t DelayInput1_DSTATE_ee; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_e5; /* '/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_i; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_en; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_g; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_bu; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_c; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_m; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_a; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_ca; /* '/Delay Input1' */ + bool DelayInput1_DSTATE_as; /* '/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' */ int8_t start_control_finished_front; /* '/SC Front' */ - uint8_t Entry_Button; /* '/Data Store Memory' */ - uint8_t Entry_AirQS; /* '/Data Store Memory3' */ - 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 Entry_Button; /* '/Data Store Memory' */ + uint8_t Entry_AirQS; /* '/Data Store Memory3' */ + 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 CCU_Defrost; /* '/(Max Def, Defrost)' */ + uint8_t Blower_FL; /* '/Blower FL Start Control' */ 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' */ @@ -562,15 +554,14 @@ 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 wait_correction_AF_FL_state; /* '/Data Store Memory245' */ + uint8_t wait_correction_AF_FR_state; /* '/Data Store Memory246' */ 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 Index_mode_FR_manual; /* '/Data Store Memory259' */ - 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 Index_mode_FL_auto; /* '/Data Store Memory275' */ uint8_t Index_mode_FR_auto; /* '/Data Store Memory276' */ uint8_t DifferentBlower_Rear_valves[6];/* '/Data Store Memory282' */ @@ -601,10 +592,10 @@ typedef struct { uint8_t CCU_foot_blower_dis_RR; /* '/Data Store Memory392' */ uint8_t BCM_GloveBox_stat; /* '/Data Store Memory397' */ uint8_t CCU_AromaIntens_stat; /* '/Data Store Memory398' */ + uint8_t CCU_Rest_req; /* '/Data Store Memory400' */ uint8_t REST_mode_CCU_stat; /* '/Data Store Memory420' */ - uint8_t REST_blower_PWM_F; /* '/Data Store Memory421' */ uint8_t CCU_Ionization_algo_active; /* '/Data Store Memory436' */ - uint8_t RestMode_winter_or_summer; /* '/Data Store Memory437' */ + uint8_t RestMode_mode; /* '/Data Store Memory437' */ uint8_t AromaConfiguration; /* '/Data Store Memory441' */ uint8_t Index_mode_FL; /* '/Data Store Memory444' */ uint8_t Index_mode_FR; /* '/Data Store Memory445' */ @@ -648,64 +639,67 @@ typedef struct { uint8_t Max_def_mode; /* '/внутренний режим для MAXDef' */ uint8_t FrontWindowHeating_manual_on;/* '/вручную включен' */ uint8_t is_active_c618_HVAC_model; - /* '/Synchronization stateflow chart' */ - uint8_t is_c618_HVAC_model; /* '/Synchronization stateflow chart' */ - uint8_t is_running; /* '/MATLAB Function1' */ - uint8_t is_active_c1511_HVAC_model; /* '/Operation mode' */ - uint8_t is_c1511_HVAC_model; /* '/Operation mode' */ - uint8_t DRS_array_persistent[4]; /* '/MATLAB Function1' */ - uint8_t mode_reg; /* '/MATLAB Function' */ - uint8_t FIU_CCmodeFL_Req; /* '/MATLAB Function' */ - uint8_t FIU_BlowerSpeedFL_Req; /* '/MATLAB Function' */ - uint8_t FIU_AirDirectionFL_Face_Req; /* '/MATLAB Function' */ - uint8_t FIU_AirDirectionFL_Foot_Req; /* '/MATLAB Function' */ - uint8_t FIU_AirDirectionFL_Def_Req; /* '/MATLAB Function' */ - uint8_t FIU_FootTempCorFL_Req; /* '/MATLAB Function' */ - uint8_t FIU_CCautoModeFL_Req; /* '/MATLAB Function' */ - uint8_t FIU_CCmodeFR_Req; /* '/MATLAB Function' */ - uint8_t FIU_BlowerSpeedFR_Req; /* '/MATLAB Function' */ - uint8_t FIU_AirDirectionFR_Face_Req; /* '/MATLAB Function' */ - uint8_t FIU_AirDirectionFR_Foot_Req; /* '/MATLAB Function' */ - uint8_t FIU_AirDirectionFR_Def_Req; /* '/MATLAB Function' */ - uint8_t FIU_FootTempCorFR_Req; /* '/MATLAB Function' */ - uint8_t FIU_CCautoModeFR_Req; /* '/MATLAB Function' */ - uint8_t FIU_DeflectorSwDL_Req; /* '/MATLAB Function' */ - uint8_t FIU_DeflectorSwDR_Req; /* '/MATLAB Function' */ - uint8_t FIU_DeflectorSwFPL_Req; /* '/MATLAB Function' */ - uint8_t FIU_DeflectorSwFPR_Req; /* '/MATLAB Function' */ - uint8_t DRS_array_persistent_i[4]; /* '/MATLAB Function1' */ - uint8_t mode_reg_o; /* '/MATLAB Function' */ - uint8_t active_condition_reg; /* '/MATLAB Function' */ - uint8_t FIU_CCmodeFL_Req_j; /* '/MATLAB Function' */ - uint8_t FIU_BlowerSpeedFL_Req_k; /* '/MATLAB Function' */ - uint8_t FIU_AirDirectionFL_Face_Req_e;/* '/MATLAB Function' */ - uint8_t FIU_AirDirectionFL_Foot_Req_k;/* '/MATLAB Function' */ - uint8_t FIU_AirDirectionFL_Def_Req_b;/* '/MATLAB Function' */ - uint8_t FIU_FootTempCorFL_Req_e; /* '/MATLAB Function' */ - uint8_t FIU_CCautoModeFL_Req_n; /* '/MATLAB Function' */ - uint8_t FIU_CCmodeFR_Req_p; /* '/MATLAB Function' */ - uint8_t FIU_BlowerSpeedFR_Req_a; /* '/MATLAB Function' */ - uint8_t FIU_AirDirectionFR_Face_Req_b;/* '/MATLAB Function' */ - uint8_t FIU_AirDirectionFR_Foot_Req_j;/* '/MATLAB Function' */ - uint8_t FIU_AirDirectionFR_Def_Req_b;/* '/MATLAB Function' */ - uint8_t FIU_FootTempCorFR_Req_a; /* '/MATLAB Function' */ - uint8_t FIU_CCautoModeFR_Req_g; /* '/MATLAB Function' */ - uint8_t FIU_DeflectorSwDL_Req_i; /* '/MATLAB Function' */ - uint8_t FIU_DeflectorSwDR_Req_i; /* '/MATLAB Function' */ - uint8_t FIU_DeflectorSwFPL_Req_m; /* '/MATLAB Function' */ - uint8_t FIU_DeflectorSwFPR_Req_i; /* '/MATLAB Function' */ - uint8_t mode_reg_i; /* '/EmergencyAirCleaning' */ - uint8_t active_condition_reg_m; /* '/EmergencyAirCleaning' */ - uint8_t is_active_c836_HVAC_model; /* '/Full_Rec_Active' */ - uint8_t is_c836_HVAC_model; /* '/Full_Rec_Active' */ - uint8_t is_active_c262_HVAC_model; /* '/Front Window Heating' */ - uint8_t is_c262_HVAC_model; /* '/Front Window Heating' */ - 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 savedIntensity; /* '/ccuAromaLogic' */ - uint8_t prevAromaIntensStat; /* '/ccuAromaLogic' */ + /* '/Synchronization stateflow chart' */ + uint8_t is_c618_HVAC_model; /* '/Synchronization stateflow chart' */ + uint8_t mode_reg; /* '/REST_Mode' */ + uint8_t persistent_LowTempValveReq; /* '/REST_Mode' */ + uint8_t mode_prev; /* '/MATLAB Function1' */ + uint8_t is_running; /* '/MATLAB Function1' */ + uint8_t is_active_c1511_HVAC_model; /* '/Operation mode' */ + uint8_t is_c1511_HVAC_model; /* '/Operation mode' */ + uint8_t DRS_array_persistent[4]; /* '/MATLAB Function1' */ + uint8_t mode_reg_b; /* '/MATLAB Function' */ + uint8_t FIU_CCmodeFL_Req; /* '/MATLAB Function' */ + uint8_t FIU_BlowerSpeedFL_Req; /* '/MATLAB Function' */ + uint8_t FIU_AirDirectionFL_Face_Req; /* '/MATLAB Function' */ + uint8_t FIU_AirDirectionFL_Foot_Req; /* '/MATLAB Function' */ + uint8_t FIU_AirDirectionFL_Def_Req; /* '/MATLAB Function' */ + uint8_t FIU_FootTempCorFL_Req; /* '/MATLAB Function' */ + uint8_t FIU_CCautoModeFL_Req; /* '/MATLAB Function' */ + uint8_t FIU_CCmodeFR_Req; /* '/MATLAB Function' */ + uint8_t FIU_BlowerSpeedFR_Req; /* '/MATLAB Function' */ + uint8_t FIU_AirDirectionFR_Face_Req; /* '/MATLAB Function' */ + uint8_t FIU_AirDirectionFR_Foot_Req; /* '/MATLAB Function' */ + uint8_t FIU_AirDirectionFR_Def_Req; /* '/MATLAB Function' */ + uint8_t FIU_FootTempCorFR_Req; /* '/MATLAB Function' */ + uint8_t FIU_CCautoModeFR_Req; /* '/MATLAB Function' */ + uint8_t FIU_DeflectorSwDL_Req; /* '/MATLAB Function' */ + uint8_t FIU_DeflectorSwDR_Req; /* '/MATLAB Function' */ + uint8_t FIU_DeflectorSwFPL_Req; /* '/MATLAB Function' */ + uint8_t FIU_DeflectorSwFPR_Req; /* '/MATLAB Function' */ + uint8_t DRS_array_persistent_i[4]; /* '/MATLAB Function1' */ + uint8_t mode_reg_o; /* '/MATLAB Function' */ + uint8_t active_condition_reg; /* '/MATLAB Function' */ + uint8_t FIU_CCmodeFL_Req_j; /* '/MATLAB Function' */ + uint8_t FIU_BlowerSpeedFL_Req_k; /* '/MATLAB Function' */ + uint8_t FIU_AirDirectionFL_Face_Req_e;/* '/MATLAB Function' */ + uint8_t FIU_AirDirectionFL_Foot_Req_k;/* '/MATLAB Function' */ + uint8_t FIU_AirDirectionFL_Def_Req_b;/* '/MATLAB Function' */ + uint8_t FIU_FootTempCorFL_Req_e; /* '/MATLAB Function' */ + uint8_t FIU_CCautoModeFL_Req_n; /* '/MATLAB Function' */ + uint8_t FIU_CCmodeFR_Req_p; /* '/MATLAB Function' */ + uint8_t FIU_BlowerSpeedFR_Req_a; /* '/MATLAB Function' */ + uint8_t FIU_AirDirectionFR_Face_Req_b;/* '/MATLAB Function' */ + uint8_t FIU_AirDirectionFR_Foot_Req_j;/* '/MATLAB Function' */ + uint8_t FIU_AirDirectionFR_Def_Req_b;/* '/MATLAB Function' */ + uint8_t FIU_FootTempCorFR_Req_a; /* '/MATLAB Function' */ + uint8_t FIU_CCautoModeFR_Req_g; /* '/MATLAB Function' */ + uint8_t FIU_DeflectorSwDL_Req_i; /* '/MATLAB Function' */ + uint8_t FIU_DeflectorSwDR_Req_i; /* '/MATLAB Function' */ + uint8_t FIU_DeflectorSwFPL_Req_m; /* '/MATLAB Function' */ + uint8_t FIU_DeflectorSwFPR_Req_i; /* '/MATLAB Function' */ + uint8_t mode_reg_i; /* '/EmergencyAirCleaning' */ + uint8_t active_condition_reg_m; /* '/EmergencyAirCleaning' */ + uint8_t is_active_c1603_HVAC_model; /* '/Full_Rec_Active' */ + uint8_t is_c1603_HVAC_model; /* '/Full_Rec_Active' */ + uint8_t is_active_c1602_HVAC_model; /* '/Front Window Heating' */ + uint8_t is_c1602_HVAC_model; /* '/Front Window Heating' */ + uint8_t is_active_c1601_HVAC_model; /* '/Defrost_Active' */ + uint8_t is_c1601_HVAC_model; /* '/Defrost_Active' */ + uint8_t is_active_c1600_HVAC_model; /* '/AC_Max_Active' */ + uint8_t is_c1600_HVAC_model; /* '/AC_Max_Active' */ + uint8_t savedIntensity; /* '/ccuAromaLogic' */ + uint8_t prevAromaIntensStat; /* '/ccuAromaLogic' */ 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' */ @@ -715,15 +709,17 @@ 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; /* '/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_c776_HVAC_model; /* '/Partial REC Summer' */ + uint8_t is_c776_HVAC_model; /* '/Partial REC Summer' */ + uint8_t is_PARTIAL_REC_ON; /* '/Partial REC Summer' */ + uint8_t is_COND_2; /* '/Partial REC Summer' */ 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' */ - bool electric_demist_started; /* '/Data Store Memory' */ + bool electric_demist_started; /* '/Data Store Memory' */ + bool REST_is_active; /* '/Data Store Memory102' */ bool DifferentBlower_Rear_isActive; /* '/Data Store Memory279' */ + bool DifferentBlower_Front_isActive; /* '/Data Store Memory298' */ bool recirc_auto_request_from_autodemist;/* '/Data Store Memory374' */ bool AC_front_on_req_from_autodemist;/* '/Data Store Memory375' */ bool def_valve_100_req; /* '/Data Store Memory377' */ @@ -738,125 +734,185 @@ typedef struct { bool EAC_OR_FIRE_is_active; /* '/Data Store Memory477' */ bool HI_logic_on; /* '/Data Store Memory48' */ bool Recirc_LED_EAC_or_FIRE; /* '/Data Store Memory482' */ - bool is_active_state; /* '/recirc_by_door_ajar' */ - bool is_active_persistent_front; /* '/blowerLimitByBattTemp' */ - bool is_active_persistent_rear; /* '/blowerLimitByBattTemp' */ - bool t_start_not_empty; /* '/MATLAB Function1' */ + bool RearHVAC_present; /* '/Data Store Memory501' */ + bool timer_started_FL; /* '/wait correсtion calculations' */ + bool timer_started_FR; /* '/wait correсtion calculations' */ + bool is_active_state; /* '/recirc_by_door_ajar' */ + bool is_active_persistent; /* '/REST_Mode' */ + bool is_active_persistent_not_empty; /* '/REST_Mode' */ + bool timeout_active_not_empty; /* '/MATLAB Function1' */ + bool mode_prev_not_empty; /* '/MATLAB Function1' */ + bool ignition_previous; /* '/MATLAB Function' */ + bool latch; /* '/MATLAB Function' */ + bool is_active_persistent_front; /* '/blowerLimitByBattTemp' */ + bool is_active_persistent_rear; /* '/blowerLimitByBattTemp' */ + bool t_start_not_empty; /* '/MATLAB Function1' */ bool FIU_CCU1_model_persistent_not_empty; - /* '/any message from FIU or TM_CP' */ + /* '/any message from FIU or TM_CP' */ bool TM_CP_model_persistent_not_empty; - /* '/any message from FIU or TM_CP' */ - bool DRS_array_persistent_not_empty; /* '/MATLAB Function1' */ - bool is_active_persistent; /* '/MATLAB Function' */ - bool DRS_array_persistent_not_empty_e;/* '/MATLAB Function1' */ - bool is_active_persistent_i; /* '/MATLAB Function' */ - bool is_active_persistent_not_empty; /* '/MATLAB Function' */ - bool hystLV2_FR; /* '/Foot2DuctControl_RR' */ - bool hystLV3_FR; /* '/Foot2DuctControl_RR' */ - bool hystLV2_FL; /* '/Foot2DuctControl_RL' */ - bool hystLV3_FL; /* '/Foot2DuctControl_RL' */ - bool wasActive; /* '/MATLAB Function5' */ - bool wasActive_not_empty; /* '/MATLAB Function5' */ - bool armed; /* '/MATLAB Function4' */ - bool armed_i; /* '/MATLAB Function3' */ - bool armed_n; /* '/MATLAB Function2' */ - bool armed_i2; /* '/MATLAB Function1' */ - bool armed_g; /* '/MATLAB Function' */ - bool is_active_persistent_a; /* '/EmergencyAirCleaning' */ - bool is_active_persistent_not_empty_p;/* '/EmergencyAirCleaning' */ - bool user_edit_FRONT_FL_blower_speed;/* '/EmergencyAirCleaning' */ - bool user_edit_FRONT_FR_blower_speed;/* '/EmergencyAirCleaning' */ - bool user_edit_REAR_RL_blower_speed; /* '/EmergencyAirCleaning' */ - bool user_edit_REAR_RR_blower_speed; /* '/EmergencyAirCleaning' */ - bool req_prev; /* '/MATLAB Function' */ - bool req_prev_not_empty; /* '/MATLAB Function' */ - bool prev_value_not_empty; /* '/filter AC Pressure' */ - bool amb_condition_latched; /* '/MATLAB Function4' */ - bool is_active_persistent_m; /* '/MATLAB Function3' */ - bool is_active_persistent_c; /* '/MATLAB Function1' */ - bool REAR_eTXV_ON_persistent; /* '/MATLAB Function1' */ - bool is_active_persistent_n; /* '/MATLAB Function' */ - bool FRONT_eTXV_ON_persistent; /* '/MATLAB Function' */ + /* '/any message from FIU or TM_CP' */ + bool DRS_array_persistent_not_empty; /* '/MATLAB Function1' */ + bool is_active_persistent_c; /* '/MATLAB Function' */ + bool DRS_array_persistent_not_empty_e;/* '/MATLAB Function1' */ + bool is_active_persistent_i; /* '/MATLAB Function' */ + bool is_active_persistent_not_empty_p;/* '/MATLAB Function' */ + bool hystLV2_FR; /* '/Foot2DuctControl_RR' */ + bool hystLV3_FR; /* '/Foot2DuctControl_RR' */ + bool hystLV2_FL; /* '/Foot2DuctControl_RL' */ + bool hystLV3_FL; /* '/Foot2DuctControl_RL' */ + bool wasActive; /* '/MATLAB Function5' */ + bool wasActive_not_empty; /* '/MATLAB Function5' */ + bool armed; /* '/MATLAB Function4' */ + bool armed_i; /* '/MATLAB Function3' */ + bool armed_n; /* '/MATLAB Function2' */ + bool armed_i2; /* '/MATLAB Function1' */ + bool armed_g; /* '/MATLAB Function' */ + bool is_active_persistent_a; /* '/EmergencyAirCleaning' */ + bool is_active_persistent_not_empty_p1;/* '/EmergencyAirCleaning' */ + bool user_edit_FRONT_FL_blower_speed;/* '/EmergencyAirCleaning' */ + bool user_edit_FRONT_FR_blower_speed;/* '/EmergencyAirCleaning' */ + bool user_edit_REAR_RL_blower_speed; /* '/EmergencyAirCleaning' */ + bool user_edit_REAR_RR_blower_speed; /* '/EmergencyAirCleaning' */ + bool isPressed; /* '/MATLAB Function' */ + bool req_prev; /* '/MATLAB Function' */ + bool req_prev_not_empty; /* '/MATLAB Function' */ + bool prev_value_not_empty; /* '/filter AC Pressure' */ + bool amb_condition_latched; /* '/MATLAB Function4' */ + bool is_active_persistent_m; /* '/MATLAB Function3' */ + bool is_active_persistent_cq; /* '/MATLAB Function1' */ + bool REAR_eTXV_ON_persistent; /* '/MATLAB Function1' */ + bool is_active_persistent_n; /* '/MATLAB Function' */ + bool FRONT_eTXV_ON_persistent; /* '/MATLAB Function' */ 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' */ - DW_filterPWMfront sf_filterPWMfront1;/* '/filter PWM front1' */ - DW_filterPWMfront sf_filterPWMfront; /* '/filter PWM front' */ - DW_MATLABFunction_n sf_MATLABFunction5;/* '/MATLAB Function5' */ - DW_MATLABFunction_n sf_MATLABFunction4;/* '/MATLAB Function4' */ - DW_MATLABFunction_n sf_MATLABFunction3;/* '/MATLAB Function3' */ - DW_MATLABFunction_n sf_MATLABFunction2;/* '/MATLAB Function2' */ - DW_MATLABFunction_n sf_MATLABFunction1_l;/* '/MATLAB Function1' */ - DW_MATLABFunction_n sf_MATLABFunction_m;/* '/MATLAB Function' */ - DW_MATLABFunction sf_MATLABFunction_g;/* '/MATLAB Function' */ - DW_MATLABFunction sf_MATLABFunction_hk;/* '/MATLAB Function' */ - DW_MATLABFunction sf_MATLABFunction_h;/* '/MATLAB Function' */ - DW_is3secafterT15passed sf_is3secafterT15passed_k3;/* '/is 3 sec after T15 passed' */ - DW_is3secafterT15passed sf_is3secafterT15passed_p;/* '/is 3 sec after T15 passed' */ - DW_filtersensor sf_filtersensor_a; /* '/filter sensor' */ - DW_is3secafterT15passed sf_is3secafterT15passed_k;/* '/is 3 sec after T15 passed' */ - DW_filtersensor sf_filtersensor; /* '/filter sensor' */ + captured_var active_condition_reg_l; /* '/REST_Mode' */ + captured_var FIU_CCmodeFL_Req_o; /* '/REST_Mode' */ + captured_var FIU_BlowerSpeedFL_Req_c;/* '/REST_Mode' */ + captured_var FIU_AirDirectionFL_Face_Req_k;/* '/REST_Mode' */ + captured_var FIU_AirDirectionFL_Foot_Req_n;/* '/REST_Mode' */ + captured_var FIU_AirDirectionFL_Def_Req_o;/* '/REST_Mode' */ + captured_var FIU_FootTempCorFL_Req_k;/* '/REST_Mode' */ + captured_var FIU_CCautoModeFL_Req_m; /* '/REST_Mode' */ + captured_var FIU_CCmodeFR_Req_k; /* '/REST_Mode' */ + captured_var FIU_BlowerSpeedFR_Req_n;/* '/REST_Mode' */ + captured_var FIU_AirDirectionFR_Face_Req_n;/* '/REST_Mode' */ + captured_var FIU_AirDirectionFR_Foot_Req_c;/* '/REST_Mode' */ + captured_var FIU_AirDirectionFR_Def_Req_p;/* '/REST_Mode' */ + captured_var FIU_FootTempCorFR_Req_o;/* '/REST_Mode' */ + captured_var FIU_CCautoModeFR_Req_h; /* '/REST_Mode' */ + captured_var FIU_CCmodeRL_Req; /* '/REST_Mode' */ + captured_var FIU_BlowerSpeedRL_Req; /* '/REST_Mode' */ + captured_var FIU_AirDirectionRL_Face_Req;/* '/REST_Mode' */ + captured_var FIU_AirDirectionRL_Foot_Req;/* '/REST_Mode' */ + captured_var FIU_FootTempCorRL_Req; /* '/REST_Mode' */ + captured_var FIU_CCautoModeRL_Req; /* '/REST_Mode' */ + captured_var FIU_CCmodeRR_Req; /* '/REST_Mode' */ + captured_var FIU_BlowerSpeedRR_Req; /* '/REST_Mode' */ + captured_var FIU_AirDirectionRR_Face_Req;/* '/REST_Mode' */ + captured_var FIU_AirDirectionRR_Foot_Req;/* '/REST_Mode' */ + captured_var FIU_FootTempCorRR_Req; /* '/REST_Mode' */ + captured_var FIU_CCautoModeRR_Req; /* '/REST_Mode' */ + captured_var FIU_ACfrontOFF_Req; /* '/REST_Mode' */ + captured_var FIU_ACrearOFF_Req; /* '/REST_Mode' */ + captured_var FIU_Recirculation_Req; /* '/REST_Mode' */ + DW_filterPWMfront sf_filterPWMrear; /* '/filter PWM rear' */ + DW_filterPWMfront sf_filterPWMfront; /* '/filter PWM front' */ + DW_MATLABFunction_n sf_MATLABFunction5_oj;/* '/MATLAB Function5' */ + DW_MATLABFunction_n sf_MATLABFunction4_e;/* '/MATLAB Function4' */ + DW_MATLABFunction_n sf_MATLABFunction3_i;/* '/MATLAB Function3' */ + DW_MATLABFunction_n sf_MATLABFunction2_m;/* '/MATLAB Function2' */ + DW_MATLABFunction_n sf_MATLABFunction1_l;/* '/MATLAB Function1' */ + DW_MATLABFunction_n sf_MATLABFunction_m;/* '/MATLAB Function' */ + DW_MATLABFunction_e sf_MATLABFunction_g;/* '/MATLAB Function' */ + DW_MATLABFunction_e sf_MATLABFunction_hk;/* '/MATLAB Function' */ + DW_MATLABFunction_e sf_MATLABFunction_h;/* '/MATLAB Function' */ + DW_is3secafterT15passed sf_is3secafterT15passed_k3;/* '/is 3 sec after T15 passed' */ + DW_MATLABFunction sf_MATLABFunction_js;/* '/MATLAB Function' */ + DW_MATLABFunction sf_MATLABFunction_my;/* '/MATLAB Function' */ + DW_MATLABFunction sf_MATLABFunction_j;/* '/MATLAB Function' */ + DW_is3secafterT15passed sf_is3secafterT15passed_p;/* '/is 3 sec after T15 passed' */ + DW_filtersensor sf_filtersensor_a; /* '/filter sensor' */ + DW_is3secafterT15passed sf_is3secafterT15passed_k;/* '/is 3 sec after T15 passed' */ + DW_filtersensor sf_filtersensor; /* '/filter sensor' */ DW_Zone_Climate_Logic_Auto_RL sf_Zone_Climate_Logic_Auto_RR;/* '/Zone_Climate_Logic_Auto_RR' */ DW_Zone_Climate_Logic_Auto_RL sf_Zone_Climate_Logic_Auto_RL;/* '/Zone_Climate_Logic_Auto_RL' */ DW_Zone_Climate_Logic_Auto_FL sf_Zone_Climate_Logic_Auto_FR;/* '/Zone_Climate_Logic_Auto_FR' */ DW_Zone_Climate_Logic_Auto_FL sf_Zone_Climate_Logic_Auto_FL;/* '/Zone_Climate_Logic_Auto_FL' */ - DW_is3secafterT15passed sf_is3secafterT15passed_mt;/* '/is 3 sec after T15 passed' */ - DW_is3secafterT15passed sf_is3secafterT15passed_n;/* '/is 3 sec after T15 passed' */ - DW_is3secafterT15passed sf_is3secafterT15passed_fq;/* '/is 3 sec after T15 passed' */ - DW_is3secafterT15passed sf_is3secafterT15passed_mv;/* '/is 3 sec after T15 passed' */ - DW_is3secafterT15passed sf_is3secafterT15passed_c;/* '/is 3 sec after T15 passed' */ - DW_filterduct sf_filterduct_j; /* '/filter duct' */ - DW_is3secafterT15passed sf_is3secafterT15passed_e;/* '/is 3 sec after T15 passed' */ - DW_filterduct sf_filterduct_h; /* '/filter duct' */ - DW_is3secafterT15passed sf_is3secafterT15passed_h;/* '/is 3 sec after T15 passed' */ - DW_filterduct sf_filterduct_o; /* '/filter duct' */ - DW_is3secafterT15passed sf_is3secafterT15passed_o;/* '/is 3 sec after T15 passed' */ - DW_filterduct sf_filterduct_c; /* '/filter duct' */ - DW_is3secafterT15passed sf_is3secafterT15passed_m;/* '/is 3 sec after T15 passed' */ - DW_filterduct sf_filterduct_k; /* '/filter duct' */ - DW_is3secafterT15passed sf_is3secafterT15passed_f;/* '/is 3 sec after T15 passed' */ - DW_filterduct sf_filterduct; /* '/filter duct' */ - DW_is3secafterT15passed sf_is3secafterT15passed_d;/* '/is 3 sec after T15 passed' */ - DW_is3secafterT15passed sf_is3secafterT15passed_a;/* '/is 3 sec after T15 passed' */ - DW_filterACPressure sf_filterACPressure_p;/* '/filter AC Pressure' */ - DW_is3secafterT15passed sf_is3secafterT15passed;/* '/is 3 sec after T15 passed' */ - DW_filterACPressure sf_filterACPressure;/* '/filter AC Pressure' */ - 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_errortimer sf_errortimer_n; /* '/error timer' */ + DW_errortimer sf_errortimer_d; /* '/error timer' */ + DW_errortimer sf_errortimer_c; /* '/error timer' */ + DW_errortimer sf_errortimer_f; /* '/error timer' */ + DW_is3secafterT15passed sf_is3secafterT15passed_mt;/* '/is 3 sec after T15 passed' */ + DW_is3secafterT15passed sf_is3secafterT15passed_n;/* '/is 3 sec after T15 passed' */ + DW_is3secafterT15passed sf_is3secafterT15passed_fq;/* '/is 3 sec after T15 passed' */ + DW_is3secafterT15passed sf_is3secafterT15passed_mv;/* '/is 3 sec after T15 passed' */ + DW_is3secafterT15passed sf_is3secafterT15passed_c;/* '/is 3 sec after T15 passed' */ + DW_filterduct sf_filterduct_j; /* '/filter duct' */ + DW_is3secafterT15passed sf_is3secafterT15passed_e;/* '/is 3 sec after T15 passed' */ + DW_filterduct sf_filterduct_h; /* '/filter duct' */ + DW_is3secafterT15passed sf_is3secafterT15passed_h;/* '/is 3 sec after T15 passed' */ + DW_filterduct sf_filterduct_o; /* '/filter duct' */ + DW_is3secafterT15passed sf_is3secafterT15passed_o;/* '/is 3 sec after T15 passed' */ + DW_filterduct sf_filterduct_c; /* '/filter duct' */ + DW_is3secafterT15passed sf_is3secafterT15passed_m;/* '/is 3 sec after T15 passed' */ + DW_filterduct sf_filterduct_k; /* '/filter duct' */ + DW_is3secafterT15passed sf_is3secafterT15passed_f;/* '/is 3 sec after T15 passed' */ + DW_filterduct sf_filterduct; /* '/filter duct' */ + DW_errortimer sf_errortimer5; /* '/error timer5' */ + DW_errortimer sf_errortimer4; /* '/error timer4' */ + DW_errortimer sf_errortimer3_f; /* '/error timer3' */ + DW_errortimer sf_errortimer2_d; /* '/error timer2' */ + DW_errortimer sf_errortimer1_k; /* '/error timer1' */ + DW_errortimer sf_errortimer_j; /* '/error timer' */ + DW_errortimer sf_errortimer3; /* '/error timer3' */ + DW_errortimer sf_errortimer2; /* '/error timer2' */ + DW_errortimer sf_errortimer1; /* '/error timer1' */ + DW_errortimer sf_errortimer_e; /* '/error timer' */ + DW_is3secafterT15passed sf_is3secafterT15passed_d;/* '/is 3 sec after T15 passed' */ + DW_errortimer sf_errortimer_h; /* '/error timer' */ + DW_is3secafterT15passed sf_is3secafterT15passed_a;/* '/is 3 sec after T15 passed' */ + DW_filterACPressure sf_filterACPressure_p;/* '/filter AC Pressure' */ + DW_errortimer sf_errortimer_b; /* '/error timer' */ + DW_is3secafterT15passed sf_is3secafterT15passed;/* '/is 3 sec after T15 passed' */ + DW_filterACPressure sf_filterACPressure;/* '/filter AC Pressure' */ + DW_errortimer sf_errortimer; /* '/error timer' */ + 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_p3;/* '/MATLAB Function1' */ + DW_MATLABFunction1_f sf_MATLABFunction1_hi;/* '/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; /* Invariant block signals (default storage) */ typedef struct { - ConstB_IfActionSubsystem1 IfActionSubsystem1_fn;/* '/If Action Subsystem1' */ - ConstB_IfActionSubsystem1 IfActionSubsystem1_c;/* '/If Action Subsystem1' */ - ConstB_IfActionSubsystem1 IfActionSubsystem1_h;/* '/If Action Subsystem1' */ + ConstB_IfActionSubsystem1 IfActionSubsystem1_fn;/* '/If Action Subsystem1' */ + ConstB_IfActionSubsystem1 IfActionSubsystem1_c;/* '/If Action Subsystem1' */ + ConstB_IfActionSubsystem1 IfActionSubsystem1_h;/* '/If Action Subsystem1' */ } ConstB; /* Constant parameters (default storage) */ @@ -868,172 +924,182 @@ typedef struct { /* Pooled Parameter (Expression: [17 18 19 20 21 22 23 24 25 26 27 28 29]) * Referenced by: - * '/Выбор режима Left' - * '/Выбор режима Right' + * '/Выбор режима Left' + * '/Выбор режима Right' */ - uint32_t pooled49[2]; + uint32_t pooled46[2]; /* Computed Parameter: demistLVLdew_point_diff_maxIndex * Referenced by: '/demist LVL (dew_point_diff)' */ uint32_t demistLVLdew_point_diff_maxIndex[2]; + /* Pooled Parameter (Expression: [0 20 40 60 80 100 120 140 160]) + * Referenced by: + * '/Central Section coefficient ' + * '/Coefficient AF' + * '/Coefficient pwm' + * '/Foot. Section coefficient' + * '/Side Section coefficient' + */ + uint32_t pooled47[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 pooled52[13]; + int16_t pooled50[13]; /* Pooled Parameter (Expression: int16([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' */ - int16_t pooled55[1024]; + int16_t pooled53[1024]; /* Pooled Parameter (Expression: int16([-50 -40 -30 -20 -10 0 10 20 30 40 50])) * Referenced by: - * '/AUTODEMIST_OFFSET_LEFT' - * '/AUTODEMIST_OFFSET_RIGHT' + * '/AUTODEMIST_OFFSET_LEFT' + * '/AUTODEMIST_OFFSET_RIGHT' */ - int16_t pooled56[11]; + int16_t pooled54[11]; /* Pooled Parameter (Expression: [0, 25, 50, 100]) * Referenced by: - * '/FL_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' - * '/FR_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' + * '/FL_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' + * '/FR_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' */ - int16_t pooled57[4]; + int16_t pooled55[4]; /* Pooled Parameter (Expression: [170, 180, 190, 200]) * Referenced by: - * '/FL_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' - * '/FR_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' + * '/FL_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' + * '/FR_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' */ - int16_t pooled58[4]; + int16_t pooled56[4]; /* Computed Parameter: GetLVLfortemp_tableData - * Referenced by: '/Get LVL for temp' + * Referenced by: '/Get LVL for temp' */ int16_t GetLVLfortemp_tableData[6]; /* Computed Parameter: GetLVLfortemp_bp01Data - * Referenced by: '/Get LVL for temp' + * Referenced by: '/Get LVL for temp' */ int16_t GetLVLfortemp_bp01Data[6]; /* Computed Parameter: Max_Def_U_Dtg_bp01Data - * Referenced by: '/Max_Def_U_Dtg' + * Referenced by: '/Max_Def_U_Dtg' */ int16_t Max_Def_U_Dtg_bp01Data[10]; /* Expression: int16([-10,0, 20, 50, 60, 70]) - * Referenced by: '/Max_blower_speed' + * Referenced by: '/Max_blower_speed' */ int16_t Max_blower_speed_bp01Data[6]; /* Pooled Parameter (Expression: [0;1;2;3;4;5]) * Referenced by: - * '/Выбор режима Left' - * '/Выбор режима Right' + * '/Выбор режима Left' + * '/Выбор режима Right' */ - int16_t pooled68[13]; + int16_t pooled67[13]; /* Pooled Parameter (Expression: int16([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 Table4' - * '/1-D Lookup Table7' + * '/1-D Lookup Table4' + * '/1-D Lookup Table7' */ - int16_t pooled69[1024]; + int16_t pooled68[1024]; /* Pooled Parameter (Mixed Expressions) * Referenced by: - * '/1-D Lookup Table4' - * '/1-D Lookup Table7' - * '/1-D Lookup Table4' + * '/1-D Lookup Table4' + * '/1-D Lookup Table7' + * '/1-D Lookup Table4' */ - int16_t pooled70[1024]; + int16_t pooled69[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' */ - int16_t pooled71[1024]; + int16_t pooled70[1024]; /* Expression: dewpoint_diff_table * Referenced by: '/demist LVL (dew_point_diff)' @@ -1050,294 +1116,325 @@ typedef struct { */ int16_t demistLVLdew_point_diff_bp02Data[101]; + /* Pooled Parameter (Expression: ) + * Referenced by: + * '/Central Section coefficient ' + * '/Coefficient AF' + * '/Coefficient pwm' + * '/Foot. Section coefficient' + * '/Side Section coefficient' + */ + int16_t pooled71[6]; + + /* Pooled Parameter (Expression: [1:6]) + * Referenced by: + * '/Central Section coefficient ' + * '/Coefficient AF' + * '/Coefficient pwm' + * '/Foot. Section coefficient' + * '/Side Section coefficient' + */ + int16_t pooled72[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 Table' - * '/1-D Lookup Table1' - * '/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 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 pooled81[13]; + uint16_t pooled82[13]; /* Pooled Parameter (Expression: int16([0:4:4092])) * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table' - * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table3' + * '/1-D Lookup Table' + * '/1-D Lookup Table' + * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table3' */ - uint16_t pooled82[1024]; + uint16_t pooled83[1024]; /* Computed Parameter: uDLookupTable1_bp01Data - * Referenced by: '/1-D Lookup Table1' + * Referenced by: '/1-D Lookup Table1' */ uint16_t uDLookupTable1_bp01Data[2]; /* Pooled Parameter (Expression: [1050 1250 1175 1195 1315 1300 1485 1440 1195]) * Referenced by: * '/Data Store Memory121' - * '/ACT1' - * '/ACT1' + * '/ACT1' + * '/ACT1' */ - uint16_t pooled91[9]; + uint16_t pooled92[9]; /* Pooled Parameter (Expression: [1225 1320 1270 1540 1480 1175 0 0 0]) * Referenced by: * '/Data Store Memory123' - * '/ACT1' + * '/ACT1' */ - uint16_t pooled93[9]; + uint16_t pooled94[9]; /* Computed Parameter: ACT1_Value - * Referenced by: '/ACT1' + * Referenced by: '/ACT1' */ uint16_t ACT1_Value[6]; /* Pooled Parameter (Expression: [3075 3075 1605 1840 1650 1635 1820 1650 0]) * Referenced by: * '/Data Store Memory124' - * '/ACT1' + * '/ACT1' */ - uint16_t pooled94[9]; + uint16_t pooled95[9]; /* Computed Parameter: ACT1_Value_m - * Referenced by: '/ACT1' + * Referenced by: '/ACT1' */ uint16_t ACT1_Value_m[8]; /* Computed Parameter: FRONT_HVAC_LIMITED_tableData - * Referenced by: '/FRONT_HVAC_LIMITED' + * Referenced by: '/FRONT_HVAC_LIMITED' */ uint16_t FRONT_HVAC_LIMITED_tableData[6]; /* Pooled Parameter (Expression: [0, 1, 2, 3, 4, 5]) * Referenced by: - * '/FRONT_HVAC_LIMITED' - * '/REAR_HVAC_LIMITED' + * '/FRONT_HVAC_LIMITED' + * '/REAR_HVAC_LIMITED' */ - uint16_t pooled96[6]; + uint16_t pooled97[6]; /* Computed Parameter: REAR_HVAC_LIMITED_tableData - * Referenced by: '/REAR_HVAC_LIMITED' + * Referenced by: '/REAR_HVAC_LIMITED' */ uint16_t REAR_HVAC_LIMITED_tableData[6]; /* Pooled Parameter (Expression: [60 60 60 60 100 100 100 100 0]) * Referenced by: - * '/Constant' - * '/Constant' - */ - uint16_t pooled98[9]; - - /* Pooled Parameter (Expression: [60 60 60 60 100 0 100 0 0]) - * Referenced by: - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' */ uint16_t pooled99[9]; + /* Pooled Parameter (Expression: [60 60 60 60 100 0 100 0 0]) + * Referenced by: + * '/Constant' + * '/Constant' + */ + uint16_t pooled100[9]; + /* Pooled Parameter (Expression: [60 60 60 60 100 100 100 100 100]) * Referenced by: - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - */ - uint16_t pooled101[9]; - - /* Pooled Parameter (Expression: [60 60 60 60 100 0 100 0 50]) - * Referenced by: - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' */ uint16_t pooled102[9]; - /* Pooled Parameter (Expression: [60 60 60 60 100 0 100 0 100]) + /* Pooled Parameter (Expression: [60 60 60 60 100 0 100 0 50]) * Referenced by: - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' */ uint16_t pooled103[9]; + /* Pooled Parameter (Expression: [60 60 60 60 100 0 100 0 100]) + * Referenced by: + * '/Constant' + * '/Constant' + */ + uint16_t pooled104[9]; + /* Pooled Parameter (Expression: [100 100 100 100 20 0 20 0]) * Referenced by: - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' */ - uint16_t pooled104[8]; + uint16_t pooled105[8]; /* Pooled Parameter (Expression: [100 100 100 100 20 20]) * Referenced by: - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' */ - uint16_t pooled105[6]; + uint16_t pooled106[6]; /* Pooled Parameter (Expression: [70 40 40 70 100 100]) * Referenced by: - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' */ - uint16_t pooled107[6]; + uint16_t pooled108[6]; /* Pooled Parameter (Expression: [100 100 100 100 0 0]) * Referenced by: - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' */ - uint16_t pooled110[6]; + uint16_t pooled111[6]; /* Pooled Parameter (Expression: [0 0 100 100 0]) * Referenced by: - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' */ - uint16_t pooled112[5]; + uint16_t pooled113[5]; + + /* Pooled Parameter (Expression: ) + * Referenced by: + * '/correction_max FL' + * '/correction_max FL1' + * '/correction_rate FL' + * '/correction_rate FR' + * '/wait time FL' + * '/wait time FR' + */ + uint16_t pooled118[7]; /* Pooled Parameter (Expression: [1:7]) * Referenced by: - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' */ - uint8_t pooled135[7]; + uint8_t pooled137[7]; /* Pooled Parameter (Mixed Expressions) * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/Max_blower_speed_for_ui_step' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/Max_blower_speed_for_ui_step' */ - uint8_t pooled136[8]; + uint8_t pooled138[8]; /* Pooled Parameter (Expression: [10:10:110]) * Referenced by: - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' * '/1-D Lookup Table1' * '/1-D Lookup Table2' * '/1-D Lookup Table1' * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' * '/1-D Lookup Table1' * '/1-D Lookup Table2' * '/1-D Lookup Table1' * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' * '/1-D Lookup Table1' * '/1-D Lookup Table2' * '/1-D Lookup Table1' * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' */ - uint8_t pooled137[11]; + uint8_t pooled139[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 pooled147[9]; + uint8_t pooled149[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 pooled157[6]; + uint8_t pooled160[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 pooled158[7]; + uint8_t pooled161[7]; } ConstP; /* External outputs (root outports fed by signals with default storage) */ @@ -1454,420 +1551,420 @@ extern RT_MODEL *const rtM; /*- * These blocks were eliminated from the model due to optimizations: * - * 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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/Constant3' : Unused code path elimination * Block '/Display' : Unused code path elimination * Block '/Display1' : Unused code path elimination @@ -1913,219 +2010,120 @@ extern RT_MODEL *const rtM; * 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 '/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 '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination + * Block '/Display6' : Unused code path elimination + * Block '/Display7' : 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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 @@ -2138,33 +2136,31 @@ extern RT_MODEL *const rtM; * 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 '/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 '/Display2' : Unused code path elimination * Block '/Display3' : Unused code path elimination * Block '/Display4' : Unused code path elimination * Block '/Display5' : Unused code path elimination @@ -2172,8 +2168,109 @@ extern RT_MODEL *const rtM; * 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 '/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 @@ -2192,37 +2289,37 @@ extern RT_MODEL *const rtM; * 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 '/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 @@ -2237,127 +2334,127 @@ extern RT_MODEL *const rtM; * 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 '/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 '/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 '/ 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 '/Датчик солнца слева' : Unused code path elimination * Block '/Датчик солнца справа' : Unused code path elimination * Block '/Слева ноги до коррекции' : Unused code path elimination @@ -2368,460 +2465,450 @@ extern RT_MODEL *const rtM; * Block '/Справа сзади' : Unused code path elimination * Block '/Справа спереди' : Unused code path elimination * Block '/Справа спереди снизу (ноги)' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display10' : 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 '/Display8' : Unused code path elimination - * Block '/Display9' : Unused code path elimination - * Block '/Gain4' : Unused code path elimination - * Block '/auto5' : Unused code path elimination - * Block '/auto6' : Unused code path elimination - * Block '/req' : 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 '/Display' : Unused code path elimination - * Block '/Display1' : 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 '/Display1' : Unused code path elimination + * Block '/Display10' : 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 '/Display8' : Unused code path elimination + * Block '/Display9' : Unused code path elimination + * Block '/Gain4' : Unused code path elimination + * Block '/auto5' : Unused code path elimination + * Block '/auto6' : Unused code path elimination + * Block '/req' : 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 '/Display' : Unused code path elimination + * Block '/Display1' : 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 '/Display' : Unused code path elimination + * Block '/Display1' : 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 '/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 '/Display' : Unused code path elimination - * Block '/Display1' : 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 '/Display' : 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 '/AMB (C * 10)' : 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 '/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 '/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 '/Display' : 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 '/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 '/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 '/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 '/Display16' : Unused code path elimination - * Block '/Display17' : 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 '/Scope' : 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 '/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 '/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 '/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 '/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 '/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 '/Display16' : Unused code path elimination + * Block '/Display17' : 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 '/Scope' : 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 '/Display16' : Unused code path elimination + * Block '/Display17' : 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 '/Display' : Unused code path elimination * Block '/Display1' : Unused code path elimination * Block '/Display2' : Unused code path elimination @@ -2834,19 +2921,7 @@ extern RT_MODEL *const rtM; * Block '/Display3' : Unused code path elimination * Block '/Display4' : Unused code path elimination * Block '/Display5' : 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 '/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 '/Display16' : Unused code path elimination * Block '/Display2' : Unused code path elimination @@ -2857,291 +2932,345 @@ extern RT_MODEL *const rtM; * 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 '/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 '/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 '/Display' : Unused code path elimination - * Block '/Display1' : 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 '/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 '/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 '/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 '/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 '/Display' : Unused code path elimination + * Block '/Display1' : 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 '/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 '/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 '/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 '/Display2' : 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 '/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 '/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 '/Display1' : Unused code path elimination - * Block '/Display2' : 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 '/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 '/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 '/Display2' : 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 '/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 '/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 '/Display1' : Unused code path elimination - * Block '/Display2' : 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 '/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 '/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 '/Display2' : 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 '/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 '/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 '/Display1' : Unused code path elimination + * Block '/Display2' : 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 '/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 '/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 '/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 '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : 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 '/Display2' : 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 '/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 '/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 '/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 '/Display' : Unused code path elimination - * Block '/Display1' : 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 '/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 '/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 '/Display' : Unused code path elimination - * Block '/Display1' : 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 '/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 '/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 '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Display1' : 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 '/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 '/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 '/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 '/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 '/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 '/Logical Operator' : Unused code path elimination + * Block '/Switch' : 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 '/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 '/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 '/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 '/Display' : Unused code path elimination + * Block '/Display1' : 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 '/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 '/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 '/Logical Operator' : 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 '/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 '/Logical Operator' : Unused code path elimination + * Block '/Switch' : 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 '/Display2' : Unused code path elimination + * Block '/Logical Operator' : 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 '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display' : 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 '/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 '/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 '/Bus Creator13' : Unused code path elimination * Block '/Constant6' : Unused code path elimination * Block '/Display' : Unused code path elimination @@ -3151,519 +3280,634 @@ extern RT_MODEL *const rtM; * Block '/Constant' : Unused code path elimination * Block '/Constant' : Unused code path elimination * Block '/Display' : Unused code path elimination - * Block '/Bi valve' : Unused code path elimination + * Block '/AutoFoot (AF)' : Unused code path elimination * Block '/Constant' : Unused code path elimination * Block '/Constant1' : Unused code path elimination * Block '/Constant2' : Unused code path elimination * Block '/Constant3' : 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 Conversion' : 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 '/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 '/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 '/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 '/Заслонки слева' : Unused code path elimination - * Block '/Заслонки справа' : Unused code path elimination - * Block '/пункты 5-7' : 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 Conversion' : Unused code path elimination + * Block '/Data Type Conversion1' : 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 '/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 '/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 '/пункты 5-7' : 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 '/Data Type Conversion' : Unused code path elimination + * Block '/Data Type Conversion1' : Unused code path elimination + * Block '/Data Type Conversion3' : Unused code path elimination + * Block '/Data Type Conversion4' : 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 '/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 '/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 '/пункты 5-7' : 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 '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display4' : Unused code path elimination + * Block '/Display5' : Unused code path elimination * Block '/Vent' : Unused code path elimination * Block '/Vent1' : Unused code path elimination * Block '/Vent2' : Unused code path elimination * Block '/Vent3' : Unused code path elimination * Block '/Vent4' : Unused code path elimination + * Block '/Bi valve' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Constant1' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Constant3' : 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 Conversion' : 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 '/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 '/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 '/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 '/Заслонки слева' : Unused code path elimination + * Block '/Заслонки справа' : Unused code path elimination + * Block '/пункты 5-7' : Unused code path elimination * Block '/Display' : Unused code path elimination - * Block '/Display' : Unused code path elimination - * Block '/Scope' : Unused code path elimination - * Block '/Scope1' : 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 '/Display2' : Unused code path elimination - * Block '/Display3' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Vent' : Unused code path elimination + * Block '/Vent1' : Unused code path elimination + * Block '/Vent2' : Unused code path elimination + * Block '/Vent3' : Unused code path elimination + * Block '/Vent4' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Display' : Unused code path elimination + * Block '/Scope' : Unused code path elimination + * Block '/Scope1' : 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 '/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 '/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 '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : 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 '/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 '/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 '/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 '/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 '/Display1' : Unused code path elimination + * Block '/Display2' : 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 '/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 '/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 '/Display3' : 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 '/Full mode' : Unused code path elimination - * Block '/OFF mode' : Unused code path elimination - * Block '/REST mode' : Unused code path elimination - * Block '/Reduced mode' : Unused code path elimination - * Block '/Remote start mode' : Unused code path elimination - * Block '/Constant9' : 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 '/Display' : Unused code path elimination - * Block '/Display1' : Unused code path elimination - * Block '/Display2' : 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 '/Display' : 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 '/Display' : Unused code path elimination + * Block '/Full mode' : Unused code path elimination + * Block '/OFF mode' : Unused code path elimination + * Block '/REST mode' : Unused code path elimination + * Block '/Reduced mode' : Unused code path elimination + * Block '/Remote start mode' : Unused code path elimination + * Block '/Constant9' : 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 '/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 '/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 '/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 '/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 '/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 '/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 '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : 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 '/Display1' : 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 '/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 '/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 '/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 '/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 '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : 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 '/Display2' : 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 '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : 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 '/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 '/Display1' : Unused code path elimination - * Block '/Display2' : Unused code path elimination - * Block '/Display3' : 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 '/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 '/Display2' : 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 '/Display2' : 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 '/Display1' : Unused code path elimination + * Block '/Display2' : Unused code path elimination + * Block '/Display3' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : 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 '/Display1' : Unused code path elimination - * Block '/Display2' : 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 '/Display' : Unused code path elimination - * Block '/Display1' : 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 '/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 '/Display2' : 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 '/Display1' : Unused code path elimination - * Block '/Display2' : 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 '/Display' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display1' : Unused code path elimination + * Block '/Display2' : 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 '/Saturation2' : Unused code path elimination - * Block '/Saturation3' : 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 '/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 '/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 '/Display2' : 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 '/Display' : Unused code path elimination + * Block '/Display1' : 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 '/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 '/Saturation2' : Unused code path elimination + * Block '/Saturation3' : 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 '/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 '/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 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 Conversion1' : 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 Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion3' : 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 Conversion3' : 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 Conversion4' : Eliminate redundant data type conversion - * Block '/Data Type Conversion5' : 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 Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion5' : 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 Conversion5' : 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 Conversion5' : 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 Conversion4' : Eliminate redundant data type conversion + * Block '/Data Type Conversion5' : 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 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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/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 '/Data Type Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion5' : 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 Conversion5' : 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 Conversion5' : 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 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 '/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 '/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 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 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 Conversion1' : Eliminate redundant data type conversion - * Block '/Data Type Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion5' : 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 Conversion5' : 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 Conversion5' : 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 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 Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion3' : Eliminate redundant data type conversion - * Block '/Data Type Conversion5' : 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 Conversion5' : 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 Conversion5' : 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 Conversion5' : 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 Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion5' : 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 Conversion5' : 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 Conversion5' : 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 Conversion5' : 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 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 Conversion2' : Eliminate redundant data type conversion - * Block '/Data Type Conversion3' : Eliminate redundant data type conversion - * Block '/Data Type Conversion5' : 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 Conversion5' : 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 Conversion5' : 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 Conversion5' : 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 Conversion' : Eliminate redundant data type conversion - * Block '/Data Type Conversion5' : 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 '/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 '/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 '/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 '/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 '/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 Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion6' : Eliminate redundant data type conversion + * Block '/Data Type Conversion7' : 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 Conversion1' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion5' : 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 Conversion5' : 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 Conversion5' : 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 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 Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion3' : Eliminate redundant data type conversion + * Block '/Data Type Conversion5' : 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 Conversion5' : 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 Conversion5' : 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 Conversion5' : 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 Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion5' : 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 Conversion5' : 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 Conversion5' : 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 Conversion5' : 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 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 Conversion2' : Eliminate redundant data type conversion + * Block '/Data Type Conversion3' : Eliminate redundant data type conversion + * Block '/Data Type Conversion5' : 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 Conversion5' : 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 Conversion5' : 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 Conversion5' : 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 Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion5' : 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 '/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 '/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 '/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 '/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 '/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 Conversion' : Eliminate redundant data type conversion + * Block '/Data Type Conversion2' : Eliminate redundant data type conversion */ /*- @@ -3701,1092 +3945,1092 @@ extern RT_MODEL *const rtM; * '' : 'HVAC_model/Compare To Constant2' * '' : 'HVAC_model/Compare To Constant3' * '' : 'HVAC_model/Define dew point' - * '' : 'HVAC_model/Different blower Rear' - * '' : 'HVAC_model/Electric Autodemist' - * '' : 'HVAC_model/Fire Extinguish & Emergency Air Cleaning' - * '' : 'HVAC_model/Foot 2 control' - * '' : 'HVAC_model/GlassPosition' - * '' : 'HVAC_model/HI LO modes' - * '' : 'HVAC_model/IO - model output' - * '' : 'HVAC_model/IndexMode' - * '' : 'HVAC_model/Ionizer' - * '' : 'HVAC_model/LIN' - * '' : 'HVAC_model/LIN output' - * '' : 'HVAC_model/LO HI status for dbg' - * '' : 'HVAC_model/Leaving the garage' - * '' : 'HVAC_model/MAC AC - new' - * '' : 'HVAC_model/MAX DEF (Defrost) V2' - * '' : 'HVAC_model/Operation mode - Full, Reduced, etc' - * '' : 'HVAC_model/PID Compressor' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок' - * '' : 'HVAC_model/PWM + Blower Limit' - * '' : 'HVAC_model/Power' - * '' : 'HVAC_model/Recirculation_by_Door_Ajar' - * '' : 'HVAC_model/Synchronization (SYNC)' - * '' : 'HVAC_model/Valves auto or manual (заслонки)' - * '' : 'HVAC_model/dbg CAN' - * '' : 'HVAC_model/external fan' - * '' : 'HVAC_model/lowTempValve_regulation' - * '' : '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/Current Level 0' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Current Level 1' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Current Level 2' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Current Level 3' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Current Level 4' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Current Level 5' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/check if first time' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Current Level 1/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/Current Level 1/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/Current Level 2/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/Current Level 2/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/Current Level 3/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/Current Level 3/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/Current Level 4/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/Current Level 4/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/Current Level 5/Convert_g_assAMB_LV_DN_5' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/check if first time/If Action Subsystem' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/check if first time/set level for the first time' - * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/check if first time/set level for the first time/select AMB Level' - * '' : '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/Individual foot correction FL' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL/Valve and blower' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL/Valve and blower/Switch Case Action Subsystem' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL/Valve and blower/Switch Case Action Subsystem1' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL/Valve and blower/Switch Case Action Subsystem2' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL/Valve and blower/Switch Case Action Subsystem3' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL/Valve and blower/Switch Case Action Subsystem4' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL/Valve and blower/Switch Case Action Subsystem5' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL/Valve and blower/Switch Case Action Subsystem6' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR/Valve and blower' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR/Valve and blower/Switch Case Action Subsystem' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR/Valve and blower/Switch Case Action Subsystem1' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR/Valve and blower/Switch Case Action Subsystem2' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR/Valve and blower/Switch Case Action Subsystem3' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR/Valve and blower/Switch Case Action Subsystem4' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR/Valve and blower/Switch Case Action Subsystem5' - * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR/Valve and blower/Switch Case Action Subsystem6' - * '' : '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/Autodemist offset FLU' - * '' : 'HVAC_model/13.1.3.3 Dtg model/Autodemist offset FRU' - * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)' - * '' : 'HVAC_model/13.1.3.3 Dtg model/HI_FLL' - * '' : 'HVAC_model/13.1.3.3 Dtg model/HI_FLU' - * '' : 'HVAC_model/13.1.3.3 Dtg model/HI_FRL' - * '' : 'HVAC_model/13.1.3.3 Dtg model/HI_FRU' - * '' : 'HVAC_model/13.1.3.3 Dtg model/HI_RL' - * '' : 'HVAC_model/13.1.3.3 Dtg model/HI_RR' - * '' : '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/AC manager, Winter conditions/Winter Conditions' - * '' : 'HVAC_model/AC manager, Winter conditions/target Eva' - * '' : 'HVAC_model/AC manager, Winter conditions/Winter Conditions/WINTER CONDITION' - * '' : 'HVAC_model/AC manager, Winter conditions/Winter Conditions/WINTER CONDITION/MATLAB Function' - * '' : 'HVAC_model/AC manager, Winter conditions/Winter Conditions/WINTER CONDITION/MATLAB Function1' - * '' : 'HVAC_model/AC manager, Winter conditions/Winter Conditions/WINTER CONDITION/MATLAB Function3' - * '' : 'HVAC_model/AC manager, Winter conditions/Winter Conditions/WINTER CONDITION/MATLAB Function4' - * '' : '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_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/Sensor_Front_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/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/EvapF/filter evap' - * '' : 'HVAC_model/ACP/EvapF/filter evap/filter AC Pressure' - * '' : 'HVAC_model/ACP/EvapF/filter evap/is 3 sec after T15 passed' - * '' : '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/EvapR/filter evap' - * '' : 'HVAC_model/ACP/EvapR/filter evap/filter AC Pressure' - * '' : 'HVAC_model/ACP/EvapR/filter evap/is 3 sec after T15 passed' - * '' : '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_AC_Pressure/filter AC Pressure' - * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/filter AC Pressure/filter AC Pressure' - * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/filter AC Pressure/is 3 sec after T15 passed' - * '' : '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/Different blower Front' + * '' : 'HVAC_model/Different blower Rear' + * '' : 'HVAC_model/Electric Autodemist' + * '' : 'HVAC_model/Fire Extinguish & Emergency Air Cleaning' + * '' : 'HVAC_model/Foot 2 control' + * '' : 'HVAC_model/GlassPosition' + * '' : 'HVAC_model/HI LO modes' + * '' : 'HVAC_model/IO - model output' + * '' : 'HVAC_model/IndexMode' + * '' : 'HVAC_model/Ionizer' + * '' : 'HVAC_model/LIN' + * '' : 'HVAC_model/LIN output' + * '' : 'HVAC_model/LO HI status for dbg' + * '' : 'HVAC_model/Leaving the garage' + * '' : 'HVAC_model/MAC AC - new' + * '' : 'HVAC_model/MAX DEF (Defrost) V2' + * '' : 'HVAC_model/Operation mode - Full, Reduced, etc' + * '' : 'HVAC_model/PID Compressor' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок' + * '' : 'HVAC_model/PWM + Blower Limit' + * '' : 'HVAC_model/Power' + * '' : 'HVAC_model/REST' + * '' : 'HVAC_model/Recirculation_by_Door_Ajar' + * '' : 'HVAC_model/Synchronization (SYNC)' + * '' : 'HVAC_model/Valves auto or manual (заслонки)' + * '' : 'HVAC_model/dbg CAN' + * '' : 'HVAC_model/external fan' + * '' : 'HVAC_model/lowTempValve_regulation' + * '' : 'HVAC_model/wait correction AF Front' + * '' : '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/Current Level 0' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Current Level 1' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Current Level 2' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Current Level 3' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Current Level 4' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Current Level 5' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/check if first time' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/Current Level 1/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/Current Level 1/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/Current Level 2/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/Current Level 2/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/Current Level 3/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/Current Level 3/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/Current Level 4/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/Current Level 4/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/Current Level 5/Convert_g_assAMB_LV_DN_5' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/check if first time/If Action Subsystem' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/check if first time/set level for the first time' + * '' : 'HVAC_model/13,1,3,1 Ambien level 13.1.3.2 Mode/13,1,3,1 Ambien level/check if first time/set level for the first time/select AMB Level' + * '' : '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 Summer' + * '' : 'HVAC_model/13,1,3,16 Partial REC auto rec?/Spd_OSA_Trigger' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL/Valve and blower' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL/Valve and blower/Switch Case Action Subsystem' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL/Valve and blower/Switch Case Action Subsystem1' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL/Valve and blower/Switch Case Action Subsystem2' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL/Valve and blower/Switch Case Action Subsystem3' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL/Valve and blower/Switch Case Action Subsystem4' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL/Valve and blower/Switch Case Action Subsystem5' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FL/Valve and blower/Switch Case Action Subsystem6' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR/Valve and blower' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR/Valve and blower/Switch Case Action Subsystem' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR/Valve and blower/Switch Case Action Subsystem1' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR/Valve and blower/Switch Case Action Subsystem2' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR/Valve and blower/Switch Case Action Subsystem3' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR/Valve and blower/Switch Case Action Subsystem4' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR/Valve and blower/Switch Case Action Subsystem5' + * '' : 'HVAC_model/13,1,3,6 Individual foots/Individual foot correction FR/Valve and blower/Switch Case Action Subsystem6' + * '' : '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 5' + * '' : 'HVAC_model/13,1,3,7 Start control/count from 0 to 5 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/Autodemist offset FLU' + * '' : 'HVAC_model/13.1.3.3 Dtg model/Autodemist offset FRU' + * '' : 'HVAC_model/13.1.3.3 Dtg model/FRU_tg_correct (Front Right)' + * '' : 'HVAC_model/13.1.3.3 Dtg model/HI_FLL' + * '' : 'HVAC_model/13.1.3.3 Dtg model/HI_FLU' + * '' : 'HVAC_model/13.1.3.3 Dtg model/HI_FRL' + * '' : 'HVAC_model/13.1.3.3 Dtg model/HI_FRU' + * '' : 'HVAC_model/13.1.3.3 Dtg model/HI_RL' + * '' : 'HVAC_model/13.1.3.3 Dtg model/HI_RR' + * '' : '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/AC manager, Winter conditions/Winter Conditions' + * '' : 'HVAC_model/AC manager, Winter conditions/target Eva' + * '' : 'HVAC_model/AC manager, Winter conditions/without rear HVAC' + * '' : 'HVAC_model/AC manager, Winter conditions/Winter Conditions/WINTER CONDITION' + * '' : 'HVAC_model/AC manager, Winter conditions/Winter Conditions/WINTER CONDITION/MATLAB Function' + * '' : 'HVAC_model/AC manager, Winter conditions/Winter Conditions/WINTER CONDITION/MATLAB Function1' + * '' : 'HVAC_model/AC manager, Winter conditions/Winter Conditions/WINTER CONDITION/MATLAB Function3' + * '' : 'HVAC_model/AC manager, Winter conditions/Winter Conditions/WINTER CONDITION/MATLAB Function4' + * '' : '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_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/Sensor_Front_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/EvapF/Compare To Constant' + * '' : 'HVAC_model/ACP/EvapF/Compare To Constant1' + * '' : 'HVAC_model/ACP/EvapF/Compare To Constant2' + * '' : 'HVAC_model/ACP/EvapF/UDS ERROR' + * '' : 'HVAC_model/ACP/EvapF/Write ERROR' + * '' : 'HVAC_model/ACP/EvapF/Write Eva_F' + * '' : 'HVAC_model/ACP/EvapF/error timer' + * '' : 'HVAC_model/ACP/EvapF/filter evap' + * '' : 'HVAC_model/ACP/EvapF/filter evap/filter AC Pressure' + * '' : 'HVAC_model/ACP/EvapF/filter evap/is 3 sec after T15 passed' + * '' : '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/UDS ERROR' + * '' : 'HVAC_model/ACP/EvapR/Write ERROR' + * '' : 'HVAC_model/ACP/EvapR/Write Eva_F' + * '' : 'HVAC_model/ACP/EvapR/error timer' + * '' : 'HVAC_model/ACP/EvapR/filter evap' + * '' : 'HVAC_model/ACP/EvapR/filter evap/filter AC Pressure' + * '' : 'HVAC_model/ACP/EvapR/filter evap/is 3 sec after T15 passed' + * '' : '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/UDS ERROR' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Write' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/Write ERROR' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/error timer' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/filter AC Pressure' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/filter AC Pressure/filter AC Pressure' + * '' : 'HVAC_model/ACP/PRINT Sensor_AC_Pressure/filter AC Pressure/is 3 sec after T15 passed' + * '' : '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 Constant11' + * '' : 'HVAC_model/ACP/Rear_Duct/Compare To Constant17' + * '' : '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/UDS ERROR' * '' : 'HVAC_model/ACP/Rear_Duct/UDS ERROR1' * '' : 'HVAC_model/ACP/Rear_Duct/UDS ERROR2' @@ -4799,2332 +5043,2376 @@ extern RT_MODEL *const rtM; * '' : 'HVAC_model/ACP/Rear_Duct/Write ERROR1' * '' : 'HVAC_model/ACP/Rear_Duct/Write ERROR2' * '' : 'HVAC_model/ACP/Rear_Duct/Write ERROR3' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant1' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant10' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant11' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant12' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant13' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant14' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant15' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant16' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant17' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant18' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant2' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant3' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant4' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant5' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant6' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant7' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant8' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant9' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/RealTime_Timer1' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/RealTime_Timer2' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/RealTime_Timer3' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/RealTime_Timer4' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/RealTime_Timer5' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/RealTime_Timer6' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/UDS ERROR1' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/UDS ERROR2' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/UDS ERROR3' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/UDS ERROR4' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/UDS ERROR5' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/UDS ERROR6' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write 1' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write 2' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write 3' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write 4' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write 5' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write 6' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write ERROR1' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write ERROR2' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write ERROR3' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write ERROR4' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write ERROR5' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write ERROR6' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct1' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct2' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct3' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct4' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct5' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct/filter duct' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct/is 3 sec after T15 passed' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct1/filter duct' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct1/is 3 sec after T15 passed' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct2/filter duct' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct2/is 3 sec after T15 passed' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct3/filter duct' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct3/is 3 sec after T15 passed' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct4/filter duct' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct4/is 3 sec after T15 passed' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct5/filter duct' - * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct5/is 3 sec after T15 passed' - * '' : '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/is 3 sec after T15 passed' - * '' : '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/is 3 sec after T15 passed' - * '' : '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/is 3 sec after T15 passed' - * '' : '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/is 3 sec after T15 passed' - * '' : '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_FL' - * '' : 'HVAC_model/AUTO/Zone_Climate_Logic_Auto_FR' - * '' : 'HVAC_model/AUTO/Zone_Climate_Logic_Auto_RL' - * '' : 'HVAC_model/AUTO/Zone_Climate_Logic_Auto_RR' - * '' : 'HVAC_model/AUTO/засечь переход из авто в ручной' - * '' : 'HVAC_model/AUTO/засечь переход из авто в ручной1' - * '' : 'HVAC_model/AUTO/засечь переход из авто в ручной2' - * '' : 'HVAC_model/AUTO/засечь переход из авто в ручной3' - * '' : 'HVAC_model/AUTO/Determine directions FL/AF AutoFoot' - * '' : 'HVAC_model/AUTO/Determine directions FL/AF AutoFoot summer' - * '' : 'HVAC_model/AUTO/Determine directions FL/AF Bi level' - * '' : 'HVAC_model/AUTO/Determine directions FL/AF Bi level 2' - * '' : 'HVAC_model/AUTO/Determine directions FL/AF Defrost' - * '' : 'HVAC_model/AUTO/Determine directions FL/AF Foot' - * '' : 'HVAC_model/AUTO/Determine directions FL/AF Foot + Def' - * '' : 'HVAC_model/AUTO/Determine directions FL/AF Hi (def + vent)' - * '' : 'HVAC_model/AUTO/Determine directions FL/AF Tri mode' - * '' : 'HVAC_model/AUTO/Determine directions FL/AF VENT' - * '' : 'HVAC_model/AUTO/Determine directions FL/AF VENT (fail safe)' - * '' : 'HVAC_model/AUTO/Determine directions FL/closest speed' - * '' : 'HVAC_model/AUTO/Determine directions FL/direction for front index mode' - * '' : 'HVAC_model/AUTO/Determine directions FR/AF AutoFoot' - * '' : 'HVAC_model/AUTO/Determine directions FR/AF AutoFoot summer' - * '' : 'HVAC_model/AUTO/Determine directions FR/AF Bi level' - * '' : 'HVAC_model/AUTO/Determine directions FR/AF Bi level 2' - * '' : 'HVAC_model/AUTO/Determine directions FR/AF Defrost' - * '' : 'HVAC_model/AUTO/Determine directions FR/AF Foot' - * '' : 'HVAC_model/AUTO/Determine directions FR/AF Foot + Def' - * '' : 'HVAC_model/AUTO/Determine directions FR/AF Hi (def + vent)' - * '' : 'HVAC_model/AUTO/Determine directions FR/AF Tri mode' - * '' : 'HVAC_model/AUTO/Determine directions FR/AF VENT' - * '' : 'HVAC_model/AUTO/Determine directions FR/AF VENT (fail safe)' - * '' : 'HVAC_model/AUTO/Determine directions FR/closest speed' - * '' : 'HVAC_model/AUTO/Determine directions FR/direction for front index mode' - * '' : 'HVAC_model/AUTO/Determine directions RL/AF REAR Bi Level' - * '' : 'HVAC_model/AUTO/Determine directions RL/AF REAR Foot' - * '' : 'HVAC_model/AUTO/Determine directions RL/AF REAR VENT AUTO' - * '' : 'HVAC_model/AUTO/Determine directions RL/AF REAR VENT AUTO1' - * '' : 'HVAC_model/AUTO/Determine directions RL/closest speed' - * '' : 'HVAC_model/AUTO/Determine directions RL/direction for REAR index mode' - * '' : 'HVAC_model/AUTO/Determine directions RR/AF REAR Bi Level' - * '' : 'HVAC_model/AUTO/Determine directions RR/AF REAR Foot' - * '' : 'HVAC_model/AUTO/Determine directions RR/AF REAR VENT AUTO' - * '' : 'HVAC_model/AUTO/Determine directions RR/AF REAR VENT AUTO1' - * '' : 'HVAC_model/AUTO/Determine directions RR/closest speed' - * '' : 'HVAC_model/AUTO/Determine directions RR/direction for REAR index mode1' - * '' : 'HVAC_model/Aroma logic/AromaLogic' - * '' : 'HVAC_model/Aroma logic/AromaLogic/ccuAromaLogic' - * '' : 'HVAC_model/Autodemist/Autodemist (all-season mode and winter mode)' - * '' : 'HVAC_model/Autodemist/Autodemist (all-season mode and winter mode)/Autodemist_Actions_FL' - * '' : 'HVAC_model/Autodemist/Autodemist (all-season mode and winter mode)/Autodemist_Actions_FR' - * '' : 'HVAC_model/Autodemist/Autodemist (all-season mode and winter mode)/Calculate_Autodemist_Level' - * '' : 'HVAC_model/Autodemist/Autodemist (all-season mode and winter mode)/MATLAB Function' - * '' : 'HVAC_model/Autodemist/Autodemist (all-season mode and winter mode)/autodemist to dbg' - * '' : 'HVAC_model/Autodemist/Autodemist (all-season mode and winter mode)/autodemist to dbg/MATLAB Function' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/AF for MAX AC' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Autodemist offset FL' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Autodemist offset FR' - * '' : '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/DRS AF FL' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF FR' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF RL' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF RR' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Glass Position Limo FL' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/Glass Position Limo FR' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR' - * '' : '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/DRS AF FL/FL AF * percent DRS' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF FL/param index for mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF FR/FL AF * percent DRS' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF FR/param index for mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF RL/RL AF * percent DRS' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF RL/param index for mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF RR/RR AF * percent DRS' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF RR/param index for mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO/is FL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO/is FR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO/is RL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO/is RR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO/is FL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO/is FR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO/is RL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO/is RR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO/is FL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO/is FR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO/is RL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO/is RR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO front И AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO front И AUTO/is FL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO front И AUTO/is FR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO front И AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO front И AUTO/is FL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO front И AUTO/is FR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO front И AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO front И AUTO/is FL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO front И AUTO/is FR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO/is FL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO/is FR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO/is FL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO/is FR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO/is FL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO/is FR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO front И AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO front И AUTO/is FL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO front И AUTO/is FR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO front И AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO front И AUTO/is FL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO front И AUTO/is FR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO front И AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO front И AUTO/is FL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO front И AUTO/is FR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI rear И AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/2WVR and 3WVF open ' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI rear И AUTO/is RL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI rear И AUTO/is RR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI rear И AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/2WVR and 3WVF open ' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI rear И AUTO/is RL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI rear И AUTO/is RR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI rear И AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/2WVR open ' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI rear И AUTO/is RL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI rear И AUTO/is RR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO rear И AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO rear И AUTO/is RL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO rear И AUTO/is RR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO rear И AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO rear И AUTO/is RL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO rear И AUTO/is RR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO rear И AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO rear И AUTO/is RL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO rear И AUTO/is RR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI rear И AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI rear И AUTO/is RL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI rear И AUTO/is RR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI rear И AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI rear И AUTO/is RL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI rear И AUTO/is RR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI rear И AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI rear И AUTO/is RL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI rear И AUTO/is RR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO rear И AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO rear И AUTO/is RL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO rear И AUTO/is RR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO rear И AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO rear И AUTO/is RL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO rear И AUTO/is RR AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO rear И AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF AutoFoot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF AutoFoot summer' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Bi level' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Bi level 2' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Defrost' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Foot' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Foot + Def' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Hi (def + vent)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Tri mode' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF VENT' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF VENT (fail safe)' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF for speed' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO rear И AUTO/is RL AUTO' - * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO rear И AUTO/is RR AUTO' - * '' : '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/EMS_veh_02 BMS Actual Temp' - * '' : 'HVAC_model/CAN INPUT/Missing messages' - * '' : 'HVAC_model/CAN INPUT/Reset values' - * '' : 'HVAC_model/CAN INPUT/Sleep_mode' - * '' : 'HVAC_model/CAN INPUT/SolarSensLeftVal_ro' - * '' : 'HVAC_model/CAN INPUT/Subsystem1' - * '' : 'HVAC_model/CAN INPUT/Subsystem2' - * '' : 'HVAC_model/CAN INPUT/Subsystem3' - * '' : 'HVAC_model/CAN INPUT/Subsystem4' - * '' : 'HVAC_model/CAN INPUT/Subsystem45' - * '' : 'HVAC_model/CAN INPUT/Subsystem46' - * '' : 'HVAC_model/CAN INPUT/Subsystem47' - * '' : 'HVAC_model/CAN INPUT/Subsystem48' - * '' : 'HVAC_model/CAN INPUT/Subsystem5' - * '' : 'HVAC_model/CAN INPUT/Subsystem50' - * '' : 'HVAC_model/CAN INPUT/Subsystem51' - * '' : 'HVAC_model/CAN INPUT/Subsystem52' - * '' : '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/TM_CP and FIU - только при зажигании' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter' - * '' : 'HVAC_model/CAN INPUT/write powerDownStatus' - * '' : '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/SolarSensLeftVal_ro/filter' - * '' : 'HVAC_model/CAN INPUT/SolarSensLeftVal_ro/filter/filter sensor' - * '' : 'HVAC_model/CAN INPUT/SolarSensLeftVal_ro/filter/is 3 sec after T15 passed' - * '' : 'HVAC_model/CAN INPUT/Subsystem48/filter' - * '' : 'HVAC_model/CAN INPUT/Subsystem48/filter/filter sensor' - * '' : 'HVAC_model/CAN INPUT/Subsystem48/filter/is 3 sec after T15 passed' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/AC_Max_Active' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Compare To Constant' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Compare To Constant1' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Compare To Constant2' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Compare To Constant3' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Compare To Constant4' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Compare To Constant5' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Compare To Constant6' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Compare To Constant7' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Defrost_Active' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Detect Increase' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Detect Increase1' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Detect Increase2' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Detect Increase3' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Detect Increase4' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Detect Increase5' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Detect Increase6' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Detect Increase7' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Front Window Heating' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Full_Rec_Active' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem1' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem10' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem11' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem12' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem13' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem14' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem15' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem16' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem17' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem18' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem19' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem2' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem20' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem21' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem22' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem23' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem24' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem25' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem26' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem27' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem28' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem29' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem3' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem30' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem31' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem32' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem33' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem34' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem35' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem36' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem37' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem38' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem39' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem4' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem40' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem41' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem42' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem43' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem44' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem5' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem6' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem7' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem8' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem9' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/filter for FIU_CCU1' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/filter for FIU_CCU2' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/if action' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/if action1' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/if action2' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/if action4' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleFL' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleFR' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleRL' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleRR' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem1/If Action Subsystem' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem24/full sync action' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem24/sync front action' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem24/sync off action' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem44/sync off rear action' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem44/sync rear action' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem44/sync off rear action/logger' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/Subsystem44/sync rear action/logger' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/filter for FIU_CCU1/EAC and FIRE filter' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/filter for FIU_CCU1/MAC_AC filter' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/filter for FIU_CCU1/maxDEF filter' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/filter for FIU_CCU2/EAC and FIRE filter' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/if action/sync front action1' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/if action/sync front action3' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/if action1/sync front action1' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/if action1/sync front action3' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/if action2/sync front action1' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/if action2/sync front action3' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/if action4/sync front action1' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/if action4/sync front action3' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleFL/Compare To Constant3' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleFL/Detect Increase3' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleFL/If Action Subsystem' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleFL/If Action Subsystem/temp down' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleFL/If Action Subsystem/temp up' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleFL/If Action Subsystem/temp down/LO HI mode R' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleFL/If Action Subsystem/temp down/LO HI mode R/HI mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleFL/If Action Subsystem/temp down/LO HI mode R/LO mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleFL/If Action Subsystem/temp down/LO HI mode R/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleFL/If Action Subsystem/temp up/LO HI mode R' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleFL/If Action Subsystem/temp up/LO HI mode R/HI mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleFL/If Action Subsystem/temp up/LO HI mode R/LO mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleFL/If Action Subsystem/temp up/LO HI mode R/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleFR/Compare To Constant3' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleFR/Detect Increase3' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleFR/If Action Subsystem' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleFR/If Action Subsystem/temp down' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleFR/If Action Subsystem/temp up' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleFR/If Action Subsystem/temp down/LO HI mode R' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleFR/If Action Subsystem/temp down/LO HI mode R/HI mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleFR/If Action Subsystem/temp down/LO HI mode R/LO mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleFR/If Action Subsystem/temp down/LO HI mode R/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleFR/If Action Subsystem/temp up/LO HI mode R' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleFR/If Action Subsystem/temp up/LO HI mode R/HI mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleFR/If Action Subsystem/temp up/LO HI mode R/LO mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleFR/If Action Subsystem/temp up/LO HI mode R/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleRL/Compare To Constant3' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleRL/Detect Increase3' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleRL/If Action Subsystem' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleRL/If Action Subsystem/temp down' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleRL/If Action Subsystem/temp up' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleRL/If Action Subsystem/temp down/LO HI mode R' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleRL/If Action Subsystem/temp down/LO HI mode R/HI mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleRL/If Action Subsystem/temp down/LO HI mode R/LO mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleRL/If Action Subsystem/temp down/LO HI mode R/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleRL/If Action Subsystem/temp up/LO HI mode R' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleRL/If Action Subsystem/temp up/LO HI mode R/HI mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleRL/If Action Subsystem/temp up/LO HI mode R/LO mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleRL/If Action Subsystem/temp up/LO HI mode R/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleRR/Compare To Constant3' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleRR/Detect Increase3' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleRR/If Action Subsystem' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleRR/If Action Subsystem/temp down' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleRR/If Action Subsystem/temp up' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleRR/If Action Subsystem/temp down/LO HI mode R' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleRR/If Action Subsystem/temp down/LO HI mode R/HI mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleRR/If Action Subsystem/temp down/LO HI mode R/LO mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleRR/If Action Subsystem/temp down/LO HI mode R/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleRR/If Action Subsystem/temp up/LO HI mode R' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleRR/If Action Subsystem/temp up/LO HI mode R/HI mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleRR/If Action Subsystem/temp up/LO HI mode R/LO mode' - * '' : 'HVAC_model/CAN INPUT/TM_CP and FIU - только при зажигании/tempToggleRR/If Action Subsystem/temp up/LO HI mode R/not LO or HI' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/check AMB for error' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/is 3 sec after T15 passed' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Инициализация температуры' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Calculate delta time' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Coolant temp threshold' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Subsystem' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Almost equal' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим/обычное понижение темп.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим/AMBRATE_FALLING_DIFF[7]' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим/включаем ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим/обычный режим повышения' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим/обычный режим повышения/обычное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим/обычное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим/AMBRATE_RISING_DIFF[7]' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим/включаем ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим/обычный режим повышения' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим/обычный режим повышения/обычное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Almost equal' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим/обычное понижение темп.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим/AMBRATE_FALLING_DIFF[7]' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим/включаем ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим/обычный режим повышения' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим/обычный режим повышения/обычное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим/обычное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим/AMBRATE_RISING_DIFF[7]' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим/включаем ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим/обычный режим повышения' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим/обычный режим повышения/обычное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно/Almost equal' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно/Если температура опускается' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно/Если температура поднимается' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно/Если температура опускается/обычное понижение темп.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно/Если температура поднимается/границы' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Almost equal' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим/обычное понижение темп.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим/AMBRATE_FALLING_DIFF[7]' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим/включаем ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим/обычный режим повышения' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим/обычный режим повышения/обычное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим/обычное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим/AMBRATE_RISING_DIFF[7]' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим/включаем ускоренный режим' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим/обычный режим повышения' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим/обычный режим повышения/обычное повышение темп.' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/check AMB for error/sensor OK' - * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/check AMB for error/sensor error' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem1' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem2' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem3' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem4' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem5' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem6' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem7' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem8' - * '' : 'HVAC_model/CAN OUTPUT/Subsystem9' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear' - * '' : 'HVAC_model/Different blower Rear/valves_rear' - * '' : 'HVAC_model/Different blower Rear/valves_rear1' - * '' : 'HVAC_model/Different blower Rear/условие входа' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Определяем площадь сечения ' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/MATLAB Function' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/coefficients for valves' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/площадь сечения заслонок' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/пункт 21-23 (DRS for valves)' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/пункт 24 (DRS for AF)' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/пункт 25' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/пункты 18-20' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/таблица D184-E190 (Step 7 Minimum damper opening factor)' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Определяем площадь сечения /B-Pillar_ - % damper opening' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Определяем площадь сечения /MATLAB Function' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Определяем площадь сечения /MATLAB Function1' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Определяем площадь сечения /MATLAB Function2' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Определяем площадь сечения /MATLAB Function3' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Определяем площадь сечения /MATLAB Function4' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Определяем площадь сечения /MATLAB Function5' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Определяем площадь сечения /MATLAB Function6' - * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Определяем площадь сечения /MATLAB Function7' - * '' : 'HVAC_model/Electric Autodemist/Subsystem' - * '' : 'HVAC_model/Fire Extinguish & Emergency Air Cleaning/Emergency_Air_Cleaning' - * '' : 'HVAC_model/Fire Extinguish & Emergency Air Cleaning/Emergency_Air_Cleaning/EmergencyAirCleaning' - * '' : 'HVAC_model/Fire Extinguish & Emergency Air Cleaning/Emergency_Air_Cleaning/MATLAB Function' - * '' : 'HVAC_model/Fire Extinguish & Emergency Air Cleaning/Emergency_Air_Cleaning/MATLAB Function1' - * '' : 'HVAC_model/Fire Extinguish & Emergency Air Cleaning/Emergency_Air_Cleaning/MATLAB Function2' - * '' : 'HVAC_model/Fire Extinguish & Emergency Air Cleaning/Emergency_Air_Cleaning/MATLAB Function3' - * '' : 'HVAC_model/Fire Extinguish & Emergency Air Cleaning/Emergency_Air_Cleaning/MATLAB Function4' - * '' : 'HVAC_model/Fire Extinguish & Emergency Air Cleaning/Emergency_Air_Cleaning/MATLAB Function5' - * '' : 'HVAC_model/Foot 2 control/FOOT2_CONTROL' - * '' : 'HVAC_model/Foot 2 control/FOOT2_CONTROL/Foot2DuctControl_Limo_RL' - * '' : 'HVAC_model/Foot 2 control/FOOT2_CONTROL/Foot2DuctControl_Limo_RR' - * '' : 'HVAC_model/Foot 2 control/FOOT2_CONTROL/Foot2DuctControl_RL' - * '' : 'HVAC_model/Foot 2 control/FOOT2_CONTROL/Foot2DuctControl_RR' - * '' : 'HVAC_model/GlassPosition/Glass Pos Limo' - * '' : 'HVAC_model/GlassPosition/Glass Pos Limo/If Action Subsystem1' - * '' : 'HVAC_model/GlassPosition/Glass Pos Limo/If Action Subsystem2' - * '' : 'HVAC_model/GlassPosition/Glass Pos Limo/If Action Subsystem3' - * '' : 'HVAC_model/GlassPosition/Glass Pos Limo/If Action Subsystem5' - * '' : 'HVAC_model/HI LO modes/LO HI mode - FR' - * '' : 'HVAC_model/HI LO modes/LO HI mode RL' - * '' : 'HVAC_model/HI LO modes/LO HI mode RR' - * '' : 'HVAC_model/HI LO modes/set LO HI mode - FL' - * '' : 'HVAC_model/HI LO modes/LO HI mode - FR/HI mode' - * '' : 'HVAC_model/HI LO modes/LO HI mode - FR/LO mode' - * '' : 'HVAC_model/HI LO modes/LO HI mode - FR/not LO or HI' - * '' : 'HVAC_model/HI LO modes/LO HI mode RL/HI mode' - * '' : 'HVAC_model/HI LO modes/LO HI mode RL/LO mode' - * '' : 'HVAC_model/HI LO modes/LO HI mode RL/not LO or HI' - * '' : 'HVAC_model/HI LO modes/LO HI mode RR/HI mode' - * '' : 'HVAC_model/HI LO modes/LO HI mode RR/LO mode' - * '' : 'HVAC_model/HI LO modes/LO HI mode RR/not LO or HI' - * '' : 'HVAC_model/HI LO modes/set LO HI mode - FL/HI mode' - * '' : 'HVAC_model/HI LO modes/set LO HI mode - FL/LO mode' - * '' : 'HVAC_model/HI LO modes/set LO HI mode - FL/not LO or HI' - * '' : 'HVAC_model/Ionizer/Subsystem' - * '' : 'HVAC_model/Ionizer/write 1 to ionizer' - * '' : '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 Max/If Action Subsystem2/debug position' - * '' : '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 Max/If Action Subsystem2/debug position' - * '' : '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 Max/If Action Subsystem2/debug position' - * '' : '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/LO HI status for dbg/MATLAB Function1' - * '' : 'HVAC_model/Leaving the garage/Subsystem' - * '' : 'HVAC_model/Leaving the garage/Subsystem/Compare To Zero' - * '' : 'HVAC_model/MAC AC - new/MAX AC' - * '' : 'HVAC_model/MAC AC - new/MAX AC/MATLAB Function' - * '' : 'HVAC_model/MAC AC - new/MAX AC/MATLAB Function1' - * '' : 'HVAC_model/MAX DEF (Defrost) V2/MAX DEF1' - * '' : 'HVAC_model/MAX DEF (Defrost) V2/MAX DEF1/MATLAB Function' - * '' : 'HVAC_model/MAX DEF (Defrost) V2/MAX DEF1/MATLAB Function1' - * '' : 'HVAC_model/Operation mode - Full, Reduced, etc/Operation mode' - * '' : 'HVAC_model/Operation mode - Full, Reduced, etc/any message from FIU or TM_CP' - * '' : 'HVAC_model/PID Compressor/Compare To Constant1' - * '' : 'HVAC_model/PID Compressor/MATLAB Function' - * '' : 'HVAC_model/PID Compressor/MATLAB Function1' - * '' : 'HVAC_model/PID Compressor/PID' - * '' : 'HVAC_model/PID Compressor/PID/Saturation Dynamic' - * '' : 'HVAC_model/PID Compressor/PID/Saturation Dynamic3' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/Front Left Lower sensor choose' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/Front Left Upper sensor choose' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/Front Right Lower sensor choose' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/Front Right Upper sensor choose' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/LO_FLL' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/LO_FLU' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/LO_FRL' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/LO_FRU' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/LO_RL' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/LO_RR' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/MATLAB Function' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/MATLAB Function1' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/MATLAB Function2' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/MATLAB Function3' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/MATLAB Function4' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/MATLAB Function5' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/PID_TempFLL' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/PID_TempFRL' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/PID_TempFUL' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/PID_TempFUR' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/PID_TempRL' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/PID_TempRR' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/calculate dt' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/условие управления FL' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/условие управления FL1' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/условие управления FR' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/условие управления FR1' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/условие управления RL' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/условие управления RR' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/Front Left Lower sensor choose/choose sensor FLL' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/Front Left Upper sensor choose/choose sensor FRU' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/Front Right Lower sensor choose/choose sensor FRightLower' - * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/Front Right Upper sensor choose/choose sensor FRU' - * '' : 'HVAC_model/PWM + Blower Limit/BlowerLimit - by battery status and battery temp' - * '' : 'HVAC_model/PWM + Blower Limit/Operation mode is Full mode' - * '' : 'HVAC_model/PWM + Blower Limit/Write' - * '' : 'HVAC_model/PWM + Blower Limit/Write1' - * '' : 'HVAC_model/PWM + Blower Limit/Write2' - * '' : 'HVAC_model/PWM + Blower Limit/Write3' - * '' : 'HVAC_model/PWM + Blower Limit/calculate dt' - * '' : 'HVAC_model/PWM + Blower Limit/calculate dt1' - * '' : 'HVAC_model/PWM + Blower Limit/different blower rear' - * '' : 'HVAC_model/PWM + Blower Limit/filter PWM front' - * '' : 'HVAC_model/PWM + Blower Limit/filter PWM front1' - * '' : 'HVAC_model/PWM + Blower Limit/BlowerLimit - by battery status and battery temp/blowerControlBySOC' - * '' : 'HVAC_model/PWM + Blower Limit/BlowerLimit - by battery status and battery temp/blowerLimitByBattTemp' - * '' : 'HVAC_model/Power/Compare To Zero' - * '' : 'HVAC_model/Power/Compare To Zero1' - * '' : 'HVAC_model/Power/Compare To Zero2' - * '' : 'HVAC_model/Power/incar motors OFF' - * '' : 'HVAC_model/Power/incar motors ON' - * '' : 'HVAC_model/Recirculation_by_Door_Ajar/ClimatRecirculation_by_Door_Ajar' - * '' : 'HVAC_model/Recirculation_by_Door_Ajar/ClimatRecirculation_by_Door_Ajar/recirc_by_door_ajar' - * '' : 'HVAC_model/Synchronization (SYNC)/Synchronization stateflow chart' - * '' : 'HVAC_model/Synchronization (SYNC)/sync all' - * '' : 'HVAC_model/Synchronization (SYNC)/sync front' - * '' : 'HVAC_model/Synchronization (SYNC)/sync rear' - * '' : 'HVAC_model/Synchronization (SYNC)/sync all/all zone sync' - * '' : 'HVAC_model/Synchronization (SYNC)/sync front/front sync' - * '' : 'HVAC_model/Synchronization (SYNC)/sync rear/rear sync' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/DRS Valves RL' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/DRS Valves RR' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/Individual foot' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/Individual foot1' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/Max Def & MAC AC front valves' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/autodemist valves' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/different blower rear' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/foot 2 control' - * '' : '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 (заслонки)/DRS Valves RL/RL valves * percent DRS' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/DRS Valves RL/param index for mode' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/DRS Valves RR/RR valves * percent DRS' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/DRS Valves RR/param index for mode' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic manual' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic manual' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/Full 4 zone' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO/is FL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO/is FR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/Full 4 zone' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO/is FL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO/is FR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/Full 4 zone' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO/is FL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO/is FR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic manual/HI front' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic manual/HI rear' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic manual/if HI full 4 zones' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic manual/HI front/HI Both left and right' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic manual/HI front/HI Left only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic manual/HI front/HI Right only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic manual/HI front/где режим HI front И MANUAL' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic manual/HI front/где режим HI front И MANUAL/is FL manual' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic manual/HI front/где режим HI front И MANUAL/is FR manual' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic manual/HI rear/HI Both left and right' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic manual/HI rear/HI Left only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic manual/HI rear/HI Right only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic manual/HI rear/где режим HI rear И MANUAL' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic manual/HI rear/где режим HI rear И MANUAL/is RL manual' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic manual/HI rear/где режим HI rear И MANUAL/is RR manual' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO front И AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO front И AUTO/is FL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO front И AUTO/is FR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO front И AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO front И AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO front И AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO front И AUTO/is FL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO front И AUTO/is FR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO front И AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO front И AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO front И AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO front И AUTO/is FL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO front И AUTO/is FR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO front И AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO front И AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic manual/LO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic manual/LO rear' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic manual/LO/LO Both left and right' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic manual/LO/LO Left only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic manual/LO/LO Right only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic manual/LO/где режим LO front И MANUAL' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic manual/LO/где режим LO front И MANUAL/is FL manual' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic manual/LO/где режим LO front И MANUAL/is FR manual' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic manual/LO rear/LO Both left and right' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic manual/LO rear/LO Left only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic manual/LO rear/LO Right only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic manual/LO rear/где режим LO rear И MANUAL' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic manual/LO rear/где режим LO rear И MANUAL/is RL manual' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic manual/LO rear/где режим LO rear И MANUAL/is RR manual' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic manual' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic manual' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/Full 4 zone' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO/is FL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO/is FR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/Full 4 zone' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO/is FL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO/is FR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/Full 4 zone' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO/is FL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO/is FR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic manual/HI front' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic manual/HI rear' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic manual/if HI full 4 zones' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic manual/HI front/HI Both left and right' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic manual/HI front/HI Left only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic manual/HI front/HI Right only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic manual/HI front/где режим HI front И MANUAL' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic manual/HI front/где режим HI front И MANUAL/is FL manual' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic manual/HI front/где режим HI front И MANUAL/is FR manual' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic manual/HI rear/HI Both left and right' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic manual/HI rear/HI Left only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic manual/HI rear/HI Right only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic manual/HI rear/где режим HI rear И MANUAL' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic manual/HI rear/где режим HI rear И MANUAL/is RL manual' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic manual/HI rear/где режим HI rear И MANUAL/is RR manual' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO front И AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO front И AUTO/is FL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO front И AUTO/is FR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO front И AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO front И AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO front И AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO front И AUTO/is FL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO front И AUTO/is FR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO front И AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO front И AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO front И AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO front И AUTO/is FL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO front И AUTO/is FR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO front И AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO front И AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic manual/LO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic manual/LO rear' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic manual/LO/LO Both left and right' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic manual/LO/LO Left only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic manual/LO/LO Right only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic manual/LO/где режим LO front И MANUAL' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic manual/LO/где режим LO front И MANUAL/is FL manual' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic manual/LO/где режим LO front И MANUAL/is FR manual' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic manual/LO rear/LO Both left and right' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic manual/LO rear/LO Left only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic manual/LO rear/LO Right only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic manual/LO rear/где режим LO rear И MANUAL' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic manual/LO rear/где режим LO rear И MANUAL/is RL manual' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic manual/LO rear/где режим LO rear И MANUAL/is RR manual' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI rear И AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI rear И AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI rear И AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI rear И AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI rear И AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI rear И AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI rear И AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI rear И AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI rear И AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO rear И AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO rear И AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO rear И AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO rear И AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO rear И AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO rear И AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO rear И AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO rear И AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO rear И AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI rear И AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI rear И AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI rear И AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI rear И AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI rear И AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI rear И AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI rear И AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI rear И AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI rear И AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO rear И AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO rear И AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO rear И AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO rear И AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO rear И AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO rear И AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO rear И AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO rear И AUTO/is RL AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO rear И AUTO/is RR AUTO' - * '' : 'HVAC_model/Valves auto or manual (заслонки)/Max Def & MAC AC front valves/Close Foot2 Valves (0%)' - * '' : '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/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/PID valves to dbg' - * '' : 'HVAC_model/dbg CAN/Sen 0 to dbg' - * '' : 'HVAC_model/dbg CAN/actuators to dbg' - * '' : 'HVAC_model/dbg CAN/autoAF dbg' - * '' : 'HVAC_model/dbg CAN/autoduct dbg' - * '' : 'HVAC_model/dbg CAN/dbg_Act_calibration_error_model' - * '' : 'HVAC_model/dbg CAN/dbg_Act_calibration_model' - * '' : 'HVAC_model/dbg CAN/dbg_Logic_Ac' - * '' : 'HVAC_model/dbg CAN/dbg_Logic_Blower' - * '' : 'HVAC_model/dbg CAN/dbg_Logic_Rec' - * '' : 'HVAC_model/dbg CAN/dbg_Logic_State' - * '' : 'HVAC_model/dbg CAN/dbg_Logic_Valve' - * '' : 'HVAC_model/dbg CAN/dbg_Sen_Amb to dbg (ambient temp)' - * '' : 'HVAC_model/dbg CAN/dbg_Sen_Incar' - * '' : 'HVAC_model/dbg CAN/dbg_sen_Demist ' - * '' : 'HVAC_model/dbg CAN/dbg_sen_duct (ACP duct sensors) 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/dbg CAN/dbg_Logic_Ac/WinterAC_state_Front' - * '' : 'HVAC_model/dbg CAN/dbg_Logic_Ac/WinterAC_state_Rear' - * '' : 'HVAC_model/dbg CAN/dbg_Logic_Ac/WinterAC_state_Front/MATLAB Function' - * '' : 'HVAC_model/dbg CAN/dbg_Logic_Ac/WinterAC_state_Rear/MATLAB Function' - * '' : 'HVAC_model/dbg CAN/dbg_Logic_State/dbg_MaxAC' - * '' : 'HVAC_model/dbg CAN/dbg_Logic_State/select operation mode' - * '' : 'HVAC_model/dbg CAN/dbg_Logic_State/dbg_MaxAC/select MAX AC node for dbg' + * '' : 'HVAC_model/ACP/Rear_Duct/error timer' + * '' : 'HVAC_model/ACP/Rear_Duct/error timer1' + * '' : 'HVAC_model/ACP/Rear_Duct/error timer2' + * '' : 'HVAC_model/ACP/Rear_Duct/error timer3' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant1' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant10' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant11' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant12' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant13' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant14' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant15' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant16' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant17' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant18' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant2' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant3' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant4' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant5' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant6' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant7' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant8' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Compare To Constant9' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/UDS ERROR1' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/UDS ERROR2' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/UDS ERROR3' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/UDS ERROR4' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/UDS ERROR5' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/UDS ERROR6' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write 1' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write 2' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write 3' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write 4' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write 5' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write 6' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write ERROR1' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write ERROR2' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write ERROR3' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write ERROR4' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write ERROR5' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/Write ERROR6' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/error timer' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/error timer1' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/error timer2' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/error timer3' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/error timer4' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/error timer5' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct1' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct2' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct3' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct4' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct5' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct/filter duct' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct/is 3 sec after T15 passed' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct1/filter duct' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct1/is 3 sec after T15 passed' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct2/filter duct' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct2/is 3 sec after T15 passed' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct3/filter duct' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct3/is 3 sec after T15 passed' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct4/filter duct' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct4/is 3 sec after T15 passed' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct5/filter duct' + * '' : 'HVAC_model/ACP/Sensor_Front_Duct/filter duct5/is 3 sec after T15 passed' + * '' : '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/is 3 sec after T15 passed' + * '' : '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/is 3 sec after T15 passed' + * '' : '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/is 3 sec after T15 passed' + * '' : '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/is 3 sec after T15 passed' + * '' : '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/UDS ERROR' + * '' : 'HVAC_model/ACP/incar sensors/incar FL/Write ERROR' + * '' : 'HVAC_model/ACP/incar sensors/incar FL/error timer' + * '' : 'HVAC_model/ACP/incar sensors/incar FR/Compare To Constant' + * '' : 'HVAC_model/ACP/incar sensors/incar FR/Compare To Constant1' + * '' : 'HVAC_model/ACP/incar sensors/incar FR/Compare To Constant8' + * '' : 'HVAC_model/ACP/incar sensors/incar FR/UDS ERROR2' + * '' : 'HVAC_model/ACP/incar sensors/incar FR/Write ERROR2' + * '' : 'HVAC_model/ACP/incar sensors/incar FR/error timer' + * '' : 'HVAC_model/ACP/incar sensors/incar RL/Compare To Constant' + * '' : 'HVAC_model/ACP/incar sensors/incar RL/Compare To Constant1' + * '' : 'HVAC_model/ACP/incar sensors/incar RL/Compare To Constant5' + * '' : 'HVAC_model/ACP/incar sensors/incar RL/UDS ERROR1' + * '' : 'HVAC_model/ACP/incar sensors/incar RL/Write ERROR1' + * '' : 'HVAC_model/ACP/incar sensors/incar RL/error timer' + * '' : 'HVAC_model/ACP/incar sensors/incar RR/Compare To Constant' + * '' : 'HVAC_model/ACP/incar sensors/incar RR/Compare To Constant1' + * '' : 'HVAC_model/ACP/incar sensors/incar RR/Compare To Constant11' + * '' : 'HVAC_model/ACP/incar sensors/incar RR/UDS ERROR3' + * '' : 'HVAC_model/ACP/incar sensors/incar RR/Write ERROR3' + * '' : 'HVAC_model/ACP/incar sensors/incar RR/error timer' + * '' : '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_FL' + * '' : 'HVAC_model/AUTO/Zone_Climate_Logic_Auto_FR' + * '' : 'HVAC_model/AUTO/Zone_Climate_Logic_Auto_RL' + * '' : 'HVAC_model/AUTO/Zone_Climate_Logic_Auto_RR' + * '' : 'HVAC_model/AUTO/засечь переход из авто в ручной' + * '' : 'HVAC_model/AUTO/засечь переход из авто в ручной1' + * '' : 'HVAC_model/AUTO/засечь переход из авто в ручной2' + * '' : 'HVAC_model/AUTO/засечь переход из авто в ручной3' + * '' : 'HVAC_model/AUTO/Determine directions FL/AF AutoFoot' + * '' : 'HVAC_model/AUTO/Determine directions FL/AF AutoFoot summer' + * '' : 'HVAC_model/AUTO/Determine directions FL/AF Bi level' + * '' : 'HVAC_model/AUTO/Determine directions FL/AF Bi level 2' + * '' : 'HVAC_model/AUTO/Determine directions FL/AF Defrost' + * '' : 'HVAC_model/AUTO/Determine directions FL/AF Foot' + * '' : 'HVAC_model/AUTO/Determine directions FL/AF Foot + Def' + * '' : 'HVAC_model/AUTO/Determine directions FL/AF Hi (def + vent)' + * '' : 'HVAC_model/AUTO/Determine directions FL/AF Tri mode' + * '' : 'HVAC_model/AUTO/Determine directions FL/AF VENT' + * '' : 'HVAC_model/AUTO/Determine directions FL/AF VENT (fail safe)' + * '' : 'HVAC_model/AUTO/Determine directions FL/closest speed' + * '' : 'HVAC_model/AUTO/Determine directions FL/direction for front index mode' + * '' : 'HVAC_model/AUTO/Determine directions FR/AF AutoFoot' + * '' : 'HVAC_model/AUTO/Determine directions FR/AF AutoFoot summer' + * '' : 'HVAC_model/AUTO/Determine directions FR/AF Bi level' + * '' : 'HVAC_model/AUTO/Determine directions FR/AF Bi level 2' + * '' : 'HVAC_model/AUTO/Determine directions FR/AF Defrost' + * '' : 'HVAC_model/AUTO/Determine directions FR/AF Foot' + * '' : 'HVAC_model/AUTO/Determine directions FR/AF Foot + Def' + * '' : 'HVAC_model/AUTO/Determine directions FR/AF Hi (def + vent)' + * '' : 'HVAC_model/AUTO/Determine directions FR/AF Tri mode' + * '' : 'HVAC_model/AUTO/Determine directions FR/AF VENT' + * '' : 'HVAC_model/AUTO/Determine directions FR/AF VENT (fail safe)' + * '' : 'HVAC_model/AUTO/Determine directions FR/closest speed' + * '' : 'HVAC_model/AUTO/Determine directions FR/direction for front index mode' + * '' : 'HVAC_model/AUTO/Determine directions RL/AF REAR Bi Level' + * '' : 'HVAC_model/AUTO/Determine directions RL/AF REAR Foot' + * '' : 'HVAC_model/AUTO/Determine directions RL/AF REAR VENT AUTO' + * '' : 'HVAC_model/AUTO/Determine directions RL/AF REAR VENT AUTO1' + * '' : 'HVAC_model/AUTO/Determine directions RL/closest speed' + * '' : 'HVAC_model/AUTO/Determine directions RL/direction for REAR index mode' + * '' : 'HVAC_model/AUTO/Determine directions RR/AF REAR Bi Level' + * '' : 'HVAC_model/AUTO/Determine directions RR/AF REAR Foot' + * '' : 'HVAC_model/AUTO/Determine directions RR/AF REAR VENT AUTO' + * '' : 'HVAC_model/AUTO/Determine directions RR/AF REAR VENT AUTO1' + * '' : 'HVAC_model/AUTO/Determine directions RR/closest speed' + * '' : 'HVAC_model/AUTO/Determine directions RR/direction for REAR index mode1' + * '' : 'HVAC_model/Aroma logic/AromaLogic' + * '' : 'HVAC_model/Aroma logic/AromaLogic/ccuAromaLogic' + * '' : 'HVAC_model/Autodemist/Autodemist (all-season mode and winter mode)' + * '' : 'HVAC_model/Autodemist/Autodemist (all-season mode and winter mode)/Autodemist_Actions_FL' + * '' : 'HVAC_model/Autodemist/Autodemist (all-season mode and winter mode)/Autodemist_Actions_FR' + * '' : 'HVAC_model/Autodemist/Autodemist (all-season mode and winter mode)/Calculate_Autodemist_Level' + * '' : 'HVAC_model/Autodemist/Autodemist (all-season mode and winter mode)/MATLAB Function' + * '' : 'HVAC_model/Autodemist/Autodemist (all-season mode and winter mode)/autodemist to dbg' + * '' : 'HVAC_model/Autodemist/Autodemist (all-season mode and winter mode)/autodemist to dbg/MATLAB Function' + * '' : '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/DRS AF RL' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF RR' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for 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/select manual or auto FL' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/select manual or auto FR' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/select manual or auto RL' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/select manual or auto 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_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_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/DRS AF RL/RL AF * percent DRS' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF RL/param index for mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF RR/RR AF * percent DRS' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/DRS AF RR/param index for mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI rear И AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/2WVR and 3WVF open ' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI rear И AUTO/is RL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI rear И AUTO/is RR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI rear И AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/2WVR and 3WVF open ' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI rear И AUTO/is RL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI rear И AUTO/is RR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI rear И AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/2WVR open ' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI rear И AUTO/is RL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI rear И AUTO/is RR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO rear И AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO rear И AUTO/is RL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO rear И AUTO/is RR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO rear И AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO rear И AUTO/is RL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO rear И AUTO/is RR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO rear И AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO rear И AUTO/is RL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO rear И AUTO/is RR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI rear И AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI rear И AUTO/is RL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI rear И AUTO/is RR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI rear И AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI rear И AUTO/is RL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI rear И AUTO/is RR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI rear И AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI rear И AUTO/is RL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI rear И AUTO/is RR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO rear И AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO rear И AUTO/is RL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO rear И AUTO/is RR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO rear И AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO rear И AUTO/is RL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO rear И AUTO/is RR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO rear И AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO rear И AUTO/is RL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/HI-LO mode RR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO rear И AUTO/is RR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/DRS AF FL' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/Glass Position Limo FL' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/Max Def - AF calculations' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/Set 17-29 - AF calculations' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/if start control FL' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/DRS AF FL/FL AF * percent DRS' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/DRS AF FL/param index for mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO/is FL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO/is FR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO/is RL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO/is RR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/LO Left only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO/is FL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO/is FR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO/is RL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO/is RR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/LO Left only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO/is FL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO/is FR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO/is RL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO/is RR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO front И AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO front И AUTO/is FL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO front И AUTO/is FR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO front И AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO front И AUTO/is FL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO front И AUTO/is FR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO front И AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO front И AUTO/is FL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/LO HI - AF calculations/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO front И AUTO/is FR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/Set 17-29 - AF calculations/13,1,3,11 _5 AUTO mode AF_FL' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/Set 17-29 - AF calculations/Autodemist offset FL' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/Set 17-29 - AF calculations/Different Blower Front FL' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/Set 17-29 - AF calculations/Individual foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/Set 17-29 - AF calculations/Wait correction FL' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/Set 17-29 - AF calculations/is AUTO FL' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/Set 17-29 - AF calculations/13,1,3,11 _5 AUTO mode AF_FL/func g_ascAUTO_STEP_AF_F' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/if start control FL/Compare To Constant' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/if start control FL/Compare To Constant1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FL/if start control FL/Compare To Constant2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/DRS AF FR' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/Glass Position Limo FR' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/Max Def - AF calculations' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/Set 17-29 - AF calculations' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/if start control FR' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/DRS AF FR/FL AF * percent DRS' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/DRS AF FR/param index for mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO/is FL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO/is FR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO/is FL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO/is FR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO/is FL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO/is FR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO front И AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO front И AUTO/is FL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO front И AUTO/is FR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO front И AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO front И AUTO/is FL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO front И AUTO/is FR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO front И AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF AutoFoot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF AutoFoot summer' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Bi level' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Bi level 2' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Defrost' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Foot + Def' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Hi (def + vent)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF Tri mode' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF VENT' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF VENT (fail safe)' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only/AF for speed' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO front И AUTO/is FL AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/LO HI - AF calculations/HI-LO mode FR/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO front И AUTO/is FR AUTO' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/Set 17-29 - AF calculations/13,1,3,11 _5 AUTO mode AF_FR' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/Set 17-29 - AF calculations/Autodemist offset FR' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/Set 17-29 - AF calculations/Different Blower Front FR' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/Set 17-29 - AF calculations/Individual foot' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/Set 17-29 - AF calculations/Wait correction FR' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/Set 17-29 - AF calculations/is AUTO FR' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/Set 17-29 - AF calculations/13,1,3,11 _5 AUTO mode AF_FR/func g_ascAUTO_STEP_AF_F' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/if start control FR/Compare To Constant' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/if start control FR/Compare To Constant1' + * '' : 'HVAC_model/Blower speed (AF) auto or manual/Priority for FR/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/EMS_veh_02 BMS Actual Temp' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST' + * '' : 'HVAC_model/CAN INPUT/Missing messages' + * '' : 'HVAC_model/CAN INPUT/Reset Start Control step' + * '' : 'HVAC_model/CAN INPUT/Sleep_mode' + * '' : 'HVAC_model/CAN INPUT/SolarSensLeftVal_ro' + * '' : 'HVAC_model/CAN INPUT/Subsystem1' + * '' : 'HVAC_model/CAN INPUT/Subsystem2' + * '' : 'HVAC_model/CAN INPUT/Subsystem3' + * '' : 'HVAC_model/CAN INPUT/Subsystem4' + * '' : 'HVAC_model/CAN INPUT/Subsystem45' + * '' : 'HVAC_model/CAN INPUT/Subsystem46' + * '' : 'HVAC_model/CAN INPUT/Subsystem47' + * '' : 'HVAC_model/CAN INPUT/Subsystem48' + * '' : 'HVAC_model/CAN INPUT/Subsystem5' + * '' : 'HVAC_model/CAN INPUT/Subsystem50' + * '' : 'HVAC_model/CAN INPUT/Subsystem51' + * '' : 'HVAC_model/CAN INPUT/Subsystem52' + * '' : '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/TM_CP только при зажигании' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter' + * '' : 'HVAC_model/CAN INPUT/write powerDownStatus' + * '' : 'HVAC_model/CAN INPUT/условие T15 ' + * '' : 'HVAC_model/CAN INPUT/условие T15 or REST ON' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem1' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem10' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem11' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem12' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem13' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem14' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem15' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem16' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem17' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem18' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem19' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem2' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem20' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem21' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem22' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem23' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem24' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem25' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem26' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem27' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem28' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem29' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem3' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem30' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem31' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem32' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem33' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem34' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem35' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem36' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem37' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem38' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem39' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem4' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem40' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem41' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem42' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem43' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem44' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem5' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem6' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem7' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem8' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem9' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/filter for FIU_CCU1' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/filter for FIU_CCU2' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem1/If Action Subsystem' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem24/full sync action' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem24/sync front action' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem24/sync off action' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem44/sync off rear action' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem44/sync rear action' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem44/sync off rear action/logger' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/Subsystem44/sync rear action/logger' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/filter for FIU_CCU1/EAC and FIRE filter' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/filter for FIU_CCU1/MAC_AC filter' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/filter for FIU_CCU1/REST filter' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/filter for FIU_CCU1/maxDEF filter' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/filter for FIU_CCU2/EAC and FIRE filter' + * '' : 'HVAC_model/CAN INPUT/FIU 1, 2 - при зажигании или REST/filter for FIU_CCU2/REST filter' + * '' : '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/SolarSensLeftVal_ro/filter' + * '' : 'HVAC_model/CAN INPUT/SolarSensLeftVal_ro/filter/filter sensor' + * '' : 'HVAC_model/CAN INPUT/SolarSensLeftVal_ro/filter/is 3 sec after T15 passed' + * '' : 'HVAC_model/CAN INPUT/Subsystem48/filter' + * '' : 'HVAC_model/CAN INPUT/Subsystem48/filter/filter sensor' + * '' : 'HVAC_model/CAN INPUT/Subsystem48/filter/is 3 sec after T15 passed' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/AC_Max_Active' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/Compare To Constant' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/Compare To Constant1' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/Compare To Constant2' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/Compare To Constant3' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/Compare To Constant4' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/Compare To Constant5' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/Compare To Constant6' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/Compare To Constant7' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/Defrost_Active' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/Detect Increase' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/Detect Increase1' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/Detect Increase2' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/Detect Increase3' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/Detect Increase4' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/Detect Increase5' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/Detect Increase6' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/Detect Increase7' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/Front Window Heating' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/Full_Rec_Active' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/if action' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/if action1' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/if action2' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/if action4' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/tempToggleFL' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/tempToggleFR' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/tempToggleRL' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/tempToggleRR' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/if action/sync front action1' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/if action/sync front action3' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/if action1/sync front action1' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/if action1/sync front action3' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/if action2/sync front action1' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/if action2/sync front action3' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/if action4/sync front action1' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/if action4/sync front action3' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/tempToggleFL/MATLAB Function' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/tempToggleFR/Enabled Subsystem' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/tempToggleFR/MATLAB Function' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/tempToggleRL/Enabled Subsystem' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/tempToggleRL/MATLAB Function' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/tempToggleRR/Enabled Subsystem' + * '' : 'HVAC_model/CAN INPUT/TM_CP только при зажигании/tempToggleRR/MATLAB Function' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/check AMB for error' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/is 3 sec after T15 passed' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Инициализация температуры' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Calculate delta time' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Coolant temp threshold' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Subsystem' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Almost equal' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим/обычное понижение темп.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим/AMBRATE_FALLING_DIFF[7]' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура опускается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим/обычное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим/AMBRATE_RISING_DIFF[7]' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за скорости/Subsystem Reference/Если температура поднимается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Almost equal' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим/обычное понижение темп.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим/AMBRATE_FALLING_DIFF[7]' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура опускается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим/обычное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим/AMBRATE_RISING_DIFF[7]' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Быстро из-за флага/Subsystem Reference/Если температура поднимается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно/Almost equal' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно/Если температура опускается' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно/Если температура поднимается' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно/Если температура опускается/обычное понижение темп.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "прогретого" двигателя/Вычисление для движущегося авто/Медленно/Если температура поднимается/границы' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Almost equal' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим/Отключаем ускоренный режим/обычное понижение темп.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим/AMBRATE_FALLING_DIFF[7]' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура опускается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим/AMBRATE_RISING_DIFF[8]' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим/Отключаем ускоренный режим/обычное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/включен ускоренный режим/Продолжаем в ускоренном/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим/AMBRATE_RISING_DIFF[7]' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим/включаем ускоренный режим' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим/обычный режим повышения' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим/включаем ускоренный режим/ускоренное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/10.2 filter_sensor_ambient/Фильтрация температуры/Режим "холодного" двигателя/Если температура поднимается/обычный режим/обычный режим повышения/обычное повышение темп.' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/check AMB for error/sensor OK' + * '' : 'HVAC_model/CAN INPUT/amb_temp_raw and filter/check AMB for error/sensor error' + * '' : 'HVAC_model/CAN OUTPUT/REST is ON' + * '' : 'HVAC_model/CAN OUTPUT/REST is ON1' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem1' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem2' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem3' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem4' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem5' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem6' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem7' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem8' + * '' : 'HVAC_model/CAN OUTPUT/Subsystem9' + * '' : 'HVAC_model/Different blower Front/Different Blower Front' + * '' : 'HVAC_model/Different blower Front/valves_front' + * '' : 'HVAC_model/Different blower Front/valves_front1' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Different Blower Front - Step 2' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Front Diff Blr order - Step 3 and so on' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/Selector' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Different Blower Front - Step 2/11. Определяем площадь сечения ' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Different Blower Front - Step 2/AF умножили на коэфф' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Different Blower Front - Step 2/coefficients for valves ' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Different Blower Front - Step 2/площадь сечения заслонок' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Different Blower Front - Step 2/пункт 21-23' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Different Blower Front - Step 2/пункт 24' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Different Blower Front - Step 2/пункт 25' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Different Blower Front - Step 2/пункты 18-20' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Different Blower Front - Step 2/таблица D184-E190 (Step 7 Minimum damper opening factor)' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Different Blower Front - Step 2/11. Определяем площадь сечения /B-Pillar_ - % damper opening' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Different Blower Front - Step 2/11. Определяем площадь сечения /MATLAB Function' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Different Blower Front - Step 2/11. Определяем площадь сечения /MATLAB Function1' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Different Blower Front - Step 2/11. Определяем площадь сечения /MATLAB Function2' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Different Blower Front - Step 2/11. Определяем площадь сечения /MATLAB Function3' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Different Blower Front - Step 2/11. Определяем площадь сечения /MATLAB Function4' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Different Blower Front - Step 2/11. Определяем площадь сечения /MATLAB Function5' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Different Blower Front - Step 2/11. Определяем площадь сечения /MATLAB Function6' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Different Blower Front - Step 2/11. Определяем площадь сечения /MATLAB Function7' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Front Diff Blr order - Step 3 and so on/Central Section coefficient matrix' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Front Diff Blr order - Step 3 and so on/Coefficient AF matrix' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Front Diff Blr order - Step 3 and so on/Coefficient pwm matrix' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Front Diff Blr order - Step 3 and so on/Foot. Section coefficient matrix' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Front Diff Blr order - Step 3 and so on/MATLAB Function' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Front Diff Blr order - Step 3 and so on/Side Section coefficient matrix' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Front Diff Blr order - Step 3 and so on/Step 10' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Front Diff Blr order - Step 3 and so on/Step 11 - new AF' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Front Diff Blr order - Step 3 and so on/Step 7' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Front Diff Blr order - Step 3 and so on/Step 8' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Front Diff Blr order - Step 3 and so on/Step 9' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Front Diff Blr order - Step 3 and so on/Subsystem Reference' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Front Diff Blr order - Step 3 and so on/Subsystem Reference/11. Определяем площадь сечения ' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Front Diff Blr order - Step 3 and so on/Subsystem Reference/AF умножили на коэфф' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Front Diff Blr order - Step 3 and so on/Subsystem Reference/coefficients for valves ' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Front Diff Blr order - Step 3 and so on/Subsystem Reference/площадь сечения заслонок' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Front Diff Blr order - Step 3 and so on/Subsystem Reference/пункт 21-23' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Front Diff Blr order - Step 3 and so on/Subsystem Reference/пункт 24' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Front Diff Blr order - Step 3 and so on/Subsystem Reference/пункт 25' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Front Diff Blr order - Step 3 and so on/Subsystem Reference/пункты 18-20' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Front Diff Blr order - Step 3 and so on/Subsystem Reference/таблица D184-E190 (Step 7 Minimum damper opening factor)' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Front Diff Blr order - Step 3 and so on/Subsystem Reference/11. Определяем площадь сечения /B-Pillar_ - % damper opening' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Front Diff Blr order - Step 3 and so on/Subsystem Reference/11. Определяем площадь сечения /MATLAB Function' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Front Diff Blr order - Step 3 and so on/Subsystem Reference/11. Определяем площадь сечения /MATLAB Function1' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Front Diff Blr order - Step 3 and so on/Subsystem Reference/11. Определяем площадь сечения /MATLAB Function2' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Front Diff Blr order - Step 3 and so on/Subsystem Reference/11. Определяем площадь сечения /MATLAB Function3' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Front Diff Blr order - Step 3 and so on/Subsystem Reference/11. Определяем площадь сечения /MATLAB Function4' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Front Diff Blr order - Step 3 and so on/Subsystem Reference/11. Определяем площадь сечения /MATLAB Function5' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Front Diff Blr order - Step 3 and so on/Subsystem Reference/11. Определяем площадь сечения /MATLAB Function6' + * '' : 'HVAC_model/Different blower Front/Different Blower Front/13,1,3,5 Front Diff Blr order - Step 3 and so on/Subsystem Reference/11. Определяем площадь сечения /MATLAB Function7' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear' + * '' : 'HVAC_model/Different blower Rear/valves_rear' + * '' : 'HVAC_model/Different blower Rear/valves_rear1' + * '' : 'HVAC_model/Different blower Rear/условие входа' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Определяем площадь сечения ' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/MATLAB Function' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/coefficients for valves' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/площадь сечения заслонок' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/пункт 21-23 (DRS for valves)' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/пункт 24 (DRS for AF)' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/пункт 25' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/пункты 18-20' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/таблица D184-E190 (Step 7 Minimum damper opening factor)' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Определяем площадь сечения /B-Pillar_ - % damper opening' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Определяем площадь сечения /MATLAB Function' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Определяем площадь сечения /MATLAB Function1' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Определяем площадь сечения /MATLAB Function2' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Определяем площадь сечения /MATLAB Function3' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Определяем площадь сечения /MATLAB Function4' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Определяем площадь сечения /MATLAB Function5' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Определяем площадь сечения /MATLAB Function6' + * '' : 'HVAC_model/Different blower Rear/DIFFERENT BLOWER - Rear/11. Определяем площадь сечения /MATLAB Function7' + * '' : 'HVAC_model/Electric Autodemist/Subsystem' + * '' : 'HVAC_model/Fire Extinguish & Emergency Air Cleaning/Emergency_Air_Cleaning' + * '' : 'HVAC_model/Fire Extinguish & Emergency Air Cleaning/Emergency_Air_Cleaning/EmergencyAirCleaning' + * '' : 'HVAC_model/Fire Extinguish & Emergency Air Cleaning/Emergency_Air_Cleaning/MATLAB Function' + * '' : 'HVAC_model/Fire Extinguish & Emergency Air Cleaning/Emergency_Air_Cleaning/MATLAB Function1' + * '' : 'HVAC_model/Fire Extinguish & Emergency Air Cleaning/Emergency_Air_Cleaning/MATLAB Function2' + * '' : 'HVAC_model/Fire Extinguish & Emergency Air Cleaning/Emergency_Air_Cleaning/MATLAB Function3' + * '' : 'HVAC_model/Fire Extinguish & Emergency Air Cleaning/Emergency_Air_Cleaning/MATLAB Function4' + * '' : 'HVAC_model/Fire Extinguish & Emergency Air Cleaning/Emergency_Air_Cleaning/MATLAB Function5' + * '' : 'HVAC_model/Foot 2 control/FOOT2_CONTROL' + * '' : 'HVAC_model/Foot 2 control/FOOT2_CONTROL/Foot2DuctControl_Limo_RL' + * '' : 'HVAC_model/Foot 2 control/FOOT2_CONTROL/Foot2DuctControl_Limo_RR' + * '' : 'HVAC_model/Foot 2 control/FOOT2_CONTROL/Foot2DuctControl_RL' + * '' : 'HVAC_model/Foot 2 control/FOOT2_CONTROL/Foot2DuctControl_RR' + * '' : 'HVAC_model/GlassPosition/Glass Pos Limo' + * '' : 'HVAC_model/GlassPosition/Glass Pos Limo/If Action Subsystem1' + * '' : 'HVAC_model/GlassPosition/Glass Pos Limo/If Action Subsystem2' + * '' : 'HVAC_model/GlassPosition/Glass Pos Limo/If Action Subsystem3' + * '' : 'HVAC_model/GlassPosition/Glass Pos Limo/If Action Subsystem5' + * '' : 'HVAC_model/HI LO modes/LO HI mode - FR' + * '' : 'HVAC_model/HI LO modes/LO HI mode RL' + * '' : 'HVAC_model/HI LO modes/LO HI mode RR' + * '' : 'HVAC_model/HI LO modes/set LO HI mode - FL' + * '' : 'HVAC_model/HI LO modes/LO HI mode - FR/HI mode' + * '' : 'HVAC_model/HI LO modes/LO HI mode - FR/LO mode' + * '' : 'HVAC_model/HI LO modes/LO HI mode - FR/not LO or HI' + * '' : 'HVAC_model/HI LO modes/LO HI mode RL/HI mode' + * '' : 'HVAC_model/HI LO modes/LO HI mode RL/LO mode' + * '' : 'HVAC_model/HI LO modes/LO HI mode RL/not LO or HI' + * '' : 'HVAC_model/HI LO modes/LO HI mode RR/HI mode' + * '' : 'HVAC_model/HI LO modes/LO HI mode RR/LO mode' + * '' : 'HVAC_model/HI LO modes/LO HI mode RR/not LO or HI' + * '' : 'HVAC_model/HI LO modes/set LO HI mode - FL/HI mode' + * '' : 'HVAC_model/HI LO modes/set LO HI mode - FL/LO mode' + * '' : 'HVAC_model/HI LO modes/set LO HI mode - FL/not LO or HI' + * '' : 'HVAC_model/Ionizer/Subsystem' + * '' : 'HVAC_model/Ionizer/write 1 to ionizer' + * '' : 'HVAC_model/LIN/CHANEL0' + * '' : 'HVAC_model/LIN/CHANEL1' + * '' : 'HVAC_model/LIN/CHANEL2' + * '' : 'HVAC_model/LIN/CHANEL3' + * '' : 'HVAC_model/LIN/CHANEL4' + * '' : '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 Max/If Action Subsystem2/debug position' + * '' : '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 koef 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 Constant1' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem1/Compare To Constant2' + * '' : '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 LIN 0' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Send position LIN 0/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 LIN 0' + * '' : 'HVAC_model/LIN/CHANEL0/Homing/Switch Case Action Subsystem4/Send position LIN 0/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 Max/If Action Subsystem2/debug position' + * '' : '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 Constant1' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem1/Compare To Constant2' + * '' : '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/Subsystem Reference' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Subsystem Reference/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 LIN 1' + * '' : 'HVAC_model/LIN/CHANEL1/Homing/Switch Case Action Subsystem4/Send position LIN 1/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 Max/If Action Subsystem2/debug position' + * '' : '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 Constant1' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem1/Compare To Constant2' + * '' : '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/Subsystem Reference' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem3/If Action Subsystem/If Action Subsystem1/Subsystem Reference/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 LIN 2' + * '' : 'HVAC_model/LIN/CHANEL2/Homing/Switch Case Action Subsystem4/Send position LIN 2/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/LO HI status for dbg/MATLAB Function1' + * '' : 'HVAC_model/Leaving the garage/F# Temp set LO//HI turned on' + * '' : 'HVAC_model/Leaving the garage/Subsystem' + * '' : 'HVAC_model/Leaving the garage/Subsystem/Compare To Zero' + * '' : 'HVAC_model/MAC AC - new/MAX AC' + * '' : 'HVAC_model/MAC AC - new/MAX AC/MATLAB Function' + * '' : 'HVAC_model/MAC AC - new/MAX AC/MATLAB Function1' + * '' : 'HVAC_model/MAX DEF (Defrost) V2/MAX DEF1' + * '' : 'HVAC_model/MAX DEF (Defrost) V2/MAX DEF1/MATLAB Function' + * '' : 'HVAC_model/MAX DEF (Defrost) V2/MAX DEF1/MATLAB Function1' + * '' : 'HVAC_model/Operation mode - Full, Reduced, etc/Operation mode' + * '' : 'HVAC_model/Operation mode - Full, Reduced, etc/any message from FIU or TM_CP' + * '' : 'HVAC_model/PID Compressor/Compare To Constant1' + * '' : 'HVAC_model/PID Compressor/MATLAB Function' + * '' : 'HVAC_model/PID Compressor/MATLAB Function1' + * '' : 'HVAC_model/PID Compressor/PID' + * '' : 'HVAC_model/PID Compressor/PID/Saturation Dynamic' + * '' : 'HVAC_model/PID Compressor/PID/Saturation Dynamic3' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/Front Left Lower sensor choose' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/Front Left Upper sensor choose' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/Front Right Lower sensor choose' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/Front Right Upper sensor choose' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/LO_FLL' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/LO_FLU' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/LO_FRL' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/LO_FRU' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/LO_RL' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/LO_RR' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/MATLAB Function' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/MATLAB Function1' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/MATLAB Function2' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/MATLAB Function3' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/MATLAB Function4' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/MATLAB Function5' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/PID_TempFLL' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/PID_TempFRL' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/PID_TempFUL' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/PID_TempFUR' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/PID_TempRL' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/PID_TempRR' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/calculate dt' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/условие - EAC or FIRE не запрещают' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/условие управления FL' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/условие управления FL1' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/условие управления FR1' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/условие управления RL' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/условие управления RR' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/Front Left Lower sensor choose/choose sensor FLL' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/Front Left Upper sensor choose/choose sensor FRU' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/Front Right Lower sensor choose/choose sensor FRightLower' + * '' : 'HVAC_model/PID duct - ПИД регулятор заслонок/Front Right Upper sensor choose/choose sensor FRU' + * '' : 'HVAC_model/PWM + Blower Limit/BlowerLimit - by battery status and battery temp' + * '' : 'HVAC_model/PWM + Blower Limit/Operation mode is Full mode or REST' + * '' : 'HVAC_model/PWM + Blower Limit/Write' + * '' : 'HVAC_model/PWM + Blower Limit/Write1' + * '' : 'HVAC_model/PWM + Blower Limit/Write2' + * '' : 'HVAC_model/PWM + Blower Limit/Write3' + * '' : 'HVAC_model/PWM + Blower Limit/calculate dt' + * '' : 'HVAC_model/PWM + Blower Limit/calculate dt1' + * '' : 'HVAC_model/PWM + Blower Limit/different blower rear' + * '' : 'HVAC_model/PWM + Blower Limit/filter PWM front' + * '' : 'HVAC_model/PWM + Blower Limit/filter PWM rear' + * '' : 'HVAC_model/PWM + Blower Limit/BlowerLimit - by battery status and battery temp/blowerControlBySOC' + * '' : 'HVAC_model/PWM + Blower Limit/BlowerLimit - by battery status and battery temp/blowerLimitByBattTemp' + * '' : 'HVAC_model/PWM + Blower Limit/Operation mode is Full mode or REST/REST is ON' + * '' : 'HVAC_model/Power/Compare To Zero' + * '' : 'HVAC_model/Power/Compare To Zero1' + * '' : 'HVAC_model/Power/Compare To Zero2' + * '' : 'HVAC_model/Power/incar motors OFF' + * '' : 'HVAC_model/Power/incar motors ON' + * '' : 'HVAC_model/REST/REST' + * '' : 'HVAC_model/REST/REST/MATLAB Function' + * '' : 'HVAC_model/REST/REST/MATLAB Function1' + * '' : 'HVAC_model/REST/REST/REST_Mode' + * '' : 'HVAC_model/REST/REST/Обнулить CCU_Rest_req ' + * '' : 'HVAC_model/Recirculation_by_Door_Ajar/ClimatRecirculation_by_Door_Ajar' + * '' : 'HVAC_model/Recirculation_by_Door_Ajar/ClimatRecirculation_by_Door_Ajar/recirc_by_door_ajar' + * '' : 'HVAC_model/Synchronization (SYNC)/Synchronization stateflow chart' + * '' : 'HVAC_model/Synchronization (SYNC)/sync all' + * '' : 'HVAC_model/Synchronization (SYNC)/sync front' + * '' : 'HVAC_model/Synchronization (SYNC)/sync rear' + * '' : 'HVAC_model/Synchronization (SYNC)/sync all/all zone sync' + * '' : 'HVAC_model/Synchronization (SYNC)/sync front/front sync' + * '' : 'HVAC_model/Synchronization (SYNC)/sync rear/rear sync' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/DRS Valves RL' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/DRS Valves RR' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/Individual foot' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/Individual foot1' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/Max Def & MAC AC front valves' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/autodemist valves' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/different blower front' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/different blower rear' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/foot 2 control' + * '' : '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 (заслонки)/without Rear HVAC' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/DRS Valves RL/RL valves * percent DRS' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/DRS Valves RL/param index for mode' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/DRS Valves RR/RR valves * percent DRS' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/DRS Valves RR/param index for mode' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic manual' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic manual' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/Full 4 zone' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO/is FL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO/is FR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/Full 4 zone' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO/is FL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO/is FR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/Full 4 zone' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO/is FL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO/is FR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic manual/HI front' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic manual/HI rear' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic manual/if HI full 4 zones' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic manual/HI front/HI Both left and right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic manual/HI front/HI Left only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic manual/HI front/HI Right only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic manual/HI front/где режим HI front И MANUAL' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic manual/HI front/где режим HI front И MANUAL/is FL manual' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic manual/HI front/где режим HI front И MANUAL/is FR manual' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic manual/HI rear/HI Both left and right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic manual/HI rear/HI Left only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic manual/HI rear/HI Right only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic manual/HI rear/где режим HI rear И MANUAL' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic manual/HI rear/где режим HI rear И MANUAL/is RL manual' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/HI logic manual/HI rear/где режим HI rear И MANUAL/is RR manual' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO front И AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO front И AUTO/is FL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO front И AUTO/is FR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO front И AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO front И AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO front И AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO front И AUTO/is FL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO front И AUTO/is FR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO front И AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO front И AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO front И AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO front И AUTO/is FL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO front И AUTO/is FR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO front И AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO front И AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic manual/LO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic manual/LO rear' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic manual/LO/LO Both left and right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic manual/LO/LO Left only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic manual/LO/LO Right only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic manual/LO/где режим LO front И MANUAL' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic manual/LO/где режим LO front И MANUAL/is FL manual' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic manual/LO/где режим LO front И MANUAL/is FR manual' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic manual/LO rear/LO Both left and right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic manual/LO rear/LO Left only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic manual/LO rear/LO Right only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic manual/LO rear/где режим LO rear И MANUAL' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic manual/LO rear/где режим LO rear И MANUAL/is RL manual' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL/LO logic manual/LO rear/где режим LO rear И MANUAL/is RR manual' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic manual' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic manual' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/Full 4 zone' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO/is FL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO/is FR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI front И AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/Full 4 zone' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO/is FL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO/is FR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI front И AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/Full 4 zone' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO/is FL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO/is FR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI front И AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic manual/HI front' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic manual/HI rear' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic manual/if HI full 4 zones' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic manual/HI front/HI Both left and right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic manual/HI front/HI Left only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic manual/HI front/HI Right only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic manual/HI front/где режим HI front И MANUAL' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic manual/HI front/где режим HI front И MANUAL/is FL manual' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic manual/HI front/где режим HI front И MANUAL/is FR manual' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic manual/HI rear/HI Both left and right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic manual/HI rear/HI Left only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic manual/HI rear/HI Right only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic manual/HI rear/где режим HI rear И MANUAL' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic manual/HI rear/где режим HI rear И MANUAL/is RL manual' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/HI logic manual/HI rear/где режим HI rear И MANUAL/is RR manual' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/Full 4 zone' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO front И AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO front И AUTO/is FL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO front И AUTO/is FR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO front И AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO front И AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/Full 4 zone' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO front И AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO front И AUTO/is FL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO front И AUTO/is FR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO front И AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO front И AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/Full 4 zone' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO front И AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO front И AUTO/is FL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO front И AUTO/is FR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO front И AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO front И AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic manual/LO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic manual/LO rear' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic manual/LO/LO Both left and right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic manual/LO/LO Left only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic manual/LO/LO Right only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic manual/LO/где режим LO front И MANUAL' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic manual/LO/где режим LO front И MANUAL/is FL manual' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic manual/LO/где режим LO front И MANUAL/is FR manual' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic manual/LO rear/LO Both left and right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic manual/LO rear/LO Left only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic manual/LO rear/LO Right only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic manual/LO rear/где режим LO rear И MANUAL' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic manual/LO rear/где режим LO rear И MANUAL/is RL manual' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode FL1/LO logic manual/LO rear/где режим LO rear И MANUAL/is RR manual' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI rear И AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI rear И AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI rear И AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI rear И AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI rear И AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI rear И AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI rear И AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI rear И AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI rear И AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO rear И AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO rear И AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO rear И AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO rear И AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO rear И AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO rear И AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO rear И AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO rear И AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO rear И AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Both left and right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Left only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/HI Right only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI rear И AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI rear И AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 0-1/где режим HI rear И AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Both left and right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Left only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/HI Right only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI rear И AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI rear И AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 2-3/где режим HI rear И AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Both left and right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Left only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/HI Right only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI rear И AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI rear И AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/HI logic - auto mode/HI auto LV 0-5/LVL 4-5/где режим HI rear И AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Both left and right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Left only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/LO Right only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO rear И AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO rear И AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 0-1/где режим LO rear И AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Both left and right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Left only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/LO Right only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO rear И AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO rear И AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 2-3/где режим LO rear И AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Both left and right' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Left only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/LO Right only' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO rear И AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO rear И AUTO/is RL AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/HI-LO mode RL1/LO logic - auto mode/LO auto LV 0-5/LVL 4-5/где режим LO rear И AUTO/is RR AUTO' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/Max Def & MAC AC front valves/Close Foot2 Valves (0%)' + * '' : '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_front' + * '' : 'HVAC_model/Valves auto or manual (заслонки)/valves in manual mode /Front zone valves/Front Right Valves - manual directions/valves_front' + * '' : '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/Valves auto or manual (заслонки)/without Rear HVAC/replace Foot2' + * '' : '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/PID valves to dbg' + * '' : 'HVAC_model/dbg CAN/Sen 0 to dbg' + * '' : 'HVAC_model/dbg CAN/actuators to dbg' + * '' : 'HVAC_model/dbg CAN/autoAF dbg' + * '' : 'HVAC_model/dbg CAN/autoduct dbg' + * '' : 'HVAC_model/dbg CAN/dbg_Act_calibration_error_model' + * '' : 'HVAC_model/dbg CAN/dbg_Act_calibration_model' + * '' : 'HVAC_model/dbg CAN/dbg_Logic_Ac' + * '' : 'HVAC_model/dbg CAN/dbg_Logic_Blower' + * '' : 'HVAC_model/dbg CAN/dbg_Logic_Rec' + * '' : 'HVAC_model/dbg CAN/dbg_Logic_State' + * '' : 'HVAC_model/dbg CAN/dbg_Logic_Valve' + * '' : 'HVAC_model/dbg CAN/dbg_Sen_Amb to dbg (ambient temp)' + * '' : 'HVAC_model/dbg CAN/dbg_Sen_Incar' + * '' : 'HVAC_model/dbg CAN/dbg_sen_Demist ' + * '' : 'HVAC_model/dbg CAN/dbg_sen_duct (ACP duct sensors) 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/dbg CAN/dbg_Logic_Ac/WinterAC_state_Front' + * '' : 'HVAC_model/dbg CAN/dbg_Logic_Ac/WinterAC_state_Rear' + * '' : 'HVAC_model/dbg CAN/dbg_Logic_Ac/WinterAC_state_Front/MATLAB Function' + * '' : 'HVAC_model/dbg CAN/dbg_Logic_Ac/WinterAC_state_Rear/MATLAB Function' + * '' : 'HVAC_model/dbg CAN/dbg_Logic_State/REST mode for dbg' + * '' : 'HVAC_model/dbg CAN/dbg_Logic_State/dbg_MaxAC' + * '' : 'HVAC_model/dbg CAN/dbg_Logic_State/select operation mode' + * '' : 'HVAC_model/dbg CAN/dbg_Logic_State/REST mode for dbg/MATLAB Function' + * '' : 'HVAC_model/dbg CAN/dbg_Logic_State/dbg_MaxAC/select MAX AC node for dbg' + * '' : 'HVAC_model/wait correction AF Front/all_correction_max' + * '' : 'HVAC_model/wait correction AF Front/all_correction_rates' + * '' : 'HVAC_model/wait correction AF Front/correction_wait_time FL' + * '' : 'HVAC_model/wait correction AF Front/correction_wait_time FR' + * '' : 'HVAC_model/wait correction AF Front/wait correсtion calculations' */ #endif /* HVAC_model_h_ */ diff --git a/MODULES/HVAC_M7_MODEL/HVAC_model_data.c b/MODULES/HVAC_M7_MODEL/HVAC_model_data.c index 41dd09a..1f2b277 100644 --- a/MODULES/HVAC_M7_MODEL/HVAC_model_data.c +++ b/MODULES/HVAC_M7_MODEL/HVAC_model_data.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'HVAC_model'. * - * Model version : 1.1879 + * Model version : 1.1964 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Wed Oct 28 12:18:29 2026 + * C/C++ source code generated on : Mon Nov 9 11:17:15 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) */ @@ -91,8 +91,8 @@ 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 }, @@ -101,88 +101,98 @@ const ConstP rtConstP = { */ { 120U, 100U }, + /* Pooled Parameter (Expression: [0 20 40 60 80 100 120 140 160]) + * Referenced by: + * '/Central Section coefficient ' + * '/Coefficient AF' + * '/Coefficient pwm' + * '/Foot. Section coefficient' + * '/Side Section coefficient' + */ + { 5U, 8U }, + /* 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: int16([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, 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, @@ -260,56 +270,56 @@ const ConstP rtConstP = { /* Pooled Parameter (Expression: int16([-50 -40 -30 -20 -10 0 10 20 30 40 50])) * Referenced by: - * '/AUTODEMIST_OFFSET_LEFT' - * '/AUTODEMIST_OFFSET_RIGHT' + * '/AUTODEMIST_OFFSET_LEFT' + * '/AUTODEMIST_OFFSET_RIGHT' */ { -50, -40, -30, -20, -10, 0, 10, 20, 30, 40, 50 }, /* Pooled Parameter (Expression: [0, 25, 50, 100]) * Referenced by: - * '/FL_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' - * '/FR_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' + * '/FL_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' + * '/FR_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' */ { 0, 25, 50, 100 }, /* Pooled Parameter (Expression: [170, 180, 190, 200]) * Referenced by: - * '/FL_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' - * '/FR_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' + * '/FL_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' + * '/FR_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' */ { 170, 180, 190, 200 }, /* Computed Parameter: GetLVLfortemp_tableData - * Referenced by: '/Get LVL for temp' + * Referenced by: '/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 }, /* Computed Parameter: Max_Def_U_Dtg_bp01Data - * Referenced by: '/Max_Def_U_Dtg' + * Referenced by: '/Max_Def_U_Dtg' */ { -300, -200, -100, 0, 100, 200, 300, 400, 500, 600 }, /* Expression: int16([-10,0, 20, 50, 60, 70]) - * Referenced by: '/Max_blower_speed' + * Referenced by: '/Max_blower_speed' */ { -10, 0, 20, 50, 60, 70 }, /* 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: int16([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 Table4' - * '/1-D Lookup Table7' + * '/1-D Lookup Table4' + * '/1-D Lookup Table7' */ { 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, @@ -383,9 +393,9 @@ const ConstP rtConstP = { /* Pooled Parameter (Mixed Expressions) * Referenced by: - * '/1-D Lookup Table4' - * '/1-D Lookup Table7' - * '/1-D Lookup Table4' + * '/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, @@ -466,10 +476,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, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 837, 816, 797, 780, 763, 748, 733, 719, 706, 693, 681, 670, 659, 648, 638, @@ -1271,69 +1281,89 @@ const ConstP rtConstP = { 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100 }, + /* Pooled Parameter (Expression: ) + * Referenced by: + * '/Central Section coefficient ' + * '/Coefficient AF' + * '/Coefficient pwm' + * '/Foot. Section coefficient' + * '/Side Section coefficient' + */ + { 1, 2, 3, 4, 5, 6 }, + + /* Pooled Parameter (Expression: [1:6]) + * Referenced by: + * '/Central Section coefficient ' + * '/Coefficient AF' + * '/Coefficient pwm' + * '/Foot. Section coefficient' + * '/Side Section coefficient' + */ + { 0, 20, 40, 60, 80, 100, 120, 140, 160 }, + /* 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 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 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: int16([0:4:4092])) * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table' - * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table3' + * '/1-D Lookup Table' + * '/1-D Lookup Table' + * '/1-D Lookup Table2' + * '/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, @@ -1427,226 +1457,237 @@ 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 }, /* Pooled Parameter (Expression: [1050 1250 1175 1195 1315 1300 1485 1440 1195]) * Referenced by: * '/Data Store Memory121' - * '/ACT1' - * '/ACT1' + * '/ACT1' + * '/ACT1' */ { 1050U, 1250U, 1175U, 1195U, 1315U, 1300U, 1485U, 1440U, 1195U }, /* Pooled Parameter (Expression: [1225 1320 1270 1540 1480 1175 0 0 0]) * Referenced by: * '/Data Store Memory123' - * '/ACT1' + * '/ACT1' */ { 1225U, 1320U, 1270U, 1540U, 1480U, 1175U, 0U, 0U, 0U }, /* Computed Parameter: ACT1_Value - * Referenced by: '/ACT1' + * Referenced by: '/ACT1' */ { 1225U, 1320U, 1270U, 1540U, 1480U, 1175U }, /* Pooled Parameter (Expression: [3075 3075 1605 1840 1650 1635 1820 1650 0]) * Referenced by: * '/Data Store Memory124' - * '/ACT1' + * '/ACT1' */ { 3075U, 3075U, 1605U, 1840U, 1650U, 1635U, 1820U, 1650U, 0U }, /* Computed Parameter: ACT1_Value_m - * Referenced by: '/ACT1' + * Referenced by: '/ACT1' */ { 3075U, 3075U, 1605U, 1840U, 1650U, 1635U, 1820U, 1650U }, /* Computed Parameter: FRONT_HVAC_LIMITED_tableData - * Referenced by: '/FRONT_HVAC_LIMITED' + * Referenced by: '/FRONT_HVAC_LIMITED' */ { 1000U, 1000U, 800U, 600U, 400U, 200U }, /* Pooled Parameter (Expression: [0, 1, 2, 3, 4, 5]) * Referenced by: - * '/FRONT_HVAC_LIMITED' - * '/REAR_HVAC_LIMITED' + * '/FRONT_HVAC_LIMITED' + * '/REAR_HVAC_LIMITED' */ { 0U, 1U, 2U, 3U, 4U, 5U }, /* Computed Parameter: REAR_HVAC_LIMITED_tableData - * Referenced by: '/REAR_HVAC_LIMITED' + * Referenced by: '/REAR_HVAC_LIMITED' */ { 1000U, 1000U, 800U, 600U, 400U, 0U }, /* Pooled Parameter (Expression: [60 60 60 60 100 100 100 100 0]) * Referenced by: - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' */ { 60U, 60U, 60U, 60U, 100U, 100U, 100U, 100U, 0U }, /* Pooled Parameter (Expression: [60 60 60 60 100 0 100 0 0]) * Referenced by: - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' */ { 60U, 60U, 60U, 60U, 100U, 0U, 100U, 0U, 0U }, /* Pooled Parameter (Expression: [60 60 60 60 100 100 100 100 100]) * Referenced by: - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' */ { 60U, 60U, 60U, 60U, 100U, 100U, 100U, 100U, 100U }, /* Pooled Parameter (Expression: [60 60 60 60 100 0 100 0 50]) * Referenced by: - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' */ { 60U, 60U, 60U, 60U, 100U, 0U, 100U, 0U, 50U }, /* Pooled Parameter (Expression: [60 60 60 60 100 0 100 0 100]) * Referenced by: - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' */ { 60U, 60U, 60U, 60U, 100U, 0U, 100U, 0U, 100U }, /* Pooled Parameter (Expression: [100 100 100 100 20 0 20 0]) * Referenced by: - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' */ { 100U, 100U, 100U, 100U, 20U, 0U, 20U, 0U }, /* Pooled Parameter (Expression: [100 100 100 100 20 20]) * Referenced by: - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' */ { 100U, 100U, 100U, 100U, 20U, 20U }, /* Pooled Parameter (Expression: [70 40 40 70 100 100]) * Referenced by: - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' */ { 70U, 40U, 40U, 70U, 100U, 100U }, /* Pooled Parameter (Expression: [100 100 100 100 0 0]) * Referenced by: - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' + * '/Constant' */ { 100U, 100U, 100U, 100U, 0U, 0U }, /* Pooled Parameter (Expression: [0 0 100 100 0]) * Referenced by: - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' */ { 0U, 0U, 100U, 100U, 0U }, + /* Pooled Parameter (Expression: ) + * Referenced by: + * '/correction_max FL' + * '/correction_max FL1' + * '/correction_rate FL' + * '/correction_rate FR' + * '/wait time FL' + * '/wait time FR' + */ + { 170U, 190U, 210U, 230U, 250U, 270U, 290U }, + /* Pooled Parameter (Expression: [1:7]) * Referenced by: - * '/1-D Lookup Table3' - * '/1-D Lookup Table4' - * '/1-D Lookup Table5' + * '/1-D Lookup Table3' + * '/1-D Lookup Table4' + * '/1-D Lookup Table5' */ { 1U, 2U, 3U, 4U, 5U, 6U, 7U }, /* Pooled Parameter (Mixed Expressions) * Referenced by: - * '/1-D Lookup Table' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' - * '/Max_blower_speed_for_ui_step' + * '/1-D Lookup Table' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/Max_blower_speed_for_ui_step' */ { 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 Table1' - * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' * '/1-D Lookup Table1' * '/1-D Lookup Table2' * '/1-D Lookup Table1' * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' * '/1-D Lookup Table1' * '/1-D Lookup Table2' * '/1-D Lookup Table1' * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' * '/1-D Lookup Table1' * '/1-D Lookup Table2' * '/1-D Lookup Table1' * '/1-D Lookup Table2' - * '/1-D Lookup Table1' - * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/1-D Lookup Table2' + * '/1-D Lookup Table1' + * '/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/MODULES/HVAC_M7_MODEL/HVAC_model_private.h b/MODULES/HVAC_M7_MODEL/HVAC_model_private.h index 07062c9..5bd2dba 100644 --- a/MODULES/HVAC_M7_MODEL/HVAC_model_private.h +++ b/MODULES/HVAC_M7_MODEL/HVAC_model_private.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'HVAC_model'. * - * Model version : 1.1879 + * Model version : 1.1964 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Wed Oct 28 12:18:29 2026 + * C/C++ source code generated on : Mon Nov 9 11:17:15 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -80,7 +80,7 @@ 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_8, const int16_t bp[], uint32_t +extern uint32_t binsearch_u32s16(int16_t u_a, 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); @@ -102,6 +102,14 @@ extern int16_t look1_iu16lu64n48ts16Ds32_binlcs(uint16_t u0, const uint16_t bp0[ extern int16_t look2_bs16ts16Dddd_binlc(double u0, double u1, const int16_t bp0[], const int16_t bp1[], const int16_t table[], const uint32_t maxIndex[], uint32_t stride); +extern int16_t look2_is16lu64n32tu16Ds32Is16ds32_binlcs(int16_t u0, int16_t u1, + const int16_t bp0[], const int16_t bp1[], const uint16_t table[], const + uint32_t maxIndex[], uint32_t stride); +extern int16_t look2_is16tdIs16dd_binlc(int16_t u0, int16_t u1, const int16_t + bp0[], const int16_t bp1[], const double table[], const uint32_t maxIndex[], + uint32_t stride); +extern uint16_t look1_iu16lu64n48ts16Ds32Iu16_binlcs(uint16_t u0, const uint16_t + bp0[], const int16_t table[], uint32_t maxIndex); extern int16_t look1_iu16lu64n48Ds32Is16_binlcs(uint16_t u0, const uint16_t bp0[], const uint16_t table[], uint32_t maxIndex); extern uint16_t look1_iu16lu64n48_binlcse(uint16_t u0, const uint16_t bp0[], @@ -114,17 +122,17 @@ extern double look1_iu16td_binlc(uint16_t u0, const uint16_t bp0[], const double 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 uint32_t plook_u32s16_bincka(int16_t u_9, const int16_t bp[], uint32_t +extern uint32_t plook_u32d_bincka(double u_d, const double bp[], uint32_t maxIndex); -extern uint32_t plook_u32d_bincka(double u_a, const double bp[], uint32_t +extern uint32_t plook_u32d_binckan(double u_e, const double bp[], uint32_t maxIndex); -extern uint32_t plook_u32d_binckan(double u_d, const double bp[], uint32_t +extern uint32_t plook_u32s16_bincka(int16_t u_i, const int16_t bp[], uint32_t maxIndex); -extern uint32_t plook_u32u16_binckan(uint16_t u_e, const uint16_t bp[], uint32_t +extern uint32_t plook_u32u16_binckan(uint16_t u_n, const uint16_t bp[], uint32_t maxIndex); -extern uint32_t binsearch_u32d(double u_i, const double bp[], uint32_t +extern uint32_t binsearch_u32d(double u_q, const double bp[], uint32_t startIndex, uint32_t maxIndex); -extern uint32_t binsearch_u32u16(uint16_t u_n, const uint16_t bp[], uint32_t +extern uint32_t binsearch_u32u16(uint16_t u_r, const uint16_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, @@ -295,6 +303,9 @@ 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 errortimer_Init(DW_errortimer *localDW); +extern void errortimer(bool rtu_error_state, uint32_t rtu_t_now, uint32_t + *rty_timer_ms, DW_errortimer *localDW); extern void filterACPressure_Init(DW_filterACPressure *localDW); extern void filterACPressure(int16_t rtu_value_in, bool rtu_is_filter_active, uint32_t rtu_t_now, int16_t *rty_value_filtered, DW_filterACPressure *localDW); @@ -374,15 +385,20 @@ 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(double rtu_AF_STEP, int8_t *rty_y); -extern void paramindexformode(uint8_t rtu_index_mode, double *rty_Y); -extern void paramindexformode_h(uint16_t rtu_index_mode, double *rty_Y); +extern void correctionrate_a(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y); +extern void paramindexformode(uint16_t rtu_index_mode, double *rty_Y); extern void AFforspeed(const uint16_t rtu_mode[8], double rtu_blower_speed, uint16_t *rty_out); +extern void paramindexformode_j(uint8_t rtu_index_mode, double *rty_Y); +extern void funcg_ascAUTO_STEP_AF_F(uint8_t rtu_AF_STEP, int8_t *rty_y); extern void filtersensor_Init(DW_filtersensor *localDW); extern void filtersensor(double rtu_value_in, bool rtu_is_filter_active, uint32_t rtu_t_now, uint8_t rtu_level, double *rty_value_filtered, DW_filtersensor *localDW); +extern void MATLABFunction_Init(DW_MATLABFunction *localDW); +extern void MATLABFunction(uint8_t rtu_tempToggleInput, uint32_t rtu_t_now, + uint16_t rtu_current_temp, uint16_t *rty_tempAfterToggle, uint8_t + *rty_changed_FR_params, DW_MATLABFunction *localDW); 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); @@ -396,25 +412,50 @@ extern void u_p(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_out, const extern 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); +extern void RESTisON(uint8_t rtu_REST_mode, bool *rty_y); +extern void BPillar_damperopening(const double rtu_valves[6], const uint16_t + rtu_valve_space[6], double rty_valve_space_b_pillar_L[11], double + rty_valve_space_center_L[11], double rty_valve_space_foot_L[11], double + rty_valve_space_b_pillar_R[11], double rty_valve_space_center_R[11], double + rty_valve_space_foot_R[11]); +extern void MATLABFunction_j(const double rtu_valves[6], double + rtu_valve_space_b_pillar_L, double rtu_valve_space_center_L, double + rtu_valve_space_foot_L, double rtu_valve_space_b_pillar_R, double + rtu_valve_space_center_R, double rtu_valve_space_foot_R, double *rty_area_L, + double *rty_area_R); +extern void MATLABFunction1_b(double rty_y[6]); extern void MATLABFunction2(double rty_y[11]); extern void MATLABFunction3(double rty_y[11]); extern void MATLABFunction4(double rty_y[11]); +extern void AF(double rtu_AF_L, double rtu_AF_R, double *rty_AF_left, double + *rty_AF_right); +extern void u_h4(uint16_t rty_valve_space[6]); +extern void u123(double rty_valves_with_DRS[6], uint8_t rtu_DRS_side_L, uint8_t + rtu_DRS_side_R, uint8_t rtu_DRS_center_L, uint8_t + rtu_DRS_center_R, uint8_t rtu_mode_left, uint8_t rtu_mode_right); +extern void u4(uint16_t rtu_AF_L, uint16_t rtu_AF_R, uint8_t rtu_DRS_side_L, + uint8_t rtu_DRS_side_R, uint8_t rtu_DRS_center_L, uint8_t + rtu_DRS_center_R, uint8_t rtu_mode_left, uint8_t rtu_mode_right, + double *rty_AF_with_DRS_L, double *rty_AF_with_DRS_R); +extern void u5(const double rtu_valves[6], double rtu_opening_factor_L, double + rtu_opening_factor_R, double rty_valves_out[6]); +extern void u820(double rtu_coef_17_L, double rtu_coef_17_R, double + rtu_coef_15_L, double rtu_coef_15_R, double rty_vector[6]); +extern void D184E190Step7Minimumdamperopeningfactor(uint16_t rtu_AF_L, uint16_t + rtu_AF_R, double *rty_opening_factor_L, double *rty_opening_factor_R); +extern void valves_front(uint8_t rtu_MODE, uint16_t rty_get_valves[9]); extern void valves_rear(uint8_t rtu_MODE, uint16_t rty_get_valves[6]); extern void IfActionSubsystem2(int16_t *rty_Out1); extern void IfActionSubsystem(int8_t *rty_Out1, double *rtd_ErrorHomming_private, double *rtd_Start_timer_n, int8_t *rtd_stepSig_private); -extern void MATLABFunction_Init(DW_MATLABFunction *localDW); -extern void MATLABFunction(double rtu_cond, uint32_t rtu_t_now, uint32_t *rty_dt, - DW_MATLABFunction *localDW); +extern void MATLABFunction_g_Init(DW_MATLABFunction_e *localDW); +extern void MATLABFunction_h(double rtu_cond, uint32_t rtu_t_now, uint32_t + *rty_dt, DW_MATLABFunction_e *localDW); extern void IfActionSubsystem1(int8_t *rty_Output, uint8_t *rtd_CCU_ActuatorErrF_Stat_private, uint8_t rtd_COM_private[9], uint8_t rtd_ErrorActuator[9], uint8_t rtd_ErrorCalibration_private[9], const double *rtd_LOGGER_LIN, uint8_t rtd_MODE_private[9], uint8_t rtd_dtc_state_error_model[127]); -extern void choosesensorFLL(int16_t rtu_sensor_duct_foot1, int16_t - rtu_sensor_duct_foot2, bool rtu_duct_error_foot1, bool rtu_duct_error_foot2, - uint8_t rtu_algorithm_configuration, uint16_t rtu_foot1_actuator_pos, uint16_t - rtu_foot2_actuator_pos, int16_t *rty_sensor, double *rty_duct_select_index_dbg); extern void MATLABFunction_k_Init(DW_MATLABFunction_n *localDW); extern void MATLABFunction_m(double rtu_setpoint, double rtu_input, double rtu_dt, double rtu_Kp, double rtu_Ki, double rtu_Kd, double rtu_max_speed, @@ -430,10 +471,6 @@ extern void increase(int16_t rtu_duct_tg, const uint16_t rtu_mode_array[7], extern void decrease(int16_t rtu_duct_tg, const uint16_t rtu_mode_array[7], uint16_t *rty_y); extern void valves_rear_left(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_i(uint16_t rty_out[6]); extern void valvesforVentmode(uint16_t rty_out[6]); extern void MATLABFunction_o(bool rtu_is_active, bool rtu_Txv_on, uint8_t diff --git a/MODULES/HVAC_M7_MODEL/HVAC_model_types.h b/MODULES/HVAC_M7_MODEL/HVAC_model_types.h index 129ae22..77a2a27 100644 --- a/MODULES/HVAC_M7_MODEL/HVAC_model_types.h +++ b/MODULES/HVAC_M7_MODEL/HVAC_model_types.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'HVAC_model'. * - * Model version : 1.1879 + * Model version : 1.1964 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Wed Oct 28 12:18:29 2026 + * C/C++ source code generated on : Mon Nov 9 11:17:15 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -524,9 +524,9 @@ typedef struct { uint8_t Logic_Rec_Idx; uint8_t Logic_Rec_Partial_Spd_Sts; uint8_t Logic_Rec_Partial_Winter; + uint8_t Logic_Rec_Ajar_Stat; uint8_t Logic_Rec_Partial_Summer; uint8_t Logic_Rec_FreshAirPurge_Sts; - uint8_t Logic_Rec_Ajar_Stat; } dbgCAN_Logic_Rec_Bus; #endif @@ -1432,31 +1432,6 @@ typedef struct { #endif -#ifndef DEFINED_TYPEDEF_FOR_DW_STATE_Bus_ -#define DEFINED_TYPEDEF_FOR_DW_STATE_Bus_ - -typedef struct { - uint8_t DW_Display_Stat; - uint8_t DW_MediaPower_Stat; - uint8_t DW_Display_Req; - uint8_t DW_Glass_Stat; - uint8_t DW_AntiPinchFlag_Stat; - uint8_t DW_CurrentVideoSigSrc_Stat; - uint8_t DW_DisplayPosition_Stat; - uint8_t DW_GlassPosition_Stat; - uint8_t DW_MovingDisplay_Stat; - uint8_t DW_MovingGlass_Stat; - uint8_t DW_DisplayDimmingMode_Stat; - uint8_t DW_DetectedMMSSrc_Stat; - uint8_t DW_DetectedCAMSrc_Stat; - uint8_t DW_DetectedHDMI1Src_Stat; - uint8_t DW_DetectedHDMI2Src_Stat; - uint8_t DW_DetectedHDMISockSrc_Stat; - uint8_t DW_DisplayBrightness_Stat_ro; -} DW_STATE_Bus; - -#endif - #ifndef DEFINED_TYPEDEF_FOR_CmdCAN_FIU_CCU2_Bus_ #define DEFINED_TYPEDEF_FOR_CmdCAN_FIU_CCU2_Bus_ @@ -1487,6 +1462,31 @@ typedef struct { #endif +#ifndef DEFINED_TYPEDEF_FOR_DW_STATE_Bus_ +#define DEFINED_TYPEDEF_FOR_DW_STATE_Bus_ + +typedef struct { + uint8_t DW_Display_Stat; + uint8_t DW_MediaPower_Stat; + uint8_t DW_Display_Req; + uint8_t DW_Glass_Stat; + uint8_t DW_AntiPinchFlag_Stat; + uint8_t DW_CurrentVideoSigSrc_Stat; + uint8_t DW_DisplayPosition_Stat; + uint8_t DW_GlassPosition_Stat; + uint8_t DW_MovingDisplay_Stat; + uint8_t DW_MovingGlass_Stat; + uint8_t DW_DisplayDimmingMode_Stat; + uint8_t DW_DetectedMMSSrc_Stat; + uint8_t DW_DetectedCAMSrc_Stat; + uint8_t DW_DetectedHDMI1Src_Stat; + uint8_t DW_DetectedHDMI2Src_Stat; + uint8_t DW_DetectedHDMISockSrc_Stat; + uint8_t DW_DisplayBrightness_Stat_ro; +} DW_STATE_Bus; + +#endif + #ifndef DEFINED_TYPEDEF_FOR_tStatus_CCU_Configuration_Bus_ #define DEFINED_TYPEDEF_FOR_tStatus_CCU_Configuration_Bus_ @@ -1835,6 +1835,109 @@ typedef struct { #endif +/* Custom Type definition for MATLAB Function: '/REST_Mode' */ +#ifndef struct_tag_FfCwpSEZwkYWb4X32ZvfuC +#define struct_tag_FfCwpSEZwkYWb4X32ZvfuC + +struct tag_FfCwpSEZwkYWb4X32ZvfuC +{ + uint8_t contents; +}; + +#endif /* struct_tag_FfCwpSEZwkYWb4X32ZvfuC */ + +#ifndef typedef_captured_var +#define typedef_captured_var + +typedef struct tag_FfCwpSEZwkYWb4X32ZvfuC captured_var; + +#endif /* typedef_captured_var */ + +#ifndef struct_tag_PHqQgjfDKMUr0ccwT4VsJF +#define struct_tag_PHqQgjfDKMUr0ccwT4VsJF + +struct tag_PHqQgjfDKMUr0ccwT4VsJF +{ + CmdCAN_FIU_CCU2_Bus contents; +}; + +#endif /* struct_tag_PHqQgjfDKMUr0ccwT4VsJF */ + +#ifndef typedef_captured_var_2 +#define typedef_captured_var_2 + +typedef struct tag_PHqQgjfDKMUr0ccwT4VsJF captured_var_2; + +#endif /* typedef_captured_var_2 */ + +#ifndef struct_tag_rE3wE0p3dHKajeL4B3lAlH +#define struct_tag_rE3wE0p3dHKajeL4B3lAlH + +struct tag_rE3wE0p3dHKajeL4B3lAlH +{ + CmdCAN_FIU_CCU1_Bus contents; +}; + +#endif /* struct_tag_rE3wE0p3dHKajeL4B3lAlH */ + +#ifndef typedef_captured_var_3 +#define typedef_captured_var_3 + +typedef struct tag_rE3wE0p3dHKajeL4B3lAlH captured_var_3; + +#endif /* typedef_captured_var_3 */ + +#ifndef struct_tag_v1MPyRpM9ZI8rwATqWHrXH +#define struct_tag_v1MPyRpM9ZI8rwATqWHrXH + +struct tag_v1MPyRpM9ZI8rwATqWHrXH +{ + CmdCAN_CCU_STAT1_Bus contents; +}; + +#endif /* struct_tag_v1MPyRpM9ZI8rwATqWHrXH */ + +#ifndef typedef_captured_var_4 +#define typedef_captured_var_4 + +typedef struct tag_v1MPyRpM9ZI8rwATqWHrXH captured_var_4; + +#endif /* typedef_captured_var_4 */ + +#ifndef struct_tag_pg67cQxgXkbY0KNfmAAprB +#define struct_tag_pg67cQxgXkbY0KNfmAAprB + +struct tag_pg67cQxgXkbY0KNfmAAprB +{ + CmdCAN_CCU_STAT2_Bus contents; +}; + +#endif /* struct_tag_pg67cQxgXkbY0KNfmAAprB */ + +#ifndef typedef_captured_var_5 +#define typedef_captured_var_5 + +typedef struct tag_pg67cQxgXkbY0KNfmAAprB captured_var_5; + +#endif /* typedef_captured_var_5 */ + +#ifndef struct_tag_6BQWTBUMLxGOQPkd0nHEOE +#define struct_tag_6BQWTBUMLxGOQPkd0nHEOE + +struct tag_6BQWTBUMLxGOQPkd0nHEOE +{ + uint8_t contents[2]; +}; + +#endif /* struct_tag_6BQWTBUMLxGOQPkd0nHEOE */ + +#ifndef typedef_captured_var_1 +#define typedef_captured_var_1 + +typedef struct tag_6BQWTBUMLxGOQPkd0nHEOE captured_var_1; + +#endif /* typedef_captured_var_1 */ + /* Forward declaration for rtModel */ typedef struct tag_RTM RT_MODEL; diff --git a/MODULES/HVAC_M7_MODEL/Model_Task.c b/MODULES/HVAC_M7_MODEL/Model_Task.c index 57600d8..f7e2a55 100644 --- a/MODULES/HVAC_M7_MODEL/Model_Task.c +++ b/MODULES/HVAC_M7_MODEL/Model_Task.c @@ -694,7 +694,7 @@ static _Noreturn void ModelTask_Thread(tModelTask *env) { // rtDW.ADC_Data_Model.PBATT_CHECK = 1400; uint16_t PBATT_CHECK_16 = (uint16_t) (((float)rtDW.ADC_Data_Model.PBATT_CHECK * 33.4375f / 4095.0f) * 10.0f); - + uint16_t IGN_CHECK_16 = (uint16_t) (((float)rtDW.ADC_Data_Model.IGN_ANS * 27.75f / 4095.0f) * 10.0f); if ((PBATT_CHECK_16 >= V_SEND_LOW) && (PBATT_CHECK_16 <= V_SEND_HIGH)) { isSendingCAN = true; @@ -1050,6 +1050,7 @@ static _Noreturn void ModelTask_Thread(tModelTask *env) { env->diagnostic->state.isT15 = env->is_Global_Soft_T15; env->diagnostic->state.isT30d = env->is_Global_Soft_T30d; env->diagnostic->state.P_BATT = PBATT_CHECK_16; + env->diagnostic->state.P_IGN = IGN_CHECK_16; env->diagnostic->state.CCU_Errors = &env->ccu_candb_tx.CCU_Errors; env->diagnostic->state.dtc_state_error_model = env->dtc_state_error; diff --git a/MODULES/HVAC_M7_StatusData/DiagnosticTask.c b/MODULES/HVAC_M7_StatusData/DiagnosticTask.c index ad27923..70f7bbe 100644 --- a/MODULES/HVAC_M7_StatusData/DiagnosticTask.c +++ b/MODULES/HVAC_M7_StatusData/DiagnosticTask.c @@ -494,6 +494,15 @@ setErrorDTC_CAN(tDiagnostic *env) { env->state.dtc_state_error_model[DTC_LOST_COMM_SEAT_MODULE_D_SMRR] = dtc_state_error[DTC_LOST_COMM_SEAT_MODULE_D_SMRR] & (~(DTC_TEST_FAILED)); } + + // U22A187 (TMCP) 0x24C - OK + if (env->state.CAN_ERROR_MISSING->TM_CP) { + env->state.dtc_state_error_model[DTC_LOST_COMM_TRUNK_CCPF_CCPR] = DTC_TEST_FAILED_CONFIRMED; + } else { + env->state.dtc_state_error_model[DTC_LOST_COMM_TRUNK_CCPF_CCPR] = + dtc_state_error[DTC_LOST_COMM_TRUNK_CCPF_CCPR] & (~(DTC_TEST_FAILED)); + } + } @@ -649,6 +658,24 @@ setErrorDTC_LIN(tDiagnostic *env) { } +// raw > 60 || raw > 180 -> ошибки нет, пишем 0, таймер сбрасывается +// raw < 60 || raw < 180, <4 c -> пишем raw (pending, как раньше) +// raw < 60 || raw < 180, >=4 c непрерыв -> пишем DTC_TEST_FAILED_CONFIRMED + +static void setDtcWithDebounce_V(tDiagnostic *env, uint8_t index, uint8_t raw, + DtcDebounce *d, uint32_t now_ms) { + + if ((raw < 60) || (raw > 180)) { + env->state.dtc_state_error_model[index] = dtc_state_error[index] | DTC_TEST_FAILED; + } else { + env->state.dtc_state_error_model[index] = dtc_state_error[index] & (~(DTC_TEST_FAILED)); + } + + if (dtcDebounce(d, ((raw < 60) || (raw > 180)), now_ms)) { + env->state.dtc_state_error_model[index] = DTC_TEST_FAILED_CONFIRMED; + } +} + void set_Dtc_state(tDiagnostic *env) { if (osMutexAcquire(env->access, 5000) == osOK) { @@ -663,24 +690,37 @@ void set_Dtc_state(tDiagnostic *env) { osMutexRelease(env->access); return; } -/* - for (uint8_t i = 0; i < COUNT_DTC_CODE_ERROR; ++i) { + + // начало--------------РћС‚ модели------------------------------------------------------- + for (uint8_t i = 3; i < 37; ++i) { if (env->state.dtc_state_error_model[i]) { env->state.dtc_state_error_model[i] = DTC_TEST_FAILED_CONFIRMED; } else { env->state.dtc_state_error_model[i] = dtc_state_error[i] & (~(DTC_TEST_FAILED)); } } -*/ - setErrorDTC_LIN(env); - setErrorDTC_CAN(env); -/* - for (uint8_t i = 0; i < COUNT_DTC_CODE_ERROR; ++i) { - if (env->state.dtc_state_error_model[i] & DTC_TEST_CONFIRMED) { + + for (uint8_t i = 52; i < 79; ++i) { + if (env->state.dtc_state_error_model[i]) { + env->state.dtc_state_error_model[i] = DTC_TEST_FAILED_CONFIRMED; + } else { env->state.dtc_state_error_model[i] = dtc_state_error[i] & (~(DTC_TEST_FAILED)); } } -*/ + // конец--------------РћС‚ модели------------------------------------------------------- + + setErrorDTC_LIN(env); + setErrorDTC_CAN(env); + + setDtcWithDebounce_V(env, DTC_CCU_POWER_SUPPLY_VOLTAGE_OUT_OF_RANGE, + env->state.P_BATT, + &env->state.dtc_aux_debounce[DEB_IONIZER_OPEN], env->state.now_ms); + + setDtcWithDebounce_V(env, DTC_IGNITION_VOLTAGE_OUT_OF_RANGE, + env->state.P_IGN, + &env->state.dtc_aux_debounce[DEB_IONIZER_OPEN], env->state.now_ms); + + if (memcmp(dtc_state_error, env->state.dtc_state_error_model, sizeof(dtc_state_error)) != 0) { bool isDTC_FileWrite = false; diff --git a/MODULES/HVAC_M7_StatusData/DiagnosticTask.h b/MODULES/HVAC_M7_StatusData/DiagnosticTask.h index 0a85535..d6ab930 100644 --- a/MODULES/HVAC_M7_StatusData/DiagnosticTask.h +++ b/MODULES/HVAC_M7_StatusData/DiagnosticTask.h @@ -67,6 +67,7 @@ typedef struct { bool isT15; bool isT30d; volatile uint16_t P_BATT; + volatile uint16_t P_IGN; CCU_Errors_t *CCU_Errors; uint8_t *dtc_state_error_model;